changes to neovim and tmux

This commit is contained in:
DarthMooMancer committed 2025-09-01 11:36:01 -04:00
1 parent cd2eea3434
commit 490b24fc46
31 files changed
+2684 -569

No files matched your search

-2
View File
@@ -61,8 +61,6 @@ static const Key keys[] = {
{ 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("sh /home/andrew/.config/suckless/dwm/scripts/volume.sh up") },
{ 0, XF86XK_AudioLowerVolume, spawn, SHCMD("sh /home/andrew/.config/suckless/dwm/scripts/volume.sh down") },
// { 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pactl set-sink-volume @DEFAULT_SINK@ +2%") },
// { 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pactl set-sink-volume @DEFAULT_SINK@ -2%") },
TAGKEYS( XK_1, 0 )
TAGKEYS( XK_2, 1 )
+5 -1
View File
@@ -7,4 +7,8 @@ elif [ "$1" == "down" ]; then
fi
TEST=$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | awk '{printf "%d%%", $2 * 100}')
dunstify "Volume: ${TEST}" -h int:value:${TEST%%%} -h string:synchronous:volume
if [[ -z "${TEST}" ]]; then
dunstify "Volume: No working" -h string:synchronous:volume
else
dunstify "Volume: ${TEST}" -h int:value:${TEST%%%} -h string:synchronous:volume
fi