mirror of
https://github.com/kmein/niveum
synced 2026-03-21 20:31:07 +01:00
feat(i3): fix slock
This commit is contained in:
@@ -99,14 +99,19 @@ in {
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.users.me.xsession.windowManager.i3 = {
|
home-manager.users.me.xsession.windowManager.i3 = let
|
||||||
|
modifier = "Mod4";
|
||||||
|
in {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
extraConfig = ''
|
||||||
|
bindsym --release ${modifier}+Shift+w exec /run/wrappers/bin/slock
|
||||||
|
'';
|
||||||
config = rec {
|
config = rec {
|
||||||
fonts = {
|
fonts = {
|
||||||
names = ["Sans"];
|
names = ["Sans"];
|
||||||
size = 10.0;
|
size = 10.0;
|
||||||
};
|
};
|
||||||
modifier = "Mod4";
|
inherit modifier;
|
||||||
window = {
|
window = {
|
||||||
titlebar = false;
|
titlebar = false;
|
||||||
border = 1;
|
border = 1;
|
||||||
@@ -216,9 +221,6 @@ in {
|
|||||||
"k" = "resize shrink height 10 px or 5 ppt";
|
"k" = "resize shrink height 10 px or 5 ppt";
|
||||||
"l" = "resize grow width 10 px or 5 ppt";
|
"l" = "resize grow width 10 px or 5 ppt";
|
||||||
};
|
};
|
||||||
extraConfig = ''
|
|
||||||
bindsym --release ${modifier}+Shift+w exec /run/wrappers/bin/slock
|
|
||||||
'';
|
|
||||||
keybindings = {
|
keybindings = {
|
||||||
"${modifier}+Shift+h" = "move left 25 px";
|
"${modifier}+Shift+h" = "move left 25 px";
|
||||||
"${modifier}+Shift+j" = "move down 25 px";
|
"${modifier}+Shift+j" = "move down 25 px";
|
||||||
|
|||||||
Reference in New Issue
Block a user