From 836f1856f08919bf6def21e2a24bdf5c6fb2e1de Mon Sep 17 00:00:00 2001 From: iFargle Date: Mon, 28 Aug 2023 12:34:37 +0900 Subject: [PATCH] Breaking waybar --- .../hyprland/gruvbox/waybar/waybar-conf2.nix | 41 +++++++++---------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/waybar/waybar-conf2.nix b/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/waybar/waybar-conf2.nix index 97e6b0cd..4dbfb0bd 100644 --- a/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/waybar/waybar-conf2.nix +++ b/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/waybar/waybar-conf2.nix @@ -2,6 +2,12 @@ home.file = { # https://yewtu.be/watch?v=tWQB1NDDA9c # https://github.com/DN-debug/waybar-examples + + # Inspiration: + # https://github.com/Pipshag/dotfiles_gruvbox + + # Font Search: + # https://www.nerdfonts.com/cheat-sheet # Waybar configuration ".config/waybar/config.jsonc" = { enable = true; @@ -27,12 +33,8 @@ "mpris": { "format": "{player_icon} {dynamic}", "format-paused": "{status_icon} {dynamic}", - "player-icons": { - "default": "▶", - }, - "status-icons": { - "paused": "⏸" - }, + "player-icons": { "default": "▶" }, + "status-icons": { "paused": "⏸" }, }, "wlr/workspaces": { @@ -78,7 +80,7 @@ "default": ["󰕿", "󰖀", "󰕾"] }, "tooltip": false, - "on-click": "pavucontrol --class=pavu", + "on-click": "pulsemixer --class=pulsemixer", }, "network": { @@ -86,8 +88,9 @@ "format-ethernet": "󰈀", "format-linked": "", "format-disconnected": "⚠", - "tooltip-format": "{essid}\n{ipaddr}/{cidr}", - "tooltip": true, + + "tooltip-format": "{essid}\n{ipaddr}/{cidr}", + "tooltip": true, "on-click": "kitty --class=nmtui -e nmtui" }, @@ -111,13 +114,6 @@ "tooltip-format": "RAM: {used}GB/{total}GB\nSwap: {swapUsed}GB/{swapAvail}GB" }, - "temperature": { - "tooltip": false, - "critical-threshold": 80, - "format": "{temperatureC}°{icon}", - "format-icons": ["", "", ""] - }, - "battery": { "tooltip": true, "tooltip-format": "{time}", @@ -188,9 +184,13 @@ #tray, #submap, #window { - color: #e2cca9; font-size: 14px; - padding: 0 5 0 5; + padding: 5px; + /* new stuff */ + border-radius: 5px; + color: rgba(50, 48, 47, 0.8); + background-color: #e2cca9; + font-weight: bold; } /* @@ -199,7 +199,7 @@ #memory.warning, #cpu.warning, #battery.warning { - color: #e9b143; + background-color: #e9b143; } /* @@ -210,7 +210,7 @@ #memory.critical, #battery.critical, #network.disconnected { - color: #f2594b; + background-color: #f2594b; } #clock { @@ -230,7 +230,6 @@ #pulseaudio.bluetooth { color: #80aa9e; } - tooltip { color: #e2cca9; font-size: 14px;