Please register or sign in to comment
this is completely unnecessary, since scratchpad show is a toggle.
for_window [instance="^scratchpad"] move scratchpad
for_window [instance="^scratchpad"] floating enable
bindsym $mod+period [instance="^scratchpad"] scratchpad show
exec urxvt -name scratchpad