summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkrolxon <krolyxon@tutanota.com>2025-08-09 22:57:24 +0530
committerkrolxon <krolyxon@tutanota.com>2025-08-09 22:57:24 +0530
commit28b8728c0f1825a252a0ad6ab0a5d6f30683cf75 (patch)
treec948ebe720b6c4f3aeff8d93ed619ccbe29fc533
parent7d7faddf4d62b4a67142dc881e6029a06a9beabd (diff)
add DWM like scratchpad in hyprland
-rw-r--r--.config/hypr/hyprland.conf5
-rw-r--r--.config/hypr/hyprsunset.conf12
2 files changed, 5 insertions, 12 deletions
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
-}