Skip to content

Commit

Permalink
hyprland: add waybar toggle bind
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Jan 2, 2025
1 parent 2a1c3f5 commit 2cc3a88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions modules/home/programs/graphical/wms/hyprland/binds.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ in
"$mainMod, W, exec, $looking-glass"
"$mainMod, I, exec, ${getExe pkgs.libnotify} \"$($window-inspector)\""
"$mainMod, PERIOD, exec, ${getExe pkgs.smile}"
"$CTRL_SHIFT, B, exec, ${getExe pkgs.killall} -SIGUSR1 .waybar-wrapped"

# kill window
"$mainMod, Q, killactive,"
Expand Down
2 changes: 1 addition & 1 deletion modules/home/programs/graphical/wms/hyprland/variables.nix
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,9 @@ in
# "$launchpad" = "${getExe config.programs.rofi.package} -show drun -config '~/.config/rofi/appmenu/rofi.rasi'";
"$looking-glass" = "${getExe pkgs.looking-glass-client}";
"$screen-locker" = "${getExe config.programs.hyprlock.package}";
# TODO: remove after upstreamed
"$window-inspector" = "${getExe pkgs.hyprprop}";
"$screen-recorder" = "${getExe pkgs.${namespace}.record_screen}";
"$bar" = ".waybar-wrapped";

# screenshot commands
"$notify-screenshot" = ''${getExe pkgs.libnotify} --icon "$file" "Screenshot Saved"'';
Expand Down

0 comments on commit 2cc3a88

Please sign in to comment.