diff options
author | Matt Singleton <matt@xcolour.net> | 2023-04-02 20:16:45 -0500 |
---|---|---|
committer | Matt Singleton <matt@xcolour.net> | 2023-04-11 16:06:09 -0500 |
commit | 5ca60114560f24617d0a82ef230bc11484617800 (patch) | |
tree | 471cfb42af8518d262b1b2403971479f2fc65dc0 /sway-de/config/waybar | |
parent | ed3b3470003bf3bcb9ea605daf9d8c68458474df (diff) |
each program in a sway package
Diffstat (limited to 'sway-de/config/waybar')
-rw-r--r-- | sway-de/config/waybar/config | 81 | ||||
-rw-r--r-- | sway-de/config/waybar/style.css | 77 |
2 files changed, 0 insertions, 158 deletions
diff --git a/sway-de/config/waybar/config b/sway-de/config/waybar/config deleted file mode 100644 index 17bade2..0000000 --- a/sway-de/config/waybar/config +++ /dev/null @@ -1,81 +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}", - "format-icons": ["", "", "", "", ""], - "tooltip-format": "Temperature: {temperatureC}°C" - }, - "battery#bat1": { - "bat": "BAT0", - "adapter": "AC", - "interval": 60, - "states": { - "5": 100, - "4": 80, - "3": 60, - "2": 40, - "1": 20, - "0": 5 - }, - "format": "{icon}", - "format-charging": "", - "format-icons": ["", "", "", "", ""], - "tooltip-format": "Battery: {capacity}%\n{timeTo}" - }, - "network#wifi": { - "interface": "wlp*", - "format-ethernet": "", - "format-wifi": "", - "format-linked": "", - "format-disconnected": "", - "tooltip-format": "Signal: {signalStrength}%\n{essid}\n{ifname}: {ipaddr}/{cidr}", - "on-click": "gnome-control-center wifi" - }, - "pulseaudio": { - "scroll-step": 1, - "format": "{icon}", - "format-muted": "", - "format-icons": { - "headphone": "", - "default": ["", ""] - }, - "tooltip-format": "Volume: {volume}%\n{desc}", - "on-click": "gnome-control-center sound" - }, - "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/sway-de/config/waybar/style.css b/sway-de/config/waybar/style.css deleted file mode 100644 index 3866d6f..0000000 --- a/sway-de/config/waybar/style.css +++ /dev/null @@ -1,77 +0,0 @@ -* { - border-radius: 0; - border: 0; - font-family: "Noto Sans", "Font Awesome 5 Free"; - font-size: 11pt; - text-shadow: none; -} - -window#waybar { - background: #ffffff; - color: #4a484d; - border-bottom: 1px solid #efefef; - border-left: 5px solid black; - border-right: 5px solid black; -} - -.modules-left, .modules-center, .modules-right { - background: #ffffff; - border-bottom: 1px solid #efefef; -} - -.modules-left { - border-radius: 5px 0 0 0; - padding-left: 5px; -} - -.modules-right { - border-radius: 0 5px 0 0; -} - -tooltip { - background: alpha(#fafafa, 0.95); - border: 1px solid #ddd; -} - -tooltip label { - color: #4a484d; -} - -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: #ffffff; -} - -#workspaces button.focused { - background: #efefef; -} - -#idle_inhibitor { - margin: 0; - padding: 2px 12px 2px 6px; -} - -#idle_inhibitor.activated { - color: #ffffff; - background: #a50000; - text-shadow: 1px 1px 0 #992030; -} - -#custom-reboot { - color: #a50000; -} |