From f8a5302e8d37fc61bb6ac78bbb2888b45d99e308 Mon Sep 17 00:00:00 2001 From: Rachel Lambda Samuelsson Date: Thu, 17 Oct 2024 01:45:43 +0200 Subject: [PATCH] more binds and screen locker --- home-manager/i3.nix | 9 ++++++++- nixos/shared/graphical.nix | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/home-manager/i3.nix b/home-manager/i3.nix index 4f943f9..fc1021b 100644 --- a/home-manager/i3.nix +++ b/home-manager/i3.nix @@ -9,7 +9,9 @@ bindsym Mod4+r exec --no-startup-id rofi -show drun bindsym Mod4+p exec --no-startup-id ${extra.cpypsk} - bindsym Mod4+Enter exec --no-startup-id wezterm + bindsym Mod4+Return exec --no-startup-id wezterm + bindsym Mod4+BackSpace exec --no-startup-id firefox + bindsym Mod4+Shift+l exec --no-startup-id slock bindsym Mod1+Prior exec --no-startup-id ${extra.eyezoom} eye bindsym Mod1+Next exec --no-startup-id ${extra.eyezoom} default @@ -32,6 +34,11 @@ tiling_drag modifier titlebar bindsym Mod4+Shift+q kill + bindsym Mod4+Shift+r restart + + bindsym Control_L+Mod4+v split vertical + bindsym Control_L+Mod4+h split horizontal + bindsym Mod4+t split toggle bindsym Mod4+f fullscreen toggle diff --git a/nixos/shared/graphical.nix b/nixos/shared/graphical.nix index 7f428d0..b77c032 100644 --- a/nixos/shared/graphical.nix +++ b/nixos/shared/graphical.nix @@ -14,6 +14,7 @@ displayManager.startx.enable = true; }; services.desktopManager.plasma6.enable = true; + programs.slock.enable = true; # [SOUND] sound.enable = false;