From 41ae94bafbb6d6b4e5465c7b6280c809d0ebc037 Mon Sep 17 00:00:00 2001 From: Kumar Damani Date: Wed, 2 Jun 2021 11:51:47 -0400 Subject: switched to pactl from pamixer due to version conflicts --- dunst/.config/dunst/dunstrc | 2 +- nvim/.config/nvim/init.vim | 1 + sxhkd/.config/sxhkd/sxhkdrc | 9 +++------ 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/dunst/.config/dunst/dunstrc b/dunst/.config/dunst/dunstrc index ddb7316..b77a300 120000 --- a/dunst/.config/dunst/dunstrc +++ b/dunst/.config/dunst/dunstrc @@ -1 +1 @@ -/home/kdam0/.cache/wal/dunstrc \ No newline at end of file +/home/kdamani/.cache/wal/dunstrc \ No newline at end of file diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 874779a..7e5c4a7 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -50,6 +50,7 @@ call plug#end() autocmd FileType yaml setlocal ai ts=2 sw=2 et autocmd FileType jinja setlocal ai ts=2 sw=2 et autocmd FileType python setlocal ai ts=4 sw=4 et + autocmd FileType make setlocal noexpandtab " C-T for new tab buffer nnoremap :tabnew diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index f64345f..f30e782 100644 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc @@ -9,7 +9,7 @@ super + e $TERMINAL -n email -e neomutt super + r - $TERMINAL -e ranger + $TERMINAL -e nnn super + shift + r pcmanfm @@ -52,13 +52,10 @@ super + bracket{left,right} # Sound Control XF86AudioMute - pamixer --allow-boost -t && notify-send "🎧 $(pamixer --get-volume-human)" + pactl set-sink-mute 0 toggle && notify-send "🎧 $(pactl list sinks | grep 'Mute:' | sed 's/^ *//g')" {XF86AudioLowerVolume, XF86AudioRaiseVolume, F2, F3} - pamixer --allow-boost -{d,i,d,i} 10 && notify-send "🎧 $(pamixer --get-volume-human)" - -super + F1 - amixer -c 0 set Headphone 100% unmute && notify-send -t 1000 "🎧 Unmuted!" + pactl -- set-sink-volume 0 {-,+,-,+}10% && notify-send "🎧 $(pactl list sinks | grep 'Volume:' | head -n1 | cut -d '/' -f2 | sed 's/^ *//g')" # Brightness control {XF86MonBrightnessDown, XF86MonBrightnessUp} -- cgit v1.2.3