Fix Waybar configuration
This commit is contained in:
@@ -1,12 +1,9 @@
|
|||||||
{
|
{
|
||||||
"layer": "top", // Waybar at top layer
|
"layer": "top", // Waybar at top layer
|
||||||
"position": "top", // Waybar position (top|bottom|left|right)
|
"position": "top", // Waybar position (top|bottom|left|right)
|
||||||
// "width": 1280, // Waybar width
|
|
||||||
// Choose the order of the modules
|
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"hyprland/workspaces",
|
"sway/workspaces",
|
||||||
"hyprland/window",
|
"sway/window"
|
||||||
"sway/workspaces"
|
|
||||||
],
|
],
|
||||||
"modules-center": [
|
"modules-center": [
|
||||||
"clock"
|
"clock"
|
||||||
@@ -18,7 +15,7 @@
|
|||||||
"battery",
|
"battery",
|
||||||
"custom/power"
|
"custom/power"
|
||||||
],
|
],
|
||||||
"hyprland/workspaces": {
|
"sway/workspaces": {
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
"disable-markup": false,
|
"disable-markup": false,
|
||||||
"all-outputs": true,
|
"all-outputs": true,
|
||||||
@@ -35,7 +32,7 @@
|
|||||||
"active": "",
|
"active": "",
|
||||||
"default": ""
|
"default": ""
|
||||||
},
|
},
|
||||||
"persistent-workspaces": {
|
"persistent-workspaces": {
|
||||||
"1": [
|
"1": [
|
||||||
"HDMI-A-1"
|
"HDMI-A-1"
|
||||||
],
|
],
|
||||||
@@ -68,55 +65,9 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"sway/workspaces": {
|
"sway/window": {
|
||||||
"disable-scroll": true,
|
"format": "<span>{}</span>",
|
||||||
"disable-markup": false,
|
"max-length": 50
|
||||||
"all-outputs": true,
|
|
||||||
"format": " {icon} ",
|
|
||||||
"on-click": "activate",
|
|
||||||
"sort-by-number": true,
|
|
||||||
"format-icons": {
|
|
||||||
"1": "",
|
|
||||||
"2": "",
|
|
||||||
"3": "",
|
|
||||||
"4": "",
|
|
||||||
"5": "",
|
|
||||||
"urgent": "",
|
|
||||||
"active": "",
|
|
||||||
"default": ""
|
|
||||||
},
|
|
||||||
"persistent-workspaces": {
|
|
||||||
"1": [
|
|
||||||
"HDMI-A-1"
|
|
||||||
],
|
|
||||||
"2": [
|
|
||||||
"HDMI-A-1"
|
|
||||||
],
|
|
||||||
"3": [
|
|
||||||
"HDMI-A-1"
|
|
||||||
],
|
|
||||||
"4": [
|
|
||||||
"HDMI-A-1"
|
|
||||||
],
|
|
||||||
"5": [
|
|
||||||
"HDMI-A-1"
|
|
||||||
],
|
|
||||||
"6": [
|
|
||||||
"HDMI-A-1"
|
|
||||||
],
|
|
||||||
"7": [
|
|
||||||
"HDMI-A-1"
|
|
||||||
],
|
|
||||||
"8": [
|
|
||||||
"HDMI-A-1"
|
|
||||||
],
|
|
||||||
"9": [
|
|
||||||
"HDMI-A-1"
|
|
||||||
],
|
|
||||||
"10": [
|
|
||||||
"eDP-1"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"tray": {
|
"tray": {
|
||||||
"icon-size": 24,
|
"icon-size": 24,
|
||||||
|
|||||||
@@ -2,14 +2,14 @@
|
|||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: FiraCode Nerd Font;
|
font-family: FiraCode Nerd Font;
|
||||||
font-size: 17px;
|
font-size: 12px;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#waybar {
|
#waybar {
|
||||||
background: transparent;
|
/*background: transparent;*/
|
||||||
color: @text;
|
color: @text;
|
||||||
margin: 5px 5px;
|
/*margin: 5px 5px;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces {
|
#workspaces {
|
||||||
@@ -50,7 +50,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#clock {
|
#clock {
|
||||||
color: @blue;
|
|
||||||
border-radius: 0px 1rem 1rem 0px;
|
border-radius: 0px 1rem 1rem 0px;
|
||||||
margin-right: 1rem;
|
margin-right: 1rem;
|
||||||
}
|
}
|
||||||
@@ -101,3 +100,8 @@
|
|||||||
margin-right: 1rem;
|
margin-right: 1rem;
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
window#waybar {
|
||||||
|
background-color: shade(@base, 0.9);
|
||||||
|
border: 2px solid alpha(@crust, 0.3);
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user