theme changer
This commit is contained in:
parent
2c3e467b2b
commit
88360b8b89
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue