Back to numbered workspaces
This commit is contained in:
parent
75b71199f3
commit
32a74f5fd6
|
@ -92,21 +92,18 @@ in ''
|
||||||
bind = SUPER, Space, exec, ${anyrunPackage}/bin/anyrun
|
bind = SUPER, Space, exec, ${anyrunPackage}/bin/anyrun
|
||||||
bind = SUPER ALT, Space, submap, launch
|
bind = SUPER ALT, Space, submap, launch
|
||||||
bind = SUPER ALT, E, exec, ${emacsPackage}/bin/emacsclient -c -a 'emacs'
|
bind = SUPER ALT, E, exec, ${emacsPackage}/bin/emacsclient -c -a 'emacs'
|
||||||
bind = SUPER ALT, W, exec, ${firefoxPackage}/bin/firefox
|
bind = SUPER ALT, W, exec, [workspace 2] ${firefoxPackage}/bin/firefox
|
||||||
bind = SUPER ALT, F, exec, ${pkgs.xfce.thunar}/bin/thunar
|
bind = SUPER ALT, D, exec, [workspace 3] ${emacsPackage}/bin/emacsclient -c -a 'emacs'
|
||||||
bind = SUPER ALT, Z, exec, ${pkgs.zotero}/bin/zotero
|
bind = SUPER ALT, F, exec, [workspace 4] ${pkgs.xfce.thunar}/bin/thunar
|
||||||
bind = SUPER ALT, S, exec, ${pkgs.alacritty}/bin/alacritty -e ncspot
|
bind = SUPER ALT, Z, exec, [workspace 4] ${pkgs.zotero}/bin/zotero
|
||||||
bind = SUPER ALT, V, exec, ${pkgs.bitwarden}/bin/bitwarden
|
bind = SUPER ALT, S, exec, [workspace 5] ${pkgs.alacritty}/bin/alacritty -e ncspot
|
||||||
bind = SUPER ALT, R, exec, ${pkgs.remmina}/bin/remmina
|
|
||||||
|
|
||||||
submap = launch
|
submap = launch
|
||||||
bind = , E, exec, [workspace name:editor silent] ${emacsPackage}/bin/emacsclient -c -a 'emacs'
|
bind = , W, exec, [workspace 2 silent] ${firefoxPackage}/bin/firefox
|
||||||
bind = , W, exec, [workspace name:browser silent] ${firefoxPackage}/bin/firefox
|
bind = , D, exec, [workspace 3 silent] ${emacsPackage}/bin/emacsclient -c -a 'emacs'
|
||||||
bind = , F, exec, [workspace name:files silent] ${pkgs.xfce.thunar}/bin/thunar
|
bind = , F, exec, [workspace 4 silent] ${pkgs.xfce.thunar}/bin/thunar
|
||||||
bind = , Z, exec, [workspace name:library silent] ${pkgs.zotero}/bin/zotero
|
bind = , Z, exec, [workspace 4 silent] ${pkgs.zotero}/bin/zotero
|
||||||
bind = , S, exec, [workspace name:music silent] ${pkgs.alacritty}/bin/alacritty -e ncspot
|
bind = , S, exec, [workspace 5 silent] ${pkgs.alacritty}/bin/alacritty -e ncspot
|
||||||
bind = , V, exec, [workspace name:vault silent] ${pkgs.bitwarden}/bin/bitwarden
|
|
||||||
bind = , R, exec, [workspace name:remote silent] ${pkgs.remmina}/bin/remmina
|
|
||||||
bind = , Space, submap, reset
|
bind = , Space, submap, reset
|
||||||
bind = SUPER, Space, submap, reset
|
bind = SUPER, Space, submap, reset
|
||||||
bind = SUPER ALT, Space, submap, reset
|
bind = SUPER ALT, Space, submap, reset
|
||||||
|
@ -138,119 +135,86 @@ in ''
|
||||||
bind = SUPER SHIFT, K, movewindow, u
|
bind = SUPER SHIFT, K, movewindow, u
|
||||||
bind = SUPER SHIFT, J, movewindow, d
|
bind = SUPER SHIFT, J, movewindow, d
|
||||||
|
|
||||||
# Workspace definitions
|
# Window rules
|
||||||
# home
|
windowrule = float,(pavucontrol)
|
||||||
bind = SUPER, A, moveworkspacetomonitor, name:home current
|
windowrule = size 800 600,(pavucontrol)
|
||||||
bind = SUPER, A, workspace, name:home
|
windowrule = move 100%-820 10%,(pavucontrol)
|
||||||
bind = SUPER SHIFT, A, movetoworkspace, name:home
|
windowrule = float,(.blueman-manager-wrapped)
|
||||||
|
windowrule = size 800 600,(.blueman-manager-wrapped)
|
||||||
# editor
|
windowrule = move 100%-820 10%,(.blueman-manager-wrapped)
|
||||||
bind = SUPER, E, moveworkspacetomonitor, name:editor current
|
windowrule = float,(nm-connection-editor)
|
||||||
bind = SUPER, E, workspace, name:editor
|
windowrule = size 800 600,(nm-connection-editor)
|
||||||
bind = SUPER SHIFT, E, movetoworkspace, name:editor
|
windowrule = move 100%-820 10%,(nm-connection-editor)
|
||||||
|
|
||||||
# browser
|
|
||||||
bind = SUPER, W, moveworkspacetomonitor, name:browser current
|
|
||||||
bind = SUPER, W, workspace, name:browser
|
|
||||||
bind = SUPER SHIFT, W, movetoworkspace, name:browser
|
|
||||||
windowrule = workspace name:browser,(firefox)
|
|
||||||
windowrulev2 = float,title:(File|Picture-in-Picture),class:(firefox)
|
|
||||||
windowrulev2 = pin,title:(File|Picture-in-Picture),class:(firefox)
|
|
||||||
|
|
||||||
# files
|
|
||||||
bind = SUPER, F, moveworkspacetomonitor, name:files current
|
|
||||||
bind = SUPER, F, workspace, name:files
|
|
||||||
bind = SUPER SHIFT, F, movetoworkspace, name:files
|
|
||||||
windowrule = workspace name:files,^(libreoffice).*
|
|
||||||
windowrule = workspace name:files,(thunar)
|
|
||||||
windowrulev2 = workspace name:files,title:(Open),class:(soffice)
|
|
||||||
windowrulev2 = float,title:(Open),class:(soffice)
|
|
||||||
|
|
||||||
# chat
|
|
||||||
bind = SUPER, C, moveworkspacetomonitor, name:chat current
|
|
||||||
bind = SUPER, C, workspace, name:chat
|
|
||||||
bind = SUPER SHIFT, C, movetoworkspace, name:chat
|
|
||||||
windowrule = workspace name:chat,(Signal)
|
|
||||||
windowrule = workspace name:chat,(fractal)
|
|
||||||
windowrule = workspace name:chat,(discord)
|
|
||||||
windowrule = workspace name:chat,(teams-for-linux)
|
|
||||||
windowrulev2 = workspace name:chat,title:(Zoom|zoom)
|
|
||||||
windowrulev2 = float,title:(Zoom|zoom)
|
|
||||||
windowrulev2 = center,title:(Zoom|zoom)
|
|
||||||
windowrulev2 = maxsize 512 512,title:(Zoom|zoom)
|
|
||||||
windowrulev2 = nofullscreenrequest,title:(Zoom|zoom)
|
|
||||||
windowrulev2 = nomaximizerequest,title:(Zoom|zoom)
|
|
||||||
|
|
||||||
# library
|
|
||||||
bind = SUPER, Z, moveworkspacetomonitor, name:library current
|
|
||||||
bind = SUPER, Z, workspace, name:library
|
|
||||||
bind = SUPER SHIFT, Z, movetoworkspace, name:library
|
|
||||||
windowrule = workspace name:library,(Zotero)
|
|
||||||
|
|
||||||
# music
|
|
||||||
bind = SUPER, S, moveworkspacetomonitor, name:music current
|
|
||||||
bind = SUPER, S, workspace, name:music
|
|
||||||
bind = SUPER SHIFT, S, movetoworkspace, name:music
|
|
||||||
windowrulev2 = workspace name:music,title:(ncspot)
|
|
||||||
|
|
||||||
# gaming
|
|
||||||
bind = SUPER, G, moveworkspacetomonitor, name:gaming current
|
|
||||||
bind = SUPER, G, workspace, name:gaming
|
|
||||||
bind = SUPER SHIFT, G, movetoworkspace, name:gaming
|
|
||||||
windowrule = workspace name:gaming,(steam)
|
|
||||||
windowrulev2 = float,class:(steam),title:(Friends List)
|
|
||||||
|
|
||||||
# vault
|
|
||||||
bind = SUPER, V, moveworkspacetomonitor, name:vault current
|
|
||||||
bind = SUPER, V, workspace, name:vault
|
|
||||||
bind = SUPER SHIFT, V, movetoworkspace, name:vault
|
|
||||||
windowrule = workspace name:vault,(Bitwarden)
|
|
||||||
|
|
||||||
# remote
|
|
||||||
bind = SUPER, R, moveworkspacetomonitor, name:remote current
|
|
||||||
bind = SUPER, R, workspace, name:remote
|
|
||||||
bind = SUPER SHIFT, R, movetoworkspace, name:remote
|
|
||||||
windowrule = workspace name:remote,(Nxplayer.bin)
|
|
||||||
windowrule = float,(Nxplayer.bin)
|
|
||||||
windowrule = center,(Nxplayer.bin)
|
|
||||||
windowrule = maxsize 1700 900,(Nxplayer.bin)
|
|
||||||
windowrule = nofullscreenrequest,(Nxplayer.bin)
|
|
||||||
windowrule = nomaximizerequest,(Nxplayer.bin)
|
|
||||||
windowrule = workspace name:remote,(org.remmina.Remmina)
|
|
||||||
windowrule = nofullscreenrequest,(org.remmina.Remmina)
|
windowrule = nofullscreenrequest,(org.remmina.Remmina)
|
||||||
windowrule = nomaximizerequest,(org.remmina.Remmina)
|
windowrule = nomaximizerequest,(org.remmina.Remmina)
|
||||||
|
windowrulev2 = float,title:(File|Picture-in-Picture),class:(firefox)
|
||||||
|
windowrulev2 = pin,title:(File|Picture-in-Picture),class:(firefox)
|
||||||
|
windowrulev2 = float,title:(Open),class:(soffice)
|
||||||
windowrulev2 = float,class:(org.remmina.Remmina),title:^(Remmina Remote Desktop Client)$
|
windowrulev2 = float,class:(org.remmina.Remmina),title:^(Remmina Remote Desktop Client)$
|
||||||
|
windowrulev2 = float,class:(steam),title:(Friends List)
|
||||||
|
|
||||||
# Numbered workspaces
|
# Workspace definitions
|
||||||
bind = SUPER, 1, moveworkspacetomonitor, 1 current
|
# 1: [a]ny
|
||||||
bind = SUPER, 1, workspace, 1
|
bind = SUPER, A, moveworkspacetomonitor, 1 current
|
||||||
bind = SUPER SHIFT, 1, movetoworkspace, 1
|
bind = SUPER, A, workspace, 1
|
||||||
bind = SUPER, 2, moveworkspacetomonitor, 2 current
|
bind = SUPER SHIFT, A, movetoworkspace, 1
|
||||||
bind = SUPER, 2, workspace, 2
|
|
||||||
bind = SUPER SHIFT, 2, movetoworkspace, 2
|
# 2: [b]rowser
|
||||||
bind = SUPER, 3, moveworkspacetomonitor, 3 current
|
bind = SUPER, W, moveworkspacetomonitor, 2 current
|
||||||
bind = SUPER, 3, workspace, 3
|
bind = SUPER, W, workspace, 2
|
||||||
bind = SUPER SHIFT, 3, movetoworkspace, 3
|
bind = SUPER SHIFT, W, movetoworkspace, 2
|
||||||
bind = SUPER, 4, moveworkspacetomonitor, 4 current
|
windowrule = workspace 2,(firefox)
|
||||||
bind = SUPER, 4, workspace, 4
|
|
||||||
bind = SUPER SHIFT, 4, movetoworkspace, 4
|
# 3: [d]ev
|
||||||
bind = SUPER, 5, moveworkspacetomonitor, 5 current
|
bind = SUPER, D, moveworkspacetomonitor, 3 current
|
||||||
bind = SUPER, 5, workspace, 5
|
bind = SUPER, D, workspace, 3
|
||||||
bind = SUPER SHIFT, 5, movetoworkspace, 5
|
bind = SUPER SHIFT, D, movetoworkspace, 3
|
||||||
bind = SUPER, 6, moveworkspacetomonitor, 6 current
|
windowrule = workspace 3,(emacs)
|
||||||
bind = SUPER, 6, workspace, 6
|
|
||||||
bind = SUPER SHIFT, 6, movetoworkspace, 6
|
# 4: [f]iles
|
||||||
bind = SUPER, 7, moveworkspacetomonitor, 7 current
|
bind = SUPER, F, moveworkspacetomonitor, 4 current
|
||||||
bind = SUPER, 7, workspace, 7
|
bind = SUPER, F, workspace, 4
|
||||||
bind = SUPER SHIFT, 7, movetoworkspace, 7
|
bind = SUPER SHIFT, F, movetoworkspace, 4
|
||||||
bind = SUPER, 8, moveworkspacetomonitor, 8 current
|
windowrule = workspace 4,^(libreoffice).*
|
||||||
bind = SUPER, 8, workspace, 8
|
windowrule = workspace 4,(thunar)
|
||||||
bind = SUPER SHIFT, 8, movetoworkspace, 8
|
windowrulev2 = workspace 4,title:(Open),class:(soffice)
|
||||||
bind = SUPER, 9, moveworkspacetomonitor, 9 current
|
|
||||||
bind = SUPER, 9, workspace, 9
|
# 5: [s]potify (or mu[s]ic)
|
||||||
bind = SUPER SHIFT, 9, movetoworkspace, 9
|
bind = SUPER, S, moveworkspacetomonitor, 5 current
|
||||||
|
bind = SUPER, S, workspace, 5
|
||||||
|
bind = SUPER SHIFT, S, movetoworkspace, 5
|
||||||
|
windowrulev2 = workspace 5,class:(Alacritty),title:(ncspot)
|
||||||
|
|
||||||
|
# 6: [c]hat
|
||||||
|
bind = SUPER, C, moveworkspacetomonitor, 6 current
|
||||||
|
bind = SUPER, C, workspace, 6
|
||||||
|
bind = SUPER SHIFT, C, movetoworkspace, 6
|
||||||
|
windowrule = workspace 6,(Signal)
|
||||||
|
windowrule = workspace 6,(fractal)
|
||||||
|
windowrule = workspace 6,(discord)
|
||||||
|
|
||||||
|
# 7: [v]ideo
|
||||||
|
bind = SUPER, V, moveworkspacetomonitor, 7 current
|
||||||
|
bind = SUPER, V, workspace, 7
|
||||||
|
bind = SUPER SHIFT, V, movetoworkspace, 7
|
||||||
|
|
||||||
|
# 8: [r]emote
|
||||||
|
bind = SUPER, R, moveworkspacetomonitor, 8 current
|
||||||
|
bind = SUPER, R, workspace, 8
|
||||||
|
bind = SUPER SHIFT, R, movetoworkspace, 8
|
||||||
|
windowrule = workspace 8,(org.remmina.Remmina)
|
||||||
|
|
||||||
|
# 9: [g]aming
|
||||||
|
bind = SUPER, G, moveworkspacetomonitor, 9 current
|
||||||
|
bind = SUPER, G, workspace, 9
|
||||||
|
bind = SUPER SHIFT, G, movetoworkspace, 9
|
||||||
|
windowrule = workspace 9,(steam)
|
||||||
|
|
||||||
# Special workspaces
|
# Special workspaces
|
||||||
|
bind = SUPER, comma, workspace, -1
|
||||||
|
bind = SUPER SHIFT, comma, movetoworkspace, -1
|
||||||
|
bind = SUPER, period, workspace, +1
|
||||||
|
bind = SUPER SHIFT, period, movetoworkspace, +1
|
||||||
bind = SUPER, N, workspace, empty
|
bind = SUPER, N, workspace, empty
|
||||||
bind = SUPER SHIFT, N, movetoworkspace, empty
|
bind = SUPER SHIFT, N, movetoworkspace, empty
|
||||||
bind = SUPER, minus, togglespecialworkspace
|
bind = SUPER, minus, togglespecialworkspace
|
||||||
|
@ -267,18 +231,6 @@ in ''
|
||||||
bindm = SUPER, mouse:272, movewindow
|
bindm = SUPER, mouse:272, movewindow
|
||||||
bindm = SUPER, mouse:273, resizewindow
|
bindm = SUPER, mouse:273, resizewindow
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
|
||||||
|
|
||||||
windowrule = float,(pavucontrol)
|
|
||||||
windowrule = size 800 600,(pavucontrol)
|
|
||||||
windowrule = move 100%-820 10%,(pavucontrol)
|
|
||||||
windowrule = float,(.blueman-manager-wrapped)
|
|
||||||
windowrule = size 800 600,(.blueman-manager-wrapped)
|
|
||||||
windowrule = move 100%-820 10%,(.blueman-manager-wrapped)
|
|
||||||
windowrule = float,(nm-connection-editor)
|
|
||||||
windowrule = size 800 600,(nm-connection-editor)
|
|
||||||
windowrule = move 100%-820 10%,(nm-connection-editor)
|
|
||||||
|
|
||||||
exec-once = ${pkgs.libsForQt5.polkit-kde-agent}/bin/polkit-kde-authentication-agent-1
|
exec-once = ${pkgs.libsForQt5.polkit-kde-agent}/bin/polkit-kde-authentication-agent-1
|
||||||
exec-once = ${pkgs.waybar}/bin/waybar
|
exec-once = ${pkgs.waybar}/bin/waybar
|
||||||
exec-once = ${pkgs.mako}/bin/mako
|
exec-once = ${pkgs.mako}/bin/mako
|
||||||
|
|
|
@ -4,26 +4,27 @@
|
||||||
all-outputs = false;
|
all-outputs = false;
|
||||||
format = "{icon}";
|
format = "{icon}";
|
||||||
format-icons = {
|
format-icons = {
|
||||||
"home" = "";
|
"1" = ""; # [a]ny
|
||||||
"editor" = "";
|
"2" = ""; # [b]rowser
|
||||||
"browser" = "";
|
"3" = ""; # [d]ev
|
||||||
"files" = "";
|
"4" = ""; # [f]iles
|
||||||
"chat" = "";
|
"5" = ""; # [s]potify (or mu[s]ic)
|
||||||
"library" = "";
|
"6" = ""; # [c]hat
|
||||||
"music" = "";
|
"7" = ""; # [v]ideo
|
||||||
"gaming" = "";
|
"8" = ""; # [r]emote
|
||||||
"vault" = "";
|
"9" = ""; # [g]aming
|
||||||
"remote" = "";
|
|
||||||
"1" = "";
|
|
||||||
"2" = "";
|
|
||||||
"3" = "";
|
|
||||||
"4" = "";
|
|
||||||
"5" = "";
|
|
||||||
"6" = "";
|
|
||||||
"7" = "";
|
|
||||||
"8" = "";
|
|
||||||
"9" = "";
|
|
||||||
urgent = "";
|
urgent = "";
|
||||||
};
|
};
|
||||||
sort-by-name = true;
|
"persistent_workspaces" = {
|
||||||
|
"1" = [ ];
|
||||||
|
"2" = [ ];
|
||||||
|
"3" = [ ];
|
||||||
|
"4" = [ ];
|
||||||
|
"5" = [ ];
|
||||||
|
"6" = [ ];
|
||||||
|
"7" = [ ];
|
||||||
|
"8" = [ ];
|
||||||
|
"9" = [ ];
|
||||||
|
};
|
||||||
|
sort-by-number = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -224,6 +224,15 @@ in {
|
||||||
monitor=desc:Dell Inc. DELL U2417H 5K9YD872FY1L,preferred,1920x0,1,transform,1
|
monitor=desc:Dell Inc. DELL U2417H 5K9YD872FY1L,preferred,1920x0,1,transform,1
|
||||||
monitor=desc:Acer Technologies ED270R TJMEE0043W01,highrr,0x0,1
|
monitor=desc:Acer Technologies ED270R TJMEE0043W01,highrr,0x0,1
|
||||||
|
|
||||||
|
windowrule = nofullscreenrequest,(Nxplayer.bin)
|
||||||
|
windowrule = nomaximizerequest,(Nxplayer.bin)
|
||||||
|
windowrulev2 = nofullscreenrequest,title:(Zoom|zoom)
|
||||||
|
windowrulev2 = nomaximizerequest,title:(Zoom|zoom)
|
||||||
|
|
||||||
|
windowrule = workspace 6,(teams-for-linux)
|
||||||
|
windowrulev2 = workspace 7,title:(Zoom|zoom)
|
||||||
|
windowrule = workspace 8,(Nxplayer.bin)
|
||||||
|
|
||||||
exec-once=${pkgs.teams-for-linux}/bin/teams-for-linux
|
exec-once=${pkgs.teams-for-linux}/bin/teams-for-linux
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,7 @@ in {
|
||||||
misc {
|
misc {
|
||||||
vrr = 2
|
vrr = 2
|
||||||
}
|
}
|
||||||
|
|
||||||
monitor=desc:Acer Technologies ED270R TJMEE0043W01,highrr,0x0,1
|
monitor=desc:Acer Technologies ED270R TJMEE0043W01,highrr,0x0,1
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue