Move waybar to bottom

This commit is contained in:
2021-10-23 21:24:06 +03:00
parent bad3a9fda9
commit 96984933b3
2 changed files with 21 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
{ {
"position": "top", "position": "bottom",
"modules-left": ["sway/workspaces", "custom/player", "sway/mode"], "modules-left": ["sway/workspaces", "custom/player", "sway/mode"],
"modules-right": [ "modules-right": [
"custom/weather", "custom/weather",
@@ -25,7 +25,8 @@
"max-length": 40 "max-length": 40
}, },
"sway/mode": { "sway/mode": {
"format": "--{}--" "format": "--{}--",
"tooltip": false
}, },
"custom/weather": { "custom/weather": {
@@ -66,6 +67,7 @@
"custom/power-menu": { "custom/power-menu": {
"format": "{icon}", "format": "{icon}",
"format-icons": [""], "format-icons": [""],
"on-click": "wlogout -b 4 -m 450 -c 30" "on-click": "wlogout -b 4 -m 450 -c 30",
"tooltip": false
} }
} }

View File

@@ -1,18 +1,22 @@
/* Colors */ /* Colors */
/* primary: #ffa759 */ @define-color background #191e2a;
/* background: #202734 */ @define-color background-alt #202734;
/* background-alt: #191e2a */ @define-color primary #ffa759;
/* foreground: #cbccc6 */ @define-color primary-1 #ffa759;
@define-color primary-2 #ffad65;
@define-color primary-3 #ffb371;
@define-color primary-4 #ffba7c;
@define-color primary-5 #ffc088;
window#waybar { window#waybar {
background: #191e2a; background: @background;
color: #cbccc6; color: #cbccc6;
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: #202734; background: @background-alt;
margin: 10px; margin: 10px;
border-radius: 8px; border-radius: 8px;
} }
@@ -23,15 +27,15 @@ window#waybar {
} }
#workspaces button.focused { #workspaces button.focused {
color: #ffa759; color: @primary;
} }
#workspaces button.urgent { #workspaces button.urgent {
background: #ffa759; background: @primary;
} }
#mode { #mode {
color: #ffa759; color: @primary;
} }
#custom-player, #custom-player,
@@ -43,12 +47,12 @@ window#waybar {
#pulseaudio, #pulseaudio,
#tray, #tray,
#custom-power-menu { #custom-power-menu {
background: #202734; background: @background-alt;
margin: 10px; margin: 10px;
padding: 10px; padding: 7px 10px;
border-radius: 8px; border-radius: 8px;
} }
#pulseaudio.muted { #pulseaudio.muted {
color: #ffa759; color: @primary;
} }