Add window name display to waybar
This commit is contained in:
parent
3755c324fd
commit
76bb8e1aa3
@ -6,7 +6,7 @@
|
|||||||
"margin-top": 16,
|
"margin-top": 16,
|
||||||
"margin-left": 16,
|
"margin-left": 16,
|
||||||
"margin-right": 16,
|
"margin-right": 16,
|
||||||
"modules-left": ["hyprland/workspaces", "sway/mode"],
|
"modules-left": ["hyprland/workspaces", "hyprland/window", "sway/mode"],
|
||||||
"modules-right": ["tray"],
|
"modules-right": ["tray"],
|
||||||
"hyprland/workspaces": {
|
"hyprland/workspaces": {
|
||||||
"all-outputs": false,
|
"all-outputs": false,
|
||||||
@ -18,6 +18,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"hyprland/window": {
|
"hyprland/window": {
|
||||||
|
"separate-outputs": true,
|
||||||
"format": "{}"
|
"format": "{}"
|
||||||
},
|
},
|
||||||
"tray": {
|
"tray": {
|
||||||
|
@ -24,7 +24,7 @@ window#waybar {
|
|||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* swaywm stuff */
|
/* Hypr stuff */
|
||||||
#workspaces {
|
#workspaces {
|
||||||
}
|
}
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
@ -61,17 +61,26 @@ window#waybar {
|
|||||||
color: #fabd2f;
|
color: #fabd2f;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
#mode {
|
/* Window and mode display */
|
||||||
background: #fb4934;
|
#window {
|
||||||
color: rgba(235, 219, 178, 0.8);
|
color: rgba(235, 219, 178, 0.4);
|
||||||
padding: 0 1em;
|
padding: 0 1em;
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
window#waybar.empty #window {
|
||||||
|
/* We do this so it properly hides when on an empty workspace */
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
window#waybar.solo #window {
|
||||||
|
/* Nothing */
|
||||||
|
}
|
||||||
|
window#waybar.floating #window {
|
||||||
|
/* Workspace contains only floating windows */
|
||||||
|
color: rgba(40, 40, 40, 0.8);
|
||||||
|
background: #8ec07c;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* widgets */
|
/* widgets */
|
||||||
#window {
|
|
||||||
color: #ebdbb2;
|
|
||||||
padding: 0 1em;
|
|
||||||
}
|
|
||||||
#pulseaudio {
|
#pulseaudio {
|
||||||
padding: 0 1em;
|
padding: 0 1em;
|
||||||
color: #ebdbb2;
|
color: #ebdbb2;
|
||||||
|
Loading…
Reference in New Issue
Block a user