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,
|
||||
"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>",
|
||||
|
12
style.css
12
style.css
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user