feat: fix playerctl bidding, float keepassxc
This commit is contained in:
parent
689a2f74f0
commit
47b366be1c
2 changed files with 47 additions and 44 deletions
|
@ -71,6 +71,7 @@
|
|||
fi
|
||||
|
||||
'';
|
||||
playerctl = "${pkgs.playerctl}/bin/playerctl";
|
||||
in {
|
||||
options = {
|
||||
crony.hyprland.enable = lib.mkEnableOption "Enable hyprland and configure it for me";
|
||||
|
@ -442,9 +443,9 @@ in {
|
|||
|
||||
# Requires playerctl
|
||||
bindl = [
|
||||
", XF86AudioPlay, exec, playerctl play-pause"
|
||||
", XF86AudioPrev, exec, playerctl previous"
|
||||
", XF86AudioNext, exec, playerctl next"
|
||||
", XF86AudioPlay, exec, ${playerctl} play-pause"
|
||||
", XF86AudioPrev, exec, ${playerctl} previous"
|
||||
", XF86AudioNext, exec, ${playerctl} next"
|
||||
|
||||
'', switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-1, 1920x1080, 0x0, 1"''
|
||||
'', switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-1, disable"''
|
||||
|
@ -478,6 +479,9 @@ in {
|
|||
# Make workspace 6 a floating layout
|
||||
"float, workspace:6"
|
||||
|
||||
# Make keepassxc floating
|
||||
"float, class:^(org.keepassxc.KeePassXC)$"
|
||||
|
||||
# Move to workspace 5
|
||||
"workspace 5, class:^(vesktop)$"
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue