From 529e1d36ce0955df41781623d3fff64ae4ce95c1 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Thu, 22 May 2025 13:09:53 +0200 Subject: [PATCH] add hyprpm --- dot_config/hypr/keybindings.conf | 2 ++ dot_config/hypr/look_and_feel.conf | 14 ++++++++++++++ dot_config/hypr/programs.conf.tmpl | 1 + executable_install-fedora.sh | 6 +++++- 4 files changed, 22 insertions(+), 1 deletion(-) diff --git a/dot_config/hypr/keybindings.conf b/dot_config/hypr/keybindings.conf index 0e3cf4c..5bd8fac 100644 --- a/dot_config/hypr/keybindings.conf +++ b/dot_config/hypr/keybindings.conf @@ -6,6 +6,8 @@ #$mainMod = SUPER # Sets "Windows" key as main modifier $mainMod = Alt +bind = $mainMod, Tab, hyprexpo:expo, toggle # can be: toggle, off/disable or on/enable + # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, Return, exec, $terminal bind = $mainMod+Shift, Q, killactive, diff --git a/dot_config/hypr/look_and_feel.conf b/dot_config/hypr/look_and_feel.conf index 0c5d433..7f1e84e 100644 --- a/dot_config/hypr/look_and_feel.conf +++ b/dot_config/hypr/look_and_feel.conf @@ -121,3 +121,17 @@ binds { allow_workspace_cycles = true disable_keybind_grabbing = true } + +plugin { + hyprexpo { + columns = 3 + gap_size = 5 + bg_col = rgb(111111) + workspace_method = center current # [center/first] [workspace] e.g. first 1 or center m+1 + + enable_gesture = true # laptop touchpad + gesture_fingers = 3 # 3 or 4 + gesture_distance = 300 # how far is the "max" + gesture_positive = true # positive = swipe down. Negative = swipe up. + } +} diff --git a/dot_config/hypr/programs.conf.tmpl b/dot_config/hypr/programs.conf.tmpl index d004c76..76b27c3 100644 --- a/dot_config/hypr/programs.conf.tmpl +++ b/dot_config/hypr/programs.conf.tmpl @@ -21,6 +21,7 @@ exec-once = nm-applet & exec-once = blueman-applet & exec-once = swaync & exec-once = waybar & hyprpaper +exec-once = hyprpm reload -n exec-once = [workspace 2 silent] firefox exec-once = hypridle exec-once = [workspace 3 silent] codium diff --git a/executable_install-fedora.sh b/executable_install-fedora.sh index 864b151..f0f5e60 100755 --- a/executable_install-fedora.sh +++ b/executable_install-fedora.sh @@ -44,7 +44,8 @@ sudo dnf install -y \ golang libgo-devel neovim python3-neovim \ ansible openldap-devel gcc python3-psycopg2 \ python3-postgresql golang-x-tools-toolstash \ - golang-x-arch-devel.noarch + golang-x-arch-devel.noarch cmake meson cpio \ + pkg-config g++ gcc hyprland-devel uuid libinput re2 ## Systemdienste sudo dnf install -y \ @@ -65,6 +66,9 @@ sudo dnf install -y \ docker-ce docker-ce-cli containerd.io \ docker-buildx-plugin docker-compose-plugin +hyprpm update +hyprpm enable hyprexpo + ## VSCodium sudo rpmkeys --import https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg if [ ! -e /etc/yum.repos.d/vscodium.repo ]; then