aboutsummaryrefslogtreecommitdiffstats
path: root/config/waybar/Modules
diff options
context:
space:
mode:
authorJaKooLit <ejhay.games@gmail.com>2024-09-20 00:18:05 +0900
committerJaKooLit <ejhay.games@gmail.com>2024-09-20 00:18:05 +0900
commit28aa62f54118b4746e2ccabff0167c4991b5cf4d (patch)
tree5ef801da361f48af530468496fe0b1967b9127fc /config/waybar/Modules
parentf73780ecb547ecc55c17b78cf964197a5f48e71a (diff)
Waybar Overhaul - Introducing Default v4, with app drawer function
Diffstat (limited to 'config/waybar/Modules')
-rw-r--r--config/waybar/Modules218
1 files changed, 6 insertions, 212 deletions
diff --git a/config/waybar/Modules b/config/waybar/Modules
index e825e53b..647530c8 100644
--- a/config/waybar/Modules
+++ b/config/waybar/Modules
@@ -2,20 +2,10 @@
/* Waybar Modules */
{
-/* NOTE: hyprland-workspaces on a separate file */
-// Weather and Temperature Modules as this is most like to change always.
+/* NOTE: hyprland-workspaces and Custom Modules on a separate files */
+/* Weather Temperature Modules as this is most like to change always. */
// Result is of course easier to edit
-"custom/weather": {
- "format": "{}",
- "format-alt": "{alt}: {}",
- "format-alt-click": "click",
- "interval": 3600,
- "return-type": "json",
- "exec": "$HOME/.config/hypr/UserScripts/Weather.sh",
- //"exec": "$HOME/.config/hypr/UserScripts/Weather.py",
- "exec-if": "ping wttr.in -c1",
- "tooltip": true,
-},
+
"temperature": {
"interval": 10,
"tooltip": true,
@@ -32,6 +22,7 @@
],
"on-click-right": "kitty --title nvtop sh -c 'nvtop'"
},
+
"temperature#vertical": {
"interval": 10,
"tooltip": true,
@@ -49,62 +40,6 @@
"on-click-right": "kitty --title nvtop sh -c 'nvtop'"
},
-
-// GROUP
-"group/motherboard": {
- "orientation": "horizontal",
- "modules": [
- "cpu",
- "memory",
- "temperature",
- "disk",
- ]
-},
-"group/mobo_drawer": {
- "orientation": "inherit",
- "drawer": {
- "transition-duration": 500,
- "children-class": "cpu",
- "transition-left-to-right": true
- },
- "modules": [
- "temperature",
- "cpu",
- "memory",
- "disk",
- ]
-},
-"group/laptop": {
- "orientation": "inherit",
- "modules": [
- "backlight",
- "battery",
- ]
-},
-"group/audio": {
- "orientation": "inherit",
- "drawer": {
- "transition-duration": 500,
- "children-class": "pulseaudio",
- "transition-left-to-right": true
- },
- "modules": [
- "pulseaudio",
- "pulseaudio#microphone",
- ]
-},
-"group/connections": {
- "orientation": "inherit",
- "drawer": {
- "transition-duration": 500,
- "children-class": "bluetooth",
- "transition-left-to-right": true
- },
- "modules": [
- "network",
- "bluetooth",
- ]
-},
"backlight": {
"interval": 2,
"align": 0,
@@ -165,7 +100,7 @@
"on-click-right": "$HOME/.config/hypr/scripts/Wlogout.sh",
},
"bluetooth": {
- "format": "",
+ "format": " ",
"format-disabled": "󰂳",
"format-connected": "󰂱 {num_connections}",
"tooltip-format": " {device_alias}",
@@ -362,7 +297,7 @@
]
},
"power-profiles-daemon": {
- "format": "{icon}",
+ "format": "{icon} ",
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
"tooltip": true,
"format-icons": {
@@ -457,148 +392,7 @@
"kitty-dropterm"
],
},
-"custom/cycle_wall": {
- "format": " ",
- "on-click": "$HOME/.config/hypr/UserScripts/WallpaperSelect.sh",
- "on-click-right": "$HOME/.config/hypr/UserScripts/WallpaperRandom.sh",
- "on-click-middle": "$HOME/.config/hypr/scripts/WaybarStyles.sh",
- "tooltip": true,
- "tooltip-format": "Left Click: Wallpaper Menu\nMiddle Click: Random wallpaper\nRight Click: Waybar Styles Menu",
-},
-"custom/hint": {
- "format": "󰺁 HINT!",
- "on-click": "$HOME/.config/hypr/scripts/KeyHints.sh",
- "tooltip": true,
- "tooltip-format": "󱧣 Quick Tips",
-},
-// Hypridle inhibitor
-"custom/hypridle": {
- "format": " 󱫗 ",
- "return-type": "json",
- "escape": true,
- "exec-on-event": true,
- "interval": 60,
- "exec": "$HOME/.config/hypr/scripts/Hypridle.sh status",
- "on-click": "$HOME/.config/hypr/scripts/Hypridle.sh toggle",
- "on-click-right": "hyprlock"
- },
-"custom/keyboard": {
- "exec": "cat $HOME/.cache/kb_layout",
- "interval": 1,
- "format": " {}",
- "on-click": "$HOME/.config/hypr/scripts/SwitchKeyboardLayout.sh",
-},
-"custom/light_dark": {
- "format": "󰔎",
- "on-click": "$HOME/.config/hypr/scripts/DarkLight.sh",
- "on-click-right": "$HOME/.config/hypr/scripts/WaybarStyles.sh",
- "on-click-middle": "$HOME/.config/hypr/UserScripts/WallpaperSelect.sh",
- "tooltip": true,
- "tooltip-format": "Left Click: Switch Dark-Light Themes\nMiddle Click: Wallpaper Menu\nRight Click: Waybar Styles Menu",
-},
-"custom/lock": {
- "format": "󰌾",
- "on-click": "$HOME/.config/hypr/scripts/LockScreen.sh",
- "tooltip": true,
- "tooltip-format": "󰷛 Screen Lock",
-},
-"custom/menu": {
- "format": "",
- "on-click": "pkill rofi || rofi -show drun -modi run,drun,filebrowser,window",
- "on-click-middle": "$HOME/.config/hypr/UserScripts/WallpaperSelect.sh",
- "on-click-right": "$HOME/.config/hypr/scripts/WaybarLayout.sh",
- "tooltip": true,
- "tooltip-format": "Left Click: Rofi Menu\nMiddle Click: Wallpaper Menu\nRight Click: Waybar Layout Menu",
-},
-// This is a custom cava visualizer
-"custom/cava_mviz": {
- "exec": "$HOME/.config/hypr/scripts/WaybarCava.sh",
- "format": "{}"
-},
-"custom/playerctl": {
- "format": "<span>{}</span>",
- "return-type": "json",
- "max-length": 35,
- "exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} $HOME {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
- "on-click-middle": "playerctl play-pause",
- "on-click": "playerctl previous",
- "on-click-right": "playerctl next",
- "scroll-step": 5.0,
- "on-scroll-up": "$HOME/.config/hypr/scripts/Volume.sh --inc",
- "on-scroll-down": "$HOME/.config/hypr/scripts/Volume.sh --dec",
- "smooth-scrolling-threshold": 1,
-},
-"custom/power": {
- "format": "⏻ ",
- "on-click": "$HOME/.config/hypr/scripts/Wlogout.sh",
- "on-click-right": "$HOME/.config/hypr/scripts/ChangeBlur.sh",
- "tooltip": true,
- "tooltip-format": "Left Click: Logout Menu\nRight Click: Change Blur",
-},
-"custom/swaync": {
- "tooltip": true,
- "tooltip-format": "Left Click: Launch Notification Center\nRight Click: Do not Disturb",
- "format": "{} {icon}",
- "format-icons": {
- "notification": "<span foreground='red'><sup></sup></span>",
- "none": "",
- "dnd-notification": "<span foreground='red'><sup></sup></span>",
- "dnd-none": "",
- "inhibited-notification": "<span foreground='red'><sup></sup></span>",
- "inhibited-none": "",
- "dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
- "dnd-inhibited-none": ""
- },
- "return-type": "json",
- "exec-if": "which swaync-client",
- "exec": "swaync-client -swb",
- "on-click": "sleep 0.1 && swaync-client -t -sw",
- "on-click-right": "swaync-client -d -sw",
- "escape": true,
-},
-// NOTE:! This is only for Arch and Arch Based Distros depend: pacman-contrib
-"custom/updater": {
- "format": " {}",
- "exec": "checkupdates | wc -l",
- "exec-if": "[[ $(checkupdates | wc -l) ]]",
- "interval": 15,
- "on-click": "if command -v paru &> /dev/null; then kitty -T update paru -Syu; else kitty -T update yay -Syu; fi && notify-send 'The system has been updated'",
- "tooltip": true,
- "tooltip-format": "Left Click: Update System\nArch Linux Only",
-},
-
-// Separators
-"custom/separator#dot": {
- "format": "",
- "interval": "once",
- "tooltip": false
-},
-"custom/separator#dot-line": {
- "format": "",
- "interval": "once",
- "tooltip": false
-},
-"custom/separator#line": {
- "format": "|",
- "interval": "once",
- "tooltip": false
-},
-"custom/separator#blank": {
- "format": "",
- "interval": "once",
- "tooltip": false
-},
-"custom/separator#blank_2": {
- "format": " ",
- "interval": "once",
- "tooltip": false
-},
-"custom/separator#blank_3": {
- "format": " ",
- "interval": "once",
- "tooltip": false
-},
// Modules below are for vertical layout
"backlight#vertical": {
"interval": 2,
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage