Waybar changes

Moved browser thing to the always-visible-bar

- Added transparent-black background to left modules as well.
- Added margin to left modules on the always-visible-bar.
- Removed disk module.
This commit is contained in:
Tibo De Peuter 2022-06-11 21:43:45 +02:00
parent 04654c0072
commit c4c98beb9b
4 changed files with 15 additions and 13 deletions

View file

@ -21,22 +21,25 @@
"include": [ "include": [
// Import modules (!) // Import modules (!)
"~/.config/waybar/modules.json", "~/.config/waybar/modules.json",
// "~/.config/waybar/default.json" // "~/.config/waybar/default.json"
"~/.config/waybar/left.json" "~/.config/waybar/left.json"
], ],
}, },
{ {
// Import modules (!)
"include": "~/.config/waybar/modules.json",
"name": "keep", "name": "keep",
"position": "top", "position": "top",
"height": 25, "height": 25,
"modules-left": ["sway/mode"], "modules-left": ["sway/mode", "custom/browser"],
"modules-center": ["sway/window"], "modules-center": ["sway/window"],
"modules-right": ["clock"], "modules-right": ["clock"],
"include": [
// Import modules (!)
"~/.config/waybar/modules.json"
],
}] }]

View file

@ -2,11 +2,9 @@
"modules-left": [ "modules-left": [
"sway/workspaces", "sway/workspaces",
"idle_inhibitor", "idle_inhibitor",
"custom/media", "custom/media"
"custom/browser"
], ],
"modules-right": [ "modules-right": [
"disk",
"memory", "memory",
"cpu", "cpu",
"temperature", "temperature",

View file

@ -22,7 +22,7 @@ window#waybar {
} }
#window, #workspaces { #window, #workspaces {
margin: 0 4px; margin: 0 5px;
} }
#workspaces button { #workspaces button {
@ -45,9 +45,9 @@ window#waybar {
/* All modules individually. */ /* All modules individually. */
#backlight, #battery, #bluetooth, #clock, #cpu, #backlight, #battery, #bluetooth, #clock, #cpu,
#custom-media, #disk, #idle_inhibitor, #memory, #custom-browser, #custom-media, #disk, #idle_inhibitor,
#mode, #mpd, #network, #pulseaudio, #temperature, #memory, #mode, #mpd, #network, #pulseaudio,
#tray { #temperature, #tray {
padding: 0 5px; padding: 0 5px;
} }

View file

@ -11,7 +11,8 @@ window#waybar {
background-color: transparent; background-color: transparent;
} }
.toggle .modules-right { .toggle .modules-right,
.toggle .modules-left {
background-color: @transparent-black-light; background-color: @transparent-black-light;
} }