exec swayidle \
timeout 120 '[ -f ~/.nosleep ] || swaymsg "output * dpms off"' \
resume '[ -f ~/.nosleep ] || swaymsg "output * dpms on"' \
- before-sleep swaylock
### Key bindings
# Basics:
#
# start a terminal
- bindsym $mod+Return exec $term
+ bindsym $mod+Return exec $term -name floating
+ bindsym $mod+Shift+Return exec $term
+ for_window [class="URxvt" instance="floating"] floating enable
# kill focused window
bindsym $mod+Shift+q kill