Add workspace keybindings in Hyprland
This commit is contained in:
parent
ddf39ba61f
commit
a882f3be11
3 changed files with 16 additions and 11 deletions
|
@ -98,6 +98,10 @@ let
|
||||||
"ALT, Tab, cyclenext,"
|
"ALT, Tab, cyclenext,"
|
||||||
"ALT, Tab, bringactivetotop,"
|
"ALT, Tab, bringactivetotop,"
|
||||||
"SUPER_ALT, G, submap, steam"
|
"SUPER_ALT, G, submap, steam"
|
||||||
|
"SUPER, 1, workspace, 1"
|
||||||
|
"SUPER, 2, workspace, 2"
|
||||||
|
"SUPER, 3, workspace, 3"
|
||||||
|
"SUPER, 4, workspace, 4"
|
||||||
|
|
||||||
## Scroller ##
|
## Scroller ##
|
||||||
"SUPER, P, scroller:pin"
|
"SUPER, P, scroller:pin"
|
||||||
|
|
|
@ -62,7 +62,7 @@
|
||||||
mkdir "$out"; ${pkgs.jq}/bin/jq -r '
|
mkdir "$out"; ${pkgs.jq}/bin/jq -r '
|
||||||
[ to_entries[] |
|
[ to_entries[] |
|
||||||
(.key as $i | .value.name as $name |
|
(.key as $i | .value.name as $name |
|
||||||
[ range(0;1) | ($i * 1 + .) as $wsnum |
|
[ range(1;2) | ($i * 1 + .) as $wsnum |
|
||||||
if . == 0 then "\($wsnum), monitor:\($name), default:true, persistent:true"
|
if . == 0 then "\($wsnum), monitor:\($name), default:true, persistent:true"
|
||||||
else "\($wsnum), monitor:\($name)" end
|
else "\($wsnum), monitor:\($name)" end
|
||||||
]
|
]
|
||||||
|
@ -126,8 +126,8 @@
|
||||||
border_size = 2;
|
border_size = 2;
|
||||||
gaps_in = 6;
|
gaps_in = 6;
|
||||||
gaps_out = 6;
|
gaps_out = 6;
|
||||||
"col.inactive_border" = "rgb(191b1c)";
|
# "col.inactive_border" = "rgb(191b1c)";
|
||||||
"col.active_border" = "rgb(1cbdd9) rgb(f6ef9d) 30deg";
|
# "col.active_border" = "rgb(1cbdd9) rgb(f6ef9d) 30deg";
|
||||||
allow_tearing = true; # used to reduce latency and/or jitter in games
|
allow_tearing = true; # used to reduce latency and/or jitter in games
|
||||||
snap = {
|
snap = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
|
@ -158,8 +158,8 @@
|
||||||
range = 30;
|
range = 30;
|
||||||
render_power = 2;
|
render_power = 2;
|
||||||
scale = 1.5;
|
scale = 1.5;
|
||||||
color = "rgb(191b1c)";
|
# color = "rgb(191b1c)";
|
||||||
color_inactive = "rgb(191b1c)";
|
# color_inactive = "rgb(191b1c)";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -47,8 +47,9 @@ in
|
||||||
|
|
||||||
# Zen
|
# Zen
|
||||||
"suppressevent maximize, class:^(zen)$"
|
"suppressevent maximize, class:^(zen)$"
|
||||||
"float, title:^(Picture-in-Picture)$"
|
"float, initialTitle:^(Picture-in-Picture)$"
|
||||||
"pin, title:^(Picture-in-Picture)$"
|
"nodim, initialTitle:^(Picture-in-Picture)$"
|
||||||
|
"keepaspectratio, initialTitle:^(Picture-in-Picture)$"
|
||||||
"float, class:^(zen)$, title:^(File Upload)$"
|
"float, class:^(zen)$, title:^(File Upload)$"
|
||||||
"workspace special silent, title:^(Zen — Sharing Indicator)$"
|
"workspace special silent, title:^(Zen — Sharing Indicator)$"
|
||||||
"workspace special silent, title:^(.*is sharing (your screen|a window)\.)$"
|
"workspace special silent, title:^(.*is sharing (your screen|a window)\.)$"
|
||||||
|
@ -58,7 +59,7 @@ in
|
||||||
"plugin:scroller:windowheight onethird, class:^(foot)$"
|
"plugin:scroller:windowheight onethird, class:^(foot)$"
|
||||||
|
|
||||||
# Vesktop
|
# Vesktop
|
||||||
"workspace 1, class:^(vesktop)$"
|
"workspace 2, class:^(vesktop)$"
|
||||||
"plugin:scroller:group vesktop, class:^(vesktop)$"
|
"plugin:scroller:group vesktop, class:^(vesktop)$"
|
||||||
"opaque, initialTitle:^(Discord Popout)$"
|
"opaque, initialTitle:^(Discord Popout)$"
|
||||||
"plugin:scroller:modemodifier row before focus, initialTitle:^(Discord Popout)$"
|
"plugin:scroller:modemodifier row before focus, initialTitle:^(Discord Popout)$"
|
||||||
|
@ -96,7 +97,7 @@ in
|
||||||
#"center, workspace:^(special:special)$"
|
#"center, workspace:^(special:special)$"
|
||||||
|
|
||||||
## Steam rules ##
|
## Steam rules ##
|
||||||
"stayfocused, initialClass:^([Gg]amescope)$"
|
"opaque, initialClass:^([Gg]amescope)$"
|
||||||
"fullscreen, initialClass:^([Gg]amescope)$"
|
"fullscreen, initialClass:^([Gg]amescope)$"
|
||||||
"minsize 1 1, initialClass:^([Gg]amescope)$"
|
"minsize 1 1, initialClass:^([Gg]amescope)$"
|
||||||
"immediate, initialClass:^([Gg]amescope)$"
|
"immediate, initialClass:^([Gg]amescope)$"
|
||||||
|
@ -115,8 +116,8 @@ in
|
||||||
# "monitor:DP-1, ${flameshot}"
|
# "monitor:DP-1, ${flameshot}"
|
||||||
|
|
||||||
## Workspace Assignments ##
|
## Workspace Assignments ##
|
||||||
"workspace 1, initialClass:^(spotify)$"
|
"workspace 2, initialClass:^(spotify)$"
|
||||||
"workspace 1, initialClass:^(org.telegram.desktop)$"
|
"workspace 2, initialClass:^(org.telegram.desktop)$"
|
||||||
# "workspace name:4, initialClass:^(virt-manager)$"
|
# "workspace name:4, initialClass:^(virt-manager)$"
|
||||||
|
|
||||||
# "workspace 8, class:^(obsidian)$"
|
# "workspace 8, class:^(obsidian)$"
|
||||||
|
|
Loading…
Add table
Reference in a new issue