diff options
Diffstat (limited to '.config/waybar/config.jsonc')
| -rw-r--r-- | .config/waybar/config.jsonc | 231 |
1 files changed, 0 insertions, 231 deletions
diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc deleted file mode 100644 index 513c578..0000000 --- a/.config/waybar/config.jsonc +++ /dev/null @@ -1,231 +0,0 @@ -{ - "layer": "top", - "position": "top", - "mod": "dock", - "height": 49, - "margin-top": 0, - "margin-bottom": 0, - "margin-left": 0, - "margin-right": 0, - "gtk-layer-shell": true, - "exclusive": true, - "passthrough": false, - "modules-left": [ - "custom/launcher", - "hyprland/workspaces", - "custom/playerctl", - "custom/playerlabel" - ], - "modules-center": [ - "hyprland/window", - "idle_inhibitor" - ], - "modules-right": [ - "cpu", - "temperature", - "custom/memory", - "pulseaudio", - "pulseaudio#microphone", - "clock", - "network", - "battery", - "backlight", - "tray", - "custom/toggle-laptop-keyboard" - ], - "hyprland/window": { - "format": "{}" - }, - // Modules configuration - "custom/launcher": { - "format": " ", - "on-click": "~/.config/waybar/scripts", - "tooltip": false - }, - "hyprland/workspaces": { - "active-only": false, - "all-outputs": true, - "disable-scroll": false, - "on-scroll-up": "hyprctl dispatch workspace -1", - "on-scroll-down": "hyprctl dispatch workspace +1", - "format": "{icon}", - "on-click": "activate", - "format-icons": { - "1": "一", - "2": "二", - "3": "三", - "4": "四", - "5": "五", - "6": "六", - "7": "七", - "8": "八", - "9": "九", - "10": "十", - "urgent": "", - "default": "", - "sort-by-number": true - } - }, - "idle_inhibitor": { - "format": "{icon}", - "format-icons": { - "activated": "", - "deactivated": "" - } - }, - "custom/playerctl": { - "format": "{icon}", - "return-type": "json", - "max-length": 64, - "exec": "playerctl -p spotify metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F", - "on-click-middle": "playerctl -p spotify play-pause", - "on-click": "playerctl -p spotify previous", - "on-click-right": "playerctl -p spotify next", - "on-scroll-up": "pamixer -i 1", - "on-scroll-down": "pamixer -d 1", - "format-icons": { - "Playing": "<span foreground='#a6adc8'> </span>", - "Paused": "<span foreground='#a6adc8'> </span>" - } - }, - "custom/playerlabel": { - "format": "<span>{}</span>", - "return-type": "json", - "max-length": 48, - "exec": "playerctl -p spotify metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F", - "on-click-middle": "playerctl -p spotify play-pause", - "on-click": "playerctl -p spotify previous", - "on-click-right": "playerctl -p spotify next", - "on-scroll-up": "pamixer -i 1", - "on-scroll-down": "pamixer -d 1", - }, - "cpu": { - "interval": 5, - // "format": " {usage}% ", - "format-critical":"<span color='#c20821'><b> {usage}%</b></span>", - "format-high": "<span color='#e03c52'> {usage}%</span>", - "format-medium": "<span color='#f9e2af'> {usage}%</span>", - "format-low": "<span color='#b2beb5'> {usage}%</span>", - "tooltip": false, - "on-click": "foot --term -e htop", - "states": { - "critical": 80, - "high": 50, - "medium": 5, - "low": 0, - }, - }, - "temperature": { - "interval": 5, - "thermal-zone": 0, - "critical-threshold": 80, - "format": "{icon}{temperatureC}°C", - "format-alt": "{temperatureF}°F {icon}", - "format-critical": "{temperatureC}°C ", - "format-icons": [ - "", - "", - "" - ], - "tooltip": false, - "on-click": "foot --term xterm -e gotop" - }, - "custom/memory": { - "interval": 5, - "exec": "~/.scripts/memory", - "format": " {}", - "tooltip": false, - "on-click": "foot --term xterm -e gotop" - }, - "pulseaudio": { - "format": "{icon} {volume}%", - //"format-muted": " {format_source}", - "format-muted": "x", - "tooltip": false, - "on-click": "pamixer -t", - "on-scroll-up": "pamixer -i 1", - "on-scroll-down": "pamixer -d 1", - "scroll-step": 5, - "format-icons": { - "headphone": "", - "hands-free": "", - "headset": "", - "default": [ - "", - "", - "" - ] - } - }, - "pulseaudio#microphone": { - "format": "{format_source}", - "format-source": " {volume}%", - //"format-source-muted": " Muted", - "format-source-muted": " ", - "on-click": "pamixer --default-source -t", - "on-scroll-up": "pamixer --default-source -i 5", - "on-scroll-down": "pamixer --default-source -d 5", - "scroll-step": 5 - }, - "clock": { - "format": " {:%I:%M %p %a,%b %e}", - //"format": " {:%I:%M %p}", - // "format": " {:%H:%M}", - "format-alt": "{:%b %e}", - "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>" - }, - "network": { - // "interface": "wlp2*", // (Optional) To force the use of this interface - "format-wifi": " {signalStrength}%", - "format-ethernet": "{ipaddr}/{cidr} ", - "tooltip-format": "DOWN :{bandwidthDownBytes} UP :{bandwidthUpBytes}", - "format-linked": "{ifname} (No IP) ", - "format-disconnected": "Disconnected ⚠", - "format-alt": "{ifname}:{essid} {ipaddr}/{cidr}" - }, - "battery": { - "states": { - "good": 95, - "warning": 30, - "critical": 20 - }, - "format": "{icon} {capacity}%", - "format-charging": " {capacity}%", - "format-plugged": " {capacity}%", - "format-alt": "{time} {icon}", - "format-icons": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ] - }, - "backlight": { - "device": "intel_backlight", - "format": "{icon} {percent}%", - "format-icons": [ - " ", - " ", - " " - ], - "on-scroll-up": "brightnessctl set 1%+", - "on-scroll-down": "brightnessctl set 1%-", - "min-length": 6 - }, - "tray": { - "icon-size": 18, - "spacing": 10 - }, - "custom/toggle-laptop-keyboard": { - "format": " ", - "on-click": "~/.scripts/toggle-keyboard-hypr", - "tooltip-format": "Toggle Laptop Keyboard" - } -} |
