sway: key assignments
This commit is contained in:
parent
115b139f1c
commit
9255a8a83d
@ -20,7 +20,7 @@
|
||||
enable = true;
|
||||
config = rec {
|
||||
menu = "${pkgs.bemenu}/bin/bemenu-run -m -1 --hf '#ffff00' --tf '#888888' --nf '#00ff40' --hb '#424242' | xargs ${pkgs.sway}/bin/swaymsg exec --";
|
||||
left = "h";
|
||||
left = "m";
|
||||
down = "n";
|
||||
up = "e";
|
||||
right = "i";
|
||||
@ -48,20 +48,20 @@
|
||||
bg = "$HOME/.config/wall fill";
|
||||
};
|
||||
"DP-1" = {
|
||||
mode = "2560x1080";
|
||||
mode = "1920x1080";
|
||||
pos = "0,0";
|
||||
};
|
||||
#"HDMI-A-1" = {
|
||||
# mode = "2560x1080";
|
||||
# pos = "1920,0";
|
||||
#};
|
||||
"eDP-1" = {
|
||||
mode = "1920x1080";
|
||||
#pos = "4480,0";
|
||||
pos = "2560,0";
|
||||
subpixel = "none";
|
||||
scale = "1.3";
|
||||
"HDMI-A-1" = {
|
||||
mode = "2560x1080";
|
||||
pos = "1920,0";
|
||||
};
|
||||
#"eDP-1" = {
|
||||
# mode = "1920x1080";
|
||||
# #pos = "4480,0";
|
||||
# pos = "2560,0";
|
||||
# subpixel = "none";
|
||||
# scale = "1.3";
|
||||
#};
|
||||
};
|
||||
|
||||
terminal = "${pkgs.alacritty}/bin/alacritty";
|
||||
@ -72,15 +72,15 @@
|
||||
};
|
||||
|
||||
colors.focused = {
|
||||
background = "#999999";
|
||||
background = "#212121";
|
||||
border = "#999999";
|
||||
childBorder = "#999999";
|
||||
indicator = "#212121";
|
||||
text = "#999999";
|
||||
indicator = "#999999";
|
||||
text = "#FFFFFF";
|
||||
};
|
||||
|
||||
startup = [
|
||||
{ command = "$HOME/.config/sway/scripts/2in1screen"; }
|
||||
#{ command = "$HOME/.config/sway/scripts/2in1screen"; }
|
||||
{ command = "xrdb -load ~/.Xresources"; }
|
||||
{ command = "gsettings set org.gnome.desktop.interface gtk-theme Arc"; }
|
||||
{ command = "gsettings set org.gnome.desktop.interface icon-theme ePapirus"; }
|
||||
@ -96,16 +96,16 @@
|
||||
gaps.inner = 8;
|
||||
gaps.outer = 4;
|
||||
|
||||
assigns = {
|
||||
"3: web" = [{ class = "^Firefox$"; }];
|
||||
"2: mail" = [{ class = "^Thunderbird$"; }];
|
||||
"4: im" = [{ class = "^Element$"; }];
|
||||
};
|
||||
#assigns = {
|
||||
# "3: web" = [{ class = "$Firefox$"; }];
|
||||
# "2: mail" = [{ class = "$Thunderbird$"; }];
|
||||
# "4: im" = [{ class = "^Element$"; }];
|
||||
#};
|
||||
|
||||
window.commands = [
|
||||
{ command = "floating enable"; criteria = { class = "Pavucontrol"; }; }
|
||||
{ command = "floating enable"; criteria = { class = "Galculator"; }; }
|
||||
{ command = "floating enable"; criteria = { class = "yubioath-desktop"; }; }
|
||||
{ command = "floating enable"; criteria = { class = "^Yubi$"; }; }
|
||||
{ command = "floating enable"; criteria = { window_role = "pop-up"; }; }
|
||||
];
|
||||
|
||||
@ -209,7 +209,7 @@
|
||||
|
||||
"${mod}+f" = "fullscreen";
|
||||
"${mod}+Shift+space" = "floating toggle";
|
||||
"${mod}+m" = "focus mode_toggle";
|
||||
"${mod}+h" = "focus mode_toggle";
|
||||
"${mod}+a" = "focus parent";
|
||||
|
||||
"${mod}+Shift+minus" = "move scratchpad";
|
||||
|
Loading…
Reference in New Issue
Block a user