From 42539765e2ac8c800f0ec7ca4b8a556075ee4b29 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sun, 18 Feb 2024 16:55:40 +0700 Subject: [PATCH] hyprland: pin window; new focus colors --- .config/ags/scripts/templates/hypr/colors.conf | 10 ++++++---- .config/hypr/keybinds.conf | 1 + 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.config/ags/scripts/templates/hypr/colors.conf b/.config/ags/scripts/templates/hypr/colors.conf index 7588d93e7..8cfef9c9f 100644 --- a/.config/ags/scripts/templates/hypr/colors.conf +++ b/.config/ags/scripts/templates/hypr/colors.conf @@ -1,8 +1,8 @@ $SLURP_COMMAND="$(slurp -d -c {{ $onSecondaryContainer }}BB -b {{ $secondaryContainer }}44 -s 00000000)" general { - col.active_border = rgba({{ $onPrimary }}FF) - col.inactive_border = rgba({{ $secondaryContainer }}CC) + col.active_border = rgba({{ $onSurface }}45) + col.inactive_border = rgba({{ $outline }}33) } misc { @@ -19,8 +19,8 @@ plugin { bar_precedence_over_border = true bar_part_of_window = true - bar_color = rgb({{ $background }}) - col.text = rgb({{ $onBackground }}) + bar_color = rgba({{ $background }}FF) + col.text = rgba({{ $onBackground }}FF) # example buttons (R -> L) @@ -30,3 +30,5 @@ plugin { hyprbars-button = rgb({{ $onBackground }}), 13, 󰖰, hyprctl dispatch movetoworkspacesilent special } } + +windowrulev2 = bordercolor rgba({{ $primary }}AA) rgba({{ $primary }}77),pinned:1 \ No newline at end of file diff --git a/.config/hypr/keybinds.conf b/.config/hypr/keybinds.conf index c9e1061ba..dfb664f45 100644 --- a/.config/hypr/keybinds.conf +++ b/.config/hypr/keybinds.conf @@ -108,6 +108,7 @@ bind = Super+Shift, left, movewindow, l bind = Super+Shift, right, movewindow, r bind = Super+Shift, up, movewindow, u bind = Super+Shift, down, movewindow, d +bind = Super, P, pin # Move focus bind = Super, left, movefocus, l bind = Super, right, movefocus, r