feat(hyprland): add powermenu script and accompanying bind

This commit is contained in:
ooks-io 2024-03-22 21:59:58 +13:00
parent c98df95f5e
commit 6e4c9283c0
3 changed files with 8 additions and 4 deletions

View file

@ -2,6 +2,7 @@
let let
cfg = config.homeModules.desktop.wayland.windowManager.hyprland; cfg = config.homeModules.desktop.wayland.windowManager.hyprland;
inherit (import ./pkgs {inherit pkgs;}) hyprbrightness hyprvolume hyprkillsession; inherit (import ./pkgs {inherit pkgs;}) hyprbrightness hyprvolume hyprkillsession;
inherit (inputs.ooks-scripts.packages.${pkgs.system}) hyprrecord powermenu;
in in
{ {
imports = [ imports = [
@ -22,7 +23,8 @@ in
hyprvolume hyprvolume
hyprkillsession hyprkillsession
hyprbrightness hyprbrightness
inputs.hyprrecord.packages.${pkgs.system}.hyprrecord hyprrecord
powermenu
]; ];
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {

View file

@ -30,6 +30,8 @@ in
"SUPERSHIFT, S, exec, steam" "SUPERSHIFT, S, exec, steam"
"SUPER, escape, exec, ${terminal} --title=BTOP btop" "SUPER, escape, exec, ${terminal} --title=BTOP btop"
"SUPER, delete, exec, powermenu -c dmenu"
# Spotify PLayer Controls # Spotify PLayer Controls
@ -42,7 +44,7 @@ in
", Print, exec, grimblast --notify --cursor copysave area" ", Print, exec, grimblast --notify --cursor copysave area"
"SUPER, Print, exec, grimblast --notify --cursor copysave screen" "SUPER, Print, exec, grimblast --notify --cursor copysave screen"
"SUPER, r, exec, hyprrecord -a -w video screen video" "SUPER, r, exec, hyprrecord -a -w video screen copysave"
"SUPER CTRL, r, exec, hyprrecord -a -w video area copysave" "SUPER CTRL, r, exec, hyprrecord -a -w video area copysave"
"SUPER ALT, r, exec, hyprrecord -w gif area copysave" "SUPER ALT, r, exec, hyprrecord -w gif area copysave"
@ -128,7 +130,7 @@ in
"SUPER, mouse:273, resizewindow" "SUPER, mouse:273, resizewindow"
]; ];
bindr = [ bindr = [
# "SUPER, SUPER_L, exec, killall anyrun | anyrun" "SUPER, SUPER_L, exec, killall rofi || rofi -show drun"
]; ];
}; };
} }

View file

@ -16,7 +16,7 @@ in
lockscreen.hyprlock.enable = true; lockscreen.hyprlock.enable = true;
notification.mako.enable = true; notification.mako.enable = true;
bar.waybar.enable = true; bar.waybar.enable = true;
launcher.tofi.enable = true; launcher.rofi.enable = true;
}; };
communication = { communication = {
discord.enable = true; discord.enable = true;