diff options
author | luxagraf <sng@luxagraf.net> | 2020-02-16 13:23:56 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2020-02-16 13:23:56 -0500 |
commit | cd507c92f617d4a8a3f7bb0b43e425491ef7184d (patch) | |
tree | 42144ef0f35b91e7955f570c5ecc4bcec3c4d780 /.config/waybar/config |
initial commit of dotfiles
Diffstat (limited to '.config/waybar/config')
-rw-r--r-- | .config/waybar/config | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/.config/waybar/config b/.config/waybar/config new file mode 100644 index 0000000..7fc5a76 --- /dev/null +++ b/.config/waybar/config @@ -0,0 +1,115 @@ +{ + "layer": "bottom", + "position": "bottom", + "height": 24, + "modules-left": ["sway/workspaces", "sway/mode"], + "modules-center": [""], + "modules-right": ["mpd", "network", "idle_inhibitor", "battery", "memory", "tray", "clock"], + "sway/mode": { + "format": " {}" + }, + "sway/workspaces": { + "format": "{name}", + "disable-scroll": true + }, + "clock": { + "format": "{:%a %b %d %H:%M}", + "tooltip": false, + "on-click": "~/./bin/cal.sh" + }, + "battery": { + "format": "{capacity}% {icon} | ", + "format-alt": "{time} {icon}", + "format-icons": ["", "", "", "", ""], + "format-charging": "{capacity}% CHR", + "interval": 30, + "states": { + "warning": 25, + "critical": 10 + }, + "tooltip": false + }, + "network": { + "interface": "wlp3s0", + "format": "{ifname}", + "format-wifi": "{essid} ({signalStrength}%) | ", + "format-ethernet": "{ifname} ", + "format-disconnected": "", //An empty format will hide the module. + "tooltip-format": "{ifname}", + "tooltip-format-wifi": "{essid} ({signalStrength}%) ", + "tooltip-format-ethernet": "{ifname} ", + "tooltip-format-disconnected": "Disconnected", + "max-length": 50, + "on-click": "alacritty -e nmtui", + "tooltip": false + }, + "pulseaudio": { + "format": "{icon}", + "format-alt": "{volume} {icon} | ", + "format-alt-click": "click-right", + "format-muted": "", + "format-icons": { + "phone": [" ", " ", " ", " "], + "default": ["", "", "", ""] + }, + "scroll-step": 10, + "on-click": "pavucontrol", + "tooltip": false + }, + "mpd": { + "format": "{stateIcon} {artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) | ", + "format-disconnected": "Disconnected ", + "format-stopped": "Stopped ", + "interval": 2, + "state-icons": { + "paused": "", + "playing": "" + }, + "tooltip": false, + "on-click": "mpc toggle", + "on-click-right": "mpc next" + }, + "custom/storage": { + "format": "{} ", + "format-alt": "{percentage}% ", + "format-alt-click": "click-right", + "return-type": "json", + "interval": 60, + "exec": "~/.config/waybar/modules/storage.sh" + }, + "backlight": { + "format": "{icon}", + "format-alt": "{percent}% {icon} | ", + "format-alt-click": "click-right", + "format-icons": ["", ""], + "on-scroll-down": "light -A 1", + "on-scroll-up": "light -U 1" + }, + "custom/weather": { + "format": "{}", + "format-alt": "{alt}: {}", + "format-alt-click": "click-right", + "interval": 1800, + "return-type": "json", + "exec": "~/.config/waybar/modules/weather.sh", + "exec-if": "ping wttr.in -c1" + }, + "idle_inhibitor": { + "format": "{icon}", + "format-icons": { + "activated": "", + "deactivated": "" + }, + "tooltip": false + }, + "cpu": { + "format": "{usage}% | ", + "tooltip": false + }, + "memory": { + "format": "{used:0.1f}G/{total:0.1f}G | " + }, + "tray": { + "icon-size": 16 + } +} |