This commit is contained in:
kento2 2026-01-31 16:11:43 +01:00
parent 97e27bec2c
commit 093a7a7c79
2 changed files with 8 additions and 9 deletions

View file

@ -43,6 +43,7 @@ fi
# default workspace '_' values used when allocating new workspaces # default workspace '_' values used when allocating new workspaces
# can be applied to all existing workspaces when passed 'apply' after ws=_ # can be applied to all existing workspaces when passed 'apply' after ws=_
dkcmd set ws=_ apply layout=tile master=1 stack=4 gap=5 msplit=0.55 ssplit=0.5 dkcmd set ws=_ apply layout=tile master=1 stack=4 gap=5 msplit=0.55 ssplit=0.5
for w in $(seq 1 9); do dkcmd set ws=$w layout=tile master=1 stack=4 gap=5 msplit=0.55 ssplit=0.5; done
# global settings # global settings
# --------------------- # ---------------------
@ -87,10 +88,10 @@ fi
dkcmd set border width=$border_width outer_width=$border_outer_width \ dkcmd set border width=$border_width outer_width=$border_outer_width \
colour \ colour \
focus='#fd0c0c' \ focus='#fd0c0c' \
unfocus='#0202cd' \ unfocus='#222222' \
urgent='#ee5555' \ urgent='#ee5555' \
outer_focus='#222222' \ outer_focus='#222222' \
outer_unfocus='#222222' \ outer_unfocus='#3030ef' \
outer_urgent='#222222' outer_urgent='#222222'
# window rules # window rules
@ -98,9 +99,10 @@ fi
# rule class, instance, and title regex are *always* case INSENSITIVE # rule class, instance, and title regex are *always* case INSENSITIVE
# open window(s) on a specific workspace (assigned monitor) dkcmd rule class="^dooble$" ws=2
# dkcmd rule class="^gimp$" ws=2 dkcmd rule class="^discord$" ws=6
dkcmd rule class="^spotify$" ws=8
# open window(s) on a monitor by number or name (active workspace on monitor) # 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"
@ -119,14 +121,11 @@ fi
# dkcmd rule class="^TelegramDesktop$" ignore_msg=true # dkcmd rule class="^TelegramDesktop$" ignore_msg=true
# define some terminals and allow them to be absorbed by spawned windows # define some terminals and allow them to be absorbed by spawned windows
dkcmd rule class="^(st|st-256color|urxvt|kitty|alacritty|xterm|xterm-256color)$" terminal=true dkcmd rule class="^(st|lxterminal|st-256color|urxvt|kitty|alacritty|xterm|xterm-256color)$" terminal=true
# set a window to never absorb other windows, like the xev event tester # set a window to never absorb other windows, like the xev event tester
dkcmd rule title="^Event Tester$" no_absorb=true dkcmd rule title="^Event Tester$" no_absorb=true
# send a window to the scratchpad
dkcmd rule class="^scratchpad$" scratch=true
# focus window and workspace on opening # focus window and workspace on opening
# dkcmd rule class="^firefox$" ws=1 focus=true # dkcmd rule class="^firefox$" ws=1 focus=true

Binary file not shown.