From bf6a91943d2c5852025ed1d1aadb30d83edf0354 Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Wed, 17 May 2023 00:21:45 -0400 Subject: Added personal channel, starting to add more dotfiles --- home-config/waybar/config | 116 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 home-config/waybar/config (limited to 'home-config/waybar/config') diff --git a/home-config/waybar/config b/home-config/waybar/config new file mode 100644 index 0000000..10e27c7 --- /dev/null +++ b/home-config/waybar/config @@ -0,0 +1,116 @@ +{ + "layer": "bottom", + "position": "top", + "height": 30, + + "modules-left": ["sway/workspaces", "sway/mode"], + "modules-center": ["sway/window"], + "modules-right": ["tray", "custom/spotify", "custom/weather", "custom/mail", "custom/storage", "backlight", "pulseaudio", "network", "idle_inhibitor", "battery", "clock"], + "sway/mode": { + "format": " {}" + }, + "sway/workspaces": { + "format": "{name}", + "disable-scroll": true + }, + "sway/window": { + "max-length": 80, + "tooltip": false + }, + "clock": { + "format": "{:%a %d %b %H:%M}", + "tooltip": false + }, + "battery": { + "format": "{capacity}% {icon}", + "format-alt": "{time} {icon}", + "format-icons": ["", "", "", "", ""], + "format-charging": "{capacity}% ", + "interval": 30, + "states": { + "warning": 25, + "critical": 10 + }, + "tooltip": false, + "bat":"BAT1" + }, + "network": { + "format-alt": "{icon}", + "format": "{ipaddr}/{cidr} {icon}", + "format-alt-click": "click-right", + "format-icons": { + "wifi": ["", "" ,""], + "ethernet": [""], + "disconnected": ["睊"] + }, + "on-click": "alacritty -e iwctl", + "tooltip": false + }, + "pulseaudio": { + "format-alt": "{icon}", + "format": "{volume} {icon}", + "format-alt-click": "click-right", + "format-muted": "", + "format-icons": { + "phone": [" ", " ", " ", " "], + "default": ["", "", "", ""] + }, + "scroll-step": 1, + "on-click": "pavucontrol", + "tooltip": false + }, + "custom/spotify": { + "interval": 2, + "return-type": "json", + "exec": "~/.config/waybar/modules/spotify.sh", + "exec-if": "pgrep spotifyd", + "escape": true, + "on-click": "~/.config/waybar/modules/spotify-play-pause.sh play-pause" + }, + "custom/storage": { + "format-alt": "{} ", + "format": "{percentage}% ", + "format-alt-click": "click-right", + "return-type": "json", + "interval": 60, + "exec": "~/.config/waybar/modules/storage.sh" + }, + "backlight": { + "format-alt": "{icon}", + "format": "{percent}% {icon}", + "format-alt-click": "click-right", + "format-icons": ["", ""], + "on-scroll-down": "light -A 1", + "on-scroll-up": "light -U 1" + }, + "custom/weather": { + "format-alt": "{}", + "format": "{alt}: {}", + "format-alt-click": "click-right", + "interval": 1800, + "return-type": "json", + "on-click": "alacritty --class ala-wttr --hold -e curl https://v2.wttr.in", + "exec": "~/.config/waybar/modules/weather.sh", + "exec-if": "ping wttr.in -c1" + }, + "idle_inhibitor": { + "format": "{icon}", + "format-icons": { + "activated": "", + "deactivated": "" + }, + "tooltip": false + }, + "custom/mail": { + "format": "", + "format-alt": "{alt} ", + "format-alt-click": "click-right", + "interval": 60, + "return-type": "json", + "exec": "~/.config/waybar/modules/mail.py", + "tooltip": false + }, + "tray": { + "icon-size": 18 + } +} -- cgit v1.2.3