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

fixed i3config

Signed-off-by: Stefan Ellmauthaler <stefan.ellmauthaler@tu-dresden.de>
This commit is contained in:
Stefan Ellmauthaler 2021-10-13 10:33:46 +02:00
parent 900bc3d6d6
commit a657de417f
3 changed files with 12 additions and 3 deletions

View File

@ -27,7 +27,7 @@ set $mod Mod4
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
# screen before suspend. Use loginctl lock-session to lock your screen.
set $i3lockwall i3lock --nofork -i ~/.background-image -f -e
set $i3lockwall i3lock --nofork -i ~/.background-image -f -e -t
exec --no-startup-id xss-lock --transfer-sleep-lock -- $i3lockwall
# NetworkManager is the most popular way to manage wireless networks on Linux,
@ -207,7 +207,7 @@ bindsym $mod+r mode "resize"
# position top
#}
#exec_always --no-startup-id polybar
exec_always --no-startup-id systemctl --user start polybar.service
exec_always --no-startup-id systemctl --user restart polybar.service
# shutdown / restart / suspend...
set $mode_system System (l) lock, (CTRL+e) logout, (CTRL+r) reboot, (CTRL+s) shutdown

View File

@ -47,6 +47,15 @@
enable = true;
};
xsession = {
numlock.enable = true;
profileExtra = ''
if [ $(hostname) = 'stel-xps' ]; then
autorandr -c
fi
'';
};
home.file.".background-image".source = ./common/wallpaper/nix-wallpaper-nineish-dark-gray.png;

View File

@ -1 +1 @@
nucturne/
stel-xps/