2023-11-01 10:14:00 +01:00
|
|
|
|
# __
|
|
|
|
|
# _________ ___ _____/ /_______ ______ ___
|
|
|
|
|
# / ___/ __ \/ _ \/ ___/ __/ ___/ | /| / / __ `__ \
|
|
|
|
|
# (__ ) /_/ / __/ /__/ /_/ / | |/ |/ / / / / / /
|
|
|
|
|
# /____/ .___/\___/\___/\__/_/ |__/|__/_/ /_/ /_/
|
2024-02-16 08:26:11 +01:00
|
|
|
|
# /_/ C-O-D-E-V-O-I-D C-O-N-F-I-G
|
2023-11-01 10:14:00 +01:00
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# +--------------------------------------------------
|
|
|
|
|
# | WINDOW DECORATION
|
|
|
|
|
# +--------------------------------------------------
|
|
|
|
|
|
2024-09-13 21:17:23 +02:00
|
|
|
|
border_width = 1
|
2024-09-20 08:17:12 +02:00
|
|
|
|
tile_gap = 16
|
|
|
|
|
region_padding = 16
|
2024-03-15 07:49:50 +01:00
|
|
|
|
|
2024-03-17 18:13:15 +01:00
|
|
|
|
color_focus = rgb:AF/5F/00
|
|
|
|
|
color_focus_maximized = rgb:AF/5F/00
|
|
|
|
|
color_focus_maximized_free = rgb:AF/5F/00
|
|
|
|
|
color_focus_free = rgb:AF/5F/00
|
|
|
|
|
color_unfocus = rgb:44/44/44
|
2023-11-25 11:31:21 +01:00
|
|
|
|
color_unfocus_free = rgb:55/35/00
|
2024-09-11 21:56:11 +02:00
|
|
|
|
disable_border = 0
|
2024-09-13 21:17:23 +02:00
|
|
|
|
maximize_hide_bar = 0
|
2023-11-01 10:14:00 +01:00
|
|
|
|
|
|
|
|
|
# +--------------------------------------------------
|
|
|
|
|
# | BAR SETTINGS
|
|
|
|
|
# +--------------------------------------------------
|
2024-09-11 21:51:49 +02:00
|
|
|
|
bar_enabled = 1
|
2024-02-25 14:11:12 +01:00
|
|
|
|
bar_border_width = 2
|
2023-12-28 22:52:07 +01:00
|
|
|
|
|
2024-09-11 21:56:11 +02:00
|
|
|
|
bar_border = rgb:18/18/18
|
|
|
|
|
bar_border_unfocus = rgb:18/18/18
|
|
|
|
|
bar_border_free = rgb:18/18/18
|
2024-03-17 18:13:15 +01:00
|
|
|
|
|
2024-09-20 08:17:12 +02:00
|
|
|
|
bar_color = rgb:18/18/18,rgb:90/40/00,rgb:18/18/18,rgb:58/00/00,rgb:45/20/00
|
|
|
|
|
bar_color_free = rgb:18/18/18,rgb:90/40/00,rgb:18/18/18,rgb:58/00/00,rgb:45/20/00
|
2023-11-01 10:14:00 +01:00
|
|
|
|
bar_color_selected = rgb:18/24/28
|
2023-12-28 22:52:07 +01:00
|
|
|
|
|
2024-03-17 18:13:15 +01:00
|
|
|
|
bar_font_color = rgb:99/99/99
|
|
|
|
|
bar_font_color_free = rgb:99/99/99
|
2023-12-28 22:52:07 +01:00
|
|
|
|
bar_font_color_selected = rgb:ff/ff/ff
|
|
|
|
|
|
2024-10-01 17:54:06 +02:00
|
|
|
|
bar_font = Terminess Nerd Font:size=17:style=bold
|
|
|
|
|
bar_font_pua = JetBrainsMonoNerdFont:size=12
|
2024-09-20 08:17:12 +02:00
|
|
|
|
|
2023-11-01 10:14:00 +01:00
|
|
|
|
bar_action = cbar
|
2023-11-01 16:08:10 +01:00
|
|
|
|
bar_action_expand = 0
|
2023-11-01 10:14:00 +01:00
|
|
|
|
bar_at_bottom = 0
|
2023-11-05 12:22:05 +01:00
|
|
|
|
|
|
|
|
|
# +< Pad with a space
|
|
|
|
|
# +A Output of the external script
|
|
|
|
|
# +C Window class (from WM_CLASS)
|
|
|
|
|
# +D Workspace name
|
|
|
|
|
# +F Focus status indicator
|
|
|
|
|
# +I Workspace index
|
|
|
|
|
# +L Workspace list indicator
|
|
|
|
|
# +M Number of iconic (minimized) windows in workspace
|
|
|
|
|
# +N Screen number
|
|
|
|
|
# +P Window class and instance separated by a colon
|
|
|
|
|
# +R Region index
|
|
|
|
|
# +S Stacking algorithm
|
|
|
|
|
# +T Window instance (from WM_CLASS)
|
|
|
|
|
# +U Urgency hint
|
|
|
|
|
# +V Program version
|
|
|
|
|
# +w Number of windows in workspace
|
|
|
|
|
# +W Window name (from _NET_WM_NAME/WM_NAME)
|
|
|
|
|
# ++ A literal ‘+’
|
|
|
|
|
# +@ Prefix for text markup sequences
|
|
|
|
|
|
2024-12-23 11:45:57 +01:00
|
|
|
|
bar_format = +S +@bg=2;+L+@bg=0; i:+M +W +|R +A
|
2023-11-01 10:14:00 +01:00
|
|
|
|
|
|
|
|
|
# +--------------------------------------------------
|
|
|
|
|
# | WORKSPACE LAYOUT
|
|
|
|
|
# +--------------------------------------------------
|
|
|
|
|
|
2024-02-16 08:26:11 +01:00
|
|
|
|
workspace_indicator = listactive,listcurrent,listurgent,listempty,markactive,markcurrent,markurgent,markempty,printnames,noindex
|
2023-12-28 22:52:07 +01:00
|
|
|
|
|
2024-02-16 08:26:11 +01:00
|
|
|
|
workspace_mark_current = '+@bg=1; '
|
|
|
|
|
workspace_mark_current_suffix = ' +@bg=2;'
|
|
|
|
|
workspace_mark_active = '+@bg=4; '
|
|
|
|
|
workspace_mark_active_suffix = ' +@bg=2;'
|
|
|
|
|
workspace_mark_urgent = '+@bg=3; '
|
|
|
|
|
workspace_mark_urgent_suffix = ' +@bg=2;'
|
|
|
|
|
workspace_mark_empty = '+@bg=2; '
|
|
|
|
|
workspace_mark_empty_suffix = ' +@bg=2;'
|
2023-12-28 22:52:07 +01:00
|
|
|
|
|
2024-02-16 08:26:11 +01:00
|
|
|
|
# hack to fix https://github.com/conformal/spectrwm/issues/547
|
|
|
|
|
# can be removed with 3.5.2
|
2023-12-28 22:52:07 +01:00
|
|
|
|
name = ws[1]:1
|
|
|
|
|
name = ws[2]:2
|
|
|
|
|
name = ws[3]:3
|
|
|
|
|
name = ws[4]:4
|
|
|
|
|
name = ws[5]:5
|
|
|
|
|
name = ws[6]:6
|
|
|
|
|
name = ws[7]:7
|
|
|
|
|
name = ws[8]:8
|
|
|
|
|
name = ws[9]:9
|
2024-12-16 19:13:26 +01:00
|
|
|
|
name = ws[10]:0
|
2023-12-28 22:52:07 +01:00
|
|
|
|
|
2023-11-03 09:00:43 +01:00
|
|
|
|
workspace_limit = 10
|
2023-12-28 22:52:07 +01:00
|
|
|
|
stack_mark_horizontal = 'v'
|
|
|
|
|
stack_mark_horizontal_flip = '^'
|
2023-11-23 13:23:56 +01:00
|
|
|
|
stack_mark_vertical = '>'
|
|
|
|
|
stack_mark_vertical_flip = '<'
|
2023-12-28 22:52:07 +01:00
|
|
|
|
stack_mark_max = 'F'
|
|
|
|
|
stack_mark_floating = '~'
|
2023-11-05 12:22:05 +01:00
|
|
|
|
verbose_layout = 0
|
2023-11-03 09:00:43 +01:00
|
|
|
|
urgent_enabled = 1
|
2023-01-18 15:40:47 +01:00
|
|
|
|
|
2023-11-01 10:14:00 +01:00
|
|
|
|
# +--------------------------------------------------
|
|
|
|
|
# | FOCUS BEHAVIOR
|
|
|
|
|
# +--------------------------------------------------
|
|
|
|
|
|
2023-11-04 10:58:13 +01:00
|
|
|
|
workspace_clamp = 1
|
2024-01-08 23:06:28 +01:00
|
|
|
|
workspace_autorotate = 1
|
2023-11-04 10:58:13 +01:00
|
|
|
|
warp_focus = 0
|
|
|
|
|
warp_pointer = 0
|
|
|
|
|
cycle_visible = 0
|
|
|
|
|
focus_close_wrap = 1
|
2024-09-20 08:17:12 +02:00
|
|
|
|
focus_close = prior
|
2023-11-04 10:58:13 +01:00
|
|
|
|
focus_mode = default
|
|
|
|
|
click_to_raise = 1
|
2023-11-01 10:14:00 +01:00
|
|
|
|
|
|
|
|
|
# +--------------------------------------------------
|
|
|
|
|
# | QUIRKS
|
|
|
|
|
# +--------------------------------------------------
|
|
|
|
|
|
2023-11-25 11:31:21 +01:00
|
|
|
|
quirk[mpv] = FLOAT + ANYWHERE + FOCUSPREV
|
2023-11-28 21:33:15 +01:00
|
|
|
|
quirk[hl] = FLOAT + ANYWHERE + FOCUSPREV
|
|
|
|
|
quirk[hashlink] = FLOAT + ANYWHERE + FOCUSPREV
|
2024-07-21 19:26:41 +02:00
|
|
|
|
quirk[scratchpad] = FLOAT + ANYWHERE + FOCUSPREV + ICONIFY
|
|
|
|
|
quirk[XConsole:xconsole] = FLOAT + ANYWHERE + NOFOCUSCYCLE + NOFOCUSONMAP + ICONIFY
|
2024-01-17 18:18:42 +01:00
|
|
|
|
quirk[Xmessage:xmessage] = FLOAT + ANYWHERE + FOCUSONMAP_SINGLE
|
2022-12-04 23:38:14 +01:00
|
|
|
|
|
2023-11-01 16:08:10 +01:00
|
|
|
|
# +--------------------------------------------------
|
|
|
|
|
# | RESET ALL KEYBOARD MAPPINGS
|
|
|
|
|
# +--------------------------------------------------
|
|
|
|
|
|
2024-07-21 19:26:41 +02:00
|
|
|
|
keyboard_mapping = /dev/null
|
2023-11-01 16:08:10 +01:00
|
|
|
|
|
2023-11-01 10:14:00 +01:00
|
|
|
|
# +--------------------------------------------------
|
|
|
|
|
# | REGISTERED PROGRAMS
|
|
|
|
|
# +--------------------------------------------------
|
2022-12-04 23:38:14 +01:00
|
|
|
|
|
2023-11-01 10:14:00 +01:00
|
|
|
|
program[sterm] = sterm
|
|
|
|
|
bind[sterm] = MOD+Return
|
2022-12-04 23:38:14 +01:00
|
|
|
|
|
2023-11-01 10:14:00 +01:00
|
|
|
|
program[bterm] = bterm
|
|
|
|
|
bind[bterm] = MOD+Shift+Return
|
2022-12-04 23:38:14 +01:00
|
|
|
|
|
2023-11-01 10:14:00 +01:00
|
|
|
|
program[hterm] = hterm
|
|
|
|
|
bind[hterm] = MOD+Control+Return
|
2023-03-28 18:19:41 +02:00
|
|
|
|
|
2024-01-08 23:06:28 +01:00
|
|
|
|
program[mixer] = texec cmixer
|
|
|
|
|
bind[mixer] = MOD+Shift+M
|
2023-03-28 18:19:41 +02:00
|
|
|
|
|
2024-02-16 08:26:11 +01:00
|
|
|
|
# +--------------------------------------------------
|
|
|
|
|
# | DMENU BINDINGS
|
|
|
|
|
# +--------------------------------------------------
|
2023-11-01 10:14:00 +01:00
|
|
|
|
program[exec] = dexec
|
|
|
|
|
bind[exec] = MOD+D
|
2022-12-04 23:38:14 +01:00
|
|
|
|
|
2024-01-17 18:18:42 +01:00
|
|
|
|
program[texec] = dexec_term
|
|
|
|
|
bind[texec] = MOD+Shift+D
|
|
|
|
|
|
2023-11-01 10:14:00 +01:00
|
|
|
|
program[browser] = dexec_browser
|
|
|
|
|
bind[browser] = MOD+Shift+F
|
2022-12-04 23:38:14 +01:00
|
|
|
|
|
2023-11-01 10:14:00 +01:00
|
|
|
|
program[pass] = dexec_pass
|
|
|
|
|
bind[pass] = MOD+Shift+P
|
2022-12-04 23:38:14 +01:00
|
|
|
|
|
2023-11-01 10:14:00 +01:00
|
|
|
|
program[pim] = dexec_pim
|
|
|
|
|
bind[pim] = MOD+P
|
2022-12-04 23:38:14 +01:00
|
|
|
|
|
2024-02-16 08:26:11 +01:00
|
|
|
|
program[vpn] = dexec_vpn
|
|
|
|
|
bind[vpn] = MOD+V
|
|
|
|
|
|
|
|
|
|
program[ssh] = dexec_ssh
|
|
|
|
|
bind[ssh] = MOD+S
|
|
|
|
|
|
|
|
|
|
program[ssh] = dexec_man
|
|
|
|
|
bind[ssh] = MOD+Shift+M
|
|
|
|
|
|
|
|
|
|
program[apps] = dexec_apps
|
|
|
|
|
bind[apps] = MOD+A
|
|
|
|
|
|
2022-12-04 23:38:14 +01:00
|
|
|
|
# OTHERS
|
2024-02-16 08:26:11 +01:00
|
|
|
|
program[scratchpad] = scratchpad
|
|
|
|
|
bind[scratchpad] = MOD+minus
|
|
|
|
|
|
|
|
|
|
program[xconsole] = xcons
|
|
|
|
|
bind[xconsole] = MOD+Shift+minus
|
|
|
|
|
|
2023-11-02 08:10:08 +01:00
|
|
|
|
program[screenshot_wind] = sshot
|
2024-12-12 18:56:36 +01:00
|
|
|
|
bind[screenshot_wind] = MOD+Super_L
|
2023-11-01 10:14:00 +01:00
|
|
|
|
|
2024-12-12 18:56:36 +01:00
|
|
|
|
# program[xcolor] = xcolorcopy
|
|
|
|
|
# bind[xcolor] = MOD+Super_L
|
2024-02-25 14:11:12 +01:00
|
|
|
|
|
2024-12-12 18:56:36 +01:00
|
|
|
|
#program[xmenu] = myxmenu
|
|
|
|
|
#bind[xmenu] = MOD+Super_L
|
2024-02-25 14:11:12 +01:00
|
|
|
|
|
2023-11-01 10:14:00 +01:00
|
|
|
|
program[lock] = /usr/bin/false
|
|
|
|
|
|
2024-10-01 19:58:48 +02:00
|
|
|
|
# autorun = ws[10]:xcons
|
2023-12-30 08:31:01 +01:00
|
|
|
|
|
2023-11-01 10:14:00 +01:00
|
|
|
|
# +--------------------------------------------------
|
|
|
|
|
# | 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
|
2024-02-25 14:11:12 +01:00
|
|
|
|
#bind[focus_free] = Super_L
|
2023-11-01 10:14:00 +01:00
|
|
|
|
|
|
|
|
|
# ICONFIY / HIDE
|
2023-11-02 08:10:08 +01:00
|
|
|
|
bind[iconify] = MOD+i
|
2024-02-16 08:26:11 +01:00
|
|
|
|
bind[uniconify] = MOD+Shift+i
|
2023-11-01 10:14:00 +01:00
|
|
|
|
|
|
|
|
|
# MASTER
|
|
|
|
|
bind[master_add] = MOD+comma
|
|
|
|
|
bind[master_del] = MOD+period
|
2024-01-17 18:18:42 +01:00
|
|
|
|
|
2023-11-01 10:14:00 +01:00
|
|
|
|
bind[master_shrink] = MOD+Left
|
2024-01-19 08:59:15 +01:00
|
|
|
|
bind[master_grow] = MOD+Right
|
2023-11-01 10:14:00 +01:00
|
|
|
|
bind[stack_dec] = MOD+Shift+comma
|
|
|
|
|
bind[stack_inc] = MOD+Shift+period
|
|
|
|
|
#bind[stack_reset] = MOD+Shift+space
|
2024-01-17 18:18:42 +01:00
|
|
|
|
bind[maximize_toggle] = MOD+F
|
|
|
|
|
bind[fullscreen_toggle] = MOD+Control+F
|
2023-11-01 10:14:00 +01:00
|
|
|
|
|
|
|
|
|
# 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
|
2024-03-23 09:50:32 +01:00
|
|
|
|
bind[ws_empty] = MOD+e
|
2023-11-01 10:14:00 +01:00
|
|
|
|
bind[ws_next_all] = MOD+Page_Down
|
|
|
|
|
bind[ws_prev_all] = MOD+Page_Up
|
2024-03-23 09:50:32 +01:00
|
|
|
|
bind[rg_next] = MOD+dead_circumflex
|
|
|
|
|
|
2023-11-01 10:14:00 +01:00
|
|
|
|
bind[ws_prior] = MOD+Tab
|
|
|
|
|
|
|
|
|
|
# MOVE WINDOW TO OTHER WS
|
|
|
|
|
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
|
2023-12-30 08:31:01 +01:00
|
|
|
|
bind[ws_empty_move] = MOD+Shift+e
|
2024-03-23 09:50:32 +01:00
|
|
|
|
bind[ws_next_move] = MOD+Shift+Page_Down
|
|
|
|
|
bind[ws_prev_move] = MOD+Shift+Page_Up
|
|
|
|
|
bind[rg_move_next] = MOD+Shift+dead_circumflex
|
2023-11-01 10:14:00 +01:00
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
2024-03-23 09:50:32 +01:00
|
|
|
|
# RESTART WM
|
2023-11-01 10:14:00 +01:00
|
|
|
|
bind[restart] = MOD+Shift+r
|