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

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

View file

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

View file

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

View file

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