aboutsummaryrefslogtreecommitdiff
path: root/config/linux/waybar
diff options
context:
space:
mode:
authorMatt Singleton <matt@xcolour.net>2023-04-02 14:21:49 -0500
committerMatt Singleton <matt@xcolour.net>2023-04-02 14:21:49 -0500
commitb483c295c082207dd7e8063949c2ff5b1ed14daf (patch)
tree96af8f2cdd86e25f8a0967b0a55209aa3fc47fc1 /config/linux/waybar
parenta19790b7f5e606c3082dd0c8664e4fd460e7df91 (diff)
new stow-based configuration management for graphical environment
Diffstat (limited to 'config/linux/waybar')
-rw-r--r--config/linux/waybar/config81
-rw-r--r--config/linux/waybar/style.css78
2 files changed, 0 insertions, 159 deletions
diff --git a/config/linux/waybar/config b/config/linux/waybar/config
deleted file mode 100644
index 17bade2..0000000
--- a/config/linux/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/config/linux/waybar/style.css b/config/linux/waybar/style.css
deleted file mode 100644
index 73e2d5f..0000000
--- a/config/linux/waybar/style.css
+++ /dev/null
@@ -1,78 +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(#efefef, 0.95);
- border: 1px solid #5e4b4f;
- border-radius: 5px;
-}
-
-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;
-}