This commit is contained in:
Harri Lahtinen 2020-02-03 16:53:10 +02:00
parent c39181b2fe
commit 759f5bad46
6 changed files with 14 additions and 116 deletions

View File

@ -113,9 +113,9 @@ set $beg --no-startup-id mpc seek 0%
set $BROWSER google-chrome-stable
#FOR ALSA/AMIXER
set $inc --no-startup-id pactl -- set-sink-volume 0 +2%
set $inc --no-startup-id ~/.config/Scripts/pavolume.sh --up
set $biginc --no-startup-id amixer sset Master 5%+
set $dec --no-startup-id pactl -- set-sink-volume 0 -2%
set $dec --no-startup-id ~/.config/Scripts/pavolume.sh --down
set $bigdec --no-startup-id amixer sset Master 5%-
set $mute --no-startup-id pactl set-sink-mute 0 toggle
set $truemute --no-startup-id amixer sset Master mute

View File

@ -113,9 +113,9 @@ set $beg --no-startup-id mpc seek 0%
set $BROWSER google-chrome-stable
#FOR ALSA/AMIXER
set $inc --no-startup-id pactl -- set-sink-volume 0 +2%
set $inc --no-startup-id ~/.config/Scripts/pavolume.sh --up
set $biginc --no-startup-id amixer sset Master 5%+
set $dec --no-startup-id pactl -- set-sink-volume 0 -2%
set $dec --no-startup-id ~/.config/Scripts/pavolume.sh --down
set $bigdec --no-startup-id amixer sset Master 5%-
set $mute --no-startup-id pactl set-sink-mute 0 toggle
set $truemute --no-startup-id amixer sset Master mute

View File

@ -1 +0,0 @@
/home/hate/.config/dmenu-extended/config/dmenuExtended_preferences.txt

View File

@ -1,79 +0,0 @@
{{
"alias_applications": true,
"alias_display_format": "{{name}}",
"exclude_items": [],
"filebrowser": "xdg-open",
"fileopener": "xdg-open",
"filter_binaries": false,
"follow_symlinks": false,
"frequently_used": 0,
"global_ignore_folders": [],
"ignore_folders": [],
"include_applications": true,
"include_binaries": false,
"include_hidden_files": false,
"include_hidden_folders": false,
"include_items": [],
"indicator_alias": "",
"indicator_edit": "*",
"indicator_submenu": "->",
"menu": "dmenu",
"menu_arguments": [
"-b",
"-i",
"-nf",
"{color6}",
"-nb",
"{color0}",
"-sf",
"{color2}",
"-sb",
"{color8}",
"-fn",
"Source Code Pro",
"-l",
"6"
],
"password_helper": [
"zenity",
"--password",
"--title={{prompt}}"
],
"path_aliasFile": "",
"path_shellCommand": "~/.config/Scripts/.dmenuEextended_shellCommand.sh",
"prompt": "Open:",
"scan_hidden_folders": false,
"terminal": "st",
"valid_extensions": [
"py",
"svg",
"pdf",
"txt",
"png",
"jpg",
"gif",
"php",
"tex",
"odf",
"ods",
"avi",
"mpg",
"mp3",
"lyx",
"bib",
"iso",
"ps",
"zip",
"xcf",
"doc",
"docxxls",
"xlsx",
"md",
"html",
"sublime-project"
],
"watch_folders": [
"~/"
],
"webbrowser": "xdg-open"
}}

View File

@ -277,7 +277,7 @@
# directory will be shortened only when prompt doesn't fit or when other parameters demand it
# (see POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS and POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS_PCT below).
# If set to `0`, directory will always be shortened to its minimum length.
typeset -g POWERLEVEL9K_DIR_MAX_LENGTH=80
typeset -g POWERLEVEL9K_DIR_MAX_LENGTH=0
# When `dir` segment is on the last prompt line, try to shorten it enough to leave at least this
# many columns for typing commands.
typeset -g POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS=40

40
.zshrc
View File

@ -1,10 +1,3 @@
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block, everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# ██
# ██
# ██████ ██████░██
@ -14,6 +7,13 @@ fi
# ██████ ██████ ░██ ░██░
# ░░░░░░ ░░░░░░ ░░░ ░░░
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block, everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
#------------------------------
# TTY colors
#------------------------------
@ -24,6 +24,7 @@ if [ "$TERM" = "linux" ]; then
done
clear
fi
#------------------------------
# Source config files
#------------------------------
@ -31,10 +32,7 @@ if [ -r $HOME/.zaliases ] ; then
source $HOME/.zaliases
fi
#if [ -r $HOME/.powerlevelrc ] ; then
# source $HOME/.powerlevelrc
#fi
# Theme
ZSH_THEME="powerlevel10k/powerlevel10k"
# Auto completion
@ -91,17 +89,6 @@ eval "$(pmy init)"
# Wpg restore on terminals
(cat ~/.config/wpg/sequences &)
# Import colorscheme from 'wal' asynchronously
# & # Run the process in the background.
# ( ) # Hide shell job control messages.
#(cat ~/.cache/wal/sequences &)
# Alternative (blocks terminal for 0-3ms)
#cat ~/.cache/wal/sequences
# To add support for TTYs this line can be optionally added.
#source ~/.cache/wal/colors-tty.sh
#FASD
eval "$(fasd --init auto)"
@ -115,14 +102,5 @@ LFCD="/home/hate/.config/lf/lfcd.sh"
bindkey -s '^o' 'lfcd\n'
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/home/hate/google-cloud-sdk/path.zsh.inc' ]; then source '/home/hate/google-cloud-sdk/path.zsh.inc'; fi
# The next line enables shell command completion for gcloud.
if [ -f '/home/hate/google-cloud-sdk/completion.zsh.inc' ]; then source '/home/hate/google-cloud-sdk/completion.zsh.inc'; fi
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
#[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh