add emoji picker, power menu and qalculate-gtk

This commit is contained in:
Zoty 2026-06-24 14:20:42 -03:00
parent 9a1e575cfc
commit 38db696ee8
Signed by: Zoty
SSH key fingerprint: SHA256:WsGEGivgl37t3Mth6uugXMOgMCTR7QolIepNbC+j/tA
2 changed files with 23 additions and 4 deletions

View file

@ -64,6 +64,21 @@ in {
'';
};
home.file.".local/bin/power-menu" = {
executable = true;
text = ''
#!/usr/bin/env bash
CHOICE=$(printf "Lock\nSuspend\nReboot\nShutdown\nLogout" | fuzzel --dmenu --prompt "Power: " --lines 5)
case "$CHOICE" in
Lock) swaylock -f -i ${wallpaper} ;;
Suspend) systemctl suspend ;;
Reboot) systemctl reboot ;;
Shutdown) systemctl poweroff ;;
Logout) niri msg action quit ;;
esac
'';
};
home.file.".local/bin/swww-init" = {
executable = true;
text = ''
@ -113,9 +128,11 @@ in {
binds {
// Applications
Mod+Return { spawn "kitty"; }
Mod+D { spawn "fuzzel"; }
Mod+Q { close-window; }
Mod+Return { spawn "kitty"; }
Mod+D { spawn "fuzzel"; }
Mod+Q { close-window; }
Mod+Period { spawn "rofimoji" "--selector" "fuzzel" "--clipboarder" "wl-copy"; }
Mod+Shift+P { spawn "bash" "-c" "$HOME/.local/bin/power-menu"; }
// Focus
Mod+Left { focus-column-left; }

View file

@ -28,7 +28,9 @@
kdePackages.xdg-desktop-portal-kde
xwayland-satellite
gpu-screen-recorder-gtk
libnotify
libnotify
qalculate-gtk
rofimoji
];
xdg.portal = {