Minor changes to alpheratz
This commit is contained in:
@@ -141,6 +141,7 @@
|
|||||||
options = {
|
options = {
|
||||||
laptop = {
|
laptop = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
backlight.enable = true;
|
||||||
powersave.enable = true;
|
powersave.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -69,6 +69,7 @@
|
|||||||
wine
|
wine
|
||||||
matlab-language-server
|
matlab-language-server
|
||||||
zoom-us
|
zoom-us
|
||||||
|
calibre
|
||||||
];
|
];
|
||||||
|
|
||||||
services.printing.enable = false;
|
services.printing.enable = false;
|
||||||
|
|||||||
@@ -131,8 +131,10 @@ in
|
|||||||
"${modifier}+Control+x" = "exec feishin";
|
"${modifier}+Control+x" = "exec feishin";
|
||||||
})
|
})
|
||||||
(mkIf laptop.backlight.enable {
|
(mkIf laptop.backlight.enable {
|
||||||
"XF86MonBrightnessUp" = "exec ${pkgs.light}/bin/light -A 5";
|
"XF86MonBrightnessUp" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set +5%";
|
||||||
"XF86MonBrightnessDown" = "exec ${pkgs.light}/bin/light -U 5";
|
"XF86MonBrightnessDown" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 5%-";
|
||||||
|
"${modifier}+XF86MonBrightnessUp" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set +1%";
|
||||||
|
"${modifier}+XF86MonBrightnessDown" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 1%-";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -145,6 +147,8 @@ in
|
|||||||
{ command = "--no-startup-id openrgb --startminimized"; }
|
{ command = "--no-startup-id openrgb --startminimized"; }
|
||||||
{ command = "--no-startup-id easyeffects --gapplication-service"; }
|
{ command = "--no-startup-id easyeffects --gapplication-service"; }
|
||||||
{ command = "--no-startup-id wayland-pipewire-idle-inhibit"; }
|
{ command = "--no-startup-id wayland-pipewire-idle-inhibit"; }
|
||||||
|
] ++ optionals gui.protonmail
|
||||||
|
[
|
||||||
{ command = "--no-startup-id protonmail-bridge --noninteractive"; }
|
{ command = "--no-startup-id protonmail-bridge --noninteractive"; }
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user