This repository has been archived by the owner on Jan 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 283
restartdwl
krypek edited this page Oct 27, 2022
·
3 revisions
This patch allows you to restart dwl with a keybinding.
NOTE: that all of your applications are gonna get killed on dwl restart.
The function creates a file at /tmp/restart_dwl and exits dwl.
You have to modify your dwl launch script in order for this patch to work.
Example dwl launch script:
do=true
while $do || [ -f /tmp/restart_dwl ]; do
do=false
rm -rf /tmp/restart_dwl > /dev/null 2>&1
dwl
done
It's a do-while that checks if /tmp/restart_dwl exists after the first run of dwl.
If this file exists delete it and start dwl again.
- alphafocus
- alwayscenter
- attachabove
- attachbottom
- attachtop
- autorotation
- autostart
- bottomstack
- center
- centeredmaster
- centerterminal
- cfacts
- chainkeys
- clientopacity
- clipboardipc
- clipboardManager
- column layout
- cursortheme
- cursorwarp
- customfloat
- cyclelayouts
- deck
- dragmfact
- drm-lease-manager
- en-keycodes
- env
- fallback
- fibonacci
- floatBorderColor
- focusmaster
- focusMonPointer
- gaplessgrid
- genericgaps
- gestures
- gridmode
- hideBehindFullscreen
- hidecursor
- ipc
- kblayout
- kbrules
- keyboardshortcutsinhibit
- keychord
- keycodes
- keymap
- lockedkeys
- masterOnRight
- menu
- modes
- monitorconfig
- movestack
- movecenter
- moveresizekb
- move-stack-top
- namedscratchpads
- naturalscrolltrackpad
- nomousefocus
- numlock
- onlyquitonempty
- outputPowerManagement
- pertag
- pointerConstraints
- pointerGesturesUnstableV1
- primary-sel-off
- privilegeDrop
- push
- regexrules
- regions
- restartdwl
- restoretiling
- right
- rotatetags
- shiftview
- singletagset
- simplegaps
- smartborders
- snail
- sticky
- stickyrule
- swallow
- swaycompat
- sway-pointer-constraints
- swapandfocusdir
- switchtotag
- title-change-urgent
- toggleKbLayout
- toggleLayoutImmediately
- touchscreen
- unclutter
- uselessgaps
- vanitygaps
- vertile
- virtualpointer
- xcursor
- XF86keysym
- zoomswap