diff options
| author | Jack Jamison <53350163+JackJ30@users.noreply.github.com> | 2024-11-09 14:09:38 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-09 14:09:38 -0500 |
| commit | 2d4198da6a59e52278255d22e7aba394b3ce1688 (patch) | |
| tree | e16ab66261797c06580679daffc13ef1b6ffd0cb /.config/waybar | |
| parent | e70986a9c299f004aa290bde0ec430ca864f7e74 (diff) | |
| parent | ddd43ed96249932652c7427dbdbbac92e5ef49ed (diff) | |
Merge pull request #1 from JackJ30/laptop
Merge Laptop, it's my main workspace now
Diffstat (limited to '.config/waybar')
| -rw-r--r-- | .config/waybar/config | 70 | ||||
| -rw-r--r-- | .config/waybar/style.css | 83 |
2 files changed, 153 insertions, 0 deletions
diff --git a/.config/waybar/config b/.config/waybar/config new file mode 100644 index 0000000..8915b2b --- /dev/null +++ b/.config/waybar/config @@ -0,0 +1,70 @@ +{ + "layer": "top", + "height": 15, + "margin": "10 25 -15 25", + + "modules-left": ["hyprland/workspaces", "custom/separator", "tray"], + "modules-center": ["hyprland/window"], + "modules-right": ["wireplumber", "custom/brightness", "battery", "cpu", "memory", "custom/separator", "network", "custom/separator", "clock"], + + "hyprland/workspaces": { + "format": "{id}", + }, + "custom/separator": { + "exec": "echo \" | \"", + "format": "{}" + }, + "custom/brightness": { + "exec": "get-brightness-percentage", + "interval": 1, + "format": "{} ", + }, + "network": { + "format-wifi": "{essid} {signalStrength}% ", + "format-ethernet": "{ipaddr}/{cidr}", + "format-disconnected": "Disconnected ", + "tooltip-format": "{ifname}: {gwaddr}", + "format": "{ifname}: {essid}", + "on-click": "alacritty -e nmtui", + }, + "hyprland/window": { + "format": "{title}", + }, + "cpu": { + "format": "{usage}% ", + "interval": 1, + }, + "memory": { + "format": "{percentage}% ", + "interval": 1, + }, + "clock": { + "timezone": "America/New_York", + "format": "{:%r}", + "tooltip-format": "{:%d %B %Y}", + "interval": 1, + }, + "tray": { + "icon-size": 16, + "spacing": 8, + }, + "wireplumber": { + "format": "{volume}% {icon}", + "format-muted": "", + "tooltip-format": "{volume}% {node_name}", + "scroll-step": 0, + "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle", + "on-click-right": "helvum", + "format-icons": ["", "", ""] + }, + "battery": { + "bat": "BAT0", + "interval": 0, + "format-charging": "{capacity}% ", + "format-not charging": "{capacity}% ", + "format-discharging": "{capacity}% {icon}", + "format": "{capacity}% {icon}", + "format-icons": ["", "", ""], + "interval": 1, + }, +} diff --git a/.config/waybar/style.css b/.config/waybar/style.css new file mode 100644 index 0000000..7e9c40e --- /dev/null +++ b/.config/waybar/style.css @@ -0,0 +1,83 @@ + + +* { + font-family: "DejaVu Sans Mono", "Symbols Nerd Font"; + font-size: 14px; +} + +window#waybar { + background-color: rgba(13, 27, 42, 0.5); + color: rgba(228, 228, 239, 1); + border: 2px solid rgba(238, 171, 196, 0.8); + border-radius: 10px; +} + +#window { + margin: 0 10px; +} + +.modules-right:last-child { + /* background-color: rgba(51, 102, 0, 0.5); */ + /* margin: 0 2px 0 0; */ + margin-right: 10px; + /* padding: 0 3px; */ +} + +.modules-center { + /* background-color: #1d1f21; */ + /* background-color: #2a3f38; */ + /* background-color: rgba(51, 102, 0, 0.5); */ + /* margin: 0 0 0 0; */ + /* padding: 0 3px; */ +} + +.modules-left { + /* background-color: #1d1f21; */ + /* background-color: #2a3f38; */ + /* background-color: rgba(51, 102, 0, 0.5); */ + /* margin: 0 0 0 2px; */ + padding: 0 0 0 15px; +} + +tooltip { + background-color: rgba(13, 27, 42, 1); + color: rgba(228, 228, 239, 1); + border: 2px solid rgba(238, 171, 196, 0.8); + border-radius: 10px; +} + +#workspaces button { + color: rgba(228, 228, 239, 1); + /* padding: 0 3px; */ +} + +#workspaces button.focused { + color: rgba(238, 171, 196, 0.8); +} + +#workspaces button.active { + color: rgba(238, 171, 196, 0.8); + transition: all 150ms ease; +} + +#workspaces button:hover { + background: transparent; + border-color: rgba(238, 171, 196, 0.8); + box-shadow: none; + text-shadow: none; + transition: all 150ms ease; +} + +#workspaces button:not(:last-child) { + transition: all 150ms ease; +} + +#network, +#wireplumber, +#custom-brightness, +#battery, +#cpu, +#memory, +#clock { + padding: 0 10px; +} |
