all repos

dotfiles @ 025b243c4845c8e23a777ece3bc1ec7727710a16

my dotfiles
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,7 +18,12 @@ esac

} case $selected in -logout) shall_continue hyprctl dispatch exit ;; +logout) + case $1 in + "niri") shall_continue niri msg action quit ;; + "hypr") shall_continue hyprctl dispatch exit ;; + esac + ;; suspend) shall_continue systemctl suspend ;; reboot) shall_continue systemctl reboot ;; poweroff) shall_continue systemctl poweroff ;;
M config/hypr/hyprland.conf

@@ -150,7 +150,7 @@ bind = $mod SHIFT, q, exec, hyprctl kill

bind = $mod, Return, exec, $terminal bind = $mod SHIFT, Return, exec, wofi --show drun --allow-images - bind = $mod SHIFT, Escape, exec, ~/bin/wofi-power-menu + bind = $mod SHIFT, Escape, exec, ~/bin/wofi-power-menu,hypr bind = $mod, f, fullscreen bind = $mod Ctrl, f, togglefloating
M config/niri/config.kdl

@@ -165,7 +165,7 @@ binds {

Mod+Q { close-window; } Mod+Return { spawn "kitty"; } Mod+Shift+Return { spawn "wofi" "--show" "drun"; } - Mod+Shift+Escape { spawn "~/bin/wofi-power-menu"; } + Mod+Shift+Escape { spawn "~/bin/wofi-power-menu" "niri";} Super+Alt+L { spawn "swaylock"; } // TODO: change to hyprlock // programs {{{