1
1
Fork 0

hyprland: add power.sh bind

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-12-21 13:32:59 -05:00
parent 52ab394064
commit 1fb1594946
Signed by: myned
GPG key ID: C7224454F7881A34

View file

@ -30,6 +30,7 @@ with lib; let
onlyoffice-desktopeditors = "${pkgs.onlyoffice-bin}/bin/onlyoffice-desktopeditors --system-title-bar --xdg-desktop-portal"; onlyoffice-desktopeditors = "${pkgs.onlyoffice-bin}/bin/onlyoffice-desktopeditors --system-title-bar --xdg-desktop-portal";
pkill = "${pkgs.procps}/bin/pkill"; pkill = "${pkgs.procps}/bin/pkill";
playerctl = "${pkgs.playerctl}/bin/playerctl"; playerctl = "${pkgs.playerctl}/bin/playerctl";
power = config.home-manager.users.${config.custom.username}.home.file.".local/bin/power".source;
remote = config.home-manager.users.${config.custom.username}.home.file.".local/bin/remote".source; remote = config.home-manager.users.${config.custom.username}.home.file.".local/bin/remote".source;
rofi-rbw = "${pkgs.rofi-rbw}/bin/rofi-rbw"; rofi-rbw = "${pkgs.rofi-rbw}/bin/rofi-rbw";
rm = "${pkgs.coreutils}/bin/rm"; rm = "${pkgs.coreutils}/bin/rm";
@ -146,7 +147,7 @@ in {
(key "Bracketright" "Super" "splitratio" "+0.1") (key "Bracketright" "Super" "splitratio" "+0.1")
(key "Bracketright" "Super+Shift" "layoutmsg" "rollprev") (key "Bracketright" "Super+Shift" "layoutmsg" "rollprev")
(key "Comma" "Super" "layoutmsg" "swapprev") (key "Comma" "Super" "layoutmsg" "swapprev")
(key "Down" "Super" "exec" "${swayosd-client} --brightness lower") (key "Delete" "Super+Shift" "exec" power)
(key "Down" "Super+Shift" "movewindoworgroup" "d") (key "Down" "Super+Shift" "movewindoworgroup" "d")
(key "Equal" "Super" "exec" "${swayosd-client} --output-volume raise") (key "Equal" "Super" "exec" "${swayosd-client} --output-volume raise")
(key "Equal" "Super+Shift" "exec" "${zoom} +0.1") (key "Equal" "Super+Shift" "exec" "${zoom} +0.1")