Update sway keymaps and window rules
This commit is contained in:
parent
b00b7208df
commit
9f65943d08
|
@ -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 = {
|
||||||
|
|
|
@ -24,6 +24,6 @@ in {
|
||||||
};
|
};
|
||||||
programs.sway = {
|
programs.sway = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = null;
|
wrapperFeatures.gtk = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue