dotfiles/.config/spectrwm/spectrwm.conf
2023-11-01 16:08:10 +01:00

219 lines
6.1 KiB
Plaintext

# __
# _________ ___ _____/ /_______ ______ ___
# / ___/ __ \/ _ \/ ___/ __/ ___/ | /| / / __ `__ \
# (__ ) /_/ / __/ /__/ /_/ / | |/ |/ / / / / / /
# /____/ .___/\___/\___/\__/_/ |__/|__/_/ /_/ /_/
# /_/ C-O-D-E-V-O-I-D E-D-I-T-I-O-N
#
# +--------------------------------------------------
# | WINDOW DECORATION
# +--------------------------------------------------
border_width = 1
color_focus = rgb:ff/6A/00
color_focus_maximized = rgb:28/28/28
color_focus_free = rgb:77/77/77
color_unfocus = rgb:47/47/47
color_unfocus_free = rgb:47/47/47
region_padding = 6
tile_gap = 6
# +--------------------------------------------------
# | BAR SETTINGS
# +--------------------------------------------------
bar_border_width = 1
bar_border = rgb:18/18/18
bar_border_unfocus = rgb:18/18/18
bar_border_free = rgb:18/18/18
bar_color = rgb:18/18/18
bar_color_free = rgb:18/18/18
bar_color_selected = rgb:18/24/28
bar_font_color = rgb:99/99/99,rgb:ff/6A/00,red
bar_font_color_selected = rgb:ff/ff/ff
bar_font_color_free = rgb:99/99/99
bar_font = FuraCodeNerdFont-12
bar_action = cbar
bar_action_expand = 0
bar_at_bottom = 0
bar_format = +S +L  +R   +I   +M  +W +|1R +A %Y-%m-%d %H:%M
# +--------------------------------------------------
# | WORKSPACE LAYOUT
# +--------------------------------------------------
workspace_indicator = listall,markcurrent,markactive,markempty,noindexes
workspace_mark_current = '+@fg=1;+@fg=0;'
workspace_mark_active = ''
workspace_mark_empty = ''
workspace_mark_urgent = '+@fg=2;+@fg=0;'
stack_mark_horizontal = ''
stack_mark_horizontal_flip = ''
stack_mark_vertical = ''
stack_mark_vertical_flip = ''
stack_mark_max = ''
verbose_layout = 1
# +--------------------------------------------------
# | FOCUS BEHAVIOR
# +--------------------------------------------------
workspace_clamp = 1
warp_focus = 0
warp_pointer = 0
cycle_visible = 0
focus_close_wrap = 1
focus_mode = default
click_to_raise = 1
# +--------------------------------------------------
# | QUIRKS
# +--------------------------------------------------
quirk[scratchpad] = FLOAT + ANYWHERE + FOCUSPREV
# +--------------------------------------------------
# | RESET ALL KEYBOARD MAPPINGS
# +--------------------------------------------------
keyboard_mapping /dev/null
# +--------------------------------------------------
# | REGISTERED PROGRAMS
# +--------------------------------------------------
program[sterm] = sterm
bind[sterm] = MOD+Return
program[bterm] = bterm
bind[bterm] = MOD+Shift+Return
program[hterm] = hterm
bind[hterm] = MOD+Control+Return
program[irssi] = texec x
bind[irssi] = MOD+Shift+X
program[Super] = dexec_super
bind[Super] = Super_L
program[mutt] = texec mutt
bind[mutt] = MOD+Shift+M
program[omutt] = texec mutt-openbsd-all
bind[omutt] = MOD+Shift+O
program[exec] = dexec
bind[exec] = MOD+D
program[ssh] = dexec_ssh
bind[ssh] = MOD+S
program[audio] = dexec_audio
bind[audio] = MOD+O
program[scratchpad] = sp
bind[scratchpad] = MOD+minus
program[apps] = dexec_apps
bind[apps] = MOD+A
program[browser] = dexec_browser
bind[browser] = MOD+Shift+F
program[pass] = dexec_pass
bind[pass] = MOD+Shift+P
program[pim] = dexec_pim
bind[pim] = MOD+P
# OTHERS
program[sshot] = sshot
bind[sshot] = Print
program[xpick] = xpick_copy
bind[xpick] = MOD+Print
program[lock] = /usr/bin/false
# +--------------------------------------------------
# | KEYBOARD MAPPING
# +--------------------------------------------------
# BAR
bind[bar_toggle] = MOD+b
bind[bar_toggle_ws] = MOD+Shift+b
# LAYOUT
bind[cycle_layout] = MOD+l
bind[flip_layout] = MOD+Shift+l
bind[float_toggle] = MOD+space
bind[free_toggle] = MOD+Shift+space
# FOCUS
bind[focus_main] = MOD+m
bind[focus_next] = MOD+Down
#bind[focus_next] = MOD+Tab
bind[focus_prev] = MOD+Up
bind[focus_prev] = MOD+Shift+Tab
bind[focus_urgent] = MOD+u
#bind[focus_free] = MOD+Shift+BackSpace
# ICONFIY / HIDE
bind[iconify] = MOD+Shift+i
bind[uniconify] = MOD+i
# MASTER
bind[master_add] = MOD+comma
bind[master_del] = MOD+period
bind[master_grow] = MOD+Right
bind[master_shrink] = MOD+Left
bind[stack_dec] = MOD+Shift+comma
bind[stack_inc] = MOD+Shift+period
#bind[stack_reset] = MOD+Shift+space
bind[maximize_toggle] = MOD+f
#bind[fullscreen_toggle] =
# WS NAVIGATION
bind[ws_1] = MOD+1
bind[ws_2] = MOD+2
bind[ws_3] = MOD+3
bind[ws_4] = MOD+4
bind[ws_5] = MOD+5
bind[ws_6] = MOD+6
bind[ws_7] = MOD+7
bind[ws_8] = MOD+8
bind[ws_9] = MOD+9
bind[ws_10] = MOD+0
bind[ws_next_all] = MOD+Page_Down
bind[ws_prev_all] = MOD+Page_Up
bind[ws_prior] = MOD+Tab
# MOVE WINDOW TO OTHER WS
bind[rg_next] = MOD+dead_circumflex
bind[rg_prev] = MOD+Shift+dead_circumflex
bind[mvws_1] = MOD+Shift+1
bind[mvws_2] = MOD+Shift+2
bind[mvws_3] = MOD+Shift+3
bind[mvws_4] = MOD+Shift+4
bind[mvws_5] = MOD+Shift+5
bind[mvws_6] = MOD+Shift+6
bind[mvws_7] = MOD+Shift+7
bind[mvws_8] = MOD+Shift+8
bind[mvws_9] = MOD+Shift+9
bind[mvws_10] = MOD+Shift+0
# RENAME WS
bind[name_workspace] = MOD+r
# MOVE WINDOW WITHIN WS
bind[swap_main] = MOD+M
bind[swap_next] = MOD+Shift+Down
bind[swap_prev] = MOD+Shift+Up
# DELETE WINDOW
bind[wind_del] = MOD+q
bind[wind_kill] = MOD+Shift+q
bind[restart] = MOD+Shift+r