Change to dwl-specific modules

This commit is contained in:
Alex D. 2024-12-05 13:01:40 +00:00
parent 9faf3e1741
commit 81b3109c53
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
2 changed files with 13 additions and 15 deletions

View File

@ -4,28 +4,26 @@
"spacing": 0,
"height": 16,
"modules-left": [
"sway/workspaces",
"sway/mode"
"dwl/tags"
],
"modules-center": [
"sway/window"
"dwl/window"
],
"modules-right": [
"pulseaudio",
"load",
"memory",
"temperature",
"sway/language",
"clock"
],
// Modules configuration
"sway/workspaces": {
"disable-scroll": true,
"all-outputs": false,
"active-only": true,
"warp-on-scroll": false,
"dwl/tags": {
"num-tags": 6,
"format": "{name}"
},
"dwl/window": {
"all-outputs": true
},
"clock": {
"interval": 1,
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",

View File

@ -23,26 +23,26 @@ window#waybar {
.module {
padding: 0.2em 1em;
}
.module#workspaces {
.module#tags {
padding: 0;
}
#workspaces {
#tags {
margin: 0 0;
}
#workspaces button {
#tags button {
background-color: transparent;
padding: 0 1em;
}
#workspaces button.visible {
#tags button.focused {
background-color: rgba(255, 255, 255, 0.2);
box-shadow: inset 0 -1px #ffffff;
}
#workspaces button:hover {
#tags button:hover {
box-shadow: inset 0 -2px #ffffff;
}
#workspaces button.urgent {
#tags button.urgent {
background-color: rgba(128, 0, 0, 0.5);
}