From 5696aeed8df16e6575472a5025f895088530fa3d Mon Sep 17 00:00:00 2001 From: Nils Pukropp Date: Sat, 2 Aug 2025 00:16:14 +0200 Subject: [PATCH] updated hyprland confs --- fish/fish_variables | 4 ++-- hypr/modules/autostart.conf | 4 ++-- hypr/modules/input.conf | 4 ++-- hypr/modules/keybinds.conf | 18 ++++++++------- hypr/modules/theme.conf | 13 +++++++++++ hypr/modules/window_rules.conf | 41 ++++++++++++++++++++++++++++++++++ 6 files changed, 70 insertions(+), 14 deletions(-) diff --git a/fish/fish_variables b/fish/fish_variables index 0f7a68d..57c6e4f 100644 --- a/fish/fish_variables +++ b/fish/fish_variables @@ -5,8 +5,8 @@ SETUVAR DATABASE_URL:sqlite\x3adatabase\x2esqlite SETUVAR GLFW_IM_MODULE:ibus SETUVAR MANPAGER:sh\x20\x2dc\x20\x27col\x20\x2dbx\x20\x7c\x20bat\x20\x2dl\x20man\x20\x2dp\x27 SETUVAR RUST_LOG:debug -SETUVAR --export SSH_AGENT_PID:2770 -SETUVAR --export SSH_AUTH_SOCK:/tmp/ssh\x2dXXXXXXnDcJDH/agent\x2e2769 +SETUVAR --export SSH_AGENT_PID:1730 +SETUVAR --export SSH_AUTH_SOCK:/tmp/ssh\x2dXXXXXX67cRaT/agent\x2e1729 SETUVAR SXHKD_SHELL:/usr/bin/bash SETUVAR ZO_CMD:zo SETUVAR Z_CMD:z diff --git a/hypr/modules/autostart.conf b/hypr/modules/autostart.conf index 817f81d..e03c95d 100644 --- a/hypr/modules/autostart.conf +++ b/hypr/modules/autostart.conf @@ -2,9 +2,9 @@ # Autostart necessary processes (like notifications daemons, status bars, etc.) # Or execute your favorite apps at launch like this: -exec-once = uwsm app -- waybar +# exec-once = uwsm app -- waybar exec-once = uwsm app -- nm-applet exec-once = uwsm app -- nextcloud --background exec-once = uwsm app -- rclone mount google_drive: ~/gdrive exec-once = uwsm app -- protonvpn-app -exec-once = uwsm app -- hyprpaper +# exec-once = uwsm app -- hyprpaper diff --git a/hypr/modules/input.conf b/hypr/modules/input.conf index aaa3090..ad20a96 100644 --- a/hypr/modules/input.conf +++ b/hypr/modules/input.conf @@ -2,8 +2,8 @@ # https://wiki.hyprland.org/Configuring/Variables/#input input { kb_layout = us - # kb_variant = dvorak-intl, intl - kb_variant = intl + kb_variant = dvorak-intl, intl + # kb_variant = intl kb_model = kb_options = kb_rules = diff --git a/hypr/modules/keybinds.conf b/hypr/modules/keybinds.conf index 3c4b479..2ed7965 100644 --- a/hypr/modules/keybinds.conf +++ b/hypr/modules/keybinds.conf @@ -11,6 +11,7 @@ bind = $mainMod, F, fullscreen, bind = $mainMod, SPACE, exec, $menu bind = $mainMod, P, exec, ~/.config/hypr/scripts/powermenu.sh & bind = $mainMod, t, togglesplit, # dwindle +bind = $mainMod, n, togglegroup # Move focus with mainMod + arrow keys bind = $mainMod, h, movefocus, l @@ -18,14 +19,10 @@ bind = $mainMod, l, movefocus, r bind = $mainMod, k, movefocus, u bind = $mainMod, j, movefocus, d -bind = $mainMod SHIFT, left, movewindow, l -bind = $mainMod SHIFT, right, movewindow, r -bind = $mainMod SHIFT, up, movewindow, u -bind = $mainMod SHIFT, down, movewindow, d -bind = $mainMod SHIFT, H, movewindow, l -bind = $mainMod SHIFT, L, movewindow, r -bind = $mainMod SHIFT, K, movewindow, u -bind = $mainMod SHIFT, J, movewindow, d +bind = $mainMod SHIFT, H, movewindoworgroup, l +bind = $mainMod SHIFT, L, movewindoworgroup, r +bind = $mainMod SHIFT, K, movewindoworgroup, u +bind = $mainMod SHIFT, J, movewindoworgroup, d # Switch workspaces with mainMod + [0-9] bind = $mainMod, 1, workspace, 1 @@ -51,6 +48,11 @@ bind = $mainMod SHIFT, 8, movetoworkspace, 8 bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 0, movetoworkspace, 10 +# groups +# bind = ALT, Tab, changegroupactive, prev +bind = ALT, Tab, changegroupactive, next + + # Example special workspace (scratchpad) bind = $mainMod, S, togglespecialworkspace, magic bind = $mainMod SHIFT, S, movetoworkspace, special:magic diff --git a/hypr/modules/theme.conf b/hypr/modules/theme.conf index f6289cf..2a15be3 100644 --- a/hypr/modules/theme.conf +++ b/hypr/modules/theme.conf @@ -97,4 +97,17 @@ misc { force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :( vrr = 1 + font_family = FiraCode Nerd Font +} + +group { + groupbar { + font_size = 14 + text_color = $text + text_color_inactive = $text + col.active = $maroon + col.inactive = $surface2 + } + col.border_active = $maroon $teal 30deg + col.border_inactive = $surface2 } diff --git a/hypr/modules/window_rules.conf b/hypr/modules/window_rules.conf index cb37f90..6adc327 100644 --- a/hypr/modules/window_rules.conf +++ b/hypr/modules/window_rules.conf @@ -12,3 +12,44 @@ windowrulev2=noblur,class:^()$,title:^()$ # games for tearing add the immediate rule windowrule = immediate, class:^(cs2)$ + +# Float Windows +windowrule=float,title:^(Open File)$ +windowrule=float,title:^(Select a File)$ +windowrule=float,title:^(Choose a file)$ +windowrule=float,title:^(Save As)$ +windowrule=float,title:^(Save File)$ +windowrule=float,title:^(branchdialog)$ +windowrule=float,title:^(pinentry-gtk-2)$ +windowrule=float,title:^(Confirm to replace files)$ +windowrule=float,title:^(File Operation Progress)$ +windowrule=float,class:^(pavucontrol|blueman-manager|nm-connection-editor)$ + +# Center and Resize Windows +windowrule=size 800 600,title:^(Open File)$ +windowrule=size 800 600,title:^(Select a File)$ +windowrule=size 800 600,title:^(Choose a file)$ +windowrule=size 800 600,title:^(Save As)$ +windowrule=size 800 600,title:^(Save File)$ +windowrule=size 800 600,title:^(branchdialog)$ +windowrule=size 800 600,title:^(pinentry-gtk-2)$ +windowrule=size 800 600,title:^(Confirm to replace files)$ +windowrule=size 800 600,title:^(File Operation Progress)$ +windowrule=size 800 600,class:^(pavucontrol|blueman-manager|nm-connection-editor)$ +windowrule=center,title:^(Open File)$ +windowrule=center,title:^(Select a File)$ +windowrule=center,title:^(Choose a file)$ +windowrule=center,title:^(Save As)$ +windowrule=center,title:^(Save File)$ +windowrule=center,title:^(branchdialog)$ +windowrule=center,title:^(pinentry-gtk-2)$ +windowrule=center,title:^(Confirm to replace files)$ +windowrule=center,title:^(File Operation Progress)$ +windowrule=center,class:^(pavucontrol|blueman-manager|nm-connection-editor)$ + +# Workspace Rules +windowrule=workspace 1,class:^(firefox)$ +windowrule=workspace 2,class:^(kitty)$ +windowrule=workspace 3,class:^(Code)$ +windowrule=workspace 4,class:^(steam)$ +windowrule=workspace 5,class:^(discord)$