aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktop')
-rw-r--r--modules/desktop/i3/default.nix8
-rw-r--r--modules/desktop/i3/keybindings.nix4
2 files changed, 4 insertions, 8 deletions
diff --git a/modules/desktop/i3/default.nix b/modules/desktop/i3/default.nix
index 5a428d3..b3d0672 100644
--- a/modules/desktop/i3/default.nix
+++ b/modules/desktop/i3/default.nix
@@ -53,7 +53,7 @@
window.commands = [
{
- command = "floating enable, resize set 1400 800, move position center";
+ command = "floating enable, resize set 1280 720, move position center";
criteria.class = "file-explorer";
}
{
@@ -61,13 +61,9 @@
criteria.class = "application-launcher";
}
{
- command = "floating enable, resize set 1000 600, move position center";
+ command = "floating enable, resize set 1280 720, move position center";
criteria.class = "keybindings-viewer";
}
- {
- command = "if_floating_resize_set 1280 720";
- criteria.class = ".*";
- }
];
focus.followMouse = true;
diff --git a/modules/desktop/i3/keybindings.nix b/modules/desktop/i3/keybindings.nix
index b421dba..8857e7d 100644
--- a/modules/desktop/i3/keybindings.nix
+++ b/modules/desktop/i3/keybindings.nix
@@ -15,7 +15,7 @@ in
lib.mkIf config.terminal.kitty.enable "exec ${lib.getExe config.terminal.kitty.package}";
"${mod}+f" =
lib.mkIf (config.terminal.kitty.enable && config.file-management.yazi.enable)
- "exec ${lib.getExe config.terminal.kitty.package} --title 'Yazi' -e ${lib.getExe config.file-management.yazi.package}";
+ "exec ${lib.getExe config.terminal.kitty.package} --class file-explorer --title 'Yazi' -e ${lib.getExe config.file-management.yazi.package}";
"${mod}+s" =
lib.mkIf config.terminal.kitty.enable "exec ${lib.getExe config.terminal.kitty.package} --title 'Keybindings' --class keybindings-viewer -e ${lib.getExe config.scripts.i3-keybindings.package}";
"${mod}+q" = "kill";
@@ -54,7 +54,7 @@ in
"${mod}+Control+l" = "resize grow width 20 px or 20 ppt";
# Layout Modes
- "${mod}+d" = "floating toggle";
+ "${mod}+d" = "floating toggle, resize set 1280 720, move position center";
"${mod}+m" = "fullscreen toggle";
# --- Workspaces ---