diff options
-rwxr-xr-x | .config/bspwm/bspwmrc | 64 | ||||
-rw-r--r-- | .config/mpd-notification.conf | 4 | ||||
-rw-r--r-- | .config/vifm/vifmrc | 4 | ||||
-rw-r--r-- | .config/zsh/alias.zsh | 1 | ||||
-rw-r--r-- | .profile | 1 |
5 files changed, 41 insertions, 33 deletions
diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index 84b03fb..93e85fc 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -7,37 +7,38 @@ use Time::HiRes; use WWW::Curl::Easy; use constant { - DASH_PATH => '/usr/local/bin/dash', - SXHKD_PATH => '/usr/local/bin/sxhkd', - PGREP_PATH => '/bin/pgrep', - PKILL_PATH => '/bin/pkill', - XRANDR_PATH => '/usr/local/bin/xrandr', - MAINSCREEN_PATH => '/usr/home/jozan/.local/bin/mainscreen', - DUALSCREEN_PATH => '/usr/home/jozan/.local/bin/dualscreen', - TRIPLESCREEN_PATH => '/usr/home/jozan/.local/bin/triplescreen', - BSPC_PATH => '/usr/local/bin/bspc', - COMPTON_PATH => '/usr/local/bin/compton', - XSET_PATH => '/usr/local/bin/xset', - SETXKBMAP_PATH => '/usr/local/bin/setxkbmap', - DUNST_PATH => '/usr/local/bin/dunst', - LOWBAT_PATH => '/usr/local/bin/lowbat', - EMACS_PATH => '/usr/local/bin/emacs', - NEOVIM_PATH => '/usr/local/bin/nvim', - ALACRITTY_PATH => '/usr/local/bin/alacritty', - PGREP_PATH => '/bin/pgrep', - ESPEAK_PATH => '/usr/local/bin/espeak', - SH_PATH => '/bin/sh', - ZSH_PATH => '/usr/local/bin/zsh', - COWSAY_PATH => '/usr/local/bin/cowsay', - HTOP_PATH => '/usr/local/bin/htop', - GOTOP_PATH => '/usr/local/bin/gotop', - VIFM_PATH => '/usr/local/bin/vifm', - GIT_PATH => '/usr/local/bin/git', - XSETROOT_PATH => '/usr/local/bin/xsetroot', - XINPUT_PATH => '/usr/local/bin/xinput', - SETWP_PATH => '/usr/home/jozan/.local/bin/setwp', - BSPSWALLOW_PATH => '/usr/home/jozan/.local/bin/bspswallow', - NEOMUTT_PATH => '/usr/local/bin/neomutt' + DASH_PATH => '/usr/local/bin/dash', + SXHKD_PATH => '/usr/local/bin/sxhkd', + PGREP_PATH => '/bin/pgrep', + PKILL_PATH => '/bin/pkill', + XRANDR_PATH => '/usr/local/bin/xrandr', + MAINSCREEN_PATH => '/usr/home/jozan/.local/bin/mainscreen', + DUALSCREEN_PATH => '/usr/home/jozan/.local/bin/dualscreen', + TRIPLESCREEN_PATH => '/usr/home/jozan/.local/bin/triplescreen', + BSPC_PATH => '/usr/local/bin/bspc', + COMPTON_PATH => '/usr/local/bin/compton', + XSET_PATH => '/usr/local/bin/xset', + SETXKBMAP_PATH => '/usr/local/bin/setxkbmap', + DUNST_PATH => '/usr/local/bin/dunst', + LOWBAT_PATH => '/usr/local/bin/lowbat', + EMACS_PATH => '/usr/local/bin/emacs', + NEOVIM_PATH => '/usr/local/bin/nvim', + ALACRITTY_PATH => '/usr/local/bin/alacritty', + PGREP_PATH => '/bin/pgrep', + ESPEAK_PATH => '/usr/local/bin/espeak', + SH_PATH => '/bin/sh', + ZSH_PATH => '/usr/local/bin/zsh', + COWSAY_PATH => '/usr/local/bin/cowsay', + HTOP_PATH => '/usr/local/bin/htop', + GOTOP_PATH => '/usr/local/bin/gotop', + VIFM_PATH => '/usr/local/bin/vifm', + GIT_PATH => '/usr/local/bin/git', + XSETROOT_PATH => '/usr/local/bin/xsetroot', + XINPUT_PATH => '/usr/local/bin/xinput', + SETWP_PATH => '/usr/home/jozan/.local/bin/setwp', + BSPSWALLOW_PATH => '/usr/home/jozan/.local/bin/bspswallow', + NEOMUTT_PATH => '/usr/local/bin/neomutt', + MPD_NOTIFICATION_PATH => '/usr/local/bin/mpd-notification' }; use constant { BSP_BORDER_WIDTH => 1, @@ -152,6 +153,7 @@ sub run_bg_programs run_if_dead(DUNST_PATH); run_if_dead(LOWBAT_PATH); run_if_dead(BSPSWALLOW_PATH); + run_if_dead(MPD_NOTIFICATION_PATH); system(SETWP_PATH); system(XSETROOT_PATH, '-cursor_name', 'left_ptr'); system(XSET_PATH, 'r', 'rate', XSET_R_RATE_DELAY, XSET_R_RATE_RATE); diff --git a/.config/mpd-notification.conf b/.config/mpd-notification.conf new file mode 100644 index 0000000..4e73b06 --- /dev/null +++ b/.config/mpd-notification.conf @@ -0,0 +1,4 @@ +music-dir = /usr/home/jozan/Music +oneline = false +scale = 200 +timeout = 10 diff --git a/.config/vifm/vifmrc b/.config/vifm/vifmrc index 8f8ebd0..4270125 100644 --- a/.config/vifm/vifmrc +++ b/.config/vifm/vifmrc @@ -25,7 +25,7 @@ map <C-s> <C-w>s map <C-v> <C-w>v map R :restart<CR> -map x :!sxiv -ft * 2>/dev/null &<CR> +map x :!sxiv -b -ft * 2>/dev/null &<CR> nnoremap o :file &<cr> map E :!emacsclient -c %f<CR> map mkd :mkdir<space> @@ -73,7 +73,7 @@ fileviewer *.[1-8] man ./%c | col -b filetype *.[1-8] man ./%c fileviewer *.jpg,*.jpeg,*.png,*.ico vifmimg draw %px %py %pw %ph %c %pc vifmimg clear -filextype *.bmp,*.jpg,*.jpeg,*.png,*.ico,*.gif,*.xpm sxiv -ia %f 2>/dev/null & +filextype *.bmp,*.jpg,*.jpeg,*.png,*.ico,*.gif,*.xpm sxiv -b -ia %f 2>/dev/null & filextype *.svg inkscape %f 2>/dev/null & filextype *.xcf gimp %f 2>/dev/null & diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh index 57b3ecc..f1434b3 100644 --- a/.config/zsh/alias.zsh +++ b/.config/zsh/alias.zsh @@ -38,3 +38,4 @@ alias twi='mpv https://twitch.tv/' alias nb='newsboat' alias mutt='neomutt' alias nmt='neomutt' +alias sxiv='sxiv -b' @@ -40,6 +40,7 @@ export LANG="en_US.UTF-8" export LESSHISTFILE="-" export XDG_DATA_HOME="$HOME/.local/share" export XDG_CONFIG_HOME="$HOME/.config" +export XDG_MUSIC_DIR="$HOME/Music" # ccache export CCACHE_PATH="/usr/bin:/usr/local/bin:/usr/local/llvm11/bin" |