reload swhkd after at activation; add thefuck

This commit is contained in:
EdenQwQ 2025-03-15 13:32:19 +08:00
parent 5522f31f19
commit c8542c6058
3 changed files with 13 additions and 0 deletions

View file

@ -42,6 +42,12 @@
''
run --quiet ${pkgs.systemd}/bin/systemctl --user reload waybar.service
'';
reload-swhkd =
lib.hm.dag.entryAfter [ "reload-waybar" ]
# bash
''
run --quiet ${pkgs.procps}/bin/pkill -HUP swhkd
'';
};
};

View file

@ -30,6 +30,12 @@
key = "XF86AudioLowerVolume";
command = "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1-";
}
{
key = "super + shift + s";
command =
with config.lib.stylix.colors.withHashtag;
''wshowkeys -a bottom -a right -F "Comic Code 30" -b "${base00}aa" -f "${base0E}ee" -s "${base0F}ee" -t 1'';
}
];
};
xdg.configFile."swhkd/tofi.swhkdrc".text = config.lib.swhkd.mkSwhkdrc {

View file

@ -48,4 +48,5 @@
./obs.nix
./music.nix
];
programs.thefuck.enable = true;
}