changed to HOME

This commit is contained in:
WanderingPenwing 2024-08-08 14:29:52 +02:00
parent 1d957b7d2d
commit ba911e65f1
3 changed files with 25 additions and 23 deletions

View file

@ -95,17 +95,18 @@ static const Key keys[] = {
{ MODKEY, XK_F3, spawn, SHCMD("pamixer -i 5 -u && notify-send -u normal -a \"volume\" \"$(pamixer --get-volume-human)\"") }, { MODKEY, XK_F3, spawn, SHCMD("pamixer -i 5 -u && notify-send -u normal -a \"volume\" \"$(pamixer --get-volume-human)\"") },
{ MODKEY, XK_F4, spawn, SHCMD("brightnessctl -d \"amdgpu_bl1\" set 10%- && notify-send -u normal -a \"brightness\" \"$(brightnessctl -d 'amdgpu_bl1' get)\"") }, { MODKEY, XK_F4, spawn, SHCMD("brightnessctl -d \"amdgpu_bl1\" set 10%- && notify-send -u normal -a \"brightness\" \"$(brightnessctl -d 'amdgpu_bl1' get)\"") },
{ MODKEY, XK_F5, spawn, SHCMD("brightnessctl -d \"amdgpu_bl1\" set +10% && notify-send -u normal -a \"brightness\" \"$(brightnessctl -d 'amdgpu_bl1' get)\"") }, { MODKEY, XK_F5, spawn, SHCMD("brightnessctl -d \"amdgpu_bl1\" set +10% && notify-send -u normal -a \"brightness\" \"$(brightnessctl -d 'amdgpu_bl1' get)\"") },
{ MODKEY, XK_F6, spawn, SHCMD("~/nixos/scripts/usb_guest.sh") }, { MODKEY, XK_F6, spawn, SHCMD("$HOME/nixos/scripts/usb_guest.sh") },
{ MODKEY, XK_F7, spawn, SHCMD("~/nixos/scripts/susuwatari/client.sh") }, { MODKEY, XK_F7, spawn, SHCMD("$HOME/nixos/scripts/susuwatari/client.sh") },
{ MODKEY, XK_F8, spawn, SHCMD("~/nixos/scripts/hdmi_paint.sh") }, { MODKEY, XK_F8, spawn, SHCMD("$HOME/nixos/scripts/hdmi_paint.sh") },
{ MODKEY, XK_F9, spawn, SHCMD("~/nixos/scripts/screen_sleep.sh") }, { MODKEY, XK_F9, spawn, SHCMD("$HOME/nixos/scripts/screen_sleep.sh") },
{ MODKEY, XK_Print, spawn, SHCMD("~/nixos/scripts/screenshot.sh") }, { MODKEY, XK_Print, spawn, SHCMD("$HOME/nixos/scripts/screenshot.sh") },
{ MODKEY, XK_t, spawn, SHCMD("~/nixos/scripts/task_manager.sh") }, { MODKEY, XK_t, spawn, SHCMD("$HOME/nixos/scripts/task_manager.sh") },
{ MODKEY, XK_n, spawn, SHCMD("~/nixos/scripts/notes.sh") }, { MODKEY, XK_n, spawn, SHCMD("$HOME/nixos/scripts/notes.sh") },
{ MODKEY, XK_k, spawn, SHCMD("~/nixos/scripts/code.sh") }, { MODKEY, XK_k, spawn, SHCMD("$HOME/nixos/scripts/code.sh") },
{ MODKEY, XK_s, spawn, SHCMD("~/nixos/scripts/susuwatari_call.sh") }, { MODKEY, XK_s, spawn, SHCMD("$HOME/nixos/scripts/susuwatari_call.sh") },
{ MODKEY, XK_b, spawn, SHCMD("~/nixos/scripts/bookmarks_get.sh") }, { MODKEY, XK_b, spawn, SHCMD("$HOME/nixos/scripts/bookmarks_get.sh") },
{ MODKEY|ShiftMask, XK_b, spawn, SHCMD("~/nixos/scripts/bookmarks_add.sh") }, { MODKEY|ShiftMask, XK_b, spawn, SHCMD("$HOME/nixos/scripts/bookmarks_add.sh") },
{ MODKEY, XK_p, spawn, SHCMD("$HOME/nixos/scripts/pass_get.sh") },
TAGKEYS( XK_ampersand, 0) TAGKEYS( XK_ampersand, 0)
TAGKEYS( XK_eacute, 1) TAGKEYS( XK_eacute, 1)
TAGKEYS( XK_quotedbl, 2) TAGKEYS( XK_quotedbl, 2)

View file

@ -95,17 +95,18 @@ static const Key keys[] = {
{ MODKEY, XK_F3, spawn, SHCMD("pamixer -i 5 -u && notify-send -u normal -a \"volume\" \"$(pamixer --get-volume-human)\"") }, { MODKEY, XK_F3, spawn, SHCMD("pamixer -i 5 -u && notify-send -u normal -a \"volume\" \"$(pamixer --get-volume-human)\"") },
{ MODKEY, XK_F4, spawn, SHCMD("brightnessctl -d \"amdgpu_bl1\" set 10%- && notify-send -u normal -a \"brightness\" \"$(brightnessctl -d 'amdgpu_bl1' get)\"") }, { MODKEY, XK_F4, spawn, SHCMD("brightnessctl -d \"amdgpu_bl1\" set 10%- && notify-send -u normal -a \"brightness\" \"$(brightnessctl -d 'amdgpu_bl1' get)\"") },
{ MODKEY, XK_F5, spawn, SHCMD("brightnessctl -d \"amdgpu_bl1\" set +10% && notify-send -u normal -a \"brightness\" \"$(brightnessctl -d 'amdgpu_bl1' get)\"") }, { MODKEY, XK_F5, spawn, SHCMD("brightnessctl -d \"amdgpu_bl1\" set +10% && notify-send -u normal -a \"brightness\" \"$(brightnessctl -d 'amdgpu_bl1' get)\"") },
{ MODKEY, XK_F6, spawn, SHCMD("~/nixos/scripts/usb_guest.sh") }, { MODKEY, XK_F6, spawn, SHCMD("$HOME/nixos/scripts/usb_guest.sh") },
{ MODKEY, XK_F7, spawn, SHCMD("~/nixos/scripts/susuwatari/client.sh") }, { MODKEY, XK_F7, spawn, SHCMD("$HOME/nixos/scripts/susuwatari/client.sh") },
{ MODKEY, XK_F8, spawn, SHCMD("~/nixos/scripts/hdmi_paint.sh") }, { MODKEY, XK_F8, spawn, SHCMD("$HOME/nixos/scripts/hdmi_paint.sh") },
{ MODKEY, XK_F9, spawn, SHCMD("~/nixos/scripts/screen_sleep.sh") }, { MODKEY, XK_F9, spawn, SHCMD("$HOME/nixos/scripts/screen_sleep.sh") },
{ MODKEY, XK_Print, spawn, SHCMD("~/nixos/scripts/screenshot.sh") }, { MODKEY, XK_Print, spawn, SHCMD("$HOME/nixos/scripts/screenshot.sh") },
{ MODKEY, XK_t, spawn, SHCMD("~/nixos/scripts/task_manager.sh") }, { MODKEY, XK_t, spawn, SHCMD("$HOME/nixos/scripts/task_manager.sh") },
{ MODKEY, XK_n, spawn, SHCMD("~/nixos/scripts/notes.sh") }, { MODKEY, XK_n, spawn, SHCMD("$HOME/nixos/scripts/notes.sh") },
{ MODKEY, XK_k, spawn, SHCMD("~/nixos/scripts/code.sh") }, { MODKEY, XK_k, spawn, SHCMD("$HOME/nixos/scripts/code.sh") },
{ MODKEY, XK_s, spawn, SHCMD("~/nixos/scripts/susuwatari_call.sh") }, { MODKEY, XK_s, spawn, SHCMD("$HOME/nixos/scripts/susuwatari_call.sh") },
{ MODKEY, XK_b, spawn, SHCMD("~/nixos/scripts/bookmarks_get.sh") }, { MODKEY, XK_b, spawn, SHCMD("$HOME/nixos/scripts/bookmarks_get.sh") },
{ MODKEY|ShiftMask, XK_b, spawn, SHCMD("~/nixos/scripts/bookmarks_add.sh") }, { MODKEY|ShiftMask, XK_b, spawn, SHCMD("$HOME/nixos/scripts/bookmarks_add.sh") },
{ MODKEY, XK_p, spawn, SHCMD("$HOME/nixos/scripts/pass_get.sh") },
TAGKEYS( XK_ampersand, 0) TAGKEYS( XK_ampersand, 0)
TAGKEYS( XK_eacute, 1) TAGKEYS( XK_eacute, 1)
TAGKEYS( XK_quotedbl, 2) TAGKEYS( XK_quotedbl, 2)

View file

@ -1,5 +1,5 @@
# dwm version # dwm version
VERSION = "pendragon-1.9" VERSION = "pendragon-1.9.4"
# Customize below to fit your system # Customize below to fit your system