Update sway keymaps and window rules

This commit is contained in:
Evie Litherland-Smith 2023-06-21 14:51:45 +01:00
parent b00b7208df
commit 9f65943d08
2 changed files with 2 additions and 9 deletions

View file

@ -71,7 +71,7 @@ in {
assigns = { assigns = {
"2" = [{app_id = "firefox";}]; "2" = [{app_id = "firefox";}];
"3" = [ "3" = [
{app_id = "Signal";} {class = "Signal";}
{app_id = "fractal";} {app_id = "fractal";}
{app_id = "discord";} {app_id = "discord";}
{class = "teams-for-linux";} {class = "teams-for-linux";}
@ -105,17 +105,10 @@ in {
keybindings = lib.mkOptionDefault { keybindings = lib.mkOptionDefault {
"${modifier}+Return" = "exec ${term}"; "${modifier}+Return" = "exec ${term}";
"${modifier}+Shift+Return" = "exec ${pkgs.foot}/bin/foot"; "${modifier}+Shift+Return" = "exec ${pkgs.foot}/bin/foot";
"${modifier}+q" = "kill";
"${modifier}+e" = "exec power-profiles";
"${modifier}+p" = "exec powermenu";
"${modifier}+v" = "floating toggle";
"${modifier}+space" = "exec ${pkgs.rofi}/bin/rofi -show drun"; "${modifier}+space" = "exec ${pkgs.rofi}/bin/rofi -show drun";
"${modifier}+F1" = "exec ${pkgs.swaylock}/bin/swaylock"; "${modifier}+F1" = "exec ${pkgs.swaylock}/bin/swaylock";
"${modifier}+w" = "exec ${pkgs.firefox}/bin/firefox"; "${modifier}+w" = "exec ${pkgs.firefox}/bin/firefox";
"${modifier}+f" = "exec ${pkgs.xfce.thunar}/bin/thunar"; "${modifier}+f" = "exec ${pkgs.xfce.thunar}/bin/thunar";
"${modifier}+m" = "fullscreen toggle";
"${modifier}+c" = "scratchpad show";
"${modifier}+Shift+c" = "move scratchpad";
}; };
colors = { colors = {
focused = { focused = {

View file

@ -24,6 +24,6 @@ in {
}; };
programs.sway = { programs.sway = {
enable = true; enable = true;
package = null; wrapperFeatures.gtk = true;
}; };
} }