power menu binding

This commit is contained in:
Adithya 2023-04-06 01:27:26 +05:30
parent d39da7fbfd
commit e040c530e8
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
2 changed files with 4 additions and 2 deletions

View file

@ -8,7 +8,8 @@ let
swaylock = "${pkgs.swaylock}/bin/swaylock"; swaylock = "${pkgs.swaylock}/bin/swaylock";
tmux = "${pkgs.tmux}/bin/tmux"; tmux = "${pkgs.tmux}/bin/tmux";
wpctl = "${pkgs.wireplumber}/bin/wpctl"; wpctl = "${pkgs.wireplumber}/bin/wpctl";
in { in
{
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
systemdIntegration = true; systemdIntegration = true;
@ -42,6 +43,7 @@ in {
bind = SUPER,d, exec, ${rofi} -show drun bind = SUPER,d, exec, ${rofi} -show drun
bind = SUPER,l, exec, ${swaylock} -f -i /tmp/lockpaper.jpg bind = SUPER,l, exec, ${swaylock} -f -i /tmp/lockpaper.jpg
bind = SUPER_SHIFT,W, exec, ~/.config/scripts/chpaper.sh bind = SUPER_SHIFT,W, exec, ~/.config/scripts/chpaper.sh
bind = SUPER_SHIFT,escape, exec, ${pkgs.scripts}/bin/power-menu
bind = SUPER,1, workspace, 1 bind = SUPER,1, workspace, 1
bind = SUPER,2, workspace, 2 bind = SUPER,2, workspace, 2

View file

@ -1,4 +1,4 @@
{ lib, stdenvNoCC, makeWrapperm, libnotify }: { lib, stdenvNoCC, makeWrapper, libnotify }:
stdenvNoCC.mkDerivation { stdenvNoCC.mkDerivation {
pname = "scripts"; pname = "scripts";
version = "1.0"; version = "1.0";