diff options
author | Matt Singleton <matt@xcolour.net> | 2024-06-11 20:51:49 -0500 |
---|---|---|
committer | Matt Singleton <matt@xcolour.net> | 2024-06-11 20:51:49 -0500 |
commit | 38a4e8e941ee07a15b0aa5d388a69df061585ec9 (patch) | |
tree | f342100836608bcde976804bc4d7e927f21574da /sway-de/waybar | |
parent | c8dea64ee21c16b35c2a8b4982806984daba3273 (diff) |
separate sway-de folder causes problems with overlapping stow responsibilities
Diffstat (limited to 'sway-de/waybar')
-rw-r--r-- | sway-de/waybar/.config/waybar/config | 87 | ||||
-rw-r--r-- | sway-de/waybar/.config/waybar/style.css | 102 |
2 files changed, 0 insertions, 189 deletions
diff --git a/sway-de/waybar/.config/waybar/config b/sway-de/waybar/.config/waybar/config deleted file mode 100644 index f3dd9b1..0000000 --- a/sway-de/waybar/.config/waybar/config +++ /dev/null @@ -1,87 +0,0 @@ -[ - { - "name": "topbar", - "layer": "bottom", - "position": "top", - "height": 0, - "modules-left": ["sway/workspaces", "sway/mode"], - "modules-center": ["sway/window"], - "modules-right": ["tray", "custom/reboot", "custom/backup", "pulseaudio", "battery", "temperature", "idle_inhibitor", "clock"], - "sway/workspaces": { - "format": "{name}<span font_scale='superscript' rise='6pt'> {index}</span>", - "format-icons": { - "1": "", - "2": "", - "3": "" - } - }, - "sway/window": { - "max-length": 100, - "rewrite": { - "(.*) — Mozilla Firefox": "$1" - }, - "icon": true, - "icon-size": 20 - }, - "tray": { - "spacing": 20 - }, - "clock": { - "interval": 1, - "format": "{:%a %d %b %I:%M %p}", - "format-alt": "{:%Y-%m-%d %H:%M:%S}", - "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", - "today-format": "<b>{}</b>" - }, - "temperature": { - "critical-threshold": 80, - "format": "{icon}", - "format-alt": "{temperatureC}°C {icon}", - "format-icons": ["", "", ""], - "tooltip-format": "Temperature: {temperatureC}°C" - }, - "battery": { - "interval": 60, - "states": { - "warning": 30, - "critical": 15 - }, - "format": "{icon}", - "format-alt": "{capacity}% {icon}", - "format-charging": "\uf0e7", - "format-icons": ["", "", "", "", ""], - "tooltip-format": "Battery: {capacity}%\n{timeTo}" - }, - "pulseaudio": { - "scroll-step": 5, - "format": "{icon}", - "format-muted": "", - "format-icons": { - "headphone": "", - "default": ["", ""] - }, - "tooltip-format": "Volume: {volume}%\n{desc}", - "on-click": "pavucontrol-qt" - }, - "idle_inhibitor": { - "format": "{icon}", - "format-icons": { - "activated": "", - "deactivated": "" - }, - "tooltip": false - }, - "custom/reboot": { - "format": "{}", - "exec": "~/.local/bin/dnf-needs-restarting", - "return-type": "json", - "interval": 60 - }, - "custom/backup": { - "format": "{}", - "exec": "~/.local/bin/checkbackup", - "return-type": "json", - "interval": 60 - } - } -] diff --git a/sway-de/waybar/.config/waybar/style.css b/sway-de/waybar/.config/waybar/style.css deleted file mode 100644 index de3eb19..0000000 --- a/sway-de/waybar/.config/waybar/style.css +++ /dev/null @@ -1,102 +0,0 @@ -* { - border-radius: 0; - border: 0; - font-family: "Noto Sans", "Font Awesome 6 Free Solid"; - 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, #tray { - padding: 2px 10px; - margin: 0; -} - -#workspaces label { - padding: 0; - font-weight: bold; - font-family: "Noto Sans", "Font Awesome 6 Free Regular"; -} - -#workspaces button { - padding: 0 6px; - min-width: 30px; -} - -#workspaces button:hover { - box-shadow: inherit; - text-shadow: inherit; - background: #ffffff; -} - -#workspaces button.focused { - background: #efefef; -} - -#custom-reboot, #custom-backup, #idle_inhibitor { - min-width: 18px; -} - -#network, #pulseaudio, #battery, #temperature { - font-weight: 500; -} - -#battery.warning:not(.charging) { - color: #714700; -} - -#battery.critical:not(.charging) { - color: #a50000; -} - -#temperature.critical { - color: #a50000; -} - -#clock { - font-weight: 500; -} - -#idle_inhibitor { - margin: 0; -} - -#idle_inhibitor.activated { - color: #ffffff; - background: #a50000; - text-shadow: 1px 1px 0 #992030; -} - -#custom-reboot, #custom-backup.script-error { - color: #a50000; -} |