From 5027ad2902c7a085543ced1fa0d804fb0b532142 Mon Sep 17 00:00:00 2001 From: Stephan Raabe Date: Thu, 27 Jun 2024 14:53:17 +0200 Subject: [PATCH] Updates --- .settings/waybar-quicklinks.json | 26 ++++++++++++++++++++++++++ waybar/modules.json | 23 ----------------------- waybar/themes/ml4w-blur-bottom/config | 5 ++++- waybar/themes/ml4w-blur/config | 5 ++++- waybar/themes/ml4w-blur/style.css | 10 ++++++++++ waybar/themes/ml4w-bottom/config | 5 ++++- waybar/themes/ml4w-minimal/config | 5 ++++- waybar/themes/ml4w-minimal/style.css | 10 ++++++++++ waybar/themes/ml4w/config | 5 ++++- waybar/themes/ml4w/style.css | 10 ++++++++++ waybar/themes/starter/config | 5 ++++- waybar/themes/starter/style.css | 10 ++++++++++ 12 files changed, 90 insertions(+), 29 deletions(-) create mode 100644 .settings/waybar-quicklinks.json diff --git a/.settings/waybar-quicklinks.json b/.settings/waybar-quicklinks.json new file mode 100644 index 0000000..fa5ee0f --- /dev/null +++ b/.settings/waybar-quicklinks.json @@ -0,0 +1,26 @@ +{ + "custom/quicklink1": { + "format": "", + "on-click": "~/dotfiles/.settings/browser.sh", + "tooltip-format": "Open browser" + }, + /* + "custom/quicklink1": { + "format": "", + "on-click": "firefox", + "tooltip-format": "Open Firefox" + }, + */ + "custom/quicklink2": { + "format": "", + "on-click": "~/dotfiles/.settings/filemanager.sh", + "tooltip-format": "Open filemanager" + }, + "group/quicklinks": { + "orientation": "horizontal", + "modules": [ + "custom/quicklink1", + "custom/quicklink2" + ] + } +} diff --git a/waybar/modules.json b/waybar/modules.json index 2a5077e..0e1caa7 100644 --- a/waybar/modules.json +++ b/waybar/modules.json @@ -136,20 +136,6 @@ "tooltip": false }, - // Filemanager Launcher - "custom/filemanager": { - "format": "", - "on-click": "~/dotfiles/.settings/filemanager.sh", - "tooltip-format": "Open filemanager" - }, - - // Browser Launcher - "custom/browser": { - "format": "", - "on-click": "~/dotfiles/.settings/browser.sh", - "tooltip-format": "Open browser" - }, - // ChatGPT Launcher "custom/chatgpt": { "format": " ", @@ -315,15 +301,6 @@ ] }, - // Group Quicklinks - "group/quicklinks": { - "orientation": "horizontal", - "modules": [ - "custom/browser", - "custom/filemanager", - ] - }, - // Network "network": { "format": "{ifname}", diff --git a/waybar/themes/ml4w-blur-bottom/config b/waybar/themes/ml4w-blur-bottom/config index 4b9fdf2..0400237 100644 --- a/waybar/themes/ml4w-blur-bottom/config +++ b/waybar/themes/ml4w-blur-bottom/config @@ -19,7 +19,10 @@ "spacing": 0, // Load Modules - "include": ["~/dotfiles/waybar/modules.json"], + "include": [ + "~/dotfiles/.settings/waybar-quicklinks.json", + "~/dotfiles/waybar/modules.json" + ], // Modules Left "modules-left": [ diff --git a/waybar/themes/ml4w-blur/config b/waybar/themes/ml4w-blur/config index 8009d43..4c19e82 100644 --- a/waybar/themes/ml4w-blur/config +++ b/waybar/themes/ml4w-blur/config @@ -19,7 +19,10 @@ "spacing": 0, // Load Modules - "include": ["~/dotfiles/waybar/modules.json"], + "include": [ + "~/dotfiles/.settings/waybar-quicklinks.json", + "~/dotfiles/waybar/modules.json" + ], // Modules Left "modules-left": [ diff --git a/waybar/themes/ml4w-blur/style.css b/waybar/themes/ml4w-blur/style.css index 15bdcff..02ba466 100644 --- a/waybar/themes/ml4w-blur/style.css +++ b/waybar/themes/ml4w-blur/style.css @@ -165,6 +165,16 @@ window#waybar.empty #window { #custom-system, #custom-hyprshade, #custom-hypridle, +#custom-quicklink1, +#custom-quicklink2, +#custom-quicklink3, +#custom-quicklink4, +#custom-quicklink5, +#custom-quicklink6, +#custom-quicklink7, +#custom-quicklink8, +#custom-quicklink9, +#custom-quicklink10, #custom-waybarthemes { margin-right: 23px; font-size: 20px; diff --git a/waybar/themes/ml4w-bottom/config b/waybar/themes/ml4w-bottom/config index 935fe98..908476c 100644 --- a/waybar/themes/ml4w-bottom/config +++ b/waybar/themes/ml4w-bottom/config @@ -19,7 +19,10 @@ "spacing": 0, // Load Modules - "include": ["~/dotfiles/waybar/modules.json"], + "include": [ + "~/dotfiles/.settings/waybar-quicklinks.json", + "~/dotfiles/waybar/modules.json" + ], // Modules Left "modules-left": [ diff --git a/waybar/themes/ml4w-minimal/config b/waybar/themes/ml4w-minimal/config index bb8ef1d..dde167e 100644 --- a/waybar/themes/ml4w-minimal/config +++ b/waybar/themes/ml4w-minimal/config @@ -18,7 +18,10 @@ "spacing": 0, // Load Modules - "include": ["~/dotfiles/waybar/modules.json"], + "include": [ + "~/dotfiles/.settings/waybar-quicklinks.json", + "~/dotfiles/waybar/modules.json" + ], // Modules Left "modules-left": [ diff --git a/waybar/themes/ml4w-minimal/style.css b/waybar/themes/ml4w-minimal/style.css index 14a06e8..31735eb 100644 --- a/waybar/themes/ml4w-minimal/style.css +++ b/waybar/themes/ml4w-minimal/style.css @@ -136,6 +136,16 @@ window#waybar.empty #window { #custom-system, #custom-hyprshade, #custom-hypridle, +#custom-quicklink1, +#custom-quicklink2, +#custom-quicklink3, +#custom-quicklink4, +#custom-quicklink5, +#custom-quicklink6, +#custom-quicklink7, +#custom-quicklink8, +#custom-quicklink9, +#custom-quicklink10, #custom-waybarthemes { margin-right: 23px; font-size: 14px; diff --git a/waybar/themes/ml4w/config b/waybar/themes/ml4w/config index ded798e..fed9fd5 100644 --- a/waybar/themes/ml4w/config +++ b/waybar/themes/ml4w/config @@ -19,7 +19,10 @@ "spacing": 0, // Load Modules - "include": ["~/dotfiles/waybar/modules.json"], + "include": [ + "~/dotfiles/.settings/waybar-quicklinks.json", + "~/dotfiles/waybar/modules.json" + ], // Modules Left "modules-left": [ diff --git a/waybar/themes/ml4w/style.css b/waybar/themes/ml4w/style.css index d726fb9..54d498d 100644 --- a/waybar/themes/ml4w/style.css +++ b/waybar/themes/ml4w/style.css @@ -166,6 +166,16 @@ window#waybar.empty #window { #custom-system, #custom-hyprshade, #custom-hypridle, +#custom-quicklink1, +#custom-quicklink2, +#custom-quicklink3, +#custom-quicklink4, +#custom-quicklink5, +#custom-quicklink6, +#custom-quicklink7, +#custom-quicklink8, +#custom-quicklink9, +#custom-quicklink10, #custom-waybarthemes { margin-right: 23px; font-size: 20px; diff --git a/waybar/themes/starter/config b/waybar/themes/starter/config index 6674efd..7abaa1d 100644 --- a/waybar/themes/starter/config +++ b/waybar/themes/starter/config @@ -26,7 +26,10 @@ "spacing": 0, // Load Modules - "include": ["~/dotfiles/waybar/themes/starter/modules.json"], + "include": [ + "~/dotfiles/.settings/waybar-quicklinks.json", + "~/dotfiles/waybar/themes/starter/modules.json" + ], // Modules Left "modules-left": [ diff --git a/waybar/themes/starter/style.css b/waybar/themes/starter/style.css index c40d0b2..671b9c5 100644 --- a/waybar/themes/starter/style.css +++ b/waybar/themes/starter/style.css @@ -166,6 +166,16 @@ window#waybar.empty #window { #custom-system, #custom-hyprshade, #custom-hypridle, +#custom-quicklink1, +#custom-quicklink2, +#custom-quicklink3, +#custom-quicklink4, +#custom-quicklink5, +#custom-quicklink6, +#custom-quicklink7, +#custom-quicklink8, +#custom-quicklink9, +#custom-quicklink10, #custom-waybarthemes { margin-right: 23px; font-size: 20px;