mirror of
https://github.com/EdenQwQ/nixos.git
synced 2026-07-16 22:16:51 +08:00
swhkd: configure swhkd
This commit is contained in:
parent
5e51149369
commit
87e525ecf8
6 changed files with 134 additions and 118 deletions
39
home/programs/desktop/swhkd.nix
Normal file
39
home/programs/desktop/swhkd.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ user, ... }:
|
||||
{
|
||||
|
||||
xdg.configFile."swhkd/basic.swhkdrc".text = ''
|
||||
super + shift + r
|
||||
pkill -HUP swhkd
|
||||
|
||||
super + enter
|
||||
kitty /home/${user}
|
||||
|
||||
super + alt + c
|
||||
wl-color-picker
|
||||
|
||||
super + b
|
||||
pkill -USR1 .waybar-wrapped
|
||||
|
||||
XF86AudioMute
|
||||
wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
|
||||
XF86AudioMicMute
|
||||
wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||
|
||||
XF86AudioRaiseVolume
|
||||
wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1+
|
||||
|
||||
XF86AudioLowerVolume
|
||||
wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1-
|
||||
'';
|
||||
xdg.configFile."swhkd/tofi.swhkdrc".text = ''
|
||||
super + x
|
||||
/home/${user}/scripts/tofi/powermenu
|
||||
|
||||
super + shift + c
|
||||
/home/${user}/scripts/tofi/colorscheme
|
||||
|
||||
super + {_, shift +} p
|
||||
sh -c $(tofi-{run, drun})
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue