From 978bd04156480f5bcba5a19f5675652499dc2903 Mon Sep 17 00:00:00 2001 From: Andreas Tsouchlos Date: Fri, 3 May 2024 18:18:16 +0200 Subject: [PATCH] Add waybar and wofi configs --- .config/waybar/config | 103 +++++++++++++++++++++++++++++++++++++++ .config/waybar/style.css | 73 +++++++++++++++++++++++++++ .config/wofi/style.css | 39 +++++++++++++++ 3 files changed, 215 insertions(+) create mode 100644 .config/waybar/config create mode 100644 .config/waybar/style.css create mode 100644 .config/wofi/style.css diff --git a/.config/waybar/config b/.config/waybar/config new file mode 100644 index 0000000..6ca3412 --- /dev/null +++ b/.config/waybar/config @@ -0,0 +1,103 @@ +{ + "layer": "top", + "position": "top", + + "modules-left": [ + "sway/workspaces", + ], + "modules-center": [ + "clock#1", + "clock#2", + "clock#3", + ], + "modules-right": [ + "pulseaudio", + "memory", + "cpu", + "battery", + "disk", + "tray" + ], + + "custom/left-arrow-dark": { + "format": "", + "tooltip": false + }, + "custom/left-arrow-light": { + "format": "", + "tooltip": false + }, + "custom/right-arrow-dark": { + "format": "", + "tooltip": false + }, + "custom/right-arrow-light": { + "format": "", + "tooltip": false + }, + + "sway/workspaces": { + "disable-scroll": true, + "format": "{name}" + }, + + "clock#1": { + "format": "{:%a}", + "tooltip": false + }, + "clock#2": { + "format": "{:%d-%m-%Y}", + "tooltip": false + }, + "clock#3": { + "format": "{:%H:%M}", + "tooltip": false + }, + + "pulseaudio": { + "format": "{icon} {volume:2}%", + "format-bluetooth": "{icon} {volume}%", + "format-muted": "MUTE", + "format-icons": { + "headphones": "", + "default": [ + "", + "" + ] + }, + "scroll-step": 5, + "on-click": "pamixer -t", + "on-click-right": "pavucontrol" + }, + "memory": { + "interval": 5, + "format": "Mem {}%" + }, + "cpu": { + "interval": 5, + "format": "CPU {usage:2}%" + }, + "battery": { + "states": { + "good": 95, + "warning": 30, + "critical": 15 + }, + "format": "{icon} {capacity}%", + "format-icons": [ + "", + "", + "", + "", + "" + ] + }, + "disk": { + "interval": 5, + "format": "Disk {percentage_used:2}%", + "path": "/" + }, + "tray": { + "icon-size": 20 + } +} diff --git a/.config/waybar/style.css b/.config/waybar/style.css new file mode 100644 index 0000000..a206fc5 --- /dev/null +++ b/.config/waybar/style.css @@ -0,0 +1,73 @@ +* { +/* font-size: 10px; + font-family: monospace; */ +} + +window#waybar { + background: #282828; + color: #ebdbb2; +} + +#custom-right-arrow-dark, +#custom-left-arrow-dark { + color: #1a1a1a; +} +#custom-right-arrow-light, +#custom-left-arrow-light { + color: #292b2e; + background: #1a1a1a; +} + +#workspaces, +#clock.1, +#clock.2, +#clock.3, +#pulseaudio, +#memory, +#cpu, +#battery, +#disk, +#tray { +} + +#workspaces button { + padding: 0 2px; + color: #ebdbb2; +} +#workspaces button.focused { + color: #fe8019; +} +#workspaces button:hover { + box-shadow: inherit; + text-shadow: inherit; +} +#workspaces button:hover { + background: #1a1a1a; + border: #1a1a1a; + padding: 0 3px; +} + +#pulseaudio { + color: #d3869b; +} +#memory { + color: #83a598; +} +#cpu { + color: #fe8019; +} +#battery { + color: #8ec07c; +} +#disk { + color: #a89984; +} + +#clock, +#pulseaudio, +#memory, +#cpu, +#battery, +#disk { + padding: 0 10px; +} diff --git a/.config/wofi/style.css b/.config/wofi/style.css new file mode 100644 index 0000000..8cb23cc --- /dev/null +++ b/.config/wofi/style.css @@ -0,0 +1,39 @@ +window { +margin: 0px; +border: 1px solid #928374; +background-color: #282828; +} + +#input { +margin: 5px; +border: none; +color: #ebdbb2; +background-color: #1d2021; +} + +#inner-box { +margin: 5px; +border: none; +background-color: #282828; +} + +#outer-box { +margin: 5px; +border: none; +background-color: #282828; +} + +#scroll { +margin: 0px; +border: none; +} + +#text { +margin: 5px; +border: none; +color: #ebdbb2; +} + +#entry:selected { +background-color: #1d2021; +}