Compare commits

...

4 commits

4 changed files with 13 additions and 4 deletions

View file

@ -8,6 +8,7 @@
./services/dunst
./services/udiskie
./services/picom
./services/screen-locker
];
home = {
@ -70,8 +71,6 @@
};
};
mpv.enable = true;
rofi.enable = true;
rofi.pass.enable = true;
zathura.enable = true;
zsh = let

View file

@ -0,0 +1,10 @@
{ config, lib, pkgs, ... }:
{
config.services.screen-locker = {
enable = true;
inactiveInterval = 30;
lockCmd = "${pkgs.betterlockscreen}/bin/betterlockscreen -l dim";
xautolock.extraOptions = [ "Xautolock.killer: systemctl suspend" ];
};
}

View file

@ -7,9 +7,7 @@
xserver = {
enable = true;
exportConfiguration = true;
# Configure keymap in X11
layout = "us";
xkbOptions = "terminate:ctrl_alt_bksp,caps:escape,compose:ralt";

View file

@ -63,6 +63,8 @@ myConfig = ewmhFullscreen $ ewmh $ Docks.docks $ nav $ def
, ("M-r", WS.nextWS)
, ("<XF86MonBrightnessDown>", spawn "xbacklight -dec 5")
, ("<XF86MonBrightnessUp>", spawn "xbacklight -inc 5")
, ("<F5>", spawn "xbacklight -dec 5")
, ("<F6>", spawn "xbacklight -inc 5")
, ("M-S-c", sendMessage $ MoveSplit U)
, ("M-S-h", sendMessage $ MoveSplit L)
, ("M-S-t", sendMessage $ MoveSplit D)