diff options
| author | JaKooLit <jimmielovejay@gmail.com> | 2024-05-03 17:39:22 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay@gmail.com> | 2024-05-03 17:39:22 +0900 |
| commit | ee9e9774f03f99a313d796d8c73bf8c7a302b500 (patch) | |
| tree | d005e40a6da4e6e2544f23cf582445fd0f3f4953 | |
| parent | eaf1345b71ef2f50555e2f2bdc26c2a81a565211 (diff) | |
Returning module after merging PR#152
| -rw-r--r-- | config/waybar/modules | 730 |
1 files changed, 730 insertions, 0 deletions
diff --git a/config/waybar/modules b/config/waybar/modules new file mode 100644 index 00000000..fed721be --- /dev/null +++ b/config/waybar/modules @@ -0,0 +1,730 @@ +//* ---- ๐ซ https://github.com/JaKooLit ๐ซ ---- *// + +{ +// HYPRLAND WORKSPACES. CHOOSE as desired and place on waybar configs +// CIRCLES Style +"hyprland/workspaces": { + "active-only": false, + "all-outputs": true, + "format": "{icon}", + "show-special": false, + "on-click": "activate", + "on-scroll-up": "hyprctl dispatch workspace e+1", + "on-scroll-down": "hyprctl dispatch workspace e-1", + "persistent-workspaces": { + "1": [], + "2": [], + "3": [], + "4": [], + "5": [], + }, + "format-icons": { + "active": "๏", + "default": "๏", + }, +}, + +// ROMAN Numerals style +"hyprland/workspaces#roman": { + "active-only":false, + "all-outputs": true, + "format": "{icon}", + "show-special": false, + "on-click": "activate", + "on-scroll-up": "hyprctl dispatch workspace e+1", + "on-scroll-down": "hyprctl dispatch workspace e-1", + "persistent-workspaces":{ + "1": [], + "2": [], + "3": [], + "4": [], + "5": [], + }, + "format-icons": { + "1": "I", + "2": "II", + "3": "III", + "4": "IV", + "5": "V", + "6": "VI", + "7": "VII", + "8": "VIII", + "9": "IX", + "10": "X", + + }, +}, + +// PACMAN Style + "hyprland/workspaces#pacman": { + "active-only":false, + "all-outputs": true, + "format": "{icon}", + "on-click": "activate", + "on-scroll-up": "hyprctl dispatch workspace e+1", + "on-scroll-down": "hyprctl dispatch workspace e-1", + "show-special": false, + "persistent-workspaces":{ + "1": [], + "2": [], + "3": [], + "4": [], + "5": [], + }, + "format": "{icon}", + "format-icons": { + "active": " ๓ฐฎฏ ", + "default": "๓ฐ ", + "persistent":"๓ฐ ", + }, +}, + +"hyprland/workspaces#kanji": { + "disable-scroll": true, + "all-outputs": true, + "format": "{icon}", + "persistent-workspaces": { + "1": [], + "2": [], + "3": [], + "4": [], + "5": [], + }, + "format-icons": { + "1": "ไธ", + "2": "ไบ", + "3": "ไธ", + "4": "ๅ", + "5": "ไบ", + "6": "ๅ
ญ", + "7": "ไธ", + "8": "ๅ
ซ", + "9": "ไน", + "10": "ๅ", + } +}, + +// NUMBERS and ICONS style +"hyprland/workspaces#4": { + "format": "{name}", + "format": " {name} {icon} ", + //"format": " {icon} ", + "show-special": false, + "on-click": "activate", + "on-scroll-up": "hyprctl dispatch workspace e+1", + "on-scroll-down": "hyprctl dispatch workspace e-1", + "all-outputs": true, + "sort-by-number": true, + "format-icons": { + "1": "๏ ", + "2": "๏ฉ ", + "3": "๏ผ ", + "4": "๏ฐ ", + "5": "๏ถ ", + "6": "๏ณ ", + "7": "๏", + "8": "๏ ", + "9": "๏", + "10": "10", + "focused": "๏", + "default": "๏", + }, +}, + +// GROUP + +"group/motherboard": { + "orientation": "horizontal", + "modules": [ + "cpu", + "memory", + "temperature", + "disk", + ] +}, + +"group/laptop": { + "orientation": "horizontal", + "modules": [ + "backlight", + "battery", + ] +}, + +"group/audio": { + "orientation": "horizontal", + "modules": [ + "pulseaudio", + "pulseaudio#microphone", + ] +}, + +"backlight": { + "interval": 2, + "align": 0, + "rotate": 0, + //"format": "{icon} {percent}%", + "format-icons": ["๎ ", "๎ ", "๎ ", "๓ฐ ", "๓ฐ ", "๓ฐ ", "๓ฐ "], + "format": "{icon}", + //"format-icons": ["๎","๎","๎","๎","๎","๎","๎","๎","๎","๎","๎","๎ ","๎ก","๎ข","๎ฃ"], + "tooltip-format": "backlight {percent}%", + "icon-size": 10, + "on-click": "", + "on-click-middle": "", + "on-click-right": "", + "on-update": "", + "on-scroll-up": "~/.config/hypr/scripts/Brightness.sh --inc", + "on-scroll-down": "~/.config/hypr/scripts/Brightness.sh --dec", + "smooth-scrolling-threshold": 1, +}, + +"battery": { + //"interval": 5, + "align": 0, + "rotate": 0, + //"bat": "BAT1", + //"adapter": "ACAD", + "full-at": 100, + "design-capacity": false, + "states": { + "good": 95, + "warning": 30, + "critical": 15 + }, + "format": "{icon} {capacity}%", + "format-charging": "๏ง{capacity}%", + "format-plugged": "๓ฑ {capacity}%", + "format-alt-click": "click", + "format-full": "{icon} Full", + "format-alt": "{icon} {time}", + "format-icons": ["๓ฐ", "๓ฐบ", "๓ฐป", "๓ฐผ", "๓ฐฝ", "๓ฐพ", "๓ฐฟ", "๓ฐ", "๓ฐ", "๓ฐ", "๓ฐน"], + "format-time": "{H}h {M}min", + "tooltip": true, + "tooltip-format": "{timeTo} {power}w", + "on-click-middle": "~/.config/hypr/scripts/ChangeBlur.sh", + "on-click-right": "~/.config/hypr/scripts/Wlogout.sh", +}, + +"bluetooth": { + "format": "๏", + "format-disabled": "๓ฐณ", + "format-connected": "๓ฐฑ {num_connections}", + "tooltip-format": "๏ {device_alias}", + "tooltip-format-connected": "{device_enumerate}", + "tooltip-format-enumerate-connected": "๏ {device_alias} ๓ฐ{device_battery_percentage}%", + "tooltip": true, + "on-click": "blueman-manager", +}, + +"clock": { + "interval": 1, + //"format": "๏ {:%I:%M %p}", // AM PM format + "format": "๏ {:%H:%M:%S}", + "format-alt": "๏ {:%H:%M ๏ณ %Y, %d %B, %A}", + "tooltip-format": "<tt><small>{calendar}</small></tt>", + "calendar": { + "mode" : "year", + "mode-mon-col" : 3, + "weeks-pos" : "right", + "on-scroll" : 1, + "format": { + "months": "<span color='#ffead3'><b>{}</b></span>", + "days": "<span color='#ecc6d9'><b>{}</b></span>", + "weeks": "<span color='#99ffdd'><b>W{}</b></span>", + "weekdays": "<span color='#ffcc66'><b>{}</b></span>", + "today": "<span color='#ff6699'><b><u>{}</u></b></span>" + } + } + }, + "actions": { + "on-click-right": "mode", + "on-click-forward": "tz_up", + "on-click-backward": "tz_down", + "on-scroll-up": "shift_up", + "on-scroll-down": "shift_down" +}, + +"cpu": { + "format": "{usage}% ๓ฐ", + "interval": 1, + "format-alt-click": "click", + "format-alt": "{icon0}{icon1}{icon2}{icon3} {usage:>2}% ๓ฐ", + "format-icons": ["โ", "โ", "โ", "โ", "โ
", "โ", "โ", "โ"], + "on-click-right": "gnome-system-monitor", +}, + +"disk": { + "interval": 30, + //"format": "๓ฐ", + "path": "/", + //"format-alt-click": "click", + "format": "{percentage_used}% ๓ฐ", + //"tooltip": true, + "tooltip-format": "{used} used out of {total} on {path} ({percentage_used}%)", +}, + +"hyprland/language": { + "format": "Lang: {}", + "format-en": "US", + "format-tr": "Korea", + "keyboard-name": "at-translated-set-2-keyboard", + "on-click": "hyprctl switchxkblayout $SET_KB next" +}, + +"hyprland/submap": { + "format": "<span style=\"italic\">๏ {}</span>", // Icon: expand-arrows-alt + "tooltip": false, +}, + +"hyprland/window": { + "format": "{}", + "max-length": 40, + "separate-outputs": true, + "offscreen-css" : true, + "offscreen-css-text": "(inactive)", + "rewrite": { + "(.*) โ Mozilla Firefox": "๏ฉ $1", + "(.*) - fish": "> [$1]", + "(.*) - zsh": "> [$1]", + "(.*) - kitty": "> [$1]", + }, +}, + +"idle_inhibitor": { + "format": "{icon}", + "format-icons": { + "activated": "๏
", + "deactivated": "๏ ", + } +}, + +"keyboard-state": { + //"numlock": true, + "capslock": true, + "format": { + "numlock": "N {icon}", + "capslock":"๓ฐช {icon}", + }, + "format-icons": { + "locked": "๏ฃ", + "unlocked": "๏" + }, +}, + +"memory": { + "interval": 10, + "format": "{used:0.1f}G ๓ฐพ", + "format-alt": "{percentage}% ๓ฐพ", + "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'" +}, + +"mpris": { + "interval": 10, + "format": "{player_icon} ", + "format-paused": "{status_icon} <i>{dynamic}</i>", + "on-click-middle": "playerctl play-pause", + "on-click": "playerctl previous", + "on-click-right": "playerctl next", + "scroll-step": 5.0, + "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc", + "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec", + "smooth-scrolling-threshold": 1, + "player-icons": { + "chromium": "๏จ", + "default": "๏", + "firefox": "๏ฉ", + "kdeconnect": "๏", + "mopidy": "๏", + "mpv": "๓ฐน", + "spotify": "๏ผ", + "vlc": "๓ฐผ", + }, + "status-icons": { + "paused": "๓ฐ", + "playing": "๏", + "stopped": "๏", + }, + // "ignored-players": ["firefox"] + "max-length": 30, +}, + +"network": { + "format": "{ifname}", + "format-wifi": "{icon}", + "format-ethernet": "๓ฐ", + "format-disconnected": "๓ฐ", + "tooltip-format": "{ipaddr} ๏น {bandwidthUpBytes} ๏บ {bandwidthDownBytes}", + "format-linked": "๓ฐ {ifname} (No IP)", + "tooltip-format-wifi": "{essid} {icon} {signalStrength}%", + "tooltip-format-ethernet": "{ifname} ๓ฐ", + "tooltip-format-disconnected": "๓ฐ Disconnected", + "max-length": 50, + "format-icons": ["๓ฐคฏ","๓ฐค","๓ฐคข","๓ฐคฅ","๓ฐคจ"] +}, + +"network#speed": { + "interval": 1, + "format": "{ifname}", + "format-wifi": "{icon} ๏น {bandwidthUpBytes} ๏บ {bandwidthDownBytes}", + "format-ethernet": "๓ฐ ๏น {bandwidthUpBytes} ๏บ {bandwidthDownBytes}", + "format-disconnected": "๓ฐ", + "tooltip-format": "{ipaddr}", + "format-linked": "๓ฐ {ifname} (No IP)", + "tooltip-format-wifi": "{essid} {icon} {signalStrength}%", + "tooltip-format-ethernet": "{ifname} ๓ฐ", + "tooltip-format-disconnected": "๓ฐ Disconnected", + "max-length": 50, + "format-icons": ["๓ฐคฏ","๓ฐค","๓ฐคข","๓ฐคฅ","๓ฐคจ"] +}, + +"pulseaudio": { + "format": "{icon} {volume}%", + "format-bluetooth": "{icon} ๓ฐฐ {volume}%", + "format-muted": "๓ฐ", + "format-icons": { + "headphone": "๏ฅ", + "hands-free": "๏ฅ", + "headset": "๏ฅ", + "phone": "๏", + "portable": "๏", + "car": "๏น", + "default": ["๏ฆ", "๏ง", "๓ฐพ", "๏จ"], + "ignored-sinks": ["Easy Effects Sink"], + }, + "scroll-step": 5.0, + "on-click": "~/.config/hypr/scripts/Volume.sh --toggle", + "on-click-right": "pavucontrol -t 3", + "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc", + "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec", + "tooltip-format": "{icon} {desc} | {volume}%", + "smooth-scrolling-threshold": 1, +}, + +"pulseaudio#microphone": { + "format": "{format_source}", + "format-source": "๏ฐ {volume}%", + "format-source-muted": "๏ฑ", + "on-click": "~/.config/hypr/scripts/Volume.sh --toggle-mic", + "on-click-right": "pavucontrol -t 4", + "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --mic-inc", + "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --mic-dec", + "tooltip-format": "{source_desc} | {source_volume}%", + "scroll-step": 5, +}, + +"temperature": { + "interval": 10, + "tooltip": true, + "hwmon-path": ["/sys/class/hwmon/hwmon1/temp1_input", "/sys/class/thermal/thermal_zone0/temp"], + //"thermal-zone": 0, + "critical-threshold": 82, + "format-critical": "{temperatureC}ยฐC {icon}", + "format": "{temperatureC}ยฐC {icon}", + "format-icons": ["๓ฐธ"], + "on-click-right": "kitty --title nvtop sh -c 'nvtop'" +}, + +"tray": { + "icon-size": 15, + "spacing": 8, +}, + +"wireplumber": { + "format": "{icon} {volume} %", + "format-muted": "๏ฆ Mute", + "on-click": "~/.config/hypr/scripts/Volume.sh --toggle", + "on-click-right": "pavucontrol -t 3", + "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc", + "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec", + "format-icons": ["๏ฆ", "๏ง", "๓ฐพ", "๏จ"], +}, + +"wlr/taskbar": { + "format": "{icon} {name} ", + "icon-size": 15, + "all-outputs": false, + "tooltip-format": "{title}", + "on-click": "activate", + "on-click-middle": "close", + "ignore-list": [ + "wofi", + "rofi", + ] +}, + +"custom/cycle_wall":{ + "format":"๏พ ", + "exec": "echo ; echo ๓ฐธ wallpaper select", + "on-click": "~/.config/hypr/scripts/WallpaperSelect.sh", + "on-click-right": "~/.config/hypr/scripts/Wallpaper.sh", + "on-click-middle": "~/.config/hypr/scripts/WaybarStyles.sh", + "interval" : 86400, // once every day + "tooltip": true, +}, + +"custom/keybinds": { + "format":"๓ฐบ HINT!", + "exec": "echo ; echo ๏ Key Hints SUPER H", + "on-click": "~/.config/hypr/scripts/KeyHints.sh", + "interval" : 86400, // once every day + "tooltip": true, +}, + +"custom/keyboard": { + "exec": "cat ~/.cache/kb_layout", + "interval": 1, + "format": "๏ {}", + "on-click": "~/.config/hypr/scripts/SwitchKeyboardLayout.sh", + }, + +"custom/light_dark": { + "format": "๏{}", + "exec": "echo ; echo ๓ฐ Dark-Light switcher", + "on-click": "~/.config/hypr/scripts/DarkLight.sh", + "on-click-right": "~/.config/hypr/scripts/WaybarStyles.sh", + "on-click-middle": "~/.config/hypr/scripts/Wallpaper.sh", + "interval" : 86400, // once every day + "tooltip": true +}, + +"custom/lock": { + "format": "๓ฐพ{}", + "exec": "echo ; echo ๓ฐท screen lock", + "interval" : 86400, // once every day + "tooltip": true, + "on-click": "~/.config/hypr/scripts/LockScreen.sh", +}, + +"custom/menu": { + "format": "๏
ผ{}", + "exec": "echo ; echo ๓ฑ app launcher", + "interval" : 86400, // once every day + "tooltip": true, + "on-click": "pkill rofi || rofi -show drun -modi run,drun,filebrowser,window", + "on-click-middle": "~/.config/hypr/scripts/WallpaperSelect.sh", + "on-click-right": "~/.config/hypr/scripts/WaybarLayout.sh", +}, + +// This is a custom cava visualizer +"custom/cava_mviz": { + "exec": "~/.config/hypr/scripts/WaybarCava.sh", + "format": "{}" +}, + +"custom/playerctl": { + "format": "<span>{}</span>", + "return-type": "json", + "max-length": 35, + "exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} ~ {{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": "~/.config/hypr/scripts/Volume.sh --inc", + "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec", + "smooth-scrolling-threshold": 1, +}, + +"custom/power": { + "format": "โป ", + "exec": "echo ; echo ๓ฐก power // blur", + "on-click": "~/.config/hypr/scripts/Wlogout.sh", + "on-click-right": "~/.config/hypr/scripts/ChangeBlur.sh", + "interval" : 86400, // once every day + "tooltip": true, +}, + +"custom/swaync": { + "tooltip":true, + "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 +"custom/updater":{ + "format": "๏ {}", + "exec": "checkupdates | wc -l", + "exec-if": "[[ $(checkupdates | wc -l) ]]", + "interval": 15, + "on-click": "kitty -T update paru -Syu || yay -Syu && notify-send 'The system has been updated'", +}, + +"custom/weather": { + "format": "{}", + "format-alt": "{alt}: {}", + "format-alt-click": "click", + "interval": 3600, + "return-type": "json", + "exec": "~/.config/hypr/UserScripts/Weather.sh", + //"exec": "~/.config/hypr/UserScripts/Weather.py", + "exec-if": "ping wttr.in -c1", + "tooltip" : true, +}, + + +// 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, + "align": 0.35, + "rotate": 1, + "format": "{icon}", + //"format-icons": ["๓ฐ", "๓ฐ", "๓ฐ "], + "format-icons": ["๎","๎","๎","๎","๎","๎","๎","๎","๎","๎","๎","๎ ","๎ก","๎ข","๎ฃ"], + "on-click": "", + "on-click-middle": "", + "on-click-right": "", + "on-update": "", + "on-scroll-up": "~/.config/hypr/scripts/Brightness.sh --inc", + "on-scroll-down": "~/.config/hypr/scripts/Brightness.sh --dec", + "smooth-scrolling-threshold": 1, + "tooltip-format": "{percent}%", +}, + +"clock#vertical": { + "format": "๏\n{:%H\n%M\n%S\n\n๏ณ \n%d\n%m\n%y}", + "interval": 1, + //"format": "๏\n{:%I\n%M\n%p\n\n๏ณ \n%d\n%m\n%y}", + "tooltip": true, + "tooltip-format": "{calendar}", + "calendar": { + "mode": "year", + "mode-mon-col": 3, + "format": { + "today": "<span color='#0dbc79'>{}</span>", + } + } +}, + +"cpu#vertical": { + "format": "๓ฐ\n{usage}%", + "interval": 1, + "on-click-right": "gnome-system-monitor", +}, + +"memory#vertical": { + "interval": 10, + "format": "๓ฐพ\n{percentage}%", + "format-alt": "๓ฐพ\n{used:0.1f}G", + "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'", +}, + +"pulseaudio#vertical": { + "format": "{icon}", + "format-bluetooth": "๓ฐฐ", + "format-muted": "๓ฐ", + "format-icons": { + "headphone": "๏ฅ", + "hands-free": "๏ฅ", + "headset": "๏ฅ", + "phone": "๏", + "portable": "๏", + "car": "๏น", + "default": ["๏ฆ", "๏ง", "๓ฐพ", "๏จ"], + "tooltip-format": "{icon} {desc} | {volume}%", + "ignored-sinks": ["Easy Effects Sink"], + }, + "scroll-step": 5.0, + "on-click": "~/.config/hypr/scripts/Volume.sh --toggle", + "on-click-right": "pavucontrol -t 3", + "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc", + "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec", + "tooltip-format": "{icon} {desc} | {volume}%", + "smooth-scrolling-threshold": 1, +}, + +"pulseaudio#microphone_vertical": { + "format": "{format_source}", + "format-source": "๓ฐฌ", + "format-source-muted": "๓ฐญ", + "on-click-right": "pavucontrol", + "on-click": "~/.config/hypr/scripts/Volume.sh --toggle-mic", + "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --mic-inc", + "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --mic-dec", + "max-volume": 100, + "tooltip": true, + "tooltip-format": "{source_desc} | {source_volume}%", +}, + +"temperature#vertical": { + "interval": 10, + "tooltip": true, + "hwmon-path": ["/sys/class/hwmon/hwmon1/temp1_input", "/sys/class/thermal/thermal_zone0/temp"], + //"thermal-zone": 0, + "critical-threshold": 80, + "format-critical": "{icon}\n{temperatureC}ยฐC", + "format": " {icon}", + "format-icons": ["๓ฐธ"], + "on-click-right": "kitty --title nvtop sh -c 'nvtop'" +}, + +"custom/power_vertical": { + "format": "โป", + "exec": "echo ; echo ๓ฐก power // blur", + "on-click": "~/.config/hypr/scripts/Wlogout.sh", + "on-click-right": "~/.config/hypr/scripts/ChangeBlur.sh", + "interval" : 86400, // once every day + "tooltip": true, +}, + +} + + |
