Try moving away from named workspaces
Remove named workspaces, add numbers up to 9 Change waybar formatting to use a empty, active and urgent workspace icon set Reduce amount of stuff in waybar right Add hyprland/window to waybar left, before MPRIS Add some window rewrites for hyprland/window Shorten MPRIS default format, keep all info in alt format
This commit is contained in:
parent
3abe025784
commit
e658930530
|
@ -110,6 +110,8 @@ in ''
|
||||||
bind = SUPER, Return, exec, foot
|
bind = SUPER, Return, exec, foot
|
||||||
bind = SUPER SHIFT, Return, exec, emacsclient -c
|
bind = SUPER SHIFT, Return, exec, emacsclient -c
|
||||||
|
|
||||||
|
bind = SUPER, S, exec, foot -e btm --group --battery
|
||||||
|
|
||||||
# Misc useful binds
|
# Misc useful binds
|
||||||
bind=,Print,exec,grim -g "$(slurp)"
|
bind=,Print,exec,grim -g "$(slurp)"
|
||||||
bind=,XF86Calculator,exec,rofi -replace -show calc
|
bind=,XF86Calculator,exec,rofi -replace -show calc
|
||||||
|
@ -154,13 +156,42 @@ in ''
|
||||||
windowrule = size 800 600,(pavucontrol|.blueman-manager-wrapped|nm-connection-editor)
|
windowrule = size 800 600,(pavucontrol|.blueman-manager-wrapped|nm-connection-editor)
|
||||||
windowrule = move onscreen 100%-820 60,(pavucontrol|.blueman-manager-wrapped|nm-connection-editor)
|
windowrule = move onscreen 100%-820 60,(pavucontrol|.blueman-manager-wrapped|nm-connection-editor)
|
||||||
|
|
||||||
|
windowrulev2 = float,title:(Picture-in-Picture|Library),class:(firefox)
|
||||||
|
windowrulev2 = size 750 400,title:(Picture-in-Picture),class:(firefox)
|
||||||
|
windowrulev2 = size 800 800,title:(Library),class:(firefox)
|
||||||
|
windowrulev2 = move onscreen 100%-775 100%-425,title:(Picture-in-Picture),class:(firefox)
|
||||||
|
windowrulev2 = center,title:(Library),class:(firefox)
|
||||||
|
windowrulev2 = pin,title:(Picture-in-Picture),class:(firefox)
|
||||||
|
|
||||||
|
windowrule = nomaximizerequest, (libreoffice|soffice)(.*)
|
||||||
|
windowrule = nofullscreenrequest, (libreoffice|soffice)(.*)
|
||||||
|
windowrulev2 = float,title:(Open),class:(libreoffice|soffice)(.*))
|
||||||
|
|
||||||
|
windowrulev2 = float,title:(Friends List),class:(steam)
|
||||||
|
windowrulev2 = float,title:(Steam Settings),class:(steam)
|
||||||
|
|
||||||
windowrule = nofullscreenrequest,(org.remmina.Remmina|Nxplayer.bin)
|
windowrule = nofullscreenrequest,(org.remmina.Remmina|Nxplayer.bin)
|
||||||
windowrule = nomaximizerequest,(org.remmina.Remmina|Nxplayer.bin)
|
windowrule = nomaximizerequest,(org.remmina.Remmina|Nxplayer.bin)
|
||||||
windowrulev2 = float,title:(Remmina Remote Desktop Client|Remmina Preferences),class:(org.remmina.Remmina)
|
windowrulev2 = float,title:(Remmina Remote Desktop Client|Remmina Preferences),class:(org.remmina.Remmina)
|
||||||
windowrulev2 = size 800 600,title:(Remmina Remote Desktop Client|Remmina Preferences),class:(org.remmina.Remmina)
|
windowrulev2 = size 800 600,title:(Remmina Remote Desktop Client|Remmina Preferences),class:(org.remmina.Remmina)
|
||||||
windowrulev2 = move onscreen 100%-820 60,title:(Remmina Remote Desktop Client|Remmina Preferences),class:(org.remmina.Remmina)
|
windowrulev2 = move onscreen 100%-820 60,title:(Remmina Remote Desktop Client|Remmina Preferences),class:(org.remmina.Remmina)
|
||||||
|
|
||||||
# Workspace definitions
|
# Special workspaces
|
||||||
|
bind = SUPER, comma, workspace, m-1
|
||||||
|
bind = SUPER SHIFT, comma, movetoworkspace, r-1
|
||||||
|
bind = SUPER, period, workspace, m+1
|
||||||
|
bind = SUPER SHIFT, period, movetoworkspace, r+1
|
||||||
|
bind = SUPER, N, workspace, empty
|
||||||
|
bind = SUPER SHIFT, N, movetoworkspace, empty
|
||||||
|
bind = SUPER, minus, togglespecialworkspace
|
||||||
|
bind = SUPER SHIFT, minus, movetoworkspace, special
|
||||||
|
bind = SUPER, bracketright, focusmonitor, +1
|
||||||
|
bind = SUPER SHIFT, bracketright, movecurrentworkspacetomonitor, +1
|
||||||
|
bind = SUPER, bracketleft, focusmonitor, -1
|
||||||
|
bind = SUPER SHIFT, bracketleft, movecurrentworkspacetomonitor, -1
|
||||||
|
bind = SUPER, U, focusurgentorlast
|
||||||
|
|
||||||
|
# Numbered workspaces
|
||||||
bind = SUPER, 1, moveworkspacetomonitor, 1 current
|
bind = SUPER, 1, moveworkspacetomonitor, 1 current
|
||||||
bind = SUPER, 1, workspace, 1
|
bind = SUPER, 1, workspace, 1
|
||||||
bind = SUPER SHIFT, 1, movetoworkspace, 1
|
bind = SUPER SHIFT, 1, movetoworkspace, 1
|
||||||
|
@ -185,74 +216,17 @@ in ''
|
||||||
bind = SUPER, 6, workspace, 6
|
bind = SUPER, 6, workspace, 6
|
||||||
bind = SUPER SHIFT, 6, movetoworkspace, 6
|
bind = SUPER SHIFT, 6, movetoworkspace, 6
|
||||||
|
|
||||||
# Named workspaces
|
bind = SUPER, 7, moveworkspacetomonitor, 7 current
|
||||||
bind = SUPER, X, moveworkspacetomonitor, name:emacs current
|
bind = SUPER, 7, workspace, 7
|
||||||
bind = SUPER, X, workspace, name:emacs
|
bind = SUPER SHIFT, 7, movetoworkspace, 7
|
||||||
bind = SUPER SHIFT, X, movetoworkspace, name:emacs
|
|
||||||
|
|
||||||
bind = SUPER, T, moveworkspacetomonitor, name:term current
|
bind = SUPER, 8, moveworkspacetomonitor, 8 current
|
||||||
bind = SUPER, T, workspace, name:term
|
bind = SUPER, 8, workspace, 8
|
||||||
bind = SUPER SHIFT, T, movetoworkspace, name:term
|
bind = SUPER SHIFT, 8, movetoworkspace, 8
|
||||||
|
|
||||||
bind = SUPER, E, moveworkspacetomonitor, name:email current
|
bind = SUPER, 9, moveworkspacetomonitor, 9 current
|
||||||
bind = SUPER, E, workspace, name:email
|
bind = SUPER, 9, workspace, 9
|
||||||
bind = SUPER SHIFT, E, movetoworkspace, name:email
|
bind = SUPER SHIFT, 9, movetoworkspace, 9
|
||||||
|
|
||||||
bind = SUPER, W, moveworkspacetomonitor, name:web current
|
|
||||||
bind = SUPER, W, workspace, name:web
|
|
||||||
bind = SUPER SHIFT, W, movetoworkspace, name:web
|
|
||||||
windowrule = workspace name:web silent, (firefox)
|
|
||||||
windowrulev2 = float,title:(Picture-in-Picture|Library),class:(firefox)
|
|
||||||
windowrulev2 = size 750 400,title:(Picture-in-Picture),class:(firefox)
|
|
||||||
windowrulev2 = size 800 800,title:(Library),class:(firefox)
|
|
||||||
windowrulev2 = move onscreen 100%-775 100%-425,title:(Picture-in-Picture),class:(firefox)
|
|
||||||
windowrulev2 = center,title:(Library),class:(firefox)
|
|
||||||
windowrulev2 = pin,title:(Picture-in-Picture),class:(firefox)
|
|
||||||
|
|
||||||
bind = SUPER, F, moveworkspacetomonitor, name:files current
|
|
||||||
bind = SUPER, F, workspace, name:files
|
|
||||||
bind = SUPER SHIFT, F, movetoworkspace, name:files
|
|
||||||
windowrule = workspace name:files silent, (thunar|czkawka_gui|org.nickvision.tagger)
|
|
||||||
windowrule = workspace name:files silent, (libreoffice|soffice)(.*)
|
|
||||||
windowrule = nomaximizerequest, (libreoffice|soffice)(.*)
|
|
||||||
windowrule = nofullscreenrequest, (libreoffice|soffice)(.*)
|
|
||||||
windowrulev2 = float,title:(Open),class:(libreoffice|soffice)(.*))
|
|
||||||
|
|
||||||
bind = SUPER, B, moveworkspacetomonitor, name:btm current
|
|
||||||
bind = SUPER, B, workspace, name:btm
|
|
||||||
bind = SUPER SHIFT, B, movetoworkspace, name:btm
|
|
||||||
|
|
||||||
bind = SUPER, C, moveworkspacetomonitor, name:chat current
|
|
||||||
bind = SUPER, C, workspace, name:chat
|
|
||||||
bind = SUPER SHIFT, C, movetoworkspace, name:chat
|
|
||||||
windowrule = workspace name:chat silent, (WebCord|teams-for-linux)
|
|
||||||
|
|
||||||
bind = SUPER, G, moveworkspacetomonitor, name:games current
|
|
||||||
bind = SUPER, G, workspace, name:games
|
|
||||||
bind = SUPER SHIFT, G, movetoworkspace, name:games
|
|
||||||
windowrule = workspace name:games silent, (steam|org.libretro.RetroArch)
|
|
||||||
windowrulev2 = float,title:(Friends List),class:(steam)
|
|
||||||
windowrulev2 = float,title:(Steam Settings),class:(steam)
|
|
||||||
|
|
||||||
bind = SUPER, S, moveworkspacetomonitor, name:stream current
|
|
||||||
bind = SUPER, S, workspace, name:stream
|
|
||||||
bind = SUPER SHIFT, S, movetoworkspace, name:stream
|
|
||||||
windowrule = workspace name:stream silent, (com.obsproject.Studio|MPlayer)
|
|
||||||
|
|
||||||
# Special workspaces
|
|
||||||
bind = SUPER, comma, workspace, m-1
|
|
||||||
bind = SUPER SHIFT, comma, movetoworkspace, r-1
|
|
||||||
bind = SUPER, period, workspace, m+1
|
|
||||||
bind = SUPER SHIFT, period, movetoworkspace, r+1
|
|
||||||
bind = SUPER, N, workspace, empty
|
|
||||||
bind = SUPER SHIFT, N, movetoworkspace, empty
|
|
||||||
bind = SUPER, minus, togglespecialworkspace
|
|
||||||
bind = SUPER SHIFT, minus, movetoworkspace, special
|
|
||||||
bind = SUPER, bracketright, focusmonitor, +1
|
|
||||||
bind = SUPER SHIFT, bracketright, movecurrentworkspacetomonitor, +1
|
|
||||||
bind = SUPER, bracketleft, focusmonitor, -1
|
|
||||||
bind = SUPER SHIFT, bracketleft, movecurrentworkspacetomonitor, -1
|
|
||||||
bind = SUPER, U, focusurgentorlast
|
|
||||||
|
|
||||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||||
bindm = SUPER, mouse:272, movewindow
|
bindm = SUPER, mouse:272, movewindow
|
||||||
|
@ -262,5 +236,5 @@ in ''
|
||||||
exec-once = swaync
|
exec-once = swaync
|
||||||
exec-once = ${pkgs.hyprpaper}/bin/hyprpaper
|
exec-once = ${pkgs.hyprpaper}/bin/hyprpaper
|
||||||
exec-once = ${pkgs.dex}/bin/dex --autostart
|
exec-once = ${pkgs.dex}/bin/dex --autostart
|
||||||
exec-once = [workspace name:btm silent] foot -e btm --group --battery
|
exec-once = [workspace name:btm silent]
|
||||||
''
|
''
|
||||||
|
|
|
@ -14,14 +14,11 @@
|
||||||
layer = "top";
|
layer = "top";
|
||||||
position = "top";
|
position = "top";
|
||||||
# Layout
|
# Layout
|
||||||
"modules-left" = [ "mpris" ];
|
"modules-left" = [ "hyprland/window" "mpris" ];
|
||||||
"modules-center" = [ "hyprland/workspaces" ];
|
"modules-center" = [ "hyprland/workspaces" ];
|
||||||
"modules-right" = [
|
"modules-right" = [
|
||||||
"battery"
|
"battery"
|
||||||
"pulseaudio"
|
"pulseaudio"
|
||||||
"disk"
|
|
||||||
"cpu"
|
|
||||||
"memory"
|
|
||||||
"clock"
|
"clock"
|
||||||
"custom/notification"
|
"custom/notification"
|
||||||
"custom/separator"
|
"custom/separator"
|
||||||
|
@ -29,31 +26,28 @@
|
||||||
];
|
];
|
||||||
# Module config
|
# Module config
|
||||||
"custom/separator" = { format = "|"; };
|
"custom/separator" = { format = "|"; };
|
||||||
|
"hyprland/window" = {
|
||||||
|
"format" = "> {title}";
|
||||||
|
# TODO workspace rewrites
|
||||||
|
"rewrite" = {
|
||||||
|
"(.*) - GNU Emacs at (.*)" = " $1 [$2]";
|
||||||
|
"(.*) — Mozilla Firefox" = " $1";
|
||||||
|
"(.*) - Thunar" = " $1";
|
||||||
|
};
|
||||||
|
"separate-outputs" = true;
|
||||||
|
};
|
||||||
"hyprland/workspaces" = {
|
"hyprland/workspaces" = {
|
||||||
format = "{icon}";
|
format = "{icon}";
|
||||||
format-icons = {
|
format-icons = {
|
||||||
default = " ";
|
default = " ";
|
||||||
"1" = " ";
|
active = " ";
|
||||||
"2" = " ";
|
urgent = " ";
|
||||||
"3" = " ";
|
|
||||||
"4" = " ";
|
|
||||||
"5" = " ";
|
|
||||||
"6" = " ";
|
|
||||||
"emacs" = " ";
|
|
||||||
"term" = " ";
|
|
||||||
"email" = " ";
|
|
||||||
"web" = " ";
|
|
||||||
"files" = " ";
|
|
||||||
"btm" = " ";
|
|
||||||
"chat" = " ";
|
|
||||||
"games" = " ";
|
|
||||||
"stream" = " ";
|
|
||||||
};
|
};
|
||||||
show-special = false;
|
show-special = false;
|
||||||
sort-by = "id";
|
sort-by = "id";
|
||||||
};
|
};
|
||||||
mpris = {
|
mpris = {
|
||||||
"format" = "{player_icon} {artist} - {title}";
|
"format" = " : {player_icon} {player}";
|
||||||
"tooltip-format" = "{player_icon} ({player}) {dynamic}";
|
"tooltip-format" = "{player_icon} ({player}) {dynamic}";
|
||||||
"interval" = 1;
|
"interval" = 1;
|
||||||
"dynamic-order" = [ "album" "artist" "title" "position" "length" ];
|
"dynamic-order" = [ "album" "artist" "title" "position" "length" ];
|
||||||
|
|
Loading…
Reference in a new issue