feat(waybar): add taskbar

This commit is contained in:
Price Hiller 2023-06-03 20:59:22 -05:00
parent 89d6c3624b
commit 641210c421
No known key found for this signature in database
2 changed files with 43 additions and 10 deletions

View File

@ -11,7 +11,8 @@
"disk", "disk",
"battery", "battery",
"custom/audio-device", "custom/audio-device",
"wireplumber" "wireplumber",
"wlr/taskbar"
], ],
"modules-center": [ "modules-center": [
"custom/media" "custom/media"
@ -204,6 +205,20 @@
"format": "󰇚 {}", "format": "󰇚 {}",
"tooltip": true, "tooltip": true,
"interval": 10 "interval": 10
},
"wlr/taskbar": {
"format": "{icon}",
"icon-size": 12,
"icon-theme": "Numix-Circle",
"tooltip-format": "{title}",
"on-click": "activate",
"on-click-middle": "close",
"ignore-list": [
"Alacritty"
],
"app_ids-mapping": {
"firefoxdeveloperedition": "firefox-developer-edition"
}
} }
} }
] ]

View File

@ -67,6 +67,8 @@
#wireplumber, #wireplumber,
#image, #image,
#custom-pacman-update, #custom-pacman-update,
#taskbar,
#tray,
#custom-lock { #custom-lock {
background-color: #16161d; background-color: #16161d;
color: #dcd7ba; color: #dcd7ba;
@ -94,8 +96,8 @@
#custom-launcher { #custom-launcher {
padding-right: 0.3rem; padding-right: 0.3rem;
padding-left: 0.1rem; padding-left: 0.1rem;
margin-right: 0rem;
color: #957fb8; color: #957fb8;
margin-right: 0.25rem;
} }
/* System Status */ /* System Status */
@ -176,10 +178,26 @@
color: #d27e99; color: #d27e99;
} }
/* Taskbar, showing icons of open applications */
#taskbar button {
margin-top: 0.1em;
min-height: 0.25em;
padding-left: 0em;
padding-right: 0em;
background-color: transparent;
}
#taskbar button.active {
border-bottom: 0.2em solid #ff9e3b;
}
#taskbar button:hover {
border-bottom: 0.2em solid #ff5d62;
background: transparent;
}
/* Worksapces */ /* Worksapces */
#workspaces { #workspaces {
margin-left: 0.25rem;
margin-right: 0.25rem;
margin-top: 0rem; margin-top: 0rem;
margin-bottom: 0rem; margin-bottom: 0rem;
padding-top: 1em; padding-top: 1em;
@ -192,10 +210,10 @@
#workspaces button { #workspaces button {
border-radius: 50%; border-radius: 50%;
min-height: 0.0em; min-height: 0em;
min-width: 0.0em; min-width: 0em;
padding-left: 0.0rem; padding-left: 0rem;
padding-right: 0.0rem; padding-right: 0rem;
padding-top: 0.4rem; padding-top: 0.4rem;
padding-bottom: 0.4rem; padding-bottom: 0.4rem;
background-color: #54546d; background-color: #54546d;
@ -218,12 +236,12 @@
} }
#workspaces button:hover { #workspaces button:hover {
background: #98BB6C; background: #98bb6c;
} }
/* Pacman Updates */ /* Pacman Updates */
#custom-pacman-update { #custom-pacman-update {
color: #7E9CD8; color: #7e9cd8;
} }
/* Asus Fan Mode */ /* Asus Fan Mode */