diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2025-03-18 18:23:10 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2025-03-18 18:23:10 +0900 |
| commit | 51b04af8b39201a86d1c095bde51d4019ccef796 (patch) | |
| tree | 6e81c745a0325113c48cd21d3ccd7172709b4e1c /config/waybar | |
| parent | fc84e0d342334d1dc03f956cc74343fb16434c53 (diff) | |
Added WaybarScripts.sh. In this way, waybar modules can use the default terminal set in ~/.config/hypr/UserConfigs/01-UserDefaults.conf
Diffstat (limited to 'config/waybar')
| -rw-r--r-- | config/waybar/Modules | 6 | ||||
| -rw-r--r-- | config/waybar/ModulesCustom | 2 | ||||
| -rw-r--r-- | config/waybar/ModulesVertical | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/config/waybar/Modules b/config/waybar/Modules index 4fec766e..32664326 100644 --- a/config/waybar/Modules +++ b/config/waybar/Modules @@ -19,7 +19,7 @@ "format-icons": [ "" ], - "on-click-right": "kitty --title nvtop sh -c 'nvtop'" + "on-click-right": "$HOME/.config/hypr/scripts/WaybarScripts.sh --nvtop" }, "backlight": { @@ -232,7 +232,7 @@ "format-alt-click": "click", "tooltip": true, "tooltip-format": "{used:0.1f}GB/{total:0.1f}G", - "on-click-right": "kitty --title btop sh -c 'btop'" + "on-click-right": "$HOME/.config/hypr/scripts/WaybarScripts.sh --btop" }, "mpris": { @@ -281,7 +281,7 @@ "format-icons": [ "", "", "", "", "" ], - "on-click-right": "kitty nmtui" + "on-click-right": "$HOME/.config/hypr/scripts/WaybarScripts.sh --nmtui" }, "network#speed": { diff --git a/config/waybar/ModulesCustom b/config/waybar/ModulesCustom index 96a718a6..bde9bbc2 100644 --- a/config/waybar/ModulesCustom +++ b/config/waybar/ModulesCustom @@ -26,7 +26,7 @@ "custom/tty": { "format": " ", - "on-click": "kitty &", + "on-click": "$HOME/.config/hypr/scripts/WaybarScripts.sh --term", "tooltip": true, "tooltip-format": "Launch Terminal", }, diff --git a/config/waybar/ModulesVertical b/config/waybar/ModulesVertical index 5dea07ef..7128471b 100644 --- a/config/waybar/ModulesVertical +++ b/config/waybar/ModulesVertical @@ -19,7 +19,7 @@ "format-icons": [ "" ], - "on-click-right": "kitty --title nvtop sh -c 'nvtop'" + "on-click-right": "$HOME/.config/hypr/scripts/WaybarScripts.sh --nvtop" }, "backlight#vertical": { @@ -68,7 +68,7 @@ "format-alt-click": "click", "tooltip": true, "tooltip-format": "{used:0.1f}GB/{total:0.1f}G", - "on-click-right": "kitty --title btop sh -c 'btop'", + "on-click-right": "$HOME/.config/hypr/scripts/WaybarScripts.sh --btop", }, "pulseaudio#vertical": { |
