summary refs log tree commit diff
path: root/.config
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2026-05-14 07:51:36 -0400
committerZach DeCook <zachdecook@librem.one>2026-05-14 21:07:55 -0400
commitf32f289b43f2586d46fb620ef40507cf5a9c661e (patch)
treef016ed9ffed62462b78a3ed633518ede99a23ea3 /.config
parent23c2be1ad5e5fb5dfb58f6d4f39d59929caa327f (diff)
downloaddotfiles-mac-aarch64.tar.gz
Hyprland: Super + Return open terminal where you left off mac-aarch64
Diffstat (limited to '.config')
-rw-r--r--.config/hypr/hyprland.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf
index 7975c44..4b234d7 100644
--- a/.config/hypr/hyprland.conf
+++ b/.config/hypr/hyprland.conf
@@ -220,7 +220,8 @@ $mainMod = SUPER # Sets "Windows" key as main modifier
 
 # Example binds, see https://wiki.hypr.land/Configuring/Binds/ for more
 bind = $mainMod, Q, exec, $terminal
-bind = $mainMod, Return, exec, $terminal
+# Open the terminal in the same window it was set to previously
+bind = $mainMod, Return, exec, foot -D "$(hyprctl activewindow -j | jq -r '.title?|tostring|select(startswith("/")) // "/home/zach"')"
 bind = $mainMod, C, killactive,
 bind = $mainMod, M, exit,
 bind = $mainMod, E, exec, $fileManager