First commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
{ pkgs, ... } : {
|
||||
imports = [
|
||||
../../home
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
brightnessctl
|
||||
];
|
||||
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
bind = [
|
||||
"XF86MonBrightnessUp, exec, brightnessctl set 5%+"
|
||||
"XF86MonBrightnessDown, exec, brightnessctl set 5%-"
|
||||
"XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+"
|
||||
"XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
|
||||
"XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
|
||||
"XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"
|
||||
];
|
||||
|
||||
bindl = [
|
||||
'', switch:on:Lid Switch, exec, hyprctl keyword monitor "eDP-1, disable"''
|
||||
'', switch:off:Lid Switch, exec, hyprctl keyword monitor "eDP-1, preferred, 0x0, 1"''
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user