mirror of
https://github.com/EdenQwQ/nixos.git
synced 2025-12-26 18:34:56 +08:00
reload swhkd after at activation; add thefuck
This commit is contained in:
parent
5522f31f19
commit
c8542c6058
3 changed files with 13 additions and 0 deletions
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -48,4 +48,5 @@
|
|||
./obs.nix
|
||||
./music.nix
|
||||
];
|
||||
programs.thefuck.enable = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue