diff options
author | Matt Singleton <matt@xcolour.net> | 2023-02-03 14:39:07 -0600 |
---|---|---|
committer | Matt Singleton <matt@xcolour.net> | 2023-02-03 14:39:07 -0600 |
commit | e9dc4c1090abb01317847c417b75d3960f3da34d (patch) | |
tree | 2fb84cf24675f1294f9f7a33ea949d514844c6f1 /config/waybar | |
parent | 969f76a8238e2d43a25740c8272bf635d436f0d3 (diff) |
only install platform-appropriate configs based on uname
Diffstat (limited to 'config/waybar')
-rw-r--r-- | config/waybar/config | 89 | ||||
-rw-r--r-- | config/waybar/style.css | 62 |
2 files changed, 0 insertions, 151 deletions
diff --git a/config/waybar/config b/config/waybar/config deleted file mode 100644 index d8cefd2..0000000 --- a/config/waybar/config +++ /dev/null @@ -1,89 +0,0 @@ -[ - { - "name": "topbar", - "layer": "bottom", - "position": "top", - "height": 0, - "modules-left": ["sway/workspaces", "sway/mode"], - "modules-center": [], - "modules-right": ["tray", "custom/reboot", "network#wifi", "pulseaudio", "battery#bat1", "temperature", "idle_inhibitor", "clock#local"], - "sway/workspaces": { - "format": "{icon}", - "format-icons": { - "1": "", - "2": "" - } - }, - "clock#local": { - "interval": 1, - "format": "{:%a %d %b %I:%M %p}", - "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", - "today-format": "<b>{}</b>" - }, - "temperature": { - "critical-threshold": 80, - "format": "{icon} {temperatureC}°C", - "format-icons": ["", "", "", "", ""], - "tooltip": false - }, - "battery#bat1": { - "bat": "BAT0", - "adapter": "AC", - "interval": 60, - "states": { - "5": 100, - "4": 80, - "3": 60, - "2": 40, - "1": 20, - "0": 5 - }, - "format": "{icon} {capacity}%", - "format-charging-5": " {capacity}%", - "format-charging-4": " {capacity}%", - "format-charging-3": " {capacity}%", - "format-charging-2": " {capacity}%", - "format-charging-1": " {capacity}%", - "format-charging-0": " {capacity}%", - "format-icons": ["", "", "", "", "", ""] - }, - "network#wifi": { - "interface": "wlp*", - "format-ethernet": "", - "format-wifi": " {signalStrength}%", - "format-linked": "", - "format-disconnected": "", - "tooltip-format": "{essid}\n{ifname}: {ipaddr}/{cidr}", - "on-click": "nm-connection-editor" - }, - "pulseaudio": { - "scroll-step": 1, - "format": "{icon} {volume}%", - "format-muted": "婢 {volume}%", - "format-bluetooth": "{icon} {volume}%", - "format-bluetooth-muted": "婢 {icon}", - "format-icons": { - "headphone": "", - "phone": "", - "portable": "", - "car": "", - "default": ["奄", "奔", "墳"] - }, - "on-click": "pavucontrol" - }, - "idle_inhibitor": { - "format": "{icon}", - "format-icons": { - "activated": "", - "deactivated": "" - }, - "tooltip": false - }, - "custom/reboot": { - "format": "{}", - "exec": "~/.local/bin/dnf-needs-restarting", - "return-type": "json", - "interval": 60 - } - } -] diff --git a/config/waybar/style.css b/config/waybar/style.css deleted file mode 100644 index ebcf4a6..0000000 --- a/config/waybar/style.css +++ /dev/null @@ -1,62 +0,0 @@ -* { - border-radius: 0; - border: 0; - font-family: Noto Sans, JetBrainsMono Nerd Font; - font-size: 11pt; - text-shadow: none; -} - -window#waybar { - background: #eff0f2; - color: #4a4b4e; - border-bottom: 1px solid #dee2e0; -} - -tooltip { - background: alpha(#eff0f2, 0.95); - border: 1px solid #dee2e0; - border-radius: 5px; -} - -tooltip label { - color: #4a4b4e; -} - -label { - padding: 2px 10px; - margin: 0; -} - -#workspaces label { - padding: 0; -} - -#workspaces button { - padding: 0 6px; - font-weight: normal; -} - -#workspaces button:hover { - box-shadow: inherit; - text-shadow: inherit; - background: #eff0f2; -} - -#workspaces button.focused { - background: #dee2e0; -} - -#idle_inhibitor { - margin: 0; - padding: 2px 12px 2px 6px; -} - -#idle_inhibitor.activated { - color: #eff0f2; - background: #a32a3a; - text-shadow: 1px 1px 0 #ae4e2a; -} - -#custom-reboot { - color: #a32a3a; -} |