Skip to content

Commit

Permalink
change waybar theme
Browse files Browse the repository at this point in the history
  • Loading branch information
czrd committed May 15, 2024
1 parent 2eb7746 commit 763104c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 12 deletions.
11 changes: 6 additions & 5 deletions waybar/.config/waybar/config
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"layer": "top",
"position": "top",
"height": 30,
"width": 1920,
"height": 40,
"margin-left": 16,
"margin-right": 16,
"margin-top": 10,
"spacing": 2,
"modules-left": [
"custom/powermenu",
Expand Down Expand Up @@ -104,16 +106,15 @@
"format": "{icon}",
"format-icons": {
"active": "",
"default": ""
"default": "",
},
"on-click": "activate",
"sort-by-number": true,
"all-outputs": true
},
"custom/powermenu": {
"format": "",
"tooltip": false,
"on-click": "~/.config/rofi/scripts/powermenu"
"tooltip": false
},
"custom/recording": {
"tooltip": false,
Expand Down
23 changes: 16 additions & 7 deletions waybar/.config/waybar/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,16 @@ tooltip label {
}

window#waybar {
color: #D7DCDD;
background-color: rgba(0, 0, 0, 0.4);
color: #3E3D3F;
background-color: #E1E4DC;
border-radius: 80px;
border: 1px solid #C0C3BD;
}

window#waybar.hidden {
opacity: 0.2;
}

button {
color: #D7DCDD;
}

/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
button:hover {
box-shadow: none;
Expand All @@ -50,6 +48,11 @@ button:hover {
box-shadow: none;
text-shadow: none;
border: none;
color: #C0C3BD;
}

#workspaces button.active {
color: #3E3D3F;
}

#workspaces button.urgent {
Expand All @@ -70,13 +73,19 @@ button:hover {
padding: 0 10px;
}

#tray {
background-color: #D1D3CC;
margin: 4px 10px;
border-radius: 15px;
}

#custom-recording {
font-size: 20px;
color: #f53c3c;
}

#custom-powermenu {
font-size: 25px;
font-size: 24px;
margin-right: 10px;
}

Expand Down

0 comments on commit 763104c

Please sign in to comment.