Update dk rc file
This commit is contained in:
parent
e6db04becb
commit
ac544d9dbc
@ -131,15 +131,15 @@ fi
|
||||
# rule class, instance, and title regexes (*ALWAYS* CASE INSENSITIVE)
|
||||
|
||||
# open window(s) on a specific workspace (assigned monitor)
|
||||
dkcmd rule class="^gimp$" ws=2
|
||||
# dkcmd rule class="^gimp$" ws=2
|
||||
|
||||
# open window(s) on a monitor by number or name (active workspace on monitor)
|
||||
dkcmd rule class="^chromium$" mon="HDMI-A-0"
|
||||
# dkcmd rule class="^chromium$" mon="HDMI-A-0"
|
||||
|
||||
# open window(s) and use a callback function (user defined in config.h)
|
||||
# we also ignore=true to stop the window from being resized on it's own from events
|
||||
# eg. mpv --x11-name=albumart /path/to/media
|
||||
dkcmd rule class="^mpv$" instance="^albumart$" float=true ignore=true callback=albumart bw=0
|
||||
# dkcmd rule class="^mpv$" instance="^albumart$" float=true ignore=true callback=albumart bw=0
|
||||
|
||||
# open window(s) in a floating state
|
||||
dkcmd rule class="^(pavucontrol|transmission-gtk|steam|lxappearance)$" float=true
|
||||
@ -148,14 +148,14 @@ fi
|
||||
dkcmd rule class="^google-chrome$" title="^open files$" float=true w=1280 h=720
|
||||
|
||||
# open window(s) with sticky and floating enabled to view on all workspaces.
|
||||
dkcmd rule class="^stickyterm$" stick=true float=true w=1280 h=720
|
||||
# dkcmd rule class="^stickyterm$" stick=true float=true w=1280 h=720
|
||||
|
||||
# focus window and workspace on opening
|
||||
dkcmd rule class="^firefox$" ws=1 focus=true
|
||||
# dkcmd rule class="^firefox$" ws=1 focus=true
|
||||
|
||||
# update or remove an existing rule with the same match patterns
|
||||
dkcmd rule class="^firefox$" mon="HDMI-A-0"
|
||||
dkcmd rule remove class="^firefox$"
|
||||
# dkcmd rule class="^firefox$" mon="HDMI-A-0"
|
||||
# dkcmd rule remove class="^firefox$"
|
||||
|
||||
# apply current rule set to all existing windows
|
||||
dkcmd rule apply '*'
|
||||
|
Reference in New Issue
Block a user