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";
tmux = "${pkgs.tmux}/bin/tmux";
wpctl = "${pkgs.wireplumber}/bin/wpctl";
in {
in
{
wayland.windowManager.hyprland = {
enable = true;
systemdIntegration = true;
@ -42,6 +43,7 @@ in {
bind = SUPER,d, exec, ${rofi} -show drun
bind = SUPER,l, exec, ${swaylock} -f -i /tmp/lockpaper.jpg
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,2, workspace, 2

View file

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