From cd0f6f6fa77f91f094d096c5e24a1294636053d6 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Charavel Date: Sun, 1 Jun 2025 18:21:21 -0400 Subject: [PATCH] Update hyprland configs --- .bashrc | 1 + .config/hypr/env.conf | 1 + .config/hypr/hyprland.conf | 1 + .config/hypr/keybinds.conf | 2 +- .config/hypr/rules.conf | 7 ++++--- .config/hypr/workspaces.conf | 5 +++++ 6 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 .config/hypr/workspaces.conf diff --git a/.bashrc b/.bashrc index 0ac11fe..9a3d89c 100644 --- a/.bashrc +++ b/.bashrc @@ -25,3 +25,4 @@ esac eval "$(starship init bash)" alias reboot-to-windows='sudo grub-reboot "Windows Boot Manager (on /dev/nvme1n1p1)" && sudo reboot' +export PATH=~/.npm-global/bin:$PATH diff --git a/.config/hypr/env.conf b/.config/hypr/env.conf index e923e4d..8e5081c 100644 --- a/.config/hypr/env.conf +++ b/.config/hypr/env.conf @@ -1,6 +1,7 @@ env = XCURSOR_SIZE,24 env = HYPRCURSOR_SIZE,24 +env = GDK_SCALE,2 env = GDK_BACKEND,wayland,x11,* env = SDL_VIDEODRIVER,wayland env = CLUTTER_BACKEND,wayland diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index e99628a..4c86bbe 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -4,6 +4,7 @@ source = monitors.conf source = programs.conf source = autostart.conf source = appearance.conf +source = workspaces.conf source = rules.conf source = input.conf source = keybinds.conf diff --git a/.config/hypr/keybinds.conf b/.config/hypr/keybinds.conf index ccdb608..8436471 100644 --- a/.config/hypr/keybinds.conf +++ b/.config/hypr/keybinds.conf @@ -3,7 +3,7 @@ $mainMod = SUPER # Sets "Windows" key as main modifier # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, Q, exec, $terminal -bind = $mainMod, C, killactive, +bind = $mainMod, escape, killactive, bind = $mainMod ALT, backspace, exec, uwsm stop bind = $mainMod, E, exec, $fileManager bind = $mainMod, V, togglefloating, diff --git a/.config/hypr/rules.conf b/.config/hypr/rules.conf index cdbdd8c..6e9b8bf 100644 --- a/.config/hypr/rules.conf +++ b/.config/hypr/rules.conf @@ -5,6 +5,7 @@ windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned windowrule = float, class:1Password windowrule = float, class:unityhub -windowrule = float, title: Steam Settings -windowrule = float, class: steam, title: Friends List -windowrule = float, class: firefox, title: Picture-in-Picture +windowrule = float, title:Steam Settings +windowrule = float, class:steam, title:Friends List +windowrule = float, class:firefox, title:Picture-in-Picture +windowrule = float, class:com.saivert.pwvucontrol diff --git a/.config/hypr/workspaces.conf b/.config/hypr/workspaces.conf new file mode 100644 index 0000000..c081ca0 --- /dev/null +++ b/.config/hypr/workspaces.conf @@ -0,0 +1,5 @@ +workspace = 1, monitor:DP-1, default:true +workspace = 2, monitor:DP-1 +workspace = 3, monitor:DP-2, default:true +workspace = 4, monitor:DP-2 +workspace = 5, monitor:DP-2