Implement resize submap

This commit is contained in:
2025-02-27 01:05:00 -06:00
parent 90ef8c3271
commit 4efd4c3625
3 changed files with 28 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
"margin-top": 16,
"margin-left": 16,
"margin-right": 16,
"modules-left": ["hyprland/workspaces", "hyprland/window", "sway/mode"],
"modules-left": ["hyprland/workspaces", "hyprland/window", "hyprland/submap", "sway/mode"],
"modules-right": ["tray"],
"hyprland/workspaces": {
"all-outputs": false,
@@ -21,6 +21,9 @@
"separate-outputs": true,
"format": "{}"
},
"hyprland/submap": {
"on-click": "hyprctl dispatch submap reset"
},
"tray": {
"icon-size": 16,
"spacing": 10

View File

@@ -89,6 +89,16 @@ window#waybar.fullscreen #window {
color: rgba(40, 40, 40, 0.8);
background: #d3869b;
}
/* Submap display */
#submap {
color: rgba(235, 219, 178, 0.4);
padding: 0 1em;
border-radius: 8px;
}
#submap.resize {
color: rgba(40, 40, 40, 0.8);
background: #d3869b;
}
/* widgets */
#pulseaudio {