diff --git a/home/config/i3/config b/home/config/i3/config index 186f2e2..fe33050 100644 --- a/home/config/i3/config +++ b/home/config/i3/config @@ -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 diff --git a/home/config/nixpkgs/home.nix b/home/config/nixpkgs/home.nix index 38d67ea..7aeaeab 100644 --- a/home/config/nixpkgs/home.nix +++ b/home/config/nixpkgs/home.nix @@ -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; diff --git a/machine/current b/machine/current index fab995a..73eff5b 120000 --- a/machine/current +++ b/machine/current @@ -1 +1 @@ -nucturne/ \ No newline at end of file +stel-xps/ \ No newline at end of file