From e3b29d72c85862531268379b295bf122120d24e4 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Tue, 1 Jul 2025 15:04:07 +0200 Subject: [PATCH] replace hyprexpo with hyprtasking --- dot_config/hypr/keybindings.conf | 12 +++++++++- dot_config/hypr/look_and_feel.conf | 37 ++++++++++++++++++++++-------- executable_install-fedora.sh | 4 ++-- 3 files changed, 41 insertions(+), 12 deletions(-) diff --git a/dot_config/hypr/keybindings.conf b/dot_config/hypr/keybindings.conf index 9697ca7..cd98109 100644 --- a/dot_config/hypr/keybindings.conf +++ b/dot_config/hypr/keybindings.conf @@ -6,7 +6,17 @@ #$mainMod = SUPER # Sets "Windows" key as main modifier $mainMod = Alt -bind = $mainMod, Tab, hyprexpo:expo, toggle # can be: toggle, off/disable or on/enable +bind = $mainMod, tab, hyprtasking:toggle, cursor +bind = $mainMod, space, hyprtasking:toggle, all +# NOTE: the lack of a comma after hyprtasking:toggle! +bind = , escape, hyprtasking:if_active, hyprtasking:toggle cursor + +bind = $mainMod, X, hyprtasking:killhovered + +bind = $mainMod, H, hyprtasking:move, left +bind = $mainMod, J, hyprtasking:move, down +bind = $mainMod, K, hyprtasking:move, up +bind = $mainMod, L, hyprtasking:move, right # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, Return, exec, $terminal diff --git a/dot_config/hypr/look_and_feel.conf b/dot_config/hypr/look_and_feel.conf index 7f1e84e..a454864 100644 --- a/dot_config/hypr/look_and_feel.conf +++ b/dot_config/hypr/look_and_feel.conf @@ -123,15 +123,34 @@ binds { } 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 + hyprtasking { + layout = grid - 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. + gap_size = 20 + bg_color = 0xff26233a + border_size = 4 + exit_on_hovered = false + + gestures { + enabled = true + move_fingers = 3 + move_distance = 300 + open_fingers = 4 + open_distance = 300 + open_positive = true + } + + grid { + rows = 3 + cols = 3 + loop = false + gaps_use_aspect_ratio = false + } + + linear { + height = 400 + scroll_speed = 1.0 + blur = false + } } } diff --git a/executable_install-fedora.sh b/executable_install-fedora.sh index e1973be..ef65f7c 100644 --- a/executable_install-fedora.sh +++ b/executable_install-fedora.sh @@ -101,8 +101,8 @@ hyprpm_update_plugin() { hyprpm update ### Funktionsaufruf mit mehreren Plugins hyprpm_update_plugin \ - "https://github.com/hyprwm/hyprland-plugins" \ - "hyprexpo" + "https://github.com/raybbian/hyprtasking" \ + "hyprtasking" ## VSCodium sudo rpmkeys --import https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg