diff options
author | ZachIR <zachir@librem.one> | 2025-07-26 13:38:15 -0500 |
---|---|---|
committer | ZachIR <zachir@librem.one> | 2025-07-26 13:38:15 -0500 |
commit | 14abc661c1f16d6cb5070b4c524a7196e0eb1ca0 (patch) | |
tree | ce42289fe38cf344c181e5a0f54bba861b65f881 /scroll | |
parent | 304aa0bc4856e5498b64ae95e73e1a7b21924f46 (diff) |
Set $scripts variable in scroll
Diffstat (limited to 'scroll')
-rw-r--r-- | scroll/config | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/scroll/config b/scroll/config index 2b18e24..2758843 100644 --- a/scroll/config +++ b/scroll/config @@ -25,6 +25,9 @@ set $dmenu dmenu_run -l 15 # Your preferred file manager set $filemanager kitty -e lf +# The scripts directory +set $scripts $home/.config/scroll/scripts + exec waybar exec hypridle exec hyprpaper @@ -497,39 +500,39 @@ bindgesture swipe:4:left workspace prev bindgesture swipe:4:up scale_workspace overview # Enable window swallowing (of mpv specifically) -lua $home/.config/scroll/scripts/swallow.lua +lua $scripts/swallow.lua # Scratchpads for_window [app_id="sphtop"] move scratchpad for_window [app_id="sphtop"] scratchpad show -bindsym $mod+Ctrl+z lua $home/.config/scroll/scripts/scratchpad.lua sphtop htop +bindsym $mod+Ctrl+z lua $scripts/scratchpad.lua sphtop kitty htop for_window [app_id="spterm"] move scratchpad for_window [app_id="spterm"] scratchpad show -bindsym $mod+Ctrl+x lua $home/.config/scroll/scripts/scratchpad.lua spterm +bindsym $mod+Ctrl+x lua $scripts/scratchpad.lua spterm kitty for_window [app_id="sppmxr"] move scratchpad for_window [app_id="sppmxr"] scratchpad show -bindsym $mod+Ctrl+c lua $home/.config/scroll/scripts/scratchpad.lua sppmxr pulsemixer +bindsym $mod+Ctrl+c lua $scripts/scratchpad.lua sppmxr kitty pulsemixer for_window [app_id="spblue"] move scratchpad for_window [app_id="spblue"] scratchpad show -bindsym $mod+Ctrl+v lua $home/.config/scroll/scripts/scratchpad.lua spblue bluetoothctl +bindsym $mod+Ctrl+v lua $scripts/scratchpad.lua spblue kitty bluetoothctl for_window [app_id="spncmp"] move scratchpad for_window [app_id="spncmp"] scratchpad show -bindsym $mod+Ctrl+b lua $home/.config/scroll/scripts/scratchpad.lua spncmp ncmpcpp +bindsym $mod+Ctrl+b lua $scripts/scratchpad.lua spncmp kitty ncmpcpp for_window [app_id="spmutt"] move scratchpad for_window [app_id="spmutt"] scratchpad show -bindsym $mod+Ctrl+a lua $home/.config/scroll/scripts/scratchpad.lua spmutt neomutt +bindsym $mod+Ctrl+a lua $scripts/scratchpad.lua spmutt kitty neomutt for_window [app_id="spprof"] move scratchpad for_window [app_id="spprof"] scratchpad show -bindsym $mod+Ctrl+s lua $home/.config/scroll/scripts/scratchpad.lua spprof profanity +bindsym $mod+Ctrl+s lua $scripts/scratchpad.lua spprof kitty profanity for_window [app_id="spirss"] move scratchpad for_window [app_id="spirss"] scratchpad show -bindsym $mod+Ctrl+d lua $home/.config/scroll/scripts/scratchpad.lua spirss irssi +bindsym $mod+Ctrl+d lua $scripts/scratchpad.lua spirss kitty irssi for_window [app_id="sptodo"] move scratchpad for_window [app_id="sptodo"] scratchpad show -bindsym $mod+Ctrl+f lua $home/.config/scroll/scripts/scratchpad.lua sptodo todo +bindsym $mod+Ctrl+f lua $scripts/scratchpad.lua sptodo kitty todo for_window [app_id="sptrmc"] move scratchpad for_window [app_id="sptrmc"] scratchpad show -bindsym $mod+Ctrl+g lua $home/.config/scroll/scripts/scratchpad.lua sptrmc tremc +bindsym $mod+Ctrl+g lua $scripts/scratchpad.lua sptrmc kitty tremc # # Workspace rules: |