{ pkgs, secrets, ... }: { layer = "top"; position = "top"; margin-left = 8; margin-right = 8; height = 40; bluetooth = { format = ""; on-click = "${pkgs.blueberry}/bin/blueberry"; }; clock = { locale = "ja_JP.utf8"; interval = 5; tooltip-format = "{calendar}"; # format = "{:%m月 %d日 %H:%M:%S}"; format = "{:L%m月 %d日 %H:%M}"; format-alt = "{:L%G年%b %d日 %A}"; }; # For when clock doesn't work "custom/clock" = { exec = "date '+%m月 %d日 %H:%M'"; tooltip = false; interval = 5; }; cpu = { interval = 5; format = " {usage}% ({load})"; states = { warning = 70; critical = 90; }; on-click = "${pkgs.kitty}/bin/kitty -e '${pkgs.bottom}/bin/btm'"; }; memory = { interval = 5; format = " {}%"; format-alt = " {used:0.1f}/{total:0.1f}ギガ"; # I might remove these. I have 64GB of RAM .... states = { warning = 70; critical = 90; }; }; network = { interval = 1; # format-wifi = " {bandwidthUpBytes} {bandwidthDownBytes}", # format-ethernet = " {bandwidthUpBytes} {bandwidthDownBytes}", format = " {bandwidthUpBytes}  {bandwidthDownBytes}"; format-disconnected = "⚠ Disconnected"; tooltip-format = "{ifname}: {ipaddr}"; on-click = "${pkgs.kitty}/bin/kitty -e 'nmtui'"; }; "hyprland/mode" = { format = "{}"; tooltip = false; }; "hyprland/window" = { format = "{}"; max-length = 120; separate-outputs = true; icon = false; rewrite = { "(.*) - Thorium" = "󰖟 $1"; "(.*) - NVIM" = " $1"; "ChatGPT" = " ChatGPT"; "~(.*)" = " ~$1"; "…(.*)" = " …$1"; "zsh" = " ~"; "fish" = " ~"; "kitty" = " ~"; "Volume Control" = " Volume Control"; "Bluetooth" = " Bluetooth"; "JamesDSP for Linux" = "󰺢 JamesDSP"; }; }; pulseaudio = { scroll-step = 1; format = "{icon} {volume}%"; # format-bluetooth = "{volume}% {icon}  {format_source}"; # format-bluetooth-muted = " {icon}  {format_source}"; format-muted = "󰸈"; format-icons = { headphone = "󰋋"; hands-free = "וֹ"; headset = "󱡏"; phone = ""; portable = ""; car = ""; default = [ "" ]; }; on-click = "pactl set-sink-mute @DEFAULT_SINK@ toggle"; on-click-right = "${pkgs.pavucontrol}/bin/pavucontrol"; on-scroll-up = "pactl set-sink-volume @DEFAULT_SINK@ +2%"; on-scroll-down = "pactl set-sink-volume @DEFAULT_SINK@ -2%"; ignored-sinks = secrets.waybar.ignored_sinks; }; tray = { spacing = 10; show-passive-items = true; }; "image#album-art" = { path = "/tmp/mediaplayer_art"; size = 22.5; # (18 + (18 / 4)) interval = 5; on-click = "${pkgs.playerctl}/bin/playerctl play-pause"; }; "custom/media" = { format = "{icon} {}"; return-type = "json"; max-length = 40; format-icons = { spotify = " "; default = "󰗃 "; }; escape = true; exec = "${pkgs.mediaplayer}/bin/mediaplayer.py 2> /dev/null"; on-click = "${pkgs.playerctl}/bin/playerctl play-pause"; on-scroll-up = "${pkgs.playerctl}/bin/playerctl next"; on-scroll-down = "${pkgs.playerctl}/bin/playerctl previous"; }; cava = { framerate = 280; autosens = 1; sensitivity = 3; bars = 26; lower_cutoff_freq = 50; higher_cutoff_freq = 10000; method = "pipewire"; source = "auto"; stereo = true; reverse = true; bar_delimiter = 0; monstercat = false; waves = false; hide_on_silence = true; noise_reduction = 0.77; input_delay = 0; on-click = "${pkgs.playerctl}/bin/playerctl play-pause"; # actions = { # on-click-right = "mode"; # }; # format-icons = ["░", "▒", "▓", "█", "█", "█", "█", "█"] # format-icons = ["⎺", "⎻", "⎼", "⎽", "⎼", "⎻", "⎺", "⎹"] # format-icons = ["▏", "▎", "▍", "▌", "▋", "▊", "▉", "█"] format-icons = [ "⠁" "⠃" "⠇" "⠋" "⠛" "⠟" "⠿" "⣿" ]; # format-icons = ["◰", "◳", "◲", "◱", "▘", "▝", "▖", "▗"] # format-icons = ["▖", "▗", "▘", "▝", "▚", "▞", "▛", "▟"] # format-icons = ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█", "▉", "▊"] # format-icons = ["⎯", "⎰", "⎱", "⎲", "⎳", "⎴", "⎵", "⎶"] # format-icons = ["⎺", "⎻", "⎼", "⎽", "⎾", "⎿", "⏀", "⏁"] # format-icons = ["♪", "♫", "♬", "♭", "♮", "♯", "♩", "♪"] # format-icons = ["→", "⇉", "⇒", "⇉", "→", "⇉", "⇒", "⇉"] # format-icons = ["·", ":", "⁙", "⁘", "⁙", ":", "·", "•"] # format-icons = ["○", "◔", "◑", "◕", "●", "◍", "◎", "◉"] # format-icons = ["△", "▲", "▴", "▸", "▶", "▹", "►", "▻"] # format-icons = ["◇", "◈", "◉", "◍", "◎", "◯", "⦿", "◑"] # format-icons = ["-", "–", "—", "––", "–––", "——", "———", "——––"] # format-icons = ["-", "=", "≡", "≣", "≠", "≢", "≜", "≝"] # format-icons = ["✓", "✔", "✕", "✖", "✗", "✘", "✙", "✚"] # format-icons = ["✩", "✪", "✫", "✬", "✭", "✮", "✯", "✰"] }; "custom/gpu" = { exec = "nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader | sed 's/ %/%/'"; interval = 5; format = " {}"; on-click = "${pkgs.kitty}/bin/kitty -e '${pkgs.nvtopPackages.nvidia}/bin/nvtop'"; }; modules-left = [ "hyprland/workspaces" "hyprland/window" "custom/media" "image#album-art" ]; modules-center = [ "clock" ]; modules-right = [ "cava" # "network" "tray" "cpu" "custom/gpu" "memory" "bluetooth" "pulseaudio" ]; }