some stuff

This commit is contained in:
2024-05-31 00:03:10 +01:00
parent 61658f1654
commit aeed8760b8
2 changed files with 44 additions and 2 deletions

View File

@@ -20,6 +20,14 @@
mod = "Mod4";
hyper = "Control+Shift+Mod1";
in {
home = {
file = {
"bin/swayutils" = {
source = ../../../../scripts/swayutils;
executable = true;
};
};
};
wayland.windowManager.sway = {
enable = true;
config = {
@@ -49,8 +57,8 @@ in {
"${mod}+Down" = "movewindow down";
"${mod}+Right" = "movewindow right";
"${mod}+Shift+h" = "move window workspace prev";
"${mod}+Shift+l" = "move window workspace next";
"${mod}+Shift+h" = "swayutils move prev";
"${mod}+Shift+l" = "swayutils move next";
"${mod}+Control+h" = "workspace prev";
"${mod}+Control+l" = "workspace next";
@@ -102,6 +110,17 @@ in {
"XF86AudioPrev" = "exec playerctl previous";
"XF86AudioPlay" = "exec playerctl play-pause";
"XF86AudioNext" = "exec playerctl next";
"${mod}+Shift+0" = "move container to workspace 0";
"${mod}+Shift+1" = "move container to workspace 1";
"${mod}+Shift+2" = "move container to workspace 2";
"${mod}+Shift+3" = "move container to workspace 3";
"${mod}+Shift+4" = "move container to workspace 4";
"${mod}+Shift+5" = "move container to workspace 5";
"${mod}+Shift+6" = "move container to workspace 6";
"${mod}+Shift+7" = "move container to workspace 7";
"${mod}+Shift+8" = "move container to workspace 8";
"${mod}+Shift+9" = "move container to workspace 9";
};
};
};