diff --git a/home/home.nix b/home/home.nix index 4f0b0db..5cb5745 100644 --- a/home/home.nix +++ b/home/home.nix @@ -1,5 +1,8 @@ { config, lib, pkgs, ... }: +let + laptop = builtins.readFile "/etc/hostname" == "syl\n"; +in { imports = [ ./modules/hyprland.nix @@ -270,9 +273,9 @@ mainBar = { layer = "top"; output = ["DP-1" "eDP-1"]; - position = "bottom"; + position = if laptop then "bottom" else "top"; height = 35; - width = 1400; + width = if laptop then 1300 else 1100; # Choose the order of the modules "custom/wintitle", modules-left = ["hyprland/workspaces" "hyprland/window"]; modules-center = ["clock"]; @@ -375,6 +378,7 @@ default = ["" "" ""]; }; on-click = "alacritty --class pulsemixer -e pulsemixer"; + ignored-sinks = ["Easy Effects Sink"]; }; }; }; @@ -422,11 +426,20 @@ window#waybar > box { padding-left: 3px; padding-right: 10px; color: @base05; - box-shadow: 5px 5px 3px 3px #101010; + box-shadow: 5px 5px 4px 4px #202020; margin: 12px 14px 14px 14px; background: @backtransparent; } +tooltip { + background: @base00; + border: 1px solid @base0D; +} + +tooltip label { + padding: 10px; +} + #workspaces { border-radius: 20px; margin-left: 10px;