From ff8fa55617adc0d46f98aca11214aa2541f3d1ec Mon Sep 17 00:00:00 2001 From: Luke Hubmayer-Werner Date: Sat, 3 Jun 2023 17:27:45 +0930 Subject: [PATCH] Initial commit --- Radeon_vega_graphics_badge.png | Bin 0 -> 7999 bytes config | 274 +++++++++++++++++++++++++++++++++ ryzen.svg | 1 + style.css | 217 ++++++++++++++++++++++++++ 4 files changed, 492 insertions(+) create mode 100644 Radeon_vega_graphics_badge.png create mode 100644 config create mode 100644 ryzen.svg create mode 100644 style.css diff --git a/Radeon_vega_graphics_badge.png b/Radeon_vega_graphics_badge.png new file mode 100644 index 0000000000000000000000000000000000000000..7e12727cd8b349adcd1134dd783cce497bf7e5c2 GIT binary patch literal 7999 zcmV-FAHd*=P)TSlg7I&QV{(AwSbRQr$C5-A!WXz{<@$R?uK=&xMQEsISRXUD0cM!bMicG)&Dw zUCeWV!T>7ZoTu3U9=}s#+;xE7W_H(UaN0Ui)S{ov00h33o4*z^*@c(lh>qfWio$q+ zxd0X0TWrgXkJ|tp;Ly>r02{&pImvB*YR$&40014@NklFB6?keH1nww?5@gt}LF1$Q&9yozmqD>N7plGdGc_y>&< zr<`_b%RopsHNUw6CaQ|CK9P-_y6`87O^uA|bQ$hmn!xi@JAkwwCsT&`i#m|-u*|gpu%R^|8n!99#in6Wg2CT!y zKL`;5#63r)OH&!3DOhfUED@oh>!2}~5+s0sA~ektXKA9QexsA6BP^2I z(tHehrRl-MSt<{8a&FOOXhl^i?7|{kK0?DBR2GjARiXEh7{>B>Nc1Av>MenXoZSYR zV(AEpp=)245zw$eQ>=oAV15(wp|Egqs*1L+n<2oZBE(TO$omCHhB#;LVY~{LJxg(( zmMZ+NP2+hGZl8lsp_5f11f{sQP_<8~l8ZIPN)QqZnO#oaKLX$MW$C$5Dq};CNjdei?T-^5TxtidV)7*%x4MGqH zwGOrCDQ=*(mYFt4SI$Fn?$~oRY;1Q!*Nf|ekdR@;o~N{->Zxw77ecaQvH2M`j8;ne zlx4U|gnGWr<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J*S{=lebNcT1IT{I_o`G0YUibFIyMIHbE002ovPDHLkV1iE8 BKn(x@ literal 0 HcmV?d00001 diff --git a/config b/config new file mode 100644 index 0000000..d2d07ae --- /dev/null +++ b/config @@ -0,0 +1,274 @@ +{ //  + // "layer": "top", // Waybar at top layer + "position": "bottom", // Waybar position (top|bottom|left|right) + "height": 24, // Waybar height (to be removed for auto height) + // "width": 1280, // Waybar width + + // Choose the order of the modules + "modules-left": [ + "sway/workspaces", + // "sway/language", + "sway/mode", + "mpd" + //"custom/media", + ], + "modules-center": [ + "tray", "idle_inhibitor" + //"sway/window", + ], + "modules-right": [ + "network#bridge", + "network#wifi", "temperature#wifi", + "cpu", "temperature#cpu", + // "custom/gpu-usage", "temperature#igpu", + "custom/gpu-usage", + "memory", + "disk", "temperature#nvme", + "pulseaudio", "clock" + ], + + // Modules configuration + "sway/workspaces": { + "disable-scroll": false, + "disable-scroll-wraparound": true, + "enable-bar-scroll": true, + "all-outputs": false, + "format": "{icon} {name}", + "format-icons": {"urgent": "", "focused": "", "default": ""} + //"format-icons": {"1": "", "2": "", "3": "", "4": "", "5": "", "urgent": "", "focused": "", "default": ""} + }, + "sway/mode": { + "format": "{}" + }, + "mpd": { + "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{filename} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩", //  + "format-disconnected": "Disconnected", //  + "format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped", //  + "unknown-tag": "", + "max-length": 70, + "interval": 2, + "consume-icons": {"on": " "}, + "random-icons": { + "off": " ", + "on": " " + }, + "repeat-icons": {"on": " "}, + "single-icons": {"on": "1 "}, + "state-icons": { + "paused": "", + "playing": "" + }, + "tooltip-format": "MPD (connected)", + "tooltip-format-disconnected": "MPD (disconnected)" + }, + "idle_inhibitor": { + "format": "{icon}", + "format-icons": { + "activated": "", + "deactivated": "" + } + }, + "tray": { + // "icon-size": 21, + "spacing": 5 + }, + "clock": { + // "timezone": "America/New_York", + // "timezone": "", + "locale": "ja_JP.utf8", + "tooltip-format": "{:%Y %B}\n{calendar}", + "format": "{:%A %d %B %H:%M:%S %Z}", + "format-alt": "{:%c}", + "interval": 1 + }, + "cpu": { + // "format": "{usage:3}%", // + "format": " {usage:3}%", + // "min-length": 5, + // "max-length": 5, + "tooltip": true, + "interval": 1 + }, + "custom/gpu-usage": { + //"exec": "cat /sys/class/hwmon/hwmon1/device/gpu_busy_percent", + // "exec": "cat /sys/class/drm/card0/device/gpu_busy_percent", + // "exec": "sed -e :a -e 's/^.\\{1,3\\}$/ &/;ta' /sys/class/drm/card*/device/gpu_busy_percent", + // // "format": "GPU: {}%", + // "format": "{}%", + //"return-type": "", + // "min-length": 5, + // "max-length": 5, + "exec": "/home/luke/.config/waybar/gpu_monitor", + "interval": 1 + }, + "memory": { + "format": " {avail:0.1f} GiB free", // when fontawesome updates to 5.0.13, otherwise  + "format-alt": " {used:0.1f}/{total:0.1f} GiB", + "interval": 5 + }, + "disk": { + "interval": 15, + "format": " {free} free", // + "format-alt": " {used} used, {free} free", + "path": "/" + }, + "temperature": { + //k10temp-pci-00c3 + // "thermal-zone": 2, + // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", + "hwmon-path": "/sys/class/drm/card0/device/hwmon/hwmon1/temp1_input", + "critical-threshold": 80, + // "format-critical": "{temperatureC}°C {icon}", + //"format": "{icon} {temperatureC} °C", + "format": " {temperatureC}°C", + "format-icons": ["", "", ""], + "interval": 1 + }, + "temperature#cpu": { + //k10temp-pci-00c3 + // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", + "hwmon-path-abs": "/sys/devices/pci0000:00/0000:00:18.3/hwmon", + "input-filename": "temp1_input", + "critical-threshold": 92, + //°C + "format": " {temperatureC}℃", + "format-icons": ["", "", ""], + "interval": 1 + }, + "temperature#igpu": { + // "hwmon-path": "/sys/class/drm/card0/device/hwmon/hwmon1/temp1_input", + "hwmon-path-abs": "/sys/devices/pci0000:00/0000:00:08.1/0000:08:00.0/hwmon", + "input-filename": "temp1_input", + "critical-threshold": 80, + "format": " {temperatureC}℃", + "format-icons": ["", "", ""], + "interval": 1 + }, + "temperature#dgpu": { + // "hwmon-path": "/sys/class/drm/card1/device/hwmon/hwmon1/temp1_input", + "hwmon-path-abs": "/sys/devices/pci0000:00/0000:00:02.3/0000:05:00.0/0000:06:00.0/0000:07:00.0/hwmon", + "input-filename": "temp1_input", + "critical-threshold": 80, + "format": " {temperatureC}℃", + "format-icons": ["", "", ""], + "interval": 1 + }, + "temperature#nvme": { + //nvme-pci-0100 + "hwmon-path": "/sys/class/nvme/nvme0/hwmon0/temp1_input", + "critical-threshold": 80, + "format": " {temperatureC}℃", + "format-icons": ["", "", ""], + "interval": 1 + }, + "temperature#wifi": { + //iwlwifi_1-virtual-0 + // "hwmon-path": "/sys/class/hwmon/hwmon3/temp1_input", + "hwmon-path": "/sys/class/hwmon/hwmon4/temp1_input", + // "hwmon-path-abs": "/sys/devices/virtual/thermal/thermal_zone0/", + // "input-filename": "temp1_input", + "critical-threshold": 80, + "format": " {temperatureC}℃", + "format-icons": ["", "", ""], + "interval": 1 + }, + "backlight": { + // "device": "acpi_video1", + "format": "{percent}% {icon}", + "format-icons": ["", ""] + }, + "battery": { + "states": { + // "good": 95, + "warning": 30, + "critical": 15 + }, + "format": "{capacity}% {icon}", + "format-charging": "{capacity}% ", + "format-plugged": "{capacity}% ", + "format-alt": "{time} {icon}", + // "format-good": "", // An empty format will hide the module + // "format-full": "", + "format-icons": ["", "", "", "", ""] + }, + "battery#bat2": { + "bat": "BAT2" + }, + "network": { + // "interface": "wlp2*", // (Optional) To force the use of this interface + "format-wifi": " {essid} ({signalStrength}%)", + "format-ethernet": " {ifname}: {ipaddr}/{cidr} ", + "format-linked": "{ifname} (No IP) ", + "format-disconnected": "Disconnected ⚠", + "format-alt": "{ifname}: {ipaddr}/{cidr}" + }, + "network#bridge": { + "interface": "bridge_wired", // (Optional) To force the use of this interface + "format-wifi": " {essid} ({signalStrength}%)", + "format-ethernet": " br: {ipaddr} ", + "format-linked": "br (No IP) ", + "format-disconnected": "Disconnected ⚠", + "format-alt": "br: {ipaddr}/{cidr}" + }, + "network#GBE": { + "interface": "enp3s0", // (Optional) To force the use of this interface + "format-wifi": " {essid} ({signalStrength}%)", + "format-ethernet": " {ifname}: {ipaddr} ", + "format-linked": "{ifname} (No IP) ", + "format-disconnected": "Disconnected ⚠", + "format-alt": "{ifname}: {ipaddr}/{cidr}" + }, + "network#2.5GBE": { + "interface": "eno1", // (Optional) To force the use of this interface + "format-wifi": " {essid} ({signalStrength}%)", + "format-ethernet": " {ifname}: {ipaddr} ", + "format-linked": "{ifname} (No IP) ", + "format-disconnected": "Disconnected ⚠", + "format-alt": "{ifname}: {ipaddr}/{cidr}" + }, + "network#wifi": { + "interface": "wlp*", // (Optional) To force the use of this interface + "format-wifi": " {essid} ({signalStrength}%)", + "format-disconnected": "Disconnected ⚠", + "format-alt": "{ifname}: {ipaddr}/{cidr}" + }, + "pulseaudio": { + // "scroll-step": 1, // %, can be a float + "format": "{volume}% {icon} {format_source}", + "format-bluetooth": "{volume}% {icon} {format_source}", + "format-bluetooth-muted": " {icon} {format_source}", + "format-muted": " {format_source}", + "format-source": "{volume}% ", + "format-source-muted": "", + "format-icons": { + "headphone": "", + "hands-free": "", + "headset": "", + "phone": "", + "portable": "", + "car": "", + "default": ["", "", ""] + }, + "on-click": "pavucontrol" + }, + "custom/media": { + "format": "{icon}{}", + "return-type": "json", + "format-icons": {"Playing": " ", "Paused": " "}, + "max-length":70, + "exec": "playerctl metadata --format '{\"text\": \"{{title}}\", \"tooltip\": \"{{playerName}} : {{title}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F", + "on-click": "playerctl play-pause", + } + //"custom/media": { + // "format": "{icon} {}", + // "return-type": "json", + // "max-length": 40, + // "format-icons": { + // "spotify": "", + // "default": "🎜" + // }, + // "escape": true, + // "exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder + // // "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name + //} +} diff --git a/ryzen.svg b/ryzen.svg new file mode 100644 index 0000000..3603214 --- /dev/null +++ b/ryzen.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..b119af3 --- /dev/null +++ b/style.css @@ -0,0 +1,217 @@ +* { + border: none; + border-radius: 0; + /* `otf-font-awesome` is required to be installed for icons */ + /*font-family: Roboto, Helvetica, Arial, sans-serif;*/ + font-family: Ubuntu, Noto, Helvetica, Arial, sans-serif; + font-size: 14px; + min-height: 0; + margin-right: 0; +} + +window#waybar { + background-color: rgba(43, 48, 59, 0.35); + border-bottom: 3px solid rgba(100, 114, 125, 0.35); + color: #ffffff; + transition-property: background-color; + transition-duration: .5s; +} + +window#waybar.hidden { + opacity: 0.2; +} + +/* +window#waybar.empty { + background-color: transparent; +} +window#waybar.solo { + background-color: #FFFFFF; +} +*/ + +window#waybar.termite { + background-color: #3F3F3F; +} + +window#waybar.chromium { + background-color: #000000; + border: none; +} + +/* If workspaces is the leftmost module, omit left margin */ +.modules-left > widget:first-child > #workspaces { + margin-left: 0; +} + +/* If workspaces is the rightmost module, omit right margin */ +.modules-right > widget:last-child > #workspaces, #clock { + margin-right: 0; +} + +#workspaces button { + padding: 0 5px; + background-color: transparent; + color: #ffffff; + /* Use box-shadow instead of border so the text isn't offset */ + box-shadow: inset 0 -3px transparent; +} + +/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */ +#workspaces button:hover { + background: rgba(0, 0, 0, 0.2); + box-shadow: inset 0 -3px #ffffff; +} + +#workspaces button.focused { + background-color: #64727D; + box-shadow: inset 0 -3px #ffffff; +} + +#workspaces button.urgent { + background-color: #eb4d4b; +} + +#mode { + background-color: #64727D; + border-bottom: 3px solid #ffffff; +} + +#clock, +#battery, +#cpu, +#custom-gpu-usage, +#memory, +#disk, +#temperature, +#backlight, +#network, +#pulseaudio, +#custom-media, +#tray, +#mode, +#idle_inhibitor, +#mpd { + padding: 0 6px; + margin-left: 3; +} + +/* #window, +#workspaces { + margin: 0 4px; +} */ + +#clock { + background-color: #64727D; +/* font-size: 14px; */ +} + +#battery { + background-color: #ffffff; + color: #000000; +} + +#battery.charging, #battery.plugged { + color: #ffffff; + background-color: #26A65B; +} + +@keyframes blink { + to { + background-color: #ffffff; + color: #000000; + } +} + +#battery.critical:not(.charging) { + background-color: #f53c3c; + color: #ffffff; + animation-name: blink; + animation-duration: 0.5s; + animation-timing-function: linear; + animation-iteration-count: infinite; + animation-direction: alternate; +} + +label:focus { + background-color: #000000; +} + +#cpu, #temperature.cpu {background-color: #2eac41;} +#cpu { + background-image: url('/home/luke/.config/waybar/ryzen.svg'); + background-position: left; + background-repeat: no-repeat; + background-size: contain; + /* color: #000000; */ + font-family: Fira Code; +} +#temperature.cpu {margin-left: 0;} + +#custom-gpu-usage, #temperature.gpu, #temperature.igpu, #temperature.dgpu {background-color: #800000;} +#custom-gpu-usage { + background-image: url('/home/luke/.config/waybar/Radeon_vega_graphics_badge.png'); + background-position: left; + background-repeat: no-repeat; + background-size: contain; + /* color: #000000; */ + font-family: Fira Code; + font-size: 9px; +} +#temperature.gpu, #temperature.igpu, #temperature.dgpu {margin-left: 0;} + +#memory {background-color: #9b59b6;} + +#disk, #temperature.nvme {background-color: #964B00;} +#temperature.nvme {margin-left: 0;} + +#backlight {background-color: #90b1b1;} + +#network {background-color: #2980b9;} +/* #network.disconnected {background-color: #f53c3c;} */ +#temperature.wifi {margin-left: 0; background-color: #2980b9;} + +#pulseaudio { + background-color: #90a400; + /* color: #000000; */ +} +#pulseaudio.muted { + background-color: #90b1b1; + color: #2a5c45; +} + +#custom-media { + background-color: #66cc99; + color: #2a5c45; + min-width: 100px; +} + +#custom-media.custom-spotify {background-color: #66cc99;} +#custom-media.custom-vlc {background-color: #ffa000;} + +#temperature {background-color: #f0932b;} +#temperature.critical {background-color: #eb4d4b;} + +#tray {background-color: #2980b9;} + +#idle_inhibitor {background-color: #2d3436;} +#idle_inhibitor.activated { + background-color: #ecf0f1; + color: #2d3436; +} + +#mpd { + background-color: #66cc99; + color: #2a5c45; +} +#mpd.disconnected {background-color: #f53c3c;} +#mpd.stopped {background-color: #90b1b1;} +#mpd.paused {background-color: #51a37a;} + +#language { + background: #00b093; + color: #740864; + padding: 0 5px; + margin: 0 5px; + min-width: 16px; +}