Add Theme Switcher Button
This commit is contained in:
parent
c74d4a0c63
commit
5130a02165
|
@ -5,7 +5,7 @@
|
|||
// "width": 1280, // Waybar width
|
||||
"spacing": 4, // Gaps between modules (4px)
|
||||
// Choose the order of the modules
|
||||
"modules-left": ["hyprland/workspaces"],
|
||||
"modules-left": ["hyprland/workspaces","custom/waybarthemes"],
|
||||
"modules-center": ["hyprland/window"],
|
||||
"modules-right": ["mpd", "idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "sway/language", "battery", "battery#bat2", "clock", "tray"],
|
||||
// Modules configuration
|
||||
|
@ -34,6 +34,12 @@
|
|||
"unlocked": ""
|
||||
}
|
||||
},
|
||||
// Waybar Themes
|
||||
"custom/waybarthemes": {
|
||||
"format": "Themes",
|
||||
"on-click": "~/dotfiles/waybar/themeswitcher.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
"sway/mode": {
|
||||
"format": "<span style=\"italic\">{}</span>"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user