theme changer

This commit is contained in:
array-in-a-matrix 2022-01-17 19:48:08 -05:00
parent 2c3e467b2b
commit 88360b8b89
2 changed files with 11 additions and 5 deletions

View file

@ -5,7 +5,7 @@
"modules-left": ["sway/workspaces", "sway/mode", "sway/window"],
"modules-center": [],
"modules-right": ["custom/cmus", "idle_inhibitor", "network", "pulseaudio", "battery", "clock"],
"modules-right": ["custom/cmus", "idle_inhibitor", "network", "pulseaudio", "battery", "clock", "custom/themer"],
"sway/workspaces": {
@ -72,5 +72,11 @@
"on-click": "cmus-remote --pause",
"on-click-right": "cmus-remote --next",
"escape": true
},
"custom/themer": {
"format": "  ",
"interval": 1,
"on-click": "exec ~/.config/sway/colors.sh",
"on-click-right": "exec ~/.config/sway/colors.sh"
}
}

View file

@ -29,18 +29,18 @@ window#waybar.hidden {
opacity: 0.2;
}
* button {
button {
background-color: transparent;
color: @color7;
box-shadow: inset 0 -3px transparent;
}
* button:hover {
button:hover {
background: @color11;
box-shadow: inset 0 -3px @color7;
}
* button.focused {
button.focused {
background-color: @color1;
box-shadow: inset 0 -3px @color7;
}
@ -74,4 +74,4 @@ window#waybar.hidden {
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
}