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:
parent
900bc3d6d6
commit
a657de417f
@ -27,7 +27,7 @@ set $mod Mod4
|
|||||||
|
|
||||||
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
|
# 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.
|
# 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
|
exec --no-startup-id xss-lock --transfer-sleep-lock -- $i3lockwall
|
||||||
|
|
||||||
# NetworkManager is the most popular way to manage wireless networks on Linux,
|
# NetworkManager is the most popular way to manage wireless networks on Linux,
|
||||||
@ -207,7 +207,7 @@ bindsym $mod+r mode "resize"
|
|||||||
# position top
|
# position top
|
||||||
#}
|
#}
|
||||||
#exec_always --no-startup-id polybar
|
#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...
|
# shutdown / restart / suspend...
|
||||||
set $mode_system System (l) lock, (CTRL+e) logout, (CTRL+r) reboot, (CTRL+s) shutdown
|
set $mode_system System (l) lock, (CTRL+e) logout, (CTRL+r) reboot, (CTRL+s) shutdown
|
||||||
|
|||||||
@ -47,6 +47,15 @@
|
|||||||
enable = true;
|
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;
|
home.file.".background-image".source = ./common/wallpaper/nix-wallpaper-nineish-dark-gray.png;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
nucturne/
|
stel-xps/
|
||||||
Loading…
x
Reference in New Issue
Block a user