From 4e7a291bd951a6b1f2fa6f1075dd99ab6e7f770b Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Tue, 10 Oct 2023 20:58:04 +0200 Subject: [PATCH] Delete waybar configuration --- home/.config/waybar/config-hypr | 146 ------------------------- home/.config/waybar/config-hypr.bak | 159 ---------------------------- home/.config/waybar/style.css | 136 ------------------------ 3 files changed, 441 deletions(-) delete mode 100644 home/.config/waybar/config-hypr delete mode 100644 home/.config/waybar/config-hypr.bak delete mode 100644 home/.config/waybar/style.css diff --git a/home/.config/waybar/config-hypr b/home/.config/waybar/config-hypr deleted file mode 100644 index 62bfd1b..0000000 --- a/home/.config/waybar/config-hypr +++ /dev/null @@ -1,146 +0,0 @@ -// vi: ft=json - -{ - "layer": "top", - "position": "top", - "height": 20, - - "modules-left": ["idle_inhibitor", "custom/gammastep", "hyprland/window"], - "modules-center": ["wlr/workspaces"], - "modules-right": ["pulseaudio", "pulseaudio#mic", "network#vpn", "network", "battery", "cpu", "memory", "clock", "tray"], - - "hyprland/window": { - "format": "{}", - "max-length": 70, - "separate-outputs": true, - "rewrite": { - "": "\uf015", - "(.*) — Mozilla Firefox": "\uf269 $1", - "Mozilla Firefox": "\uf269 Mozilla Firefox", - "Alacritty": "\uf120 Alacritty", - "(?:zsh;#toggleterm#1 - )?(.*) - N?VIM": "\uf15c $1", - "/(.*)": "\uf07b /$1", - "(.*) - mpv": "\uf03d $1", - "(.*) - Discord": "\uf392 $1", - "Stremio - (.*)": "\uf008 Stremio - $1", - "pulsemixer": "\uf001 Pulsemixer", - "Spotify": "\uf1bc Spotify", - } - }, - - "wlr/workspaces": { - "format": "{icon}", - "on-click": "activate", - "all-outputs": true, - "format-icons": { - "1": "", - "2": "", - "3": "", - "4": "", - "5": "", - "6": "", - "7": "7", - "8": "8", - "9": "9", - "urgent": "", - } - }, - - "idle_inhibitor": { - "format": "{icon}", - "format-icons": { - "activated": "", - "deactivated": "" - } - }, - - "tray": { - "spacing": 10, - "show-passive-items": true - }, - - "clock": { - "format": "{:\uf017 %e %b %H:%M}", - "format-alt": "{:\uf133 %A, %d %B, %Y}", - "tooltip-format": "{:%d %B, %Y}\n{calendar}" - }, - - - "battery": { - "states": { - "warning": 30, - "critical": 15 - }, - "bat": "BAT0", - "adapter": "ADP0", - "format": "{icon} {capacity}%", - "format-charging": " {capacity}%", - "format-plugged": " {capacity}%", - "format-alt": "{icon} {time}", - "format-full": "", - "format-icons": ["", "", "", "", ""] - }, - - "network": { - "interval": 5, - "format-wifi": "\uf1eb", - "format-ethernet": "\uf796", - "format-disconnected": "\uf127 Offline", - "tooltip-format": "{ifname}: {ipaddr}", - "tooltip-format-wifi": "{essid} ({signalStrength}%): {ipaddr}" - }, - "network#vpn": { - "interval": 5, - "interface": "wgivpn", - "format": "\uf3ed", - "format-disconnected": "", - "tooltip-format": "VPN Connected: {ipaddr}" - }, - - "pulseaudio": { - "scroll-step": 1, - "format": "{icon} {volume}%", - "format-bluetooth": "{icon} {volume}%", - "format-bluetooth-muted": "{icon} ", - "format-muted": "", - "format-source": "", - "format-source-muted": "", - "format-icons": { - "headphone": "", - "hands-free": "", - "headset": "", - "phone": "", - "portable": "", - "car": "", - "default": ["", "", ""] - }, - "on-click": "pkill pulsemixer; alacritty -e pulsemixer" - }, - "pulseaudio#mic": { - "format": "{format_source}", - "format-source": "", - "format-source-muted": "", - "on-click": "pactl set-source-mute @DEFAULT_SOURCE@ toggle", - "tooltip": false - }, - - "custom/gammastep": { - "format": "{}", - "interval": 5, - "on-update": "", - "exec": "sleep 0.05; gammastep-ctl", - "on-click": "gammastep-ctl toggle" - }, - - "memory": { - "interval": 30, - "format": " {used:0.1f}G: {percentage}%", - }, - - "cpu": { - "interval": 10, - "format": " {}%", - "max-length": 10 - } - -} diff --git a/home/.config/waybar/config-hypr.bak b/home/.config/waybar/config-hypr.bak deleted file mode 100644 index dc9801b..0000000 --- a/home/.config/waybar/config-hypr.bak +++ /dev/null @@ -1,159 +0,0 @@ -{ - "layer": "top", // Waybar at top layer - "position": "top", // Waybar position (top|bottom|left|right) - "height": 30, // Waybar height (to be removed for auto height) - // "width": 1280, // Waybar width - "spacing": 4, // Gaps between modules (4px) - // Choose the order of the modules - "modules-left": ["wlr/workspaces"], - "modules-center": ["sway/window"], - "modules-right": ["idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "sway/language", "battery", "battery#bat2", "clock", "tray"], - // Modules configuration - // "sway/workspaces": { - // "disable-scroll": true, - // "all-outputs": true, - // "format": "{name}: {icon}", - // "format-icons": { - // "1": "", - // "2": "", - // "3": "", - // "4": "", - // "5": "", - // "urgent": "", - // "focused": "", - // "default": "" - // } - // }, - "keyboard-state": { - "numlock": true, - "capslock": true, - "format": "{name} {icon}", - "format-icons": { - "locked": "", - "unlocked": "" - } - }, - "sway/mode": { - "format": "{}" - }, - "mpd": { - "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ", - "format-disconnected": "Disconnected ", - "format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ", - "unknown-tag": "N/A", - "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": 10 - }, - "clock": { - // "timezone": "America/New_York", - "tooltip-format": "{:%Y %B}\n{calendar}", - "format-alt": "{:%Y-%m-%d}" - }, - "cpu": { - "format": "{usage}% ", - "tooltip": false - }, - "memory": { - "format": "{}% " - }, - "temperature": { - // "thermal-zone": 2, - // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", - "critical-threshold": 80, - // "format-critical": "{temperatureC}°C {icon}", - "format": "{temperatureC}°C {icon}", - "format-icons": ["", "", ""] - }, - "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": "{ipaddr}/{cidr} ", - "tooltip-format": "{ifname} via {gwaddr} ", - "format-linked": "{ifname} (No IP) ", - "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", - "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/home/.config/waybar/style.css b/home/.config/waybar/style.css deleted file mode 100644 index 873768b..0000000 --- a/home/.config/waybar/style.css +++ /dev/null @@ -1,136 +0,0 @@ -* { - border: none; - border-radius: 0; - font-family: "JetBrains Mono", "Font Awesome 6 Free"; - font-size: 14px; -} - -window .modules-left, -window .modules-center, -window .modules-right { - background: rgba(55, 59, 65, 0.85); - padding: 0px 8px 0px 8px; -} - -window .modules-left { - border-top-right-radius: 16px; - border-bottom-right-radius: 16px; -} - -window .modules-right { - border-top-left-radius: 16px; - border-bottom-left-radius: 16px; -} - -window .modules-center { - border-radius: 16px; -} -window#waybar { - background: transparent; -} - -window > box { - margin: 5px 0px 5px 0px; - padding: 0px 0px 0px 0px; - background: rgba(43, 48, 59, 0); - color: white; - border-radius: 16px; - min-height: 32px; -} - -#workspaces button { - font-weight: bolder; - margin: 3px; - padding: 0px 2px 0px 2px; - background-color: transparent; - color: rgba(255, 255, 255, 0.5); - min-width: 24px; - 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: transparent; - box-shadow: inset 0 -3px transparent; - color: rgba(255, 255, 255, 0.8); -} - -#workspaces button.active, -#workspaces button.focused { - background: transparent; - box-shadow: inset 0 -3px #ffffff; - color: rgba(255, 255, 255, 1); -} - -#workspaces button.urgent { - box-shadow: inset 0 -3px #cc6666; - color: #cc6666; -} - -#clock, -#battery, -#cpu, -#memory, -#disk, -#temperature, -#backlight, -#network, -#pulseaudio, -#custom-media, -#tray, -#mode, -#idle_inhibitor, -#mpd, -#window, -#workspaces, -#custom-gammastep -{ - padding: 0px 8px 0px 8px; - margin: 0 5px; - color: #ffffff; -} - -#mode { - font-weight: bolder; - color: #f0c674; -} - -#mpd.stopped { - color: rgba(255, 255, 255, 0.3); -} - -#idle_inhibitor.deactivated { - color: rgba(255, 255, 255, 0.3); -} - -#network.disconnected, #network.disabled { - color: rgba(255, 255, 255, 0.3); -} - -#clock { - font-weight: bolder; -} - -@keyframes blink { - to { - color: #ffffff; - } -} - -#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; -} - -#tray > .passive { - -gtk-icon-effect: dim; -} - -#tray > .needs-attention { - -gtk-icon-effect: highlight; -}