diff options
Diffstat (limited to 'hypr/.config/hypr/waybar-alt-5/config.ini')
| -rwxr-xr-x | hypr/.config/hypr/waybar-alt-5/config.ini | 223 |
1 files changed, 116 insertions, 107 deletions
diff --git a/hypr/.config/hypr/waybar-alt-5/config.ini b/hypr/.config/hypr/waybar-alt-5/config.ini index d2ef21f..f3f09bb 100755 --- a/hypr/.config/hypr/waybar-alt-5/config.ini +++ b/hypr/.config/hypr/waybar-alt-5/config.ini @@ -1,7 +1,7 @@ { "layer": "bottom", // Waybar at top layer "position": "top", // Waybar position (top|bottom|left|right) - "height": 40, + "height": 10, "width":1920, "margin": "0 0 0 0", "spacing":0, @@ -10,7 +10,7 @@ "modules-left": ["hyprland/workspaces"], "modules-center": ["custom/spotify"], - "modules-right": ["custom/weather", "temperature", "custom-keyboard-layout", "cpu", "memory", "pulseaudio", "clock", "tray", "custom/power"], + "modules-right": ["custom/weather", "temperature", "custom-keyboard-layout", "custom/pomodoro", "cpu", "memory", "pulseaudio", "battery", "clock", "tray", "custom/power"], // Modules configuration // waybar-spotify @@ -42,8 +42,8 @@ "8": "8", "9": "9", "10": "10", - "urgent": "", - "default": "" + "urgent": "", + "default": "" }, "sort-by-number": true }, @@ -59,112 +59,121 @@ }, - "idle_inhibitor": { - "format": "{icon}", - "format-icons": { - "activated": "", - "deactivated": "" - }, - }, - "tray": { - "icon-size": 20, - "spacing": 5 - }, - "clock": { - "tooltip-format": "<big>{:%A, %d.%B %Y }</big>\n<tt><small>{calendar}</small></tt>", - "format": " {:%a %d %b %I:%M %p}", //12 hour format - //"format": " {:%a %d %b %H:%M}", //24 hour format - "format-alt": " {:%d/%m/%Y %H:%M:%S}", - "timezones": [ "$TZ" ], - //"max-length": 200 - "interval": 1, - }, - "cpu": { - "format": "🖳{usage}%", - "on-click": "foot -e htop" - }, - "memory": { - "format": "🖴 {: >3}%", - "on-click": "foot -e htop" - }, - "temperature": { - "thermal-zone": 7, // Check with: # cat /sys/class/hwmon/hwmon*/temp1_input - "hwmon-path": "/sys/class/hwmon/hwmon7/temp1_input", - "critical-threshold": 80, - "format-critical": "{temperatureC}°C ", - "format": "{temperatureC}°C " - }, - "backlight": { - // "device": "acpi_video1", - "format": "{icon} {percent: >3}%", - "format-icons": ["", ""], - "on-scroll-down": "brightnessctl -c backlight set 1%-", - "on-scroll-up": "brightnessctl -c backlight set +1%", - "on-click": "~/.config/waybar/scripts/backlight-hint.sh" - }, - "battery": { - "states": { - // "good": 95, - "warning": 30, - "critical": 15 - }, - "format": "{icon} {capacity: >3}%", - "format-icons": ["", "", "", "", ""] - // "format-good": "", // An empty format will hide the module - // "format-full": "", - //"format-icons": ["", "", "", "", "", "", "", "", "", ""] - //"format": "‫{icon}‬ {capacity}%", - //"format-icons": ["ﱉ","ﱊ","ﱌ","ﱍ","ﱋ"] - }, - "network": { - //"interface": "wlp0s20f3", // (Optional) To force the use of this interface "format-wifi": " {essid}", - "format": "⚠Disabled", - "format-wifi": "", - "format-ethernet": "", - "format-linked": "{ifname} (No IP)", - "format-disconnected": "⚠Disabled", - "format-alt": "{ifname}: {ipaddr}/{cidr}", - "family": "ipv4", - "tooltip-format-wifi": " {ifname} @ {essid}\nIP: {ipaddr}\nStrength: {signalStrength}%\nFreq: {frequency}MHz\nUp: {bandwidthUpBits} Down: {bandwidthDownBits}", - "tooltip-format-ethernet": " {ifname}\nIP: {ipaddr}\n up: {bandwidthUpBits} down: {bandwidthDownBits}", - //"min-length": 2, - //"max-length": 2, - "on-click": "nm-connection-editor" + "idle_inhibitor": { + "format": "{icon}", + "format-icons": { + "activated": "", + "deactivated": "" }, - "custom/pacman": { - "format": " {}", - "interval": 7200, // every two hours - "exec": "checkupdates | wc -l", // # of updates - //"exec": "i=$(checkupdates); echo \"$i\" |wc -l; echo \"$i\" |column -t |tr '\n' '\r'", // # of updates and tooltip details - "exec-if": "exit 0", // always run; consider advanced run conditions - "on-click": "kitty --class update -T update -o font_size=13 -e yay -Syu && notify-send 'The system has been updated' ", - "signal": 8 + }, + "tray": { + "icon-size": 20, + "spacing": 5 + }, + "clock": { + "tooltip-format": "<big>{:%A, %d.%B %Y }</big>\n<tt><small>{calendar}</small></tt>", + "format": "{:%a %d %b %I:%M %p}", //12 hour format + //"format": " {:%a %d %b %H:%M}", //24 hour format + "format-alt": "{:%d/%m/%Y %H:%M:%S}", + "timezones": [ "$TZ" ], + //"max-length": 200 + "interval": 1, + }, + "cpu": { + "format": "🖳{usage}%", + "on-click": "kitty -e htop" + }, + "memory": { + "format": "🖴 {: >3}%", + "on-click": "kitty -e htop" + }, + "temperature": { + "thermal-zone": 7, // Check with: # cat /sys/class/hwmon/hwmon*/temp1_input + "hwmon-path": "/sys/class/hwmon/hwmon7/temp1_input", + "critical-threshold": 80, + "format-critical": "{temperatureC}°C ", + "format": "{temperatureC}°C " + }, + "backlight": { + // "device": "acpi_video1", + "format": "{icon} {percent: >3}%", + "format-icons": ["", ""], + "on-scroll-down": "brightnessctl -c backlight set 1%-", + "on-scroll-up": "brightnessctl -c backlight set +1%", + "on-click": "~/.config/waybar/scripts/backlight-hint.sh" + }, + "battery": { + "states": { + // "good": 95, + "warning": 30, + "critical": 15 }, - "custom/power": { + "format": "{icon} {capacity: >3}%", + "format-icons": ["", "", "", "", ""] + // "format-good": "", // An empty format will hide the module + // "format-full": "", + //"format-icons": ["", "", "", "", "", "", "", "", "", ""] + //"format": "‫{icon}‬ {capacity}%", + //"format-icons": ["ﱉ","ﱊ","ﱌ","ﱍ","ﱋ"] + }, + "network": { + //"interface": "wlp0s20f3", // (Optional) To force the use of this interface "format-wifi": " {essid}", + "format": "⚠Disabled", + "format-wifi": "", + "format-ethernet": "", + "format-linked": "{ifname} (No IP)", + "format-disconnected": "⚠Disabled", + "format-alt": "{ifname}: {ipaddr}/{cidr}", + "family": "ipv4", + "tooltip-format-wifi": " {ifname} @ {essid}\nIP: {ipaddr}\nStrength: {signalStrength}%\nFreq: {frequency}MHz\nUp: {bandwidthUpBits} Down: {bandwidthDownBits}", + "tooltip-format-ethernet": " {ifname}\nIP: {ipaddr}\n up: {bandwidthUpBits} down: {bandwidthDownBits}", + //"min-length": 2, + //"max-length": 2, + "on-click": "nm-connection-editor" + }, + "custom/pacman": { + "format": " {}", + "interval": 7200, // every two hours + "exec": "checkupdates | wc -l", // # of updates + //"exec": "i=$(checkupdates); echo \"$i\" |wc -l; echo \"$i\" |column -t |tr '\n' '\r'", // # of updates and tooltip details + "exec-if": "exit 0", // always run; consider advanced run conditions + "on-click": "kitty --class update -T update -o font_size=13 -e yay -Syu && notify-send 'The system has been updated' ", + "signal": 8 + }, + "custom/power": { "format": "⏻", "on-click": "archlinux-logout", "tooltip": false + }, + "custom/pomodoro": { + "format": "{}", + "exec": "$HOME/.config/hypr/scripts/pomodoro.sh status", + "interval": 1, + "on-click": "$HOME/.config/hypr/scripts/pomodoro.sh menu", + "on-click-right": "$HOME/.config/hypr/scripts/pomodoro.sh stop", + "tooltip": true, + "tooltip-format": "Left click: Start timer\nRight click: Stop timer" + }, + "pulseaudio": { + "scroll-step": 3, // %, can be a float + "format": "{volume}%{format_source}", + "format-bluetooth": "{volume}% {icon} {format_source}", + "format-bluetooth-muted": " {icon} {format_source}", + "format-muted": "mute{format_source}", + //"format-source": "{volume}% ", + //"format-source-muted": "", + "format-source": "", + "format-source-muted": "", + "format-icons": { + "headphone": "", + "hands-free": "", + "headset": "", + "phone": "", + "portable": "", + "car": "", + "default": ["", "", ""] }, - "pulseaudio": { - "scroll-step": 3, // %, can be a float - "format": "{volume}% {format_source}", - "format-bluetooth": "{volume}% {icon} {format_source}", - "format-bluetooth-muted": " {icon} {format_source}", - "format-muted": " {format_source}", - //"format-source": "{volume}% ", - //"format-source-muted": "", - "format-source": "", - "format-source-muted": "", - "format-icons": { - "headphone": "", - "hands-free": "", - "headset": "", - "phone": "", - "portable": "", - "car": "", - "default": ["", "", ""] - }, - "on-click": "pavucontrol", - "on-click-right": "pactl set-source-mute @DEFAULT_SOURCE@ toggle" - }, - } + "on-click": "pavucontrol", + "on-click-right": "pactl set-source-mute @DEFAULT_SOURCE@ toggle" + } +} |
