1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00

layout script stuff for i3

Signed-off-by: Stefan Ellmauthaler <stefan.ellmauthaler@tu-dresden.de>
This commit is contained in:
Stefan Ellmauthaler 2021-10-13 11:54:39 +02:00
parent 47d49e7b75
commit 1aab88ba52
2 changed files with 6 additions and 1 deletions

View File

@ -58,7 +58,13 @@
polybarFull # bar polybarFull # bar
i3lock # lock screen i3lock # lock screen
xss-lock xss-lock
autorandr
]; ];
extraSessionCommands = ''
if [ $(hostname) = 'stel-xps' ]; then
${pkgs.autorandr}/bin/autorandr -c
fi
'';
}; };
services.gnome.gnome-keyring.enable = true; services.gnome.gnome-keyring.enable = true;

View File

@ -51,7 +51,6 @@
numlock.enable = true; numlock.enable = true;
profileExtra = '' profileExtra = ''
if [ $(hostname) = 'stel-xps' ]; then if [ $(hostname) = 'stel-xps' ]; then
autorandr -c
brightnessctl s 50% brightnessctl s 50%
fi fi
''; '';