From 089e833e31c024d412ef919ac77963b98cbe7b2b Mon Sep 17 00:00:00 2001 From: ChUrl Date: Sun, 23 Apr 2023 20:51:43 +0200 Subject: [PATCH] Hyprland colors + slurp --- config/hyprland/hyprland.conf | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/config/hyprland/hyprland.conf b/config/hyprland/hyprland.conf index 770f56ce..fc478729 100644 --- a/config/hyprland/hyprland.conf +++ b/config/hyprland/hyprland.conf @@ -49,8 +49,10 @@ exec-once = hyprctl setcursor Bibata-Modern-Classic 16 source = ~/.config/hypr/polkit.conf # NOTE: This needs to be sourced, because NixOS fills in the polkit executable path source = ~/.config/hypr/waybar-reload.conf +# TODO: Move keybindings, rules and appearance to other files + # Some default env vars. -env = XCURSOR_SIZE,24 +# env = XCURSOR_SIZE,24 # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input { @@ -76,11 +78,10 @@ general { gaps_out = 20 border_size = 2 - # TODO: The default colors are hideous - col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg - col.inactive_border = rgba(595959aa) - # col.group_border = - # col.group_border_active = + col.inactive_border = rgba(463a2eff) + col.active_border = rgba(865e4dff) + col.group_border = rgba(997b66ff) + col.group_border_active = rgba(e4b074ff) layout = dwindle } @@ -92,7 +93,7 @@ decoration { multisample_edges = on blur = yes blur_size = 5 - blur_passes = 1 + blur_passes = 4 blur_new_optimizations = on blur_xray = on @@ -150,8 +151,8 @@ windowrulev2 = workspace 3, class:^(firefox)$ windowrulev2 = workspace 3, class:^(chromium)$ # windowrulev2 = workspace 10, class:^(discord)$ # windowrulev2 = workspace 10, class:^(Spotify)$ -# windowrulev2 = opacity 0.9, class:^(kitty)$ # Sadly bugs with the wrong background -windowrulev2 = workspace 1, class:^(kitty)$ +windowrulev2 = opacity 0.9 0.9, class:^(kitty)$ # Sadly bugs with the wrong background +# windowrulev2 = workspace 1, class:^(kitty)$ # See https://wiki.hyprland.org/Configuring/Keywords/ for more $mainMod = SUPER @@ -172,6 +173,7 @@ bind = $mainMod, A, exec, rofi -show drun -theme ~/NixFlake/config/rofi/launcher bind = $mainMod, T, exec, kitty bind = $mainMod, E, exec, kitty fish -c "nnncd -a -P p" bind = $mainMod, P, exec, hyprpicker -a +bind = $mainMod, S, exec, grim -g "$(slurp)" # bind = $mainMod, E, exec, dolphin # Move windows in/out of groups