From c2fe9a6b1f39f0c326ba9d2c8b0fecf385ac4c22 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 11 Sep 2024 23:54:14 +0900 Subject: Separated waybar workspaces modules to "shorten" a bit the main waybar modules file --- config/waybar/Modules | 683 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 683 insertions(+) create mode 100644 config/waybar/Modules (limited to 'config/waybar/Modules') diff --git a/config/waybar/Modules b/config/waybar/Modules new file mode 100644 index 00000000..0b8b6da2 --- /dev/null +++ b/config/waybar/Modules @@ -0,0 +1,683 @@ +//* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- *// +/* Waybar Modules */ + +{ + +/* NOTE: hyprland-workspaces on a separate file */ +// Weather and 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": "~/.config/hypr/UserScripts/Weather.sh", + //"exec": "~/.config/hypr/UserScripts/Weather.py", + "exec-if": "ping wttr.in -c1", + "tooltip": true, +}, +"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'" +}, +"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'" +}, + + +// 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, + "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, +}, +"backlight#2": { + "device": "intel_backlight", + "format": "{icon} {percent}%", + "format-icons": ["๏†…", "๏„‘"] +}, +"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}", // 24H + "format-alt": "๏€— {:%H:%M ๏ณ %Y, %d %B, %A}", + "tooltip-format": "{calendar}", + "calendar": { + "mode": "year", + "mode-mon-col": 3, + "weeks-pos": "right", + "on-scroll": 1, + "format": { + "months": "{}", + "days": "{}", + "weeks": "W{}", + "weekdays": "{}", + "today": "{}" + } + } +}, +"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" +}, +"clock#2": { + //"format": "๏€— {:%I:%M %p}", // AM PM format + "format": "๏€— {:%H:%M}", // 24H + "format-alt": "{:%A | %H:%M | %e %B}", + "tooltip-format": "{:%Y %B}\n{calendar}" +}, +"clock#3": { + //"format": "{:%I:%M %p - %d/%b}", //for AM/PM + "format": "{:%H:%M - %d/%b}", // 24H + "tooltip": false +}, +"clock#4": { + "interval": 60, + //"format": "{:%B | %a %d, %Y | %I:%M %p}", // AM PM format + "format": "{:%B | %a %d, %Y | %H:%M}", // 24H + "format-alt": "{:%a %b %d, %G}", + "tooltip-format": "{:%B %Y}\n{calendar}", +}, +"clock#5": { + //"format": "{:%A, %I:%M %P}", // AM PM format + "format": "{:%a %d | %H:%M}", // 24H + "format-alt": "{:%A, %d %B, %Y (%R)}" +}, +"cpu": { + "format": "{usage}% ๓ฐ›", + "interval": 1, + "min-length": 5, + "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": "๏Œž {}", // Icon: expand-arrows-alt + "tooltip": false, +}, +"hyprland/window": { + "format": "{}", + "max-length": 20, + "separate-outputs": true, + "offscreen-css": true, + "offscreen-css-text": "(inactive)", + "rewrite": { + "(.*) โ€” Mozilla Firefox": "๏‰ฉ $1", + "(.*) - fish": "> [$1]", + "(.*) - zsh": "> [$1]", + "(.*) - $term": "> [$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} {dynamic}", + "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} ๏„น {bandwidthUpBits} ๏„บ {bandwidthDownBits}", + "format-linked": "๓ฐˆ {ifname} (No IP)", + "tooltip-format-wifi": "{essid} {icon} {signalStrength}%", + "tooltip-format-ethernet": "{ifname} ๓ฐŒ˜", + "tooltip-format-disconnected": "๓ฐŒ™ Disconnected", + "max-length": 30, + "format-icons": [ + "๓ฐคฏ", "๓ฐคŸ", "๓ฐคข", "๓ฐคฅ", "๓ฐคจ" + ], + "on-click-right": "kitty nmtui" +}, +"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", + "min-length": 24, + "max-length": 24, + "format-icons": [ + "๓ฐคฏ", "๓ฐคŸ", "๓ฐคข", "๓ฐคฅ", "๓ฐคจ" + ] +}, +"power-profiles-daemon": { + "format": "{icon}", + "tooltip-format": "Power profile: {profile}\nDriver: {driver}", + "tooltip": true, + "format-icons": { + "default": "๏ƒง", + "performance": "๏ƒง", + "balanced": "๏‰Ž", + "power-saver": "๏ฌ" + } +}, +"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#1": { + "format": "{icon} {volume}%", + "format-bluetooth": "{icon}๏Š” {volume}%", + "format-bluetooth-muted": "๏šฉ {icon}๏Š”", + "format-muted": "๓ฐธˆ", + "format-icons": { + "headphone": "๏–", + "hands-free": "๏€ฅ", + "headset": "๏–", + "phone": "๏‚•", + "portable": "๏‚•", + "car": "๏†น", + "default": ["๏€ฆ", "๏€ง", "๏€จ"] + }, + "on-click": "pamixer --toggle-mute", + "on-click-right": "pavucontrol -t 3", + "tooltip": true, + "tooltip-format": "{icon} {desc} | {volume}%", +}, +"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, +}, +"tray": { + "icon-size": 20, + "spacing": 4, +}, +"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": 16, + "all-outputs": false, + "tooltip-format": "{title}", + "on-click": "activate", + "on-click-middle": "close", + "ignore-list": [ + "wofi", + "rofi", + "kitty", + "kitty-dropterm" + ], +}, +"custom/cycle_wall": { + "format": "๏€พ ", + "on-click": "~/.config/hypr/UserScripts/WallpaperSelect.sh", + "on-click-right": "~/.config/hypr/UserScripts/WallpaperRandom.sh", + "on-click-middle": "~/.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": "~/.config/hypr/scripts/KeyHints.sh", + "tooltip": true, + "tooltip-format": "๓ฑงฃ Quick Tips", +}, +"custom/keyboard": { + "exec": "cat ~/.cache/kb_layout", + "interval": 1, + "format": "๏„œ {}", + "on-click": "~/.config/hypr/scripts/SwitchKeyboardLayout.sh", +}, +"custom/light_dark": { + "format": "๓ฐ”Ž", + "on-click": "~/.config/hypr/scripts/DarkLight.sh", + "on-click-right": "~/.config/hypr/scripts/WaybarStyles.sh", + "on-click-middle": "~/.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": "~/.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": "~/.config/hypr/UserScripts/WallpaperSelect.sh", + "on-click-right": "~/.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": "~/.config/hypr/scripts/WaybarCava.sh", + "format": "{}" +}, +"custom/playerctl": { + "format": "{}", + "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": "โป ", + "on-click": "~/.config/hypr/scripts/Wlogout.sh", + "on-click-right": "~/.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": "๏‚ข๏‘„", + "none": "๏‚ข", + "dnd-notification": "๏‡ท๏‘„", + "dnd-none": "๏‡ท", + "inhibited-notification": "๏‚ข๏‘„", + "inhibited-none": "๏‚ข", + "dnd-inhibited-notification": "๏‡ท๏‘„", + "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, + "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": "{}", + } + } +}, +"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}%", +}, +"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, +}, +} -- cgit v1.2.3 From 6c99347a62111f6ca23bf16c841d2cf1673b69b6 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 13 Sep 2024 11:03:20 +0900 Subject: custom idle inhibitor on waybar which kills hypridle when toggled --- config/hypr/scripts/Hypridle.sh | 23 ++++++++++++++++++++++ config/waybar/Modules | 16 ++++++++++++--- config/waybar/ModulesWorkspaces | 1 - config/waybar/configs/[BOT & Left] SouthWest | 2 +- config/waybar/configs/[BOT & Right] SouthEast | 2 +- config/waybar/configs/[BOT] Default | 2 +- config/waybar/configs/[BOT] Simple | 2 +- config/waybar/configs/[BOT] Sleek | 2 +- config/waybar/configs/[TOP & BOT] SummitSplit | 2 +- config/waybar/configs/[TOP & Left] NorthWest | 2 +- config/waybar/configs/[TOP & Right] NorthEast | 2 +- config/waybar/configs/[TOP] Default | 2 +- config/waybar/configs/[TOP] Default_v2 | 2 +- config/waybar/configs/[TOP] Default_v3 | 2 +- config/waybar/configs/[TOP] Everforest | 2 +- config/waybar/configs/[TOP] Minimal - Long | 2 +- config/waybar/configs/[TOP] Simple | 2 +- config/waybar/configs/[TOP] Sleek | 2 +- config/waybar/style/[Black & White] Monochrome.css | 5 ++++- config/waybar/style/[Catppuccin] Latte.css | 7 +++++-- config/waybar/style/[Catppuccin] Mocha.css | 8 +++++--- config/waybar/style/[Colored] Chroma Glow.css | 12 ++++------- config/waybar/style/[Colored] Translucent.css | 8 +++++--- config/waybar/style/[Colorful] Aurora Blossom.css | 5 ++++- config/waybar/style/[Colorful] Aurora.css | 5 ++++- .../waybar/style/[Colorful] Rainbow Spectrum.css | 8 ++++++++ config/waybar/style/[Dark] Golden Noir.css | 7 +++++++ config/waybar/style/[Dark] Half-Moon.css | 7 +++++++ .../waybar/style/[Dark] Latte-Wallust combined.css | 11 +++++++++++ config/waybar/style/[Dark] Purpl.css | 7 +++++++ .../waybar/style/[Dark] Wallust Obsidian Edge.css | 7 +++++++ config/waybar/style/[Extra] Crimson.css | 7 +++++++ config/waybar/style/[Extra] EverForest.css | 4 ++++ config/waybar/style/[Extra] Mauve.css | 7 +++++++ config/waybar/style/[Extra] Rose Pine.css | 7 +++++++ config/waybar/style/[Extra] Simple Pink.css | 7 +++++++ .../waybar/style/[Light] Monochrome Contrast.css | 5 ++++- config/waybar/style/[Light] Obsidian Glow.css | 7 +++++++ config/waybar/style/[Retro] Simple Style.css | 7 +++++++ .../waybar/style/[Transparent] Crystal Clear.css | 8 ++++++++ .../[Wallust Bordered] Chroma Fusion Edge.css | 8 ++++++++ .../style/[Wallust Bordered] Chroma Simple.css | 6 ++++-- .../style/[Wallust Transparent] Crystal Clear.css | 7 +++++++ config/waybar/style/[Wallust] Box type.css | 7 +++++++ config/waybar/style/[Wallust] Chroma Edge.css | 6 ++++-- config/waybar/style/[Wallust] Chroma Fusion.css | 8 ++++++++ config/waybar/style/[Wallust] Chroma Tally.css | 8 ++++++++ config/waybar/style/[Wallust] Colored.css | 7 +++++++ config/waybar/style/[Wallust] Simple.css | 5 ++++- copy.sh | 4 ++-- 50 files changed, 246 insertions(+), 46 deletions(-) create mode 100755 config/hypr/scripts/Hypridle.sh (limited to 'config/waybar/Modules') diff --git a/config/hypr/scripts/Hypridle.sh b/config/hypr/scripts/Hypridle.sh new file mode 100755 index 00000000..56176716 --- /dev/null +++ b/config/hypr/scripts/Hypridle.sh @@ -0,0 +1,23 @@ +#!/bin/bash +# /* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ ## +# This is for custom version of waybar idle_inhibitor which activates / deactivates hypridle instead + +PROCESS="hypridle" + +if [[ "$1" == "status" ]]; then + sleep 1 + if pgrep -x "$PROCESS" >/dev/null; then + echo '{"text": "RUNNING", "class": "active", "tooltip": "idle_inhibitor NOT ACTIVE\nLeft Click: Activate\nRight Click: Lock Screen"}' + else + echo '{"text": "NOT RUNNING", "class": "notactive", "tooltip": "idle_inhibitor is ACTIVE\nLeft Click: Deactivate\nRight Click: Lock Screen"}' + fi +elif [[ "$1" == "toggle" ]]; then + if pgrep -x "$PROCESS" >/dev/null; then + pkill "$PROCESS" + else + "$PROCESS" + fi +else + echo "Usage: $0 {status|toggle}" + exit 1 +fi diff --git a/config/waybar/Modules b/config/waybar/Modules index 0b8b6da2..856f9dc2 100644 --- a/config/waybar/Modules +++ b/config/waybar/Modules @@ -2,7 +2,6 @@ /* Waybar Modules */ { - /* NOTE: hyprland-workspaces on a separate file */ // Weather and Temperature Modules as this is most like to change always. // Result is of course easier to edit @@ -21,7 +20,7 @@ "interval": 10, "tooltip": true, "hwmon-path": [ - "/sys/class/hwmon/hwmon1/temp1_input", + "/sys/class/hwmon/hwmon1/temp2_input", "/sys/class/thermal/thermal_zone0/temp" ], //"thermal-zone": 0, @@ -37,7 +36,7 @@ "interval": 10, "tooltip": true, "hwmon-path": [ - "/sys/class/hwmon/hwmon1/temp1_input", + "/sys/class/hwmon/hwmon1/temp2_input", "/sys/class/thermal/thermal_zone0/temp" ], //"thermal-zone": 0, @@ -469,6 +468,17 @@ "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 ~/.cache/kb_layout", "interval": 1, diff --git a/config/waybar/ModulesWorkspaces b/config/waybar/ModulesWorkspaces index e7fc51c9..03ba1bd1 100644 --- a/config/waybar/ModulesWorkspaces +++ b/config/waybar/ModulesWorkspaces @@ -2,7 +2,6 @@ /* Waybar Workspaces modules */ /* Generally, this is a potential expanding of choices for hyprland/workspace */ - { // HYPRLAND WORKSPACES. CHOOSE as desired and place on waybar configs diff --git a/config/waybar/configs/[BOT & Left] SouthWest b/config/waybar/configs/[BOT & Left] SouthWest index 87be19f0..8733cf40 100644 --- a/config/waybar/configs/[BOT & Left] SouthWest +++ b/config/waybar/configs/[BOT & Left] SouthWest @@ -65,7 +65,7 @@ "modules-left": [ "custom/lock", - "idle_inhibitor", + "custom/hypridle", ], "modules-center": [ diff --git a/config/waybar/configs/[BOT & Right] SouthEast b/config/waybar/configs/[BOT & Right] SouthEast index db367b9c..92247726 100644 --- a/config/waybar/configs/[BOT & Right] SouthEast +++ b/config/waybar/configs/[BOT & Right] SouthEast @@ -65,7 +65,7 @@ "modules-left": [ "custom/lock", - "idle_inhibitor", + "custom/hypridle", ], "modules-center": [ diff --git a/config/waybar/configs/[BOT] Default b/config/waybar/configs/[BOT] Default index d2638258..a6bf5e7b 100644 --- a/config/waybar/configs/[BOT] Default +++ b/config/waybar/configs/[BOT] Default @@ -35,7 +35,7 @@ "modules-center": [ "custom/menu", "custom/separator#dot-line", - "idle_inhibitor", + "custom/hypridle", "custom/separator#dot-line", "clock", "custom/separator#dot-line", diff --git a/config/waybar/configs/[BOT] Simple b/config/waybar/configs/[BOT] Simple index ef5c30eb..76d20698 100644 --- a/config/waybar/configs/[BOT] Simple +++ b/config/waybar/configs/[BOT] Simple @@ -17,7 +17,7 @@ "margin-top": 2, "modules-left": [ - "idle_inhibitor", + "custom/hypridle", "group/mobo_drawer", "hyprland/workspaces#rw", "tray", diff --git a/config/waybar/configs/[BOT] Sleek b/config/waybar/configs/[BOT] Sleek index c79fd71f..277551d0 100644 --- a/config/waybar/configs/[BOT] Sleek +++ b/config/waybar/configs/[BOT] Sleek @@ -24,7 +24,7 @@ ], "modules-center": [ - "idle_inhibitor", + "custom/hypridle", "custom/separator#blank", "clock", "custom/separator#blank", diff --git a/config/waybar/configs/[TOP & BOT] SummitSplit b/config/waybar/configs/[TOP & BOT] SummitSplit index 3d419c22..0504fdee 100644 --- a/config/waybar/configs/[TOP & BOT] SummitSplit +++ b/config/waybar/configs/[TOP & BOT] SummitSplit @@ -27,7 +27,7 @@ ], "modules-center": [ - "idle_inhibitor", + "custom/hypridle", "clock", "custom/light_dark", ], diff --git a/config/waybar/configs/[TOP & Left] NorthWest b/config/waybar/configs/[TOP & Left] NorthWest index dd03fd92..3652d149 100644 --- a/config/waybar/configs/[TOP & Left] NorthWest +++ b/config/waybar/configs/[TOP & Left] NorthWest @@ -61,7 +61,7 @@ "modules-left": [ "custom/lock", - "idle_inhibitor", + "custom/hypridle", ], "modules-center": [ diff --git a/config/waybar/configs/[TOP & Right] NorthEast b/config/waybar/configs/[TOP & Right] NorthEast index 442c7886..6347945d 100644 --- a/config/waybar/configs/[TOP & Right] NorthEast +++ b/config/waybar/configs/[TOP & Right] NorthEast @@ -62,7 +62,7 @@ "modules-left": [ "custom/lock", - "idle_inhibitor", + "custom/hypridle", ], "modules-center": [ diff --git a/config/waybar/configs/[TOP] Default b/config/waybar/configs/[TOP] Default index 747fd9fe..db4a953f 100644 --- a/config/waybar/configs/[TOP] Default +++ b/config/waybar/configs/[TOP] Default @@ -35,7 +35,7 @@ "modules-center": [ "custom/menu", "custom/separator#dot-line", - "idle_inhibitor", + "custom/hypridle", "custom/separator#dot-line", "clock", "custom/separator#dot-line", diff --git a/config/waybar/configs/[TOP] Default_v2 b/config/waybar/configs/[TOP] Default_v2 index 8a0b7a29..ff2a7077 100644 --- a/config/waybar/configs/[TOP] Default_v2 +++ b/config/waybar/configs/[TOP] Default_v2 @@ -35,7 +35,7 @@ "custom/separator#line", "hyprland/workspaces#roman", "custom/separator#dot-line", - "idle_inhibitor", + "custom/hypridle", "custom/hint", ], diff --git a/config/waybar/configs/[TOP] Default_v3 b/config/waybar/configs/[TOP] Default_v3 index 0575aba1..4a4a00f9 100644 --- a/config/waybar/configs/[TOP] Default_v3 +++ b/config/waybar/configs/[TOP] Default_v3 @@ -37,7 +37,7 @@ "custom/separator#line", "hyprland/workspaces#kanji", "custom/separator#dot-line", - "idle_inhibitor", + "custom/hypridle", "custom/hint", ], diff --git a/config/waybar/configs/[TOP] Everforest b/config/waybar/configs/[TOP] Everforest index 67cf09c4..67b09eff 100644 --- a/config/waybar/configs/[TOP] Everforest +++ b/config/waybar/configs/[TOP] Everforest @@ -30,7 +30,7 @@ ], "modules-center": [ "clock#forest", - "idle_inhibitor", + "custom/hypridle", ], "modules-right": [ "cpu#forest", diff --git a/config/waybar/configs/[TOP] Minimal - Long b/config/waybar/configs/[TOP] Minimal - Long index e5ff1e28..8ea6e306 100644 --- a/config/waybar/configs/[TOP] Minimal - Long +++ b/config/waybar/configs/[TOP] Minimal - Long @@ -30,7 +30,7 @@ ], "modules-center": [ "clock", - "idle_inhibitor", + "custom/hypridle", ], "modules-right": [ "group/mobo_drawer", diff --git a/config/waybar/configs/[TOP] Simple b/config/waybar/configs/[TOP] Simple index fd51a06f..a0a1d28d 100644 --- a/config/waybar/configs/[TOP] Simple +++ b/config/waybar/configs/[TOP] Simple @@ -17,7 +17,7 @@ "margin-top": 2, "modules-left": [ - "idle_inhibitor", + "custom/hypridle", "group/mobo_drawer", "hyprland/workspaces#rw", "tray", diff --git a/config/waybar/configs/[TOP] Sleek b/config/waybar/configs/[TOP] Sleek index 12227bf5..edcf6f49 100644 --- a/config/waybar/configs/[TOP] Sleek +++ b/config/waybar/configs/[TOP] Sleek @@ -23,7 +23,7 @@ ], "modules-center": [ - "idle_inhibitor", + "custom/hypridle", "custom/separator#blank", "clock#3", "custom/separator#blank", diff --git a/config/waybar/style/[Black & White] Monochrome.css b/config/waybar/style/[Black & White] Monochrome.css index 13f6cdf4..a572ab71 100644 --- a/config/waybar/style/[Black & White] Monochrome.css +++ b/config/waybar/style/[Black & White] Monochrome.css @@ -129,6 +129,7 @@ tooltip label{ #custom-backlight, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, @@ -154,9 +155,11 @@ tooltip label{ padding-left: 6px; } /*-----Indicators----*/ +#custom-hypridle.notactive, #idle_inhibitor.activated { - color: #2dcc36; + color: #ffd700; } + #pulseaudio.muted { color: #cc3436; } diff --git a/config/waybar/style/[Catppuccin] Latte.css b/config/waybar/style/[Catppuccin] Latte.css index 92eac7ff..0fc4272e 100644 --- a/config/waybar/style/[Catppuccin] Latte.css +++ b/config/waybar/style/[Catppuccin] Latte.css @@ -100,6 +100,7 @@ window#waybar.empty #window { #custom-backlight, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, @@ -125,8 +126,10 @@ window#waybar.empty #window { padding-left: 6px; } -#idle_inhibitor { - color: @blue; +/*-----Indicators----*/ +#custom-hypridle.notactive, +#idle_inhibitor.activated { + color: #ffd700; } #backlight { diff --git a/config/waybar/style/[Catppuccin] Mocha.css b/config/waybar/style/[Catppuccin] Mocha.css index 98a4240c..17c89f60 100644 --- a/config/waybar/style/[Catppuccin] Mocha.css +++ b/config/waybar/style/[Catppuccin] Mocha.css @@ -120,6 +120,7 @@ window#waybar.empty #window { #custom-backlight, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, @@ -144,9 +145,10 @@ window#waybar.empty #window { padding-right: 6px; padding-left: 6px; } - -#idle_inhibitor { - color: @blue; +/*-----Indicators----*/ +#custom-hypridle.notactive, +#idle_inhibitor.activated { + color: #ffd700; } #bluetooth, diff --git a/config/waybar/style/[Colored] Chroma Glow.css b/config/waybar/style/[Colored] Chroma Glow.css index 05a3013e..8840bfeb 100644 --- a/config/waybar/style/[Colored] Chroma Glow.css +++ b/config/waybar/style/[Colored] Chroma Glow.css @@ -116,6 +116,7 @@ tooltip label{ #custom-backlight, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, @@ -264,15 +265,10 @@ label:focus { /* background-color: #505050; */ } -#idle_inhibitor { - color: #ADD8E6; - /*background-color: #2d3436;*/ -} - +/*-----Indicators----*/ +#custom-hypridle.notactive, #idle_inhibitor.activated { - /*background-color: #ecf0f1;*/ - color: #2dcc36; - /*color: #2d3436;*/ + color: #ffd700; } #mpd { diff --git a/config/waybar/style/[Colored] Translucent.css b/config/waybar/style/[Colored] Translucent.css index 8d6aab16..bd5b5c39 100644 --- a/config/waybar/style/[Colored] Translucent.css +++ b/config/waybar/style/[Colored] Translucent.css @@ -125,6 +125,7 @@ tooltip { #custom-backlight, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, @@ -282,15 +283,16 @@ label:focus { /* background-color: #505050; */ } +#custom-hypridle, #idle_inhibitor { color: #f9e2af; /*background-color: #2d3436;*/ } +/*-----Indicators----*/ +#custom-hypridle.notactive, #idle_inhibitor.activated { - /*background-color: #ecf0f1;*/ - color: #2dcc36; - /*color: #2d3436;*/ + color: #ffd700; } #mpd { diff --git a/config/waybar/style/[Colorful] Aurora Blossom.css b/config/waybar/style/[Colorful] Aurora Blossom.css index e29ab9a7..e39392a5 100644 --- a/config/waybar/style/[Colorful] Aurora Blossom.css +++ b/config/waybar/style/[Colorful] Aurora Blossom.css @@ -118,6 +118,7 @@ tooltip label{ #custom-backlight, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, @@ -146,9 +147,11 @@ tooltip label{ padding: 1px 3px; } /*-----Indicators----*/ +#custom-hypridle.notactive, #idle_inhibitor.activated { - color: #2dcc36; + color: #ffd700; } + #pulseaudio.muted { color: #cc3436; } diff --git a/config/waybar/style/[Colorful] Aurora.css b/config/waybar/style/[Colorful] Aurora.css index 55dffc62..f4fdb6f4 100644 --- a/config/waybar/style/[Colorful] Aurora.css +++ b/config/waybar/style/[Colorful] Aurora.css @@ -107,6 +107,7 @@ tooltip label{ #custom-cava_mviz, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, @@ -153,9 +154,11 @@ tooltip label{ padding-right: 12px; } /*-----Indicators----*/ +#custom-hypridle.notactive, #idle_inhibitor.activated { - color: #2dcc36; + color: #ffd700; } + #pulseaudio.muted { color: #cc3436; } diff --git a/config/waybar/style/[Colorful] Rainbow Spectrum.css b/config/waybar/style/[Colorful] Rainbow Spectrum.css index 03096358..b9b532c0 100644 --- a/config/waybar/style/[Colorful] Rainbow Spectrum.css +++ b/config/waybar/style/[Colorful] Rainbow Spectrum.css @@ -100,6 +100,7 @@ tooltip label{ #custom-backlight, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, @@ -236,10 +237,17 @@ tooltip label{ #custom-power_vertical, #custom-light_dark, +#custom-hypridle, #idle_inhibitor { background-color: #86b4fa; } +/*-----Indicators----*/ +#custom-hypridle.notactive, +#idle_inhibitor.activated { + color: #ffd700; +} + #bluetooth { background-color: #89dceb; } diff --git a/config/waybar/style/[Dark] Golden Noir.css b/config/waybar/style/[Dark] Golden Noir.css index 96ac0b90..fe5fd290 100644 --- a/config/waybar/style/[Dark] Golden Noir.css +++ b/config/waybar/style/[Dark] Golden Noir.css @@ -135,6 +135,7 @@ tooltip { #custom-cava_mviz, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, @@ -171,6 +172,12 @@ tooltip { } } +/*-----Indicators----*/ +#custom-hypridle.notactive, +#idle_inhibitor.activated { + color: #ffd700; +} + #battery.critical:not(.charging) { color: #f53c3c; animation-name: blink; diff --git a/config/waybar/style/[Dark] Half-Moon.css b/config/waybar/style/[Dark] Half-Moon.css index 67cb4f97..9804f455 100644 --- a/config/waybar/style/[Dark] Half-Moon.css +++ b/config/waybar/style/[Dark] Half-Moon.css @@ -124,6 +124,7 @@ color: #F3F4F5; #custom-light_dark, #custom-swaync, +#custom-hypridle, #idle_inhibitor, #clock { color: #B8CC52; @@ -133,6 +134,12 @@ color: #F3F4F5; padding: 2px 15px; } +/*-----Indicators----*/ +#custom-hypridle.notactive, +#idle_inhibitor.activated { + color: #ffd700; +} + #bluetooth { color: blue; background: #0F1419; diff --git a/config/waybar/style/[Dark] Latte-Wallust combined.css b/config/waybar/style/[Dark] Latte-Wallust combined.css index c0cf90a3..bb768c92 100644 --- a/config/waybar/style/[Dark] Latte-Wallust combined.css +++ b/config/waybar/style/[Dark] Latte-Wallust combined.css @@ -169,6 +169,8 @@ tooltip { #custom-keyboard, #custom-light_dark, #custom-lock, +#custom-hint, +#custom-hypridle, #custom-menu, #custom-power_vertical, #custom-power, @@ -340,10 +342,19 @@ tooltip { min-width: 10px; border-radius: 5px; } + +#custom-hypridle, #custom-lock, #idle_inhibitor { color: @teal; } + +/*-----Indicators----*/ +#custom-hypridle.notactive, +#idle_inhibitor.activated { + color: #ffd700; +} + #clock { color: @sapphire; border-radius: 15px; diff --git a/config/waybar/style/[Dark] Purpl.css b/config/waybar/style/[Dark] Purpl.css index ed06d3b5..2f99e43a 100644 --- a/config/waybar/style/[Dark] Purpl.css +++ b/config/waybar/style/[Dark] Purpl.css @@ -133,6 +133,7 @@ tooltip { #custom-cava_mviz, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, @@ -169,6 +170,12 @@ tooltip { } } +/*-----Indicators----*/ +#custom-hypridle.notactive, +#idle_inhibitor.activated { + color: #ffd700; +} + #taskbar button.active { background-color: purple; padding-left: 12px; diff --git a/config/waybar/style/[Dark] Wallust Obsidian Edge.css b/config/waybar/style/[Dark] Wallust Obsidian Edge.css index 06385e44..5ba7c70e 100644 --- a/config/waybar/style/[Dark] Wallust Obsidian Edge.css +++ b/config/waybar/style/[Dark] Wallust Obsidian Edge.css @@ -137,6 +137,7 @@ tooltip label { #custom-cava_mviz, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, @@ -174,6 +175,12 @@ tooltip label { } } +/*-----Indicators----*/ +#custom-hypridle.notactive, +#idle_inhibitor.activated { + color: #ffd700; +} + #battery.critical:not(.charging) { color: #f53c3c; animation-name: blink; diff --git a/config/waybar/style/[Extra] Crimson.css b/config/waybar/style/[Extra] Crimson.css index 89dbb93a..77777472 100644 --- a/config/waybar/style/[Extra] Crimson.css +++ b/config/waybar/style/[Extra] Crimson.css @@ -129,6 +129,7 @@ tooltip { #custom-backlight, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, @@ -164,6 +165,12 @@ tooltip { color: #000000; } } + +/*-----Indicators----*/ +#custom-hypridle.notactive, +#idle_inhibitor.activated { + color: #ffd700; +} #battery.critical:not(.charging) { color: #f53c3c; diff --git a/config/waybar/style/[Extra] EverForest.css b/config/waybar/style/[Extra] EverForest.css index 89a397c2..b7d6e753 100644 --- a/config/waybar/style/[Extra] EverForest.css +++ b/config/waybar/style/[Extra] EverForest.css @@ -219,6 +219,7 @@ window#waybar.empty #window { background-color: @bg0; } +#custom-hypridle, #idle_inhibitor { padding: 0px 5px; border-radius: 5px; @@ -226,6 +227,8 @@ window#waybar.empty #window { background-color: @blue; color: @black; } +/*-----Indicators----*/ +#custom-hypridle.notactive, #idle_inhibitor.activated { background-color: @fg; color: @bg0; @@ -308,6 +311,7 @@ window#waybar.empty #window { #custom-backlight, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, diff --git a/config/waybar/style/[Extra] Mauve.css b/config/waybar/style/[Extra] Mauve.css index 120b5389..916ff140 100644 --- a/config/waybar/style/[Extra] Mauve.css +++ b/config/waybar/style/[Extra] Mauve.css @@ -146,6 +146,7 @@ tooltip { #custom-cava_mviz, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, @@ -183,6 +184,12 @@ tooltip { } } +/*-----Indicators----*/ +#custom-hypridle.notactive, +#idle_inhibitor.activated { + color: #ffd700; +} + #battery.critical:not(.charging) { color: #f53c3c; animation-name: blink; diff --git a/config/waybar/style/[Extra] Rose Pine.css b/config/waybar/style/[Extra] Rose Pine.css index 411c96e5..9ebd46f3 100644 --- a/config/waybar/style/[Extra] Rose Pine.css +++ b/config/waybar/style/[Extra] Rose Pine.css @@ -127,6 +127,7 @@ tooltip { #custom-backlight, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, @@ -165,6 +166,12 @@ tooltip { background-color: red; } +/*-----Indicators----*/ +#custom-hypridle.notactive, +#idle_inhibitor.activated { + color: #ffd700; +} + #backlight { padding-right: 2px; } diff --git a/config/waybar/style/[Extra] Simple Pink.css b/config/waybar/style/[Extra] Simple Pink.css index 45cd0dad..1e006764 100644 --- a/config/waybar/style/[Extra] Simple Pink.css +++ b/config/waybar/style/[Extra] Simple Pink.css @@ -139,6 +139,7 @@ tooltip { #custom-cava_mviz, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, @@ -176,6 +177,12 @@ tooltip { } } +/*-----Indicators----*/ +#custom-hypridle.notactive, +#idle_inhibitor.activated { + color: #ffd700; +} + #taskbar button.active { background-color: pink; padding-left: 12px; diff --git a/config/waybar/style/[Light] Monochrome Contrast.css b/config/waybar/style/[Light] Monochrome Contrast.css index 83524d39..34a6a0c9 100644 --- a/config/waybar/style/[Light] Monochrome Contrast.css +++ b/config/waybar/style/[Light] Monochrome Contrast.css @@ -130,6 +130,7 @@ tooltip label{ #custom-backlight, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, @@ -158,9 +159,11 @@ tooltip label{ padding: 1px 3px; } /*-----Indicators----*/ +#custom-hypridle.notactive, #idle_inhibitor.activated { - color: #2dcc36; + color: #ffd700; } + #pulseaudio.muted { color: #cc3436; } diff --git a/config/waybar/style/[Light] Obsidian Glow.css b/config/waybar/style/[Light] Obsidian Glow.css index 001117f5..862763a3 100644 --- a/config/waybar/style/[Light] Obsidian Glow.css +++ b/config/waybar/style/[Light] Obsidian Glow.css @@ -104,6 +104,7 @@ tooltip label { #custom-cava_mviz, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, @@ -141,6 +142,12 @@ tooltip label { } } +/*-----Indicators----*/ +#custom-hypridle.notactive, +#idle_inhibitor.activated { + color: #ffd700; +} + #taskbar button.active { background-color: #585b70; color: #cdd6f4; diff --git a/config/waybar/style/[Retro] Simple Style.css b/config/waybar/style/[Retro] Simple Style.css index f966b858..6c1f731f 100644 --- a/config/waybar/style/[Retro] Simple Style.css +++ b/config/waybar/style/[Retro] Simple Style.css @@ -70,6 +70,7 @@ window#waybar { #custom-backlight, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, @@ -101,6 +102,12 @@ window#waybar { border-bottom: 3px solid yellow; } +/*-----Indicators----*/ +#custom-hypridle.notactive, +#idle_inhibitor.activated { + color: #ffd700; +} + #battery.critical, #disk.critical, #memory.critical, diff --git a/config/waybar/style/[Transparent] Crystal Clear.css b/config/waybar/style/[Transparent] Crystal Clear.css index 7bf67f9b..e6a475ca 100644 --- a/config/waybar/style/[Transparent] Crystal Clear.css +++ b/config/waybar/style/[Transparent] Crystal Clear.css @@ -91,6 +91,7 @@ window#waybar.empty #window { #workspaces, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, @@ -126,6 +127,13 @@ window#waybar.empty #window { color: #000000; } } + +/*-----Indicators----*/ +#custom-hypridle.notactive, +#idle_inhibitor.activated { + color: #ffd700; +} + #taskbar button:hover { padding-left: 3px; padding-right: 3px; diff --git a/config/waybar/style/[Wallust Bordered] Chroma Fusion Edge.css b/config/waybar/style/[Wallust Bordered] Chroma Fusion Edge.css index 198fd450..e06c8a13 100644 --- a/config/waybar/style/[Wallust Bordered] Chroma Fusion Edge.css +++ b/config/waybar/style/[Wallust Bordered] Chroma Fusion Edge.css @@ -80,6 +80,7 @@ tooltip { #custom-backlight, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, @@ -165,10 +166,17 @@ tooltip { } #custom-lock, +#custom-hypridle, #idle_inhibitor { color: @teal; } +/*-----Indicators----*/ +#custom-hypridle.notactive, +#idle_inhibitor.activated { + color: #ffd700; +} + #custom-cava_mviz{ color: @color2; } diff --git a/config/waybar/style/[Wallust Bordered] Chroma Simple.css b/config/waybar/style/[Wallust Bordered] Chroma Simple.css index 047a91c3..1bd50f8c 100644 --- a/config/waybar/style/[Wallust Bordered] Chroma Simple.css +++ b/config/waybar/style/[Wallust Bordered] Chroma Simple.css @@ -105,6 +105,7 @@ tooltip { #custom-cava_mviz, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, @@ -225,9 +226,10 @@ tooltip { border: 2px solid @color14; } +/*-----Indicators----*/ +#custom-hypridle.notactive, #idle_inhibitor.activated { - color: @color12; - border: 2px solid @color12; + color: #ffd700; } #battery.good { diff --git a/config/waybar/style/[Wallust Transparent] Crystal Clear.css b/config/waybar/style/[Wallust Transparent] Crystal Clear.css index d6060407..50e03d59 100644 --- a/config/waybar/style/[Wallust Transparent] Crystal Clear.css +++ b/config/waybar/style/[Wallust Transparent] Crystal Clear.css @@ -115,6 +115,7 @@ window#waybar.empty #window { #workspaces, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, @@ -150,6 +151,12 @@ window#waybar.empty #window { color: #000000; } } + +/*-----Indicators----*/ +#custom-hypridle.notactive, +#idle_inhibitor.activated { + color: #ffd700; +} #battery.critical:not(.charging) { color: @critical; diff --git a/config/waybar/style/[Wallust] Box type.css b/config/waybar/style/[Wallust] Box type.css index 0bdf607b..e176dd8e 100644 --- a/config/waybar/style/[Wallust] Box type.css +++ b/config/waybar/style/[Wallust] Box type.css @@ -105,6 +105,7 @@ window#waybar.empty #window { #custom-backlight, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, @@ -141,6 +142,12 @@ window#waybar.empty #window { padding-right: 2px; } +/*-----Indicators----*/ +#custom-hypridle.notactive, +#idle_inhibitor.activated { + color: #ffd700; +}} + #network { padding-right: 12px; } diff --git a/config/waybar/style/[Wallust] Chroma Edge.css b/config/waybar/style/[Wallust] Chroma Edge.css index 6dea2949..a54b54ae 100644 --- a/config/waybar/style/[Wallust] Chroma Edge.css +++ b/config/waybar/style/[Wallust] Chroma Edge.css @@ -107,6 +107,7 @@ tooltip label{ #custom-backlight, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, @@ -311,9 +312,10 @@ label:focus { /*background-color: #2d3436;*/ } +/*-----Indicators----*/ +#custom-hypridle.notactive, #idle_inhibitor.activated { - /*background-color: #ecf0f1;*/ - color: #2dcc36; + color: #ffd700; } #temperature { diff --git a/config/waybar/style/[Wallust] Chroma Fusion.css b/config/waybar/style/[Wallust] Chroma Fusion.css index cb1abdf3..ee71aef8 100644 --- a/config/waybar/style/[Wallust] Chroma Fusion.css +++ b/config/waybar/style/[Wallust] Chroma Fusion.css @@ -80,6 +80,7 @@ tooltip { #workspaces, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, @@ -166,10 +167,17 @@ tooltip { } #custom-lock, +#custom-hypridle, #idle_inhibitor { color: @teal; } +/*-----Indicators----*/ +#custom-hypridle.notactive, +#idle_inhibitor.activated { + color: #ffd700; +} + #workspaces { margin: 3px 3px 3px 3px; padding: 0px 1px; diff --git a/config/waybar/style/[Wallust] Chroma Tally.css b/config/waybar/style/[Wallust] Chroma Tally.css index ec6b6e14..0648e02f 100644 --- a/config/waybar/style/[Wallust] Chroma Tally.css +++ b/config/waybar/style/[Wallust] Chroma Tally.css @@ -99,6 +99,7 @@ tooltip { #custom-backlight, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, @@ -205,10 +206,17 @@ tooltip { } #keyboard-state, +#custom-hypridle, #idle_inhibitor { color: #ebcb8b; } +/*-----Indicators----*/ +#custom-hypridle.notactive, +#idle_inhibitor.activated { + color: #ffd700; +} + #tray { } diff --git a/config/waybar/style/[Wallust] Colored.css b/config/waybar/style/[Wallust] Colored.css index ba4e3163..de15af33 100644 --- a/config/waybar/style/[Wallust] Colored.css +++ b/config/waybar/style/[Wallust] Colored.css @@ -131,6 +131,7 @@ tooltip { #custom-cava_mviz, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, @@ -167,6 +168,12 @@ tooltip { } } +/*-----Indicators----*/ +#custom-hypridle.notactive, +#idle_inhibitor.activated { + color: #ffd700; +} + #taskbar button.active { background-color: rgb(47, 46, 46); border-radius: 30px; diff --git a/config/waybar/style/[Wallust] Simple.css b/config/waybar/style/[Wallust] Simple.css index d68d3a6e..30522f03 100644 --- a/config/waybar/style/[Wallust] Simple.css +++ b/config/waybar/style/[Wallust] Simple.css @@ -129,6 +129,7 @@ tooltip { #custom-cava_mviz, #custom-cycle_wall, #custom-hint, +#custom-hypridle, #custom-keyboard, #custom-light_dark, #custom-lock, @@ -165,9 +166,11 @@ tooltip { padding: 1px 3px; } /*-----Indicators----*/ +#custom-hypridle.notactive, #idle_inhibitor.activated { - color: #2dcc36; + color: #ffd700; } + #pulseaudio.muted { color: #cc3436; } diff --git a/copy.sh b/copy.sh index ff19ab97..7efae273 100755 --- a/copy.sh +++ b/copy.sh @@ -104,7 +104,7 @@ layout=$(detect_layout) if [ "$layout" = "(unset)" ]; then while true; do printf "\n%.0s" {1..1} -print_color $RED " +print_color $ORANGE " โ–ˆโ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–ˆ STOP AND READ โ–ˆโ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–ˆ @@ -152,7 +152,7 @@ while true; do break ;; [nN]) printf "\n%.0s" {1..2} -print_color $RED " +print_color $ORANGE " โ–ˆโ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–ˆ STOP AND READ โ–ˆโ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–ˆ -- cgit v1.2.3 From ea8fb19ee34393500fe6e36e505cdf1665b221d2 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 13 Sep 2024 11:23:30 +0900 Subject: waybar modules tweaks --- config/waybar/Modules | 4 ++-- config/waybar/ModulesWorkspaces | 44 ++++++++++++----------------------------- 2 files changed, 15 insertions(+), 33 deletions(-) (limited to 'config/waybar/Modules') diff --git a/config/waybar/Modules b/config/waybar/Modules index 856f9dc2..e6041d52 100644 --- a/config/waybar/Modules +++ b/config/waybar/Modules @@ -20,7 +20,7 @@ "interval": 10, "tooltip": true, "hwmon-path": [ - "/sys/class/hwmon/hwmon1/temp2_input", + "/sys/class/hwmon/hwmon1/temp1_input", "/sys/class/thermal/thermal_zone0/temp" ], //"thermal-zone": 0, @@ -36,7 +36,7 @@ "interval": 10, "tooltip": true, "hwmon-path": [ - "/sys/class/hwmon/hwmon1/temp2_input", + "/sys/class/hwmon/hwmon1/temp1_input", "/sys/class/thermal/thermal_zone0/temp" ], //"thermal-zone": 0, diff --git a/config/waybar/ModulesWorkspaces b/config/waybar/ModulesWorkspaces index 03ba1bd1..35667ec6 100644 --- a/config/waybar/ModulesWorkspaces +++ b/config/waybar/ModulesWorkspaces @@ -14,12 +14,8 @@ "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": [], + "persistent-workspaces": { + "*": 5 }, "format-icons": { "active": "๏†’", @@ -35,12 +31,8 @@ "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": [], + "persistent-workspaces": { + "*": 5 }, "format-icons": { "1": "I", @@ -64,12 +56,8 @@ "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": [], + "persistent-workspaces": { + "*": 5 }, "format": "{icon}", "format-icons": { @@ -84,12 +72,8 @@ "show-special": false, "all-outputs": true, "format": "{icon}", - "persistent-workspaces": { - "1": [], - "2": [], - "3": [], - "4": [], - "5": [], + "persistent-workspaces": { + "*": 5 }, "format-icons": { "1": "ไธ€", @@ -113,12 +97,8 @@ "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": [] + "persistent-workspaces": { + "*": 5 }, "format-icons": { "1": "Uno", @@ -201,7 +181,9 @@ "class": "๏…œ ", "class": "๎šฅ ", "class": "๓ฐ† ", - "class": "๎ฎง " + "class": "๎ฎง ", + "class": "๓ฐ’ƒ ", + "class": "๎ญ’ " } }, -- cgit v1.2.3 From a7bd1440a1a00c4884f507afd3cc2bcc848d38bd Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 13 Sep 2024 18:34:51 +0900 Subject: updated waybar hypridle icon and styles --- config/waybar/Modules | 92 +++++++++++----------- config/waybar/style/[Black & White] Monochrome.css | 3 +- config/waybar/style/[Catppuccin] Latte.css | 3 +- config/waybar/style/[Catppuccin] Mocha.css | 3 +- config/waybar/style/[Colored] Chroma Glow.css | 3 +- config/waybar/style/[Colored] Translucent.css | 3 +- config/waybar/style/[Colorful] Aurora Blossom.css | 3 +- config/waybar/style/[Colorful] Aurora.css | 3 +- .../waybar/style/[Colorful] Rainbow Spectrum.css | 3 +- config/waybar/style/[Dark] Golden Noir.css | 3 +- config/waybar/style/[Dark] Half-Moon.css | 3 +- .../waybar/style/[Dark] Latte-Wallust combined.css | 3 +- config/waybar/style/[Dark] Purpl.css | 3 +- .../waybar/style/[Dark] Wallust Obsidian Edge.css | 3 +- config/waybar/style/[Extra] Crimson.css | 3 +- config/waybar/style/[Extra] Mauve.css | 3 +- config/waybar/style/[Extra] Rose Pine.css | 3 +- config/waybar/style/[Extra] Simple Pink.css | 3 +- .../waybar/style/[Light] Monochrome Contrast.css | 3 +- config/waybar/style/[Light] Obsidian Glow.css | 3 +- config/waybar/style/[Retro] Simple Style.css | 3 +- .../waybar/style/[Transparent] Crystal Clear.css | 3 +- .../[Wallust Bordered] Chroma Fusion Edge.css | 3 +- .../style/[Wallust Bordered] Chroma Simple.css | 3 +- .../style/[Wallust Transparent] Crystal Clear.css | 3 +- config/waybar/style/[Wallust] Box type.css | 3 +- config/waybar/style/[Wallust] Chroma Edge.css | 3 +- config/waybar/style/[Wallust] Chroma Fusion.css | 3 +- config/waybar/style/[Wallust] Chroma Tally.css | 3 +- config/waybar/style/[Wallust] Colored.css | 3 +- config/waybar/style/[Wallust] Simple.css | 3 +- 31 files changed, 106 insertions(+), 76 deletions(-) (limited to 'config/waybar/Modules') diff --git a/config/waybar/Modules b/config/waybar/Modules index e6041d52..653c7efe 100644 --- a/config/waybar/Modules +++ b/config/waybar/Modules @@ -11,8 +11,8 @@ "format-alt-click": "click", "interval": 3600, "return-type": "json", - "exec": "~/.config/hypr/UserScripts/Weather.sh", - //"exec": "~/.config/hypr/UserScripts/Weather.py", + "exec": "$HOME/.config/hypr/UserScripts/Weather.sh", + //"exec": "$HOME/.config/hypr/UserScripts/Weather.py", "exec-if": "ping wttr.in -c1", "tooltip": true, }, @@ -127,8 +127,8 @@ "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", + "on-scroll-up": "$HOME/.config/hypr/scripts/Brightness.sh --inc", + "on-scroll-down": "$HOME/.config/hypr/scripts/Brightness.sh --dec", "smooth-scrolling-threshold": 1, }, "backlight#2": { @@ -161,8 +161,8 @@ "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", + "on-click-middle": "$HOME/.config/hypr/scripts/ChangeBlur.sh", + "on-click-right": "$HOME/.config/hypr/scripts/Wlogout.sh", }, "bluetooth": { "format": "๏Š“", @@ -304,8 +304,8 @@ "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", + "on-scroll-up": "$HOME/.config/hypr/scripts/Volume.sh --inc", + "on-scroll-down": "$HOME/.config/hypr/scripts/Volume.sh --dec", "smooth-scrolling-threshold": 1, "player-icons": { "chromium": "๏‰จ", @@ -388,10 +388,10 @@ ], }, "scroll-step": 5.0, - "on-click": "~/.config/hypr/scripts/Volume.sh --toggle", + "on-click": "$HOME/.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", + "on-scroll-up": "$HOME/.config/hypr/scripts/Volume.sh --inc", + "on-scroll-down": "$HOME/.config/hypr/scripts/Volume.sh --dec", "tooltip-format": "{icon} {desc} | {volume}%", "smooth-scrolling-threshold": 1, }, @@ -418,10 +418,10 @@ "format": "{format_source}", "format-source": "๏„ฐ {volume}%", "format-source-muted": "๏„ฑ", - "on-click": "~/.config/hypr/scripts/Volume.sh --toggle-mic", + "on-click": "$HOME/.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", + "on-scroll-up": "$HOME/.config/hypr/scripts/Volume.sh --mic-inc", + "on-scroll-down": "$HOME/.config/hypr/scripts/Volume.sh --mic-dec", "tooltip-format": "{source_desc} | {source_volume}%", "scroll-step": 5, }, @@ -432,10 +432,10 @@ "wireplumber": { "format": "{icon} {volume} %", "format-muted": "๏‘ฆ Mute", - "on-click": "~/.config/hypr/scripts/Volume.sh --toggle", + "on-click": "$HOME/.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", + "on-scroll-up": "$HOME/.config/hypr/scripts/Volume.sh --inc", + "on-scroll-down": "$HOME/.config/hypr/scripts/Volume.sh --dec", "format-icons": [ "๏€ฆ", "๏€ง", "๓ฐ•พ", "๏€จ" ], @@ -456,21 +456,21 @@ }, "custom/cycle_wall": { "format": "๏€พ ", - "on-click": "~/.config/hypr/UserScripts/WallpaperSelect.sh", - "on-click-right": "~/.config/hypr/UserScripts/WallpaperRandom.sh", - "on-click-middle": "~/.config/hypr/scripts/WaybarStyles.sh", + "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": "~/.config/hypr/scripts/KeyHints.sh", + "on-click": "$HOME/.config/hypr/scripts/KeyHints.sh", "tooltip": true, "tooltip-format": "๓ฑงฃ Quick Tips", }, // Hypridle inhibitor "custom/hypridle": { - "format": " ๓ฐท› ", + "format": " ๓ฑซ— ", "return-type": "json", "escape": true, "exec-on-event": true, @@ -480,22 +480,22 @@ "on-click-right": "hyprlock" }, "custom/keyboard": { - "exec": "cat ~/.cache/kb_layout", + "exec": "cat $HOME/.cache/kb_layout", "interval": 1, "format": "๏„œ {}", - "on-click": "~/.config/hypr/scripts/SwitchKeyboardLayout.sh", + "on-click": "$HOME/.config/hypr/scripts/SwitchKeyboardLayout.sh", }, "custom/light_dark": { "format": "๓ฐ”Ž", - "on-click": "~/.config/hypr/scripts/DarkLight.sh", - "on-click-right": "~/.config/hypr/scripts/WaybarStyles.sh", - "on-click-middle": "~/.config/hypr/UserScripts/WallpaperSelect.sh", + "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": "~/.config/hypr/scripts/LockScreen.sh", + "on-click": "$HOME/.config/hypr/scripts/LockScreen.sh", "tooltip": true, "tooltip-format": "๓ฐท› Screen Lock", @@ -503,33 +503,33 @@ "custom/menu": { "format": "๏™", "on-click": "pkill rofi || rofi -show drun -modi run,drun,filebrowser,window", - "on-click-middle": "~/.config/hypr/UserScripts/WallpaperSelect.sh", - "on-click-right": "~/.config/hypr/scripts/WaybarLayout.sh", + "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": "~/.config/hypr/scripts/WaybarCava.sh", + "exec": "$HOME/.config/hypr/scripts/WaybarCava.sh", "format": "{}" }, "custom/playerctl": { "format": "{}", "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", + "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": "~/.config/hypr/scripts/Volume.sh --inc", - "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec", + "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": "~/.config/hypr/scripts/Wlogout.sh", - "on-click-right": "~/.config/hypr/scripts/ChangeBlur.sh", + "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", }, @@ -610,8 +610,8 @@ "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", + "on-scroll-up": "$HOME/.config/hypr/scripts/Brightness.sh --inc", + "on-scroll-down": "$HOME/.config/hypr/scripts/Brightness.sh --dec", "smooth-scrolling-threshold": 1, "tooltip-format": "{percent}%", }, @@ -663,10 +663,10 @@ ], }, "scroll-step": 5.0, - "on-click": "~/.config/hypr/scripts/Volume.sh --toggle", + "on-click": "$HOME/.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", + "on-scroll-up": "$HOME/.config/hypr/scripts/Volume.sh --inc", + "on-scroll-down": "$HOME/.config/hypr/scripts/Volume.sh --dec", "tooltip-format": "{icon} {desc} | {volume}%", "smooth-scrolling-threshold": 1, }, @@ -675,9 +675,9 @@ "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", + "on-click": "$HOME/.config/hypr/scripts/Volume.sh --toggle-mic", + "on-scroll-up": "$HOME/.config/hypr/scripts/Volume.sh --mic-inc", + "on-scroll-down": "$HOME/.config/hypr/scripts/Volume.sh --mic-dec", "max-volume": 100, "tooltip": true, "tooltip-format": "{source_desc} | {source_volume}%", @@ -685,8 +685,8 @@ "custom/power_vertical": { "format": "โป", "exec": "echo ; echo ๓ฐŸก power // blur", - "on-click": "~/.config/hypr/scripts/Wlogout.sh", - "on-click-right": "~/.config/hypr/scripts/ChangeBlur.sh", + "on-click": "$HOME/.config/hypr/scripts/Wlogout.sh", + "on-click-right": "$HOME/.config/hypr/scripts/ChangeBlur.sh", "interval": 86400, // once every day "tooltip": true, }, diff --git a/config/waybar/style/[Black & White] Monochrome.css b/config/waybar/style/[Black & White] Monochrome.css index a572ab71..bdcb7132 100644 --- a/config/waybar/style/[Black & White] Monochrome.css +++ b/config/waybar/style/[Black & White] Monochrome.css @@ -157,7 +157,8 @@ tooltip label{ /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #pulseaudio.muted { diff --git a/config/waybar/style/[Catppuccin] Latte.css b/config/waybar/style/[Catppuccin] Latte.css index 0fc4272e..ac9b186c 100644 --- a/config/waybar/style/[Catppuccin] Latte.css +++ b/config/waybar/style/[Catppuccin] Latte.css @@ -129,7 +129,8 @@ window#waybar.empty #window { /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #backlight { diff --git a/config/waybar/style/[Catppuccin] Mocha.css b/config/waybar/style/[Catppuccin] Mocha.css index 17c89f60..71d293e9 100644 --- a/config/waybar/style/[Catppuccin] Mocha.css +++ b/config/waybar/style/[Catppuccin] Mocha.css @@ -148,7 +148,8 @@ window#waybar.empty #window { /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #bluetooth, diff --git a/config/waybar/style/[Colored] Chroma Glow.css b/config/waybar/style/[Colored] Chroma Glow.css index 8840bfeb..6501c23a 100644 --- a/config/waybar/style/[Colored] Chroma Glow.css +++ b/config/waybar/style/[Colored] Chroma Glow.css @@ -268,7 +268,8 @@ label:focus { /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #mpd { diff --git a/config/waybar/style/[Colored] Translucent.css b/config/waybar/style/[Colored] Translucent.css index bd5b5c39..c4c8d3bd 100644 --- a/config/waybar/style/[Colored] Translucent.css +++ b/config/waybar/style/[Colored] Translucent.css @@ -292,7 +292,8 @@ label:focus { /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #mpd { diff --git a/config/waybar/style/[Colorful] Aurora Blossom.css b/config/waybar/style/[Colorful] Aurora Blossom.css index e39392a5..d9342bcc 100644 --- a/config/waybar/style/[Colorful] Aurora Blossom.css +++ b/config/waybar/style/[Colorful] Aurora Blossom.css @@ -149,7 +149,8 @@ tooltip label{ /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #pulseaudio.muted { diff --git a/config/waybar/style/[Colorful] Aurora.css b/config/waybar/style/[Colorful] Aurora.css index f4fdb6f4..0181ebc9 100644 --- a/config/waybar/style/[Colorful] Aurora.css +++ b/config/waybar/style/[Colorful] Aurora.css @@ -156,7 +156,8 @@ tooltip label{ /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #pulseaudio.muted { diff --git a/config/waybar/style/[Colorful] Rainbow Spectrum.css b/config/waybar/style/[Colorful] Rainbow Spectrum.css index b9b532c0..77f6aaee 100644 --- a/config/waybar/style/[Colorful] Rainbow Spectrum.css +++ b/config/waybar/style/[Colorful] Rainbow Spectrum.css @@ -245,7 +245,8 @@ tooltip label{ /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #bluetooth { diff --git a/config/waybar/style/[Dark] Golden Noir.css b/config/waybar/style/[Dark] Golden Noir.css index fe5fd290..6063dc4c 100644 --- a/config/waybar/style/[Dark] Golden Noir.css +++ b/config/waybar/style/[Dark] Golden Noir.css @@ -175,7 +175,8 @@ tooltip { /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #battery.critical:not(.charging) { diff --git a/config/waybar/style/[Dark] Half-Moon.css b/config/waybar/style/[Dark] Half-Moon.css index 9804f455..a41a3267 100644 --- a/config/waybar/style/[Dark] Half-Moon.css +++ b/config/waybar/style/[Dark] Half-Moon.css @@ -137,7 +137,8 @@ color: #F3F4F5; /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #bluetooth { diff --git a/config/waybar/style/[Dark] Latte-Wallust combined.css b/config/waybar/style/[Dark] Latte-Wallust combined.css index bb768c92..937e23bc 100644 --- a/config/waybar/style/[Dark] Latte-Wallust combined.css +++ b/config/waybar/style/[Dark] Latte-Wallust combined.css @@ -352,7 +352,8 @@ tooltip { /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #clock { diff --git a/config/waybar/style/[Dark] Purpl.css b/config/waybar/style/[Dark] Purpl.css index 2f99e43a..3121d4f3 100644 --- a/config/waybar/style/[Dark] Purpl.css +++ b/config/waybar/style/[Dark] Purpl.css @@ -173,7 +173,8 @@ tooltip { /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #taskbar button.active { diff --git a/config/waybar/style/[Dark] Wallust Obsidian Edge.css b/config/waybar/style/[Dark] Wallust Obsidian Edge.css index 5ba7c70e..5382e90c 100644 --- a/config/waybar/style/[Dark] Wallust Obsidian Edge.css +++ b/config/waybar/style/[Dark] Wallust Obsidian Edge.css @@ -178,7 +178,8 @@ tooltip label { /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #battery.critical:not(.charging) { diff --git a/config/waybar/style/[Extra] Crimson.css b/config/waybar/style/[Extra] Crimson.css index 77777472..dfc4e788 100644 --- a/config/waybar/style/[Extra] Crimson.css +++ b/config/waybar/style/[Extra] Crimson.css @@ -169,7 +169,8 @@ tooltip { /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #battery.critical:not(.charging) { diff --git a/config/waybar/style/[Extra] Mauve.css b/config/waybar/style/[Extra] Mauve.css index 916ff140..e4ad7808 100644 --- a/config/waybar/style/[Extra] Mauve.css +++ b/config/waybar/style/[Extra] Mauve.css @@ -187,7 +187,8 @@ tooltip { /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #battery.critical:not(.charging) { diff --git a/config/waybar/style/[Extra] Rose Pine.css b/config/waybar/style/[Extra] Rose Pine.css index 9ebd46f3..0ab84867 100644 --- a/config/waybar/style/[Extra] Rose Pine.css +++ b/config/waybar/style/[Extra] Rose Pine.css @@ -169,7 +169,8 @@ tooltip { /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #backlight { diff --git a/config/waybar/style/[Extra] Simple Pink.css b/config/waybar/style/[Extra] Simple Pink.css index 1e006764..0fa389f8 100644 --- a/config/waybar/style/[Extra] Simple Pink.css +++ b/config/waybar/style/[Extra] Simple Pink.css @@ -180,7 +180,8 @@ tooltip { /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #taskbar button.active { diff --git a/config/waybar/style/[Light] Monochrome Contrast.css b/config/waybar/style/[Light] Monochrome Contrast.css index 34a6a0c9..61acc9ae 100644 --- a/config/waybar/style/[Light] Monochrome Contrast.css +++ b/config/waybar/style/[Light] Monochrome Contrast.css @@ -161,7 +161,8 @@ tooltip label{ /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #pulseaudio.muted { diff --git a/config/waybar/style/[Light] Obsidian Glow.css b/config/waybar/style/[Light] Obsidian Glow.css index 862763a3..a61b6caa 100644 --- a/config/waybar/style/[Light] Obsidian Glow.css +++ b/config/waybar/style/[Light] Obsidian Glow.css @@ -145,7 +145,8 @@ tooltip label { /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #taskbar button.active { diff --git a/config/waybar/style/[Retro] Simple Style.css b/config/waybar/style/[Retro] Simple Style.css index 6c1f731f..25e944e6 100644 --- a/config/waybar/style/[Retro] Simple Style.css +++ b/config/waybar/style/[Retro] Simple Style.css @@ -105,7 +105,8 @@ window#waybar { /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #battery.critical, diff --git a/config/waybar/style/[Transparent] Crystal Clear.css b/config/waybar/style/[Transparent] Crystal Clear.css index e6a475ca..5a4a8c3c 100644 --- a/config/waybar/style/[Transparent] Crystal Clear.css +++ b/config/waybar/style/[Transparent] Crystal Clear.css @@ -131,7 +131,8 @@ window#waybar.empty #window { /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #taskbar button:hover { diff --git a/config/waybar/style/[Wallust Bordered] Chroma Fusion Edge.css b/config/waybar/style/[Wallust Bordered] Chroma Fusion Edge.css index e06c8a13..2dcffb1c 100644 --- a/config/waybar/style/[Wallust Bordered] Chroma Fusion Edge.css +++ b/config/waybar/style/[Wallust Bordered] Chroma Fusion Edge.css @@ -174,7 +174,8 @@ tooltip { /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #custom-cava_mviz{ diff --git a/config/waybar/style/[Wallust Bordered] Chroma Simple.css b/config/waybar/style/[Wallust Bordered] Chroma Simple.css index 1bd50f8c..d1e74805 100644 --- a/config/waybar/style/[Wallust Bordered] Chroma Simple.css +++ b/config/waybar/style/[Wallust Bordered] Chroma Simple.css @@ -229,7 +229,8 @@ tooltip { /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #battery.good { diff --git a/config/waybar/style/[Wallust Transparent] Crystal Clear.css b/config/waybar/style/[Wallust Transparent] Crystal Clear.css index 50e03d59..c332170c 100644 --- a/config/waybar/style/[Wallust Transparent] Crystal Clear.css +++ b/config/waybar/style/[Wallust Transparent] Crystal Clear.css @@ -155,7 +155,8 @@ window#waybar.empty #window { /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #battery.critical:not(.charging) { diff --git a/config/waybar/style/[Wallust] Box type.css b/config/waybar/style/[Wallust] Box type.css index e176dd8e..6e018bd2 100644 --- a/config/waybar/style/[Wallust] Box type.css +++ b/config/waybar/style/[Wallust] Box type.css @@ -145,7 +145,8 @@ window#waybar.empty #window { /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; }} #network { diff --git a/config/waybar/style/[Wallust] Chroma Edge.css b/config/waybar/style/[Wallust] Chroma Edge.css index a54b54ae..9778b811 100644 --- a/config/waybar/style/[Wallust] Chroma Edge.css +++ b/config/waybar/style/[Wallust] Chroma Edge.css @@ -315,7 +315,8 @@ label:focus { /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #temperature { diff --git a/config/waybar/style/[Wallust] Chroma Fusion.css b/config/waybar/style/[Wallust] Chroma Fusion.css index ee71aef8..4400bb33 100644 --- a/config/waybar/style/[Wallust] Chroma Fusion.css +++ b/config/waybar/style/[Wallust] Chroma Fusion.css @@ -175,7 +175,8 @@ tooltip { /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #workspaces { diff --git a/config/waybar/style/[Wallust] Chroma Tally.css b/config/waybar/style/[Wallust] Chroma Tally.css index 0648e02f..1d162b91 100644 --- a/config/waybar/style/[Wallust] Chroma Tally.css +++ b/config/waybar/style/[Wallust] Chroma Tally.css @@ -214,7 +214,8 @@ tooltip { /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #tray { diff --git a/config/waybar/style/[Wallust] Colored.css b/config/waybar/style/[Wallust] Colored.css index de15af33..bcd05653 100644 --- a/config/waybar/style/[Wallust] Colored.css +++ b/config/waybar/style/[Wallust] Colored.css @@ -171,7 +171,8 @@ tooltip { /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #taskbar button.active { diff --git a/config/waybar/style/[Wallust] Simple.css b/config/waybar/style/[Wallust] Simple.css index 30522f03..188dfd39 100644 --- a/config/waybar/style/[Wallust] Simple.css +++ b/config/waybar/style/[Wallust] Simple.css @@ -168,7 +168,8 @@ tooltip { /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: #ffd700; + color: #39FF14; + font-size: 100%; } #pulseaudio.muted { -- cgit v1.2.3 From ae9c85b7e5150d66c4c34f56017f5837a7dc3913 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 14 Sep 2024 22:23:44 +0900 Subject: The return of the waybar idle_inhibitor module to configs --- config/waybar/Modules | 7 +++++-- config/waybar/configs/[BOT & Left] SouthWest | 2 +- config/waybar/configs/[BOT & Right] SouthEast | 2 +- config/waybar/configs/[BOT] Default | 2 +- config/waybar/configs/[BOT] Simple | 2 +- config/waybar/configs/[BOT] Sleek | 2 +- config/waybar/configs/[TOP & BOT] SummitSplit | 2 +- config/waybar/configs/[TOP & Left] NorthWest | 2 +- config/waybar/configs/[TOP & Right] NorthEast | 2 +- config/waybar/configs/[TOP] Default | 2 +- config/waybar/configs/[TOP] Default_v2 | 2 +- config/waybar/configs/[TOP] Default_v3 | 3 ++- config/waybar/configs/[TOP] Everforest | 2 +- config/waybar/configs/[TOP] Minimal - Long | 2 +- config/waybar/configs/[TOP] Simple | 2 +- config/waybar/configs/[TOP] Sleek | 2 +- 16 files changed, 21 insertions(+), 17 deletions(-) (limited to 'config/waybar/Modules') diff --git a/config/waybar/Modules b/config/waybar/Modules index 653c7efe..10274170 100644 --- a/config/waybar/Modules +++ b/config/waybar/Modules @@ -269,10 +269,13 @@ }, }, "idle_inhibitor": { + "tooltip": true, + "tooltip-format-activated": "Idle_inhibitor active", + "tooltip-format-deactivated": "Idle_inhibitor not active", "format": "{icon}", "format-icons": { - "activated": "๏ˆ… ", - "deactivated": "๏ˆ„ ", + "activated": "๏ฎ ", + "deactivated": "๏ฐ ", } }, "keyboard-state": { diff --git a/config/waybar/configs/[BOT & Left] SouthWest b/config/waybar/configs/[BOT & Left] SouthWest index 8733cf40..87be19f0 100644 --- a/config/waybar/configs/[BOT & Left] SouthWest +++ b/config/waybar/configs/[BOT & Left] SouthWest @@ -65,7 +65,7 @@ "modules-left": [ "custom/lock", - "custom/hypridle", + "idle_inhibitor", ], "modules-center": [ diff --git a/config/waybar/configs/[BOT & Right] SouthEast b/config/waybar/configs/[BOT & Right] SouthEast index 92247726..db367b9c 100644 --- a/config/waybar/configs/[BOT & Right] SouthEast +++ b/config/waybar/configs/[BOT & Right] SouthEast @@ -65,7 +65,7 @@ "modules-left": [ "custom/lock", - "custom/hypridle", + "idle_inhibitor", ], "modules-center": [ diff --git a/config/waybar/configs/[BOT] Default b/config/waybar/configs/[BOT] Default index a6bf5e7b..d2638258 100644 --- a/config/waybar/configs/[BOT] Default +++ b/config/waybar/configs/[BOT] Default @@ -35,7 +35,7 @@ "modules-center": [ "custom/menu", "custom/separator#dot-line", - "custom/hypridle", + "idle_inhibitor", "custom/separator#dot-line", "clock", "custom/separator#dot-line", diff --git a/config/waybar/configs/[BOT] Simple b/config/waybar/configs/[BOT] Simple index 76d20698..ef5c30eb 100644 --- a/config/waybar/configs/[BOT] Simple +++ b/config/waybar/configs/[BOT] Simple @@ -17,7 +17,7 @@ "margin-top": 2, "modules-left": [ - "custom/hypridle", + "idle_inhibitor", "group/mobo_drawer", "hyprland/workspaces#rw", "tray", diff --git a/config/waybar/configs/[BOT] Sleek b/config/waybar/configs/[BOT] Sleek index 277551d0..c79fd71f 100644 --- a/config/waybar/configs/[BOT] Sleek +++ b/config/waybar/configs/[BOT] Sleek @@ -24,7 +24,7 @@ ], "modules-center": [ - "custom/hypridle", + "idle_inhibitor", "custom/separator#blank", "clock", "custom/separator#blank", diff --git a/config/waybar/configs/[TOP & BOT] SummitSplit b/config/waybar/configs/[TOP & BOT] SummitSplit index 0504fdee..3d419c22 100644 --- a/config/waybar/configs/[TOP & BOT] SummitSplit +++ b/config/waybar/configs/[TOP & BOT] SummitSplit @@ -27,7 +27,7 @@ ], "modules-center": [ - "custom/hypridle", + "idle_inhibitor", "clock", "custom/light_dark", ], diff --git a/config/waybar/configs/[TOP & Left] NorthWest b/config/waybar/configs/[TOP & Left] NorthWest index 3652d149..dd03fd92 100644 --- a/config/waybar/configs/[TOP & Left] NorthWest +++ b/config/waybar/configs/[TOP & Left] NorthWest @@ -61,7 +61,7 @@ "modules-left": [ "custom/lock", - "custom/hypridle", + "idle_inhibitor", ], "modules-center": [ diff --git a/config/waybar/configs/[TOP & Right] NorthEast b/config/waybar/configs/[TOP & Right] NorthEast index 6347945d..442c7886 100644 --- a/config/waybar/configs/[TOP & Right] NorthEast +++ b/config/waybar/configs/[TOP & Right] NorthEast @@ -62,7 +62,7 @@ "modules-left": [ "custom/lock", - "custom/hypridle", + "idle_inhibitor", ], "modules-center": [ diff --git a/config/waybar/configs/[TOP] Default b/config/waybar/configs/[TOP] Default index db4a953f..747fd9fe 100644 --- a/config/waybar/configs/[TOP] Default +++ b/config/waybar/configs/[TOP] Default @@ -35,7 +35,7 @@ "modules-center": [ "custom/menu", "custom/separator#dot-line", - "custom/hypridle", + "idle_inhibitor", "custom/separator#dot-line", "clock", "custom/separator#dot-line", diff --git a/config/waybar/configs/[TOP] Default_v2 b/config/waybar/configs/[TOP] Default_v2 index ff2a7077..8a0b7a29 100644 --- a/config/waybar/configs/[TOP] Default_v2 +++ b/config/waybar/configs/[TOP] Default_v2 @@ -35,7 +35,7 @@ "custom/separator#line", "hyprland/workspaces#roman", "custom/separator#dot-line", - "custom/hypridle", + "idle_inhibitor", "custom/hint", ], diff --git a/config/waybar/configs/[TOP] Default_v3 b/config/waybar/configs/[TOP] Default_v3 index 4a4a00f9..de393ee0 100644 --- a/config/waybar/configs/[TOP] Default_v3 +++ b/config/waybar/configs/[TOP] Default_v3 @@ -37,7 +37,8 @@ "custom/separator#line", "hyprland/workspaces#kanji", "custom/separator#dot-line", - "custom/hypridle", + "idle_inhibitor", + //"idle_inhibitor", "custom/hint", ], diff --git a/config/waybar/configs/[TOP] Everforest b/config/waybar/configs/[TOP] Everforest index 67b09eff..67cf09c4 100644 --- a/config/waybar/configs/[TOP] Everforest +++ b/config/waybar/configs/[TOP] Everforest @@ -30,7 +30,7 @@ ], "modules-center": [ "clock#forest", - "custom/hypridle", + "idle_inhibitor", ], "modules-right": [ "cpu#forest", diff --git a/config/waybar/configs/[TOP] Minimal - Long b/config/waybar/configs/[TOP] Minimal - Long index 8ea6e306..e5ff1e28 100644 --- a/config/waybar/configs/[TOP] Minimal - Long +++ b/config/waybar/configs/[TOP] Minimal - Long @@ -30,7 +30,7 @@ ], "modules-center": [ "clock", - "custom/hypridle", + "idle_inhibitor", ], "modules-right": [ "group/mobo_drawer", diff --git a/config/waybar/configs/[TOP] Simple b/config/waybar/configs/[TOP] Simple index a0a1d28d..77ddefa0 100644 --- a/config/waybar/configs/[TOP] Simple +++ b/config/waybar/configs/[TOP] Simple @@ -17,7 +17,7 @@ "margin-top": 2, "modules-left": [ - "custom/hypridle", + "idle_inhibitor", "group/mobo_drawer", "hyprland/workspaces#rw", "tray", diff --git a/config/waybar/configs/[TOP] Sleek b/config/waybar/configs/[TOP] Sleek index edcf6f49..12227bf5 100644 --- a/config/waybar/configs/[TOP] Sleek +++ b/config/waybar/configs/[TOP] Sleek @@ -23,7 +23,7 @@ ], "modules-center": [ - "custom/hypridle", + "idle_inhibitor", "custom/separator#blank", "clock#3", "custom/separator#blank", -- cgit v1.2.3 From 4f3d9f65bff6127dac11fcd997dd495863f3f905 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 14 Sep 2024 22:47:00 +0900 Subject: small fix on swaync icon --- config/waybar/Modules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/waybar/Modules') diff --git a/config/waybar/Modules b/config/waybar/Modules index 10274170..e825e53b 100644 --- a/config/waybar/Modules +++ b/config/waybar/Modules @@ -539,7 +539,7 @@ "custom/swaync": { "tooltip": true, "tooltip-format": "Left Click: Launch Notification Center\nRight Click: Do not Disturb", - "format": "{icon} {}", + "format": "{} {icon}", "format-icons": { "notification": "๏‚ข๏‘„", "none": "๏‚ข", -- cgit v1.2.3