From 0fe25acab10b97fdf39e8fb00ba2cd40f4dc19ab Mon Sep 17 00:00:00 2001 From: Stephan Raabe Date: Tue, 17 Oct 2023 09:01:57 +0200 Subject: [PATCH] Add Waybar Switcher Icon --- waybar/modules.json | 11 +++++++++-- waybar/themes/ml4w-bottom/config | 1 + waybar/themes/ml4w-bottom/myconfig | 1 + waybar/themes/ml4w/config | 1 + waybar/themes/ml4w/myconfig | 1 + waybar/themes/ml4w/style.css | 2 +- 6 files changed, 14 insertions(+), 3 deletions(-) diff --git a/waybar/modules.json b/waybar/modules.json index a1db63b..b4f886f 100644 --- a/waybar/modules.json +++ b/waybar/modules.json @@ -89,8 +89,15 @@ // Wallpaper "custom/wallpaper": { "format": "", - "on-click-right": "~/dotfiles/scripts/wallpaper-swww.sh", - "on-click": "~/dotfiles/scripts/updatewal-swww.sh", + "on-click": "~/dotfiles/scripts/wallpaper-swww.sh", + "on-click-right": "~/dotfiles/scripts/updatewal-swww.sh", + "tooltip": false + }, + + // Waybar Themes + "custom/waybarthemes": { + "format": "", + "on-click": "~/dotfiles/waybar/themeswitcher.sh", "tooltip": false }, diff --git a/waybar/themes/ml4w-bottom/config b/waybar/themes/ml4w-bottom/config index fc2f9a5..00da10c 100644 --- a/waybar/themes/ml4w-bottom/config +++ b/waybar/themes/ml4w-bottom/config @@ -34,6 +34,7 @@ "modules-left": [ "custom/appmenu", "custom/wallpaper", + "custom/waybarthemes", "wlr/taskbar", "group/quicklinks", "hyprland/window" diff --git a/waybar/themes/ml4w-bottom/myconfig b/waybar/themes/ml4w-bottom/myconfig index 7d3990b..1b6a158 100644 --- a/waybar/themes/ml4w-bottom/myconfig +++ b/waybar/themes/ml4w-bottom/myconfig @@ -33,6 +33,7 @@ "modules-left": [ "custom/appmenu", "custom/wallpaper", + "custom/waybarthemes", "wlr/taskbar", "group/quicklinks", "hyprland/window" diff --git a/waybar/themes/ml4w/config b/waybar/themes/ml4w/config index 8617d3b..bf39306 100644 --- a/waybar/themes/ml4w/config +++ b/waybar/themes/ml4w/config @@ -34,6 +34,7 @@ "modules-left": [ "custom/appmenu", "custom/wallpaper", + "custom/waybarthemes", "wlr/taskbar", "group/quicklinks", "hyprland/window" diff --git a/waybar/themes/ml4w/myconfig b/waybar/themes/ml4w/myconfig index bec1f17..77749c8 100644 --- a/waybar/themes/ml4w/myconfig +++ b/waybar/themes/ml4w/myconfig @@ -33,6 +33,7 @@ "modules-left": [ "custom/appmenu", "custom/wallpaper", + "custom/waybarthemes", "wlr/taskbar", "group/quicklinks", "hyprland/window" diff --git a/waybar/themes/ml4w/style.css b/waybar/themes/ml4w/style.css index 1f3f591..cb99b89 100644 --- a/waybar/themes/ml4w/style.css +++ b/waybar/themes/ml4w/style.css @@ -152,7 +152,7 @@ window#waybar.empty #window { * Custom Quicklinks * ----------------------------------------------------- */ -#custom-brave, #custom-outlook, #custom-filemanager, #custom-teams, #custom-chatgpt, #custom-calculator, #custom-windowsvm, #custom-cliphist, #custom-wallpaper { +#custom-brave, #custom-outlook, #custom-filemanager, #custom-teams, #custom-chatgpt, #custom-calculator, #custom-windowsvm, #custom-cliphist, #custom-wallpaper, #custom-waybarthemes { margin-right: 20px; font-size: 20px; font-weight: bold;