infrastructure

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit c2c27ad335be2eced1dd096343edbfebaef192ff
parent 6f1aba268fa1f3fd4bb67dea03b98cbdb1d14b8c
Author: Silas Brack <silasbrack@gmail.com>
Date:   Sun, 10 May 2026 14:57:46 +0200

feat: remove waybar

Diffstat:
Mhosts/gaia/hyprland.nix | 344-------------------------------------------------------------------------------
1 file changed, 0 insertions(+), 344 deletions(-)

diff --git a/hosts/gaia/hyprland.nix b/hosts/gaia/hyprland.nix @@ -20,7 +20,6 @@ "hyprlock" "hyprpaper" "hypridle" - "waybar" "wl-paste --type text --watch cliphist store" "wl-paste --type image --watch cliphist store" ]; @@ -120,349 +119,6 @@ ]; }; }; - programs.waybar = { - enable = true; - settings = { - mainBar = { - "layer" = "top"; - "position" = "top"; - "mode" = "dock"; - "exclusive" = true; - "passthrough" = false; - "gtk-layer-shell" = true; - "height" = 0; - "modules-left" = [ - "clock" - "hyprland/workspaces" - ]; - "modules-center" = [ "hyprland/window" ]; - "modules-right" = [ - "tray" - "hyprland/language" - "memory" - "disk" - "temperature" - "custom/gpu" - "cpu" - "network" - "battery" - "pulseaudio" - "pulseaudio#microphone" - ]; - "hyprland/window" = { - "format" = "󰣇 {}"; - }; - "hyprland/workspaces" = { - "disable-scroll" = true; - "all-outputs" = true; - # "on-click" = "activate"; - # "format" = "{icon}"; - }; - "hyprland/language" = { - "format" = "{}"; - "on-click" = "hyprctl switchxkblayout keychron-keychron-q1 next"; - }; - "tray" = { - "icon-size" = 13; - "spacing" = 10; - }; - "clock" = { - "format" = "{:%A  %B-%d-%Y  %I:%M:%S %p}"; - "interval" = 1; - "rotate" = 0; - "tooltip-format" = "<tt>{calendar}</tt>"; - "calendar" = { - "mode" = "month"; - "mode-mon-col" = 3; - "on-scroll" = 1; - "on-click-right" = "mode"; - "format" = { - "months" = "<span color='#a6adc8'><b>{}</b></span>"; - "weekdays" = "<span color='#a6adc8'><b>{}</b></span>"; - "today" = "<span color='#a6adc8'><b>{}</b></span>"; - "days" = "<span color='#555869'><b>{}</b></span>"; - }; - }; - }; - "battery" = { - "states" = { - "good" = 95; - "warning" = 30; - "critical" = 20; - }; - "format" = "{icon} {capacity}%"; - "format-charging" = " {capacity}%"; - "format-plugged" = " {capacity}%"; - "format-alt" = "{time} {icon}"; - "format-icons" = [ - "󰂃" - "󰁺" - "󰁻" - "󰁼" - "󰁽" - "󰁾" - "󰁿" - "󰂀" - "󰂁" - "󰂂" - "󰁹" - ]; - }; - "pulseaudio" = { - "format" = "{icon} {volume}%"; - "tooltip" = false; - "format-muted" = " Muted"; - "on-click" = "pamixer -t"; - "on-scroll-up" = "pamixer -i 1"; - "on-scroll-down" = "pamixer -d 1"; - "scroll-step" = 5; - "format-icons" = { - "headphone" = ""; - "hands-free" = ""; - "headset" = ""; - "phone" = ""; - "portable" = ""; - "car" = ""; - "default" = [ - "" - "" - "" - "" - ]; - }; - }; - "pulseaudio#microphone" = { - "format" = "{format_source}"; - "format-source" = " {volume}%"; - "format-source-muted" = " Muted"; - "on-click" = "pamixer --default-source -t"; - "on-scroll-up" = "pamixer --default-source -i 5"; - "on-scroll-down" = "pamixer --default-source -d 5"; - "scroll-step" = 5; - }; - "memory" = { - "states" = { - "c" = 90; - "h" = 60; - "m" = 30; - }; - "interval" = 10; - "format" = "󰾆 {used}GB"; - "format-m" = "󰾅 {used}GB"; - "format-h" = "󰓅 {used}GB"; - "format-c" = " {used}GB"; - "format-alt" = "󰾆 {percentage}%"; - "max-length" = 10; - "tooltip" = true; - "tooltip-format" = "󰾆 {percentage}%\n {used:0.1f}GB/{total:0.1f}GB"; - "on-click-right" = "kitty sh -c 'btop'"; - }; - "temperature" = { - "tooltip" = false; - "critical-threshold" = 80; - "format" = "{icon} {temperatureC}󰔄"; - "format-critical" = "🔥{icon} {temperatureC}󰔄"; - "format-icons" = [ - "" - "" - ]; - "on-click-right" = "kitty sh -c 'btop'"; - }; - "cpu" = { - "interval" = 10; - "format" = "󰍛 CPU {usage}%"; - "format-alt" = "{icon0}{icon1}{icon2}{icon3}"; - "format-icons" = [ - "▁" - "▂" - "▃" - "▄" - "▅" - "▆" - "▇" - "█" - ]; - "on-click-right" = "kitty sh -c 'btop'"; - }; - "custom/gpu" = { - "exec" = "cat /sys/class/hwmon/hwmon0/device/gpu_busy_percent"; - "format" = " GPU {}%"; - "return-type" = ""; - "interval" = 10; - }; - "disk" = { - "format" = "󰋊 {percentage_used}%"; - "tooltip-format" = - "({used}/{total})({percentage_used}%) in '{path}'; available {free}({percentage_free}%)"; - "states" = { - "high" = 90; - "upper-medium" = 70; - "medium" = 50; - "lower-medium" = 30; - "low" = 10; - }; - }; - "network" = { - "tooltip" = true; - "format-wifi" = " {essid}"; - "format-ethernet" = "󰈀 "; - "tooltip-format" = - "Network = <big><b>{essid}</b></big>\nSignal strength = <b>{signaldBm}dBm ({signalStrength}%)</b>\nFrequency = <b>{frequency}MHz</b>\nInterface = <b>{ifname}</b>\nIP = <b>{ipaddr}/{cidr}</b>\nGateway = <b>{gwaddr}</b>\nNetmask = <b>{netmask}</b>"; - "format-linked" = "󰈀 {ifname} (No IP)"; - "format-disconnected" = "󰖪 "; - "tooltip-format-disconnected" = "Disconnected"; - "format-alt" = - "<span foreground='#99ffdd'> {bandwidthDownBytes}</span> <span foreground='#ffcc66'> {bandwidthUpBytes}</span>"; - "interval" = 2; - }; - }; - }; - style = '' - * { - border: none; - border-radius: 0; - font-family: Iosevka Nerd Font, monospace; - font-weight: bold; - font-size: 16px; - min-height: 0; - } - - window#waybar { - background: rgba(21, 18, 27, 0); - color: #cdd6f4; - } - - #workspaces button { - padding: 5px; - color: #555869; - margin-right: 5px; - } - - #workspaces button.active { - color: #a6adc8; - } - - #workspaces button.focused { - color: #a6adc8; - background: #eba0ac; - border-radius: 10px; - } - - #workspaces button.urgent { - color: #11111b; - background: #a6e3a1; - border-radius: 10px; - } - - #workspaces button:hover { - background: #cdd6f4; - color: #11111b; - border-radius: 10px; - } - - #window, - #clock, - #battery, - #pulseaudio, - #network, - #cpu, - #temperature, - #custom-gpu, - #memory, - #disk, - #workspaces, - #language, - #tray { - background: #1e1e2e; - padding: 0px 10px; - margin: 3px 0px; - margin-top: 5px; - /* border: 1px solid #181825; */ - } - - #tray { - border-radius: 10px; - margin-right: 10px; - } - - #workspaces { - background: #1e1e2e; - border-radius: 10px; - margin-left: 10px; - padding-right: 0px; - padding-left: 5px; - } - - #language { - border-radius: 10px; - margin-left: 10px; - margin-right: 10px; - } - - #cpu { - border-radius: 0px 10px 10px 0px; - margin-right: 10px; - } - - #custom-gpu { - border-left: 0px; - border-right: 0px; - } - - #temperature { - border-left: 0px; - border-right: 0px; - } - - #disk { - border-left: 0px; - border-right: 0px; - } - - #memory { - border-radius: 10px 0px 0px 10px; - } - - #window { - border-radius: 10px; - margin-left: 60px; - margin-right: 60px; - } - - #clock { - color: #a6adc8; - border-radius: 10px 10px 10px 10px; - margin-left: 5px; - border-right: 0px; - } - - #network { - color: #a6adc8; - border-radius: 10px 0px 0px 10px; - - } - - #pulseaudio { - color: #a6adc8; - border-left: 0px; - border-right: 0px; - } - - #pulseaudio.microphone { - color: #a6adc8; - border-radius: 0px 10px 10px 0px; - border-left: 0px; - border-right: 0px; - margin-right: 5px; - } - - #battery { - color:#a6adc8; - border-radius: 0px 10px 10px 0px; - margin-right: 10px; - } - ''; - }; programs.hyprlock = { enable = true; extraConfig = ''