add emoji picker, power menu and qalculate-gtk
This commit is contained in:
parent
9a1e575cfc
commit
38db696ee8
2 changed files with 23 additions and 4 deletions
|
|
@ -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 = ''
|
||||
|
|
@ -116,6 +131,8 @@ in {
|
|||
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; }
|
||||
|
|
|
|||
|
|
@ -29,6 +29,8 @@
|
|||
xwayland-satellite
|
||||
gpu-screen-recorder-gtk
|
||||
libnotify
|
||||
qalculate-gtk
|
||||
rofimoji
|
||||
];
|
||||
|
||||
xdg.portal = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue