This commit is contained in:
DarthMooMancer
2025-09-27 19:25:10 -04:00
parent 0d6f82fe51
commit 2070bae657
8 changed files with 7 additions and 117 deletions
+2 -5
View File
@@ -14,8 +14,6 @@ static const Rule rules[] = {
{ "ghostty", NULL, NULL, 1, 0, -1 },
{ "librewolf", NULL, NULL, 1 << 1, 0, -1 },
{ "steam", NULL, NULL, 1 << 2, 0, -1 },
{ "PrismLauncher", NULL, NULL, 1 << 2, 0, -1 },
{ "Hello World", NULL, NULL, 1, 1, -1 },
};
static const float mfact = 0.55;
@@ -42,7 +40,6 @@ static const Key keys[] = {
{ MODKEY, XK_space, spawn, SHCMD("dmenu_run -l 6") },
{ MODKEY, XK_f, spawn, SHCMD("librewolf") },
{ MODKEY|ShiftMask, XK_s, spawn, SHCMD("steam") },
{ MODKEY|ShiftMask, XK_p, spawn, SHCMD("prismlauncher") },
{ MODKEY, XK_t, spawn, SHCMD("/home/andrew/.local/bin/dmenu-sessionizer.sh") },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
@@ -53,8 +50,8 @@ static const Key keys[] = {
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
{ MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
{ 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) TAGKEYS(XK_3, 2)
};
-5
View File
@@ -1,5 +0,0 @@
#!/usr/bin/env bash
while true; do
xwallpaper --zoom "$(find /home/andrew/.config/suckless/dwm/bgs -type f | shuf -n1)"
sleep 600 # Pause for 10 minutes - default 600 seconds
done
-14
View File
@@ -1,14 +0,0 @@
#!/usr/bin/env bash
if [ "$1" == "up" ]; then
pactl set-sink-volume @DEFAULT_SINK@ +2%
elif [ "$1" == "down" ]; then
pactl set-sink-volume @DEFAULT_SINK@ -2%
fi
TEST=$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | awk '{printf "%d%%", $2 * 100}')
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