all repos

dotfiles @ 025b243

i use rach linux btw
3 files changed, 8 insertions(+), 3 deletions(-)
bin: update power menu script to handle both and hypr and niri
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2025-06-09 20:53:27 +0300
Parent: 55fbba2
M bin/wofi-power-menu
···
                18
                18
                 }

              
                19
                19
                 

              
                20
                20
                 case $selected in

              
                21
                
                -logout) shall_continue hyprctl dispatch exit ;;

              
                
                21
                +logout)

              
                
                22
                +  case $1 in

              
                
                23
                +    "niri") shall_continue niri msg action quit ;;

              
                
                24
                +    "hypr") shall_continue hyprctl dispatch exit ;;

              
                
                25
                +  esac

              
                
                26
                +  ;;

              
                22
                27
                 suspend) shall_continue systemctl suspend ;;

              
                23
                28
                 reboot) shall_continue systemctl reboot ;;

              
                24
                29
                 poweroff) shall_continue systemctl poweroff ;;

              
M config/hypr/hyprland.conf
···
                150
                150
                   bind = $mod, Return, exec, $terminal

              
                151
                151
                 

              
                152
                152
                   bind = $mod SHIFT, Return, exec, wofi --show drun --allow-images

              
                153
                
                -  bind = $mod SHIFT, Escape, exec, ~/bin/wofi-power-menu

              
                
                153
                +  bind = $mod SHIFT, Escape, exec, ~/bin/wofi-power-menu,hypr

              
                154
                154
                 

              
                155
                155
                   bind = $mod, f, fullscreen

              
                156
                156
                   bind = $mod Ctrl, f, togglefloating

              
M config/niri/config.kdl
···
                165
                165
                   Mod+Q { close-window; }

              
                166
                166
                   Mod+Return { spawn "kitty"; }

              
                167
                167
                   Mod+Shift+Return { spawn "wofi" "--show" "drun"; }

              
                168
                
                -  Mod+Shift+Escape { spawn "~/bin/wofi-power-menu"; }

              
                
                168
                +  Mod+Shift+Escape { spawn "~/bin/wofi-power-menu" "niri";}

              
                169
                169
                   Super+Alt+L { spawn "swaylock"; } // TODO: change to hyprlock

              
                170
                170
                 

              
                171
                171
                   // programs {{{