Compare commits
4 commits
31d20be291
...
04bf11aeaa
| Author | SHA1 | Date | |
|---|---|---|---|
| 04bf11aeaa | |||
| 29ed32e7de | |||
| eedfe098c7 | |||
| fd528bc6b8 |
4 changed files with 13 additions and 4 deletions
|
|
@ -8,6 +8,7 @@
|
||||||
./services/dunst
|
./services/dunst
|
||||||
./services/udiskie
|
./services/udiskie
|
||||||
./services/picom
|
./services/picom
|
||||||
|
./services/screen-locker
|
||||||
];
|
];
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
|
|
@ -70,8 +71,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
mpv.enable = true;
|
mpv.enable = true;
|
||||||
rofi.enable = true;
|
|
||||||
rofi.pass.enable = true;
|
|
||||||
zathura.enable = true;
|
zathura.enable = true;
|
||||||
|
|
||||||
zsh = let
|
zsh = let
|
||||||
|
|
|
||||||
10
home/alex/services/screen-locker/default.nix
Normal file
10
home/alex/services/screen-locker/default.nix
Normal 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" ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -7,9 +7,7 @@
|
||||||
|
|
||||||
xserver = {
|
xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
exportConfiguration = true;
|
|
||||||
|
|
||||||
# Configure keymap in X11
|
|
||||||
layout = "us";
|
layout = "us";
|
||||||
|
|
||||||
xkbOptions = "terminate:ctrl_alt_bksp,caps:escape,compose:ralt";
|
xkbOptions = "terminate:ctrl_alt_bksp,caps:escape,compose:ralt";
|
||||||
|
|
|
||||||
|
|
@ -63,6 +63,8 @@ myConfig = ewmhFullscreen $ ewmh $ Docks.docks $ nav $ def
|
||||||
, ("M-r", WS.nextWS)
|
, ("M-r", WS.nextWS)
|
||||||
, ("<XF86MonBrightnessDown>", spawn "xbacklight -dec 5")
|
, ("<XF86MonBrightnessDown>", spawn "xbacklight -dec 5")
|
||||||
, ("<XF86MonBrightnessUp>", spawn "xbacklight -inc 5")
|
, ("<XF86MonBrightnessUp>", spawn "xbacklight -inc 5")
|
||||||
|
, ("<F5>", spawn "xbacklight -dec 5")
|
||||||
|
, ("<F6>", spawn "xbacklight -inc 5")
|
||||||
, ("M-S-c", sendMessage $ MoveSplit U)
|
, ("M-S-c", sendMessage $ MoveSplit U)
|
||||||
, ("M-S-h", sendMessage $ MoveSplit L)
|
, ("M-S-h", sendMessage $ MoveSplit L)
|
||||||
, ("M-S-t", sendMessage $ MoveSplit D)
|
, ("M-S-t", sendMessage $ MoveSplit D)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue