From 28b8728c0f1825a252a0ad6ab0a5d6f30683cf75 Mon Sep 17 00:00:00 2001 From: krolxon Date: Sat, 9 Aug 2025 22:57:24 +0530 Subject: [PATCH] add DWM like scratchpad in hyprland --- .config/hypr/hyprland.conf | 5 +++++ .config/hypr/hyprsunset.conf | 12 ------------ 2 files changed, 5 insertions(+), 12 deletions(-) delete mode 100644 .config/hypr/hyprsunset.conf diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 1439548..b433c45 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -241,6 +241,11 @@ bind = $mainMod SHIFT, 0, split-movetoworkspacesilent, 10 bind = $mainMod, S, togglespecialworkspace, magic bind = $mainMod SHIFT, S, movetoworkspace, special:magic +# Have scratchpad like DWM which opens alacritty in special workspace +workspace = special:h, on-created-empty: alacritty +bind = $mainMod SHIFT, Return, togglespecialworkspace, h + + # Scroll through existing workspaces with mainMod + scroll bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_up, workspace, e-1 diff --git a/.config/hypr/hyprsunset.conf b/.config/hypr/hyprsunset.conf deleted file mode 100644 index 7bd6a1b..0000000 --- a/.config/hypr/hyprsunset.conf +++ /dev/null @@ -1,12 +0,0 @@ -max-gamma = 150 - -profile { - time = 7:30 - identity = true -} - -profile { - time = 21:00 - temperature = 5500 - gamma = 0.8 -}