From eef8c0b8b1faf8489f5715f647f10c40e83fe2bc Mon Sep 17 00:00:00 2001 From: Leon Vatthauer Date: Sat, 1 Feb 2025 12:03:11 +0100 Subject: [PATCH] cleanup, systray --- common/vscode.nix | 2 +- gunther/eww/config/eww.yuck | 1 + gunther/hypr/hyprland.nix | 4 ++++ gunther/hypr/start.sh | 8 ++------ 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/common/vscode.nix b/common/vscode.nix index 6023c77..46c1634 100755 --- a/common/vscode.nix +++ b/common/vscode.nix @@ -104,7 +104,7 @@ name = "cpptools"; publisher = "ms-vscode"; version = "1.23.3"; - sha256 = "03gwyrrcc4kw84ss7mh8ksfib1bvmhmr1pa5sg11nzj2hzxnikgd"; + sha256 = "sha256-YOtPISpr23g/4T7u+ZHZz9mJOBI4GpifhqfP1bNhOkU="; } { name = "vscode-ltex"; diff --git a/gunther/eww/config/eww.yuck b/gunther/eww/config/eww.yuck index 8adf41d..c44facd 100755 --- a/gunther/eww/config/eww.yuck +++ b/gunther/eww/config/eww.yuck @@ -44,6 +44,7 @@ :space-evenly false :halign "end" :class "container" + (systray) (volume) (cpu) (mem) diff --git a/gunther/hypr/hyprland.nix b/gunther/hypr/hyprland.nix index e3125c4..f43d707 100755 --- a/gunther/hypr/hyprland.nix +++ b/gunther/hypr/hyprland.nix @@ -1,5 +1,6 @@ { pkgs, ... }: { + services.hyprpaper.enable = true; # hyprland setup wayland.windowManager.hyprland = { enable = true; @@ -107,6 +108,9 @@ # scratchpad "$mod, C, togglespecialworkspace, scratchpad" + + # status bar + "$mod, T, exec, eww open --toggle top-bar" ]; bindm = [ "$mod, mouse:272, movewindow" diff --git a/gunther/hypr/start.sh b/gunther/hypr/start.sh index c25dc87..0bca99d 100755 --- a/gunther/hypr/start.sh +++ b/gunther/hypr/start.sh @@ -1,13 +1,9 @@ #!/usr/bin/env bash # init nmapplet -# TODO add back once eww supports tray -# nm-applet --indicator & +nm-applet --indicator & swww init swww img /home/leonv/Git/nixos/gunther/hypr/wallpaper.jpg -eww daemon -eww open top-bar - # notification -mako +mako &