diff --git a/flake.lock b/flake.lock index 190a14c..cd64e5b 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1757075491, - "narHash": "sha256-a+NMGl5tcvm+hyfSG2DlVPa8nZLpsumuRj1FfcKb2mQ=", + "lastModified": 1756022458, + "narHash": "sha256-J1i35r4HfNDdPpwL0vOBaZopQudAUVtartEerc1Jryc=", "owner": "nix-community", "repo": "home-manager", - "rev": "f56bf065f9abedc7bc15e1f2454aa5c8edabaacf", + "rev": "9e3a33c0bcbc25619e540b9dfea372282f8a9740", "type": "github" }, "original": { @@ -22,11 +22,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1756787288, - "narHash": "sha256-rw/PHa1cqiePdBxhF66V7R+WAP8WekQ0mCDG4CFqT8Y=", + "lastModified": 1755615617, + "narHash": "sha256-HMwfAJBdrr8wXAkbGhtcby1zGFvs+StOp19xNsbqdOg=", "owner": "nixos", "repo": "nixpkgs", - "rev": "d0fc30899600b9b3466ddb260fd83deb486c32f1", + "rev": "20075955deac2583bb12f07151c2df830ef346b4", "type": "github" }, "original": { diff --git a/home.nix b/home.nix index 77957e0..b055538 100644 --- a/home.nix +++ b/home.nix @@ -39,11 +39,11 @@ in ./programm_configs/zsh.nix ./programm_configs/gnome.nix ./programm_configs/autorandr.nix + ./programm_configs/polybar.nix ] ++ (if x11mode then [ ./programm_configs/i3.nix ./programm_configs/picom.nix ./programm_configs/redshift.nix - ./programm_configs/polybar.nix ] else [ ./programm_configs/sway.nix ./programm_configs/swaylock.nix @@ -130,11 +130,6 @@ in target = ".config/sway/lock.sh"; executable = true; }; - swaylock_suspend = { - source = ./programm_configs/lock_and_suspend.sh; - target = ".config/sway/lock_and_suspend.sh"; - executable = true; - }; }; # envars diff --git a/programm_configs/sway.nix b/programm_configs/sway.nix index 11cba39..f10bb61 100644 --- a/programm_configs/sway.nix +++ b/programm_configs/sway.nix @@ -31,8 +31,8 @@ keybindings = { # screenlock - "${mod}+Shift+l" = "exec --no-startup-id ~/.config/sway/lock_and_suspend.sh"; - "${mod}+l" = "exec --no-startup-id ~/.config/sway/lock.sh"; + "${mod}+shift+l" = "exec --no-startup-id ~/.config/sway/lock_and_suspend.sh"; + "${mod}+l" = "exec --no-startup-id ~/.config/sway/lock.sh"; # audio control fluff "XF86AudioRaiseVolume" = "exec --no-startup-id wpctl set-volume @DEFAULT_SINK@ 5%+";