.
This commit is contained in:
parent
4355e83743
commit
5023b32942
11 changed files with 155 additions and 103 deletions
|
|
@ -8,6 +8,8 @@ logfile="$HOME/.dkrc.log"
|
|||
[ -d "$HOME/.local/share/xorg" ] && logfile="$HOME/.local/share/xorg/dkrc.log"
|
||||
: > "$logfile"
|
||||
|
||||
date > "$logfile"
|
||||
|
||||
# load sxhkd for keybinds
|
||||
pgrep sxhkd || sxhkd -c "$HOME/.config/dk/sxhkdrc" &
|
||||
|
||||
|
|
@ -35,42 +37,12 @@ fi
|
|||
# workspace settings
|
||||
# ------------------------
|
||||
|
||||
# initialize 6 workspaces (1-6) (default: 1/monitor)
|
||||
# initialize 9 workspaces (1-9) (default: 1/monitor)
|
||||
dkcmd set numws=9
|
||||
|
||||
# default workspace '_' values used when allocating new workspaces
|
||||
# can be applied to all existing workspaces when passed 'apply' after ws=_
|
||||
dkcmd set ws=_ apply layout=tile master=1 stack=3 gap=0 msplit=0.55 ssplit=0.5
|
||||
|
||||
# use grid layout, padding, and gaps on last workspace
|
||||
#dkcmd set ws=6 layout=grid pad left=200 right=200 top=100 bottom=100 gap=50
|
||||
|
||||
# change workspace names (default: number == name -> 1:1, 2:2, 3:3....)
|
||||
# dkcmd set \
|
||||
# ws=1 name="edit" \
|
||||
# ws=2 name="web" \
|
||||
# ws=3 name="😀" \
|
||||
# ws=4 name="😠" \
|
||||
# ws=5 name="5" \
|
||||
# ws=6 name="6" \
|
||||
|
||||
# enable static workspaces assigned to monitors (relevant for multiple monitors)
|
||||
# aside -
|
||||
# If you come from this workspace model, try embracing the default behaviour
|
||||
# and access to all workspaces from any monitor, you might end up liking it :)
|
||||
#
|
||||
# this could be done in the names section above if being used
|
||||
#
|
||||
# mon1='DisplayPort-0'
|
||||
# mon2='HDMI-A-0'
|
||||
# dkcmd set static_ws=true \
|
||||
# ws=1 mon=$mon1 \
|
||||
# ws=2 mon=$mon1 \
|
||||
# ws=3 mon=$mon1 \
|
||||
# ws=4 mon=$mon2 \
|
||||
# ws=5 mon=$mon2 \
|
||||
# ws=6 mon=$mon2 \
|
||||
|
||||
dkcmd set ws=_ apply layout=tile master=1 stack=4 gap=5 msplit=0.55 ssplit=0.5
|
||||
|
||||
# global settings
|
||||
# ---------------------
|
||||
|
|
@ -88,7 +60,7 @@ fi
|
|||
dkcmd set smart_gap=true smart_border=true
|
||||
|
||||
# define mouse mod and move/resize buttons
|
||||
dkcmd set mouse mod=alt move=button1 resize=button3
|
||||
dkcmd set mouse mod=super move=button1 resize=button3
|
||||
|
||||
# obey motif border hints on windows that draw their own (steam, easyeffects, etc.)
|
||||
dkcmd set obey_motif=true
|
||||
|
|
@ -104,16 +76,23 @@ fi
|
|||
# alternative
|
||||
# enable split borders and colours, width is overall width, outer_width consumes some of width.
|
||||
# outer_width must be less than width, outer_width of 0 will be single borders
|
||||
#dkcmd set border width=$border_width outer_width=$border_outer_width \
|
||||
# colour \
|
||||
# focus='#6699cc' \
|
||||
# unfocus='#444444' \
|
||||
# urgent='#ee5555' \
|
||||
# outer_focus='#222222' \
|
||||
# outer_unfocus='#222222' \
|
||||
# outer_urgent='#222222'
|
||||
dkcmd set border width=$border_width outer_width=$border_outer_width \
|
||||
colour \
|
||||
focus='#6699cc' \
|
||||
unfocus='#444444' \
|
||||
focus='#fd0c0c' \
|
||||
unfocus='#0202cd' \
|
||||
urgent='#ee5555' \
|
||||
outer_focus='#222222' \
|
||||
outer_unfocus='#222222' \
|
||||
outer_urgent='#222222'
|
||||
|
||||
|
||||
# window rules
|
||||
# --------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue