Change to dwl-specific modules
This commit is contained in:
parent
9faf3e1741
commit
81b3109c53
16
config.jsonc
16
config.jsonc
@ -4,28 +4,26 @@
|
|||||||
"spacing": 0,
|
"spacing": 0,
|
||||||
"height": 16,
|
"height": 16,
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"sway/workspaces",
|
"dwl/tags"
|
||||||
"sway/mode"
|
|
||||||
],
|
],
|
||||||
"modules-center": [
|
"modules-center": [
|
||||||
"sway/window"
|
"dwl/window"
|
||||||
],
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
"load",
|
"load",
|
||||||
"memory",
|
"memory",
|
||||||
"temperature",
|
"temperature",
|
||||||
"sway/language",
|
|
||||||
"clock"
|
"clock"
|
||||||
],
|
],
|
||||||
// Modules configuration
|
// Modules configuration
|
||||||
"sway/workspaces": {
|
"dwl/tags": {
|
||||||
"disable-scroll": true,
|
"num-tags": 6,
|
||||||
"all-outputs": false,
|
|
||||||
"active-only": true,
|
|
||||||
"warp-on-scroll": false,
|
|
||||||
"format": "{name}"
|
"format": "{name}"
|
||||||
},
|
},
|
||||||
|
"dwl/window": {
|
||||||
|
"all-outputs": true
|
||||||
|
},
|
||||||
"clock": {
|
"clock": {
|
||||||
"interval": 1,
|
"interval": 1,
|
||||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||||
|
12
style.css
12
style.css
@ -23,26 +23,26 @@ window#waybar {
|
|||||||
.module {
|
.module {
|
||||||
padding: 0.2em 1em;
|
padding: 0.2em 1em;
|
||||||
}
|
}
|
||||||
.module#workspaces {
|
.module#tags {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces {
|
#tags {
|
||||||
margin: 0 0;
|
margin: 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button {
|
#tags button {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
padding: 0 1em;
|
padding: 0 1em;
|
||||||
}
|
}
|
||||||
#workspaces button.visible {
|
#tags button.focused {
|
||||||
background-color: rgba(255, 255, 255, 0.2);
|
background-color: rgba(255, 255, 255, 0.2);
|
||||||
box-shadow: inset 0 -1px #ffffff;
|
box-shadow: inset 0 -1px #ffffff;
|
||||||
}
|
}
|
||||||
#workspaces button:hover {
|
#tags button:hover {
|
||||||
box-shadow: inset 0 -2px #ffffff;
|
box-shadow: inset 0 -2px #ffffff;
|
||||||
}
|
}
|
||||||
#workspaces button.urgent {
|
#tags button.urgent {
|
||||||
background-color: rgba(128, 0, 0, 0.5);
|
background-color: rgba(128, 0, 0, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user