From acf177c6bd47b02557b8918d5621f61b0b3529a8 Mon Sep 17 00:00:00 2001 From: OdiousImp2604 <74424076+OdiousImp2604@users.noreply.github.com> Date: Sat, 16 Jan 2021 12:52:43 +0000 Subject: [PATCH] Delete waybar directory --- waybar/config | 197 ------------------------------------------- waybar/style.css | 214 ----------------------------------------------- 2 files changed, 411 deletions(-) delete mode 100644 waybar/config delete mode 100644 waybar/style.css diff --git a/waybar/config b/waybar/config deleted file mode 100644 index 48ea253..0000000 --- a/waybar/config +++ /dev/null @@ -1,197 +0,0 @@ -// ============================================================================= -// -// Waybar configuration -// -// Configuration reference: https://github.com/Alexays/Waybar/wiki/Configuration -// -// ============================================================================= - -{ - // ------------------------------------------------------------------------- - // Global configuration - // ------------------------------------------------------------------------- - - "layer": "top", - - "position": "bottom", - - // If height property would be not present, it'd be calculated dynamically - "height": 30, - - "modules-left": [ - "custom/launcher", - "sway/workspaces", - "sway/mode" - ], - "modules-center": [ - - ], - "modules-right": [ - "network", - "pulseaudio", - "memory", - "cpu", - "temperature", - "custom/keyboard-layout", - "battery", - "backlight", - "tray", - "clock#date", - "clock#time", - "custom/power" - ], - - - // ------------------------------------------------------------------------- - // Modules - // ------------------------------------------------------------------------- - - "battery": { - "interval": 10, - "states": { - "warning": 30, - "critical": 15 - }, - // Connected to AC - "format": " {icon} {capacity}%", // Icon: bolt - // Not connected to AC - "format-discharging": "{icon} {capacity}%", - "format-icons": [ - "", // Icon: battery-full - "", // Icon: battery-three-quarters - "", // Icon: battery-half - "", // Icon: battery-quarter - "" // Icon: battery-empty - ], - "tooltip": true - }, - - "clock#time": { - "interval": 1, - "format": "{:%H:%M:%S}", - "tooltip": false - }, - - "clock#date": { - "interval": 10, - "format": " {:%e %b %Y}", // Icon: calendar-alt - "tooltip-format": "{:%e %B %Y}" - }, - - "cpu": { - "interval": 5, - "format": " {usage}% ({load})", // Icon: microchip - "states": { - "warning": 70, - "critical": 90 - } - }, - - "custom/keyboard-layout": { - "exec": "swaymsg -t get_inputs | grep -m1 'xkb_active_layout_name' | cut -d '\"' -f4", - // Interval set only as a fallback, as the value is updated by signal - "interval": 30, - "format": " {}", // Icon: keyboard - // Signal sent by Sway key binding (~/.config/sway/key-bindings) - "signal": 1, // SIGHUP - "tooltip": false - }, - - "memory": { - "interval": 5, - "format": " {}%", // Icon: memory - "states": { - "warning": 70, - "critical": 90 - } - }, - - "network": { - "interval": 5, - "format-wifi": " {essid} ({signalStrength}%)", // Icon: wifi - "format-ethernet": " {ifname}: {ipaddr}/{cidr}", // Icon: ethernet - "format-disconnected": "⚠ Disconnected", - "tooltip-format": "{ifname}: {ipaddr}" - }, - - "sway/mode": { - "format": " {}", // Icon: expand-arrows-alt - "tooltip": false - }, - - "sway/window": { - "format": "{}", - "max-length": 120 - }, - - "sway/workspaces": { - "disable-scroll": false, - "all-outputs": true, - "format": "{icon}", - }, - "format-icons": { - "1": "", - "2": "", - "3": "", - "4": "", - "5": "", - } - }, - - "pulseaudio": { - "format": "{icon} 奄 {volume:2}%", - "format-bluetooth": "{icon} {volume}%", - "format-muted": "", - "format-icons": { - "headphones": "", - "default": [ - "", - "" - ] - }, - "on-click": "pavucontrol", - "on-scroll-up": "pactl set-sink-volume 0 +3%", - "on-scroll-down": "pactl set-sink-volume 0 -3%", - }, - - - "temperature": { - "critical-threshold": 80, - "interval": 5, - "format": "{icon} {temperatureC}°C", - "format-icons": [ - "", // Icon: temperature-empty - "", // Icon: temperature-quarter - "", // Icon: temperature-half - "", // Icon: temperature-three-quarters - "" // Icon: temperature-full - ], - "tooltip": true - }, - - "tray": { - "icon-size": 21, - "spacing": 10 - }, - - "custom/power": { - "format": "⏻", - "on-click": "exec wlogout", - "tooltip": false - }, - "backlight": { - "interval": 5, - "format": "{percent}% {icon}", - "format-alt": "{percent}% {icon}", - "format-alt-click": "click-right", - "format-icons": ["🌕", "🌔", "🌓", "🌒", "🌑"], - "on-scroll-down": "brightnessctl -c backlight set +5%", - "on-scroll-up": "brightnessctl -c backlight set 5%-" - }, - - "custom/launcher": { - "format":" ", - "on-click": "exec wofi -c ~/.config/wofi/config -I", - "tooltip": false - } -} diff --git a/waybar/style.css b/waybar/style.css deleted file mode 100644 index 2e7c1af..0000000 --- a/waybar/style.css +++ /dev/null @@ -1,214 +0,0 @@ -/* ============================================================================= - * - * Waybar configuration - * - * Configuration reference: https://github.com/Alexays/Waybar/wiki/Configuration - * - * =========================================================================== */ - -/* ----------------------------------------------------------------------------- - * Keyframes - * -------------------------------------------------------------------------- */ - -@keyframes blink-warning { - 70% { - color: white; - } - - to { - color: white; - background-color: orange; - } -} - -@keyframes blink-critical { - 70% { - color: white; - } - - to { - color: white; - background-color: red; - } -} - - -/* ----------------------------------------------------------------------------- - * Base styles - * -------------------------------------------------------------------------- */ - -/* Reset all styles */ -* { - border: none; - border-radius: 0; - min-height: 0; - margin: 0; - padding: 0; -} - -/* The whole bar */ -#waybar { - background: #323232; - color: white; - font-family: Cantarell, Noto Sans, sans-serif; - font-size: 13px; -} - -/* Each module */ -#battery, -#clock, -#cpu, -#custom-keyboard-layout, -#memory, -#mode, -#network, -#pulseaudio, -#temperature, -#tray { - padding-left: 10px; - padding-right: 10px; -} - - -/* ----------------------------------------------------------------------------- - * Module styles - * -------------------------------------------------------------------------- */ - -#battery { - animation-timing-function: linear; - animation-iteration-count: infinite; - animation-direction: alternate; - -} - -#battery.warning { - color: orange; -} - -#battery.critical { - color: red; -} - -#battery.warning.discharging { - animation-name: blink-warning; - animation-duration: 3s; -} - -#battery.critical.discharging { - animation-name: blink-critical; - animation-duration: 2s; -} - -#clock { - font-weight: bold; - color: #dbcb75; -} - -#cpu { - color: #40e612; -} - -#cpu.warning { - color: orange; -} - -#cpu.critical { - color: red; -} - -#memory { - animation-timing-function: linear; - animation-iteration-count: infinite; - animation-direction: alternate; - color: #96c6f8; -} - -#memory.warning { - color: orange; -} - -#memory.critical { - color: red; - animation-name: blink-critical; - animation-duration: 2s; -} - -#mode { - background: #64727D; - border-top: 2px solid white; - /* To compensate for the top border and still have vertical centering */ - padding-bottom: 2px; -} - -#network { - color: #3f6e22 ; -} - -#network.disconnected { - color: orange; -} - -#pulseaudio { - color: #208273; -} - -#pulseaudio.muted { - color: #208273; -} - -#custom-spotify { - color: rgb(102, 220, 105); -} - -#temperature { - /* No styles */ -} - -#temperature.critical { - color: red; -} - -#tray { - /* No styles */ -} - -#window { - font-weight: bold; -} - -#workspaces button { - border-top: 2px solid transparent; - /* To compensate for the top border and still have vertical centering */ - padding-bottom: 2px; - padding-left: 10px; - padding-right: 10px; - color: #888888; -} - -#workspaces button.focused { - border-color: #4c7899; - color: white; - background-color: #285577; -} - -#workspaces button.urgent { - border-color: #c9545d; - color: #c9545d; -} - -#custom-power { - font-size: 17px; - margin-right: 7px; - border-radius: 15px; -} - -#custom-keyboard-layout { - color: #667c9d; -} -#custom-launcher { - margin-left: 10px; - margin-right: 10px; - font-size: 15px; - } - -