exec swayidle \
timeout 120 '[ -f ~/.nosleep ] || swaymsg "output * dpms off"' \
resume '[ -f ~/.nosleep ] || swaymsg "output * dpms on"' \
- before-sleep swaylock
### Key bindings
#
# 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