[rc/sway] super+shift+return for floating urxvt terminal
[~bandali/configs] / rc.org
diff --git a/rc.org b/rc.org
index e671f4e..1872451 100644 (file)
--- a/rc.org
+++ b/rc.org
@@ -3865,7 +3865,6 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
 exec swayidle \
    timeout 120  '[ -f ~/.nosleep ] || swaymsg "output * dpms off"' \
         resume  '[ -f ~/.nosleep ] || swaymsg "output * dpms on"'  \
-   before-sleep swaylock
 
 
 ### Key bindings
@@ -3874,6 +3873,8 @@ exec swayidle \
 #
     # start a terminal
     bindsym $mod+Return exec $term
+    bindsym $mod+Shift+Return exec $term -name floating
+    for_window [class="URxvt" instance="floating"] floating enable
 
     # kill focused window
     bindsym $mod+Shift+q kill