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:
parent
47d49e7b75
commit
1aab88ba52
@ -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;
|
||||||
|
|||||||
@ -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
|
||||||
'';
|
'';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user