From 37eac1b4bbf91c8b206d8065f0e5420dfd41ef7f Mon Sep 17 00:00:00 2001 From: CDaut Date: Tue, 23 Apr 2024 12:53:48 +0200 Subject: [PATCH] fixed lock --- home.nix | 1 + programm_configs/i3.nix | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/home.nix b/home.nix index 292b44c..25e4cea 100644 --- a/home.nix +++ b/home.nix @@ -76,6 +76,7 @@ in i3lock = { source = ./programm_configs/lock.sh; target = ".config/i3/lock.sh"; + executable = true; }; wallpaper = { source = ./media/wallpaper.png; diff --git a/programm_configs/i3.nix b/programm_configs/i3.nix index f4ae7db..5af8a1b 100644 --- a/programm_configs/i3.nix +++ b/programm_configs/i3.nix @@ -18,7 +18,7 @@ in "${mod}+d" = "exec rofi -show combi -config ~/.config/rofi/config.rasi"; # screenlock - "ctrl+${mod}+l" = "exec --no-startup-id ~/.config/i3/lock.sh"; + "${mod}+shift+l" = "exec --no-startup-id ~/.config/i3/lock.sh"; # audio control fluff "XF86AudioRaiseVolume" = "exec --no-startup-id wpctl set-volume @DEFAULT_SINK@ 5%+ && $refresh_i3status";