From 45f078840c195f56d2ec59767f8f820323f0a081 Mon Sep 17 00:00:00 2001 From: The_miro Date: Thu, 28 Nov 2024 20:08:05 +0100 Subject: [PATCH] special workspace now pops up with MM+SPACE and shows up as the S workspace --- desktopenvs/hyprland/eww/eww.yuck | 2 +- desktopenvs/hyprland/hypr/hyprland.conf | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/desktopenvs/hyprland/eww/eww.yuck b/desktopenvs/hyprland/eww/eww.yuck index 0e0cd44..034047e 100644 --- a/desktopenvs/hyprland/eww/eww.yuck +++ b/desktopenvs/hyprland/eww/eww.yuck @@ -71,7 +71,7 @@ :width 20 :onclick "hyprctl dispatch workspace ${i.id}" :class "${i.class}" - "󱂬${i.name}"))))) + {i.name == "special:magic" ? "󱂬S" : "󱂬${i.name}"}))))) (deflisten workspace-old "scripts/workspace") diff --git a/desktopenvs/hyprland/hypr/hyprland.conf b/desktopenvs/hyprland/hypr/hyprland.conf index 321908a..36a8667 100644 --- a/desktopenvs/hyprland/hypr/hyprland.conf +++ b/desktopenvs/hyprland/hypr/hyprland.conf @@ -9,7 +9,7 @@ input { kb_model = kb_options = kb_rules = - #left_handed = true + left_handed = true follow_mouse = 1 sensitivity = 0 # -1.0 - 1.0, 0 means no modification. @@ -252,8 +252,8 @@ bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 0, movetoworkspace, 10 # Example special workspace (scratchpad) -bind = $mainMod, S, togglespecialworkspace, magic -bind = $mainMod SHIFT, S, movetoworkspace, special:magic +bind = $mainMod, SPACE, togglespecialworkspace, magic +bind = $mainMod SHIFT, SPACE, movetoworkspace, special:magic # Scroll through existing workspaces with mainMod + scroll bind = $mainMod, mouse_down, workspace, e+1