Shrink waybar and remove several modules

This commit is contained in:
2021-10-29 14:05:29 +03:00
parent 4131f2949b
commit a4dd414bdf
2 changed files with 18 additions and 21 deletions

View File

@@ -1,15 +1,13 @@
{ {
"position": "top", "position": "top",
"modules-left": ["sway/workspaces", "custom/player", "sway/mode"], "modules-left": ["sway/workspaces"],
"modules-right": [ "modules-right": [
"custom/weather", "tray",
"custom/pacman-updates",
"custom/dnd", "custom/dnd",
"pulseaudio", "pulseaudio",
"sway/language", "sway/language",
"network", "network",
"clock", "clock",
"tray",
"custom/power-menu" "custom/power-menu"
], ],

View File

@@ -1,27 +1,29 @@
/* Colors */ /* Colors */
@define-color background #191e2a; @define-color background #191e2a;
@define-color background-alt #202734; @define-color background-alt #202734;
@define-color foreground #cbccc6;
@define-color primary #ffa759; @define-color primary #ffa759;
window#waybar { window#waybar {
background: @background; background: @background;
color: #cbccc6; color: @foreground;
font-family: "Fira Code", "Font Awesome 5 Free Solid"; font-family: "Fira Code", "Font Awesome 5 Free Solid";
font-size: 13px; font-size: 13px;
} }
#workspaces { #workspaces {
background: @background-alt; /* background: @background-alt; */
margin: 10px; /* margin: 10px; */
border-radius: 8px; /* border-radius: 8px; */
} }
#workspaces button { #workspaces button {
color: #fff;
background: transparent; background: transparent;
border-radius: 0;
} }
#workspaces button.focused { #workspaces button.focused {
background: @background-alt;
color: @primary; color: @primary;
} }
@@ -33,20 +35,17 @@ window#waybar {
color: @primary; color: @primary;
} }
#custom-dnd,
#custom-player,
#custom-weather,
#custom-pacman-updates,
#clock,
#network,
#language,
#pulseaudio,
#tray, #tray,
#custom-dnd,
#pulseaudio,
#language,
#network,
#clock,
#custom-power-menu { #custom-power-menu {
background: @background-alt; /* background: @background-alt; */
margin: 10px; margin: 8px;
padding: 7px 10px; /* padding: 7px; */
border-radius: 8px; /* border-radius: 8px; */
} }
#pulseaudio.muted { #pulseaudio.muted {