hyprland: switch to keybind helper
This commit is contained in:
parent
e212225ff2
commit
2989870873
@ -14,6 +14,10 @@ in
|
|||||||
example = [ "steam -silent" ];
|
example = [ "steam -silent" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
./keybinds.nix
|
||||||
|
];
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
# Common options for standalone window managers; many of these (or
|
# Common options for standalone window managers; many of these (or
|
||||||
# alternatives thereof) are pulled in by desktop environments.
|
# alternatives thereof) are pulled in by desktop environments.
|
||||||
@ -33,6 +37,8 @@ in
|
|||||||
swayidle
|
swayidle
|
||||||
libsForQt5.qtstyleplugin-kvantum
|
libsForQt5.qtstyleplugin-kvantum
|
||||||
|
|
||||||
|
playerctl
|
||||||
|
|
||||||
pcmanfm-qt
|
pcmanfm-qt
|
||||||
pcmanfm-qt-shim
|
pcmanfm-qt-shim
|
||||||
|
|
||||||
@ -79,6 +85,8 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
playerctld.enable = mkDefault true;
|
||||||
|
|
||||||
udiskie = {
|
udiskie = {
|
||||||
enable = mkDefault true;
|
enable = mkDefault true;
|
||||||
automount = mkDefault false;
|
automount = mkDefault false;
|
||||||
|
@ -322,19 +322,8 @@ in
|
|||||||
];
|
];
|
||||||
|
|
||||||
# repeat, ignore mods
|
# repeat, ignore mods
|
||||||
bindei = [
|
bindei = lib.mapAttrsToList (keysym: command: ",${keysym}, exec, ${command}") config.nixfiles.common.wm.finalKeybinds
|
||||||
# Volume controls
|
++ [
|
||||||
",XF86AudioRaiseVolume, exec, ${keysetting} volumeup"
|
|
||||||
",XF86AudioLowerVolume, exec, ${keysetting} volumedown"
|
|
||||||
",XF86AudioMute, exec, ${keysetting} mute"
|
|
||||||
",XF86AudioMicMute, exec, ${keysetting} micmute"
|
|
||||||
|
|
||||||
# brightness
|
|
||||||
",XF86KbdBrightnessDown, exec, ${keysetting} keydown"
|
|
||||||
",XF86KbdBrightnessUp, exec, ${keysetting} keyup"
|
|
||||||
",XF86MonBrightnessDown, exec, ${keysetting} mondown"
|
|
||||||
",XF86MonBrightnessUp, exec, ${keysetting} monup"
|
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
bindm = [
|
bindm = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user