diff --git a/target-scripts/.config/waybar/config b/target-scripts/.config/waybar/config new file mode 100644 index 0000000000000000000000000000000000000000..c7a88c9683cf458f63d192faf70a7d3448a5aecd --- /dev/null +++ b/target-scripts/.config/waybar/config @@ -0,0 +1,66 @@ +{ + // "layer": "top", // Waybar at top layer + // "position": "bottom", // Waybar position (top|bottom|left|right) + "height": 34, // Waybar height (to be removed for auto height) + // "width": 1280, // Waybar width + // Choose the order of the modules + "modules-left": ["sway/workspaces", "sway/mode", "sway/window"], + "modules-center": [], + "modules-right": ["tray", "network", "custom/stat", "memory", "temperature", "pulseaudio", "clock", "tray"], + "sway/window": { + "on-click": "xfce4-appfinder" + }, + "sway/mode": { + "format": "<span>{}</span>" + }, + "tray": { + "icon-size": 32, + "spacing": 16 + }, + "clock": { + "tooltip-format": "{:%Y %B}", + "format-alt": "{:%Y-%m-%d}", + "tooltip": false + }, + "cpu": { + "format": "CPU {usage}%", + "tooltip": false + }, + "memory": { + "format": "MEM {}%", + "tooltip": false + }, + "temperature": { + "thermal-zone": 0, + // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", + "critical-threshold": 80, + // "format-critical": "{temperatureC}°C {icon}", + "format": "{temperatureC}°C" + }, + "network": { + // "interface": "wlp2*", // (Optional) To force the use of this interface + "format-wifi": "NET {essid} {signalStrength}%", + "format-ethernet": "NET {ifname}: {ipaddr}/{cidr}", + "format-linked": "NET {ifname} NO IP", + "format-disconnected": "OFFLINE", + //"format-alt": "NET {ifname}: {ipaddr}/{cidr}" + "on-click": "~/bin/connman-gtk.sh" + }, + "pulseaudio": { + // "scroll-step": 1, + "format": "VOL {volume}%", + "format-bluetooth": "{volume}% {icon} {format_source}", + "format-bluetooth-muted": " {icon} {format_source}", + "format-muted": "MUTED {format_source}", + "format-source": "{volume}%", + "format-source-muted": "MUTE", + "on-click": "pavucontrol" + }, + "custom/stat": { + "format": "{}", + "max-length": 20, + "interval": 0, + "exec": "~/bin/compstat.sh", + "on-click": "gnome-system-monitor" + } +} diff --git a/target-scripts/.config/waybar/style.css b/target-scripts/.config/waybar/style.css new file mode 100644 index 0000000000000000000000000000000000000000..bd2cfab0a4a08d2e7a4850738d9ff0b609d414c0 --- /dev/null +++ b/target-scripts/.config/waybar/style.css @@ -0,0 +1,44 @@ +* { + font-size: 18px; + font-family: Inter; + font-weight: bold; + border-radius: 0; +} + +window#waybar { + background: #000000; + color: #ffffff; +} + +#sway-mode { + background-color: #330000; +} + +widget label { + padding: 0px 20px; +} + +#workspaces label { + padding: 0px 0px; +} + +#workspaces button { + color: #ffffff; + font-size: 20px; + font-style: italic; +} +#workspaces button.focused { + background: #ffffff; + color: #000000; +} +#workspaces button:hover { + box-shadow: inherit; + text-shadow: inherit; +} +#workspaces button:hover { + background: #888888; +} + +#clock { + padding-right: 0px; +}