142 lines
No EOL
3.6 KiB
Text
142 lines
No EOL
3.6 KiB
Text
## CWM config file
|
|
|
|
ignore xclock
|
|
|
|
# Sticky groups: uncomment to enable worskpace-like behavior
|
|
sticky yes
|
|
focusfollowsmouse no
|
|
|
|
# Default font
|
|
fontname "Iosevka:pixelsize=14:bold"
|
|
|
|
# Appearance
|
|
borderwidth 5
|
|
color activeborder "#845c68"
|
|
color inactiveborder "#343335"
|
|
color urgencyborder "#cc241d"
|
|
|
|
# Menu colors
|
|
color font "#eeeeee"
|
|
color selfont "#eeeeee"
|
|
color menubg "#161616"
|
|
color menufg "#5294E2"
|
|
|
|
#Gaps (top, bottom, left, right)
|
|
#gap 32 8 8 8
|
|
gap 18 8 8 8
|
|
|
|
# Size of manually tiled Windows in %
|
|
htile 55
|
|
vtile 55
|
|
|
|
# How many pixels a window gets moved by
|
|
moveamount 75
|
|
|
|
# Commands
|
|
command term /usr/bin/lxterminal
|
|
|
|
# Key bindings
|
|
|
|
## 4 = Super key
|
|
## S = shift
|
|
## M = meta key = alt
|
|
|
|
# Remove all default keybindings
|
|
unbind-key all
|
|
|
|
# Toggle visibility of group n, hiding all other groups
|
|
bind-key 4-Tab group-last
|
|
bind-key 4-1 group-only-1
|
|
bind-key 4-2 group-only-2
|
|
bind-key 4-3 group-only-3
|
|
bind-key 4-4 group-only-4
|
|
bind-key 4-5 group-only-5
|
|
bind-key 4-6 group-only-6
|
|
bind-key 4-7 group-only-7
|
|
bind-key 4-8 group-only-8
|
|
bind-key 4-9 group-only-9
|
|
|
|
# Toggle group n's visibility, without hiding active group
|
|
bind-key 4C-1 group-toggle-1
|
|
bind-key 4C-2 group-toggle-2
|
|
bind-key 4C-3 group-toggle-3
|
|
bind-key 4C-4 group-toggle-4
|
|
bind-key 4C-5 group-toggle-5
|
|
bind-key 4C-6 group-toggle-6
|
|
bind-key 4C-7 group-toggle-7
|
|
bind-key 4C-8 group-toggle-8
|
|
bind-key 4C-9 group-toggle-9
|
|
|
|
# Move window to group n
|
|
bind-key 4S-1 window-movetogroup-1
|
|
bind-key 4S-2 window-movetogroup-2
|
|
bind-key 4S-3 window-movetogroup-3
|
|
bind-key 4S-4 window-movetogroup-4
|
|
bind-key 4S-5 window-movetogroup-5
|
|
bind-key 4S-6 window-movetogroup-6
|
|
bind-key 4S-7 window-movetogroup-7
|
|
bind-key 4S-8 window-movetogroup-8
|
|
bind-key 4S-9 window-movetogroup-9
|
|
|
|
# Toggle visibility of all groups
|
|
bind-key 4-a group-toggle-all
|
|
|
|
# Add focused window to current group
|
|
#bind-key 4-g window-group
|
|
|
|
# What follows is rather self-explanatory
|
|
bind-key 4-r restart
|
|
bind-key 4MS-q quit
|
|
|
|
bind-key 4S-d window-close
|
|
bind-key 4-u window-hide
|
|
|
|
bind-key 4-g window-fullscreen
|
|
bind-key 4-m window-maximize
|
|
bind-key 4C-t window-htile
|
|
bind-key 4-t window-vtile
|
|
|
|
# Cycle/reverse cycle through windows
|
|
bind-key M-Tab window-cycle
|
|
bind-key MS-Tab window-rcycle
|
|
|
|
# Move windows
|
|
bind-key 4C-h window-move-left
|
|
bind-key 4C-j window-move-down
|
|
bind-key 4C-k window-move-up
|
|
bind-key 4C-l window-move-right
|
|
bind-key 4CS-h window-resize-left-big
|
|
bind-key 4CS-j window-resize-down-big
|
|
bind-key 4CS-k window-resize-up-big
|
|
bind-key 4CS-l window-resize-right-big
|
|
bind-mouse 4-1 window-move
|
|
bind-mouse 4-3 window-resize
|
|
|
|
# Snap windows
|
|
bind-key 4M-h window-snap-left
|
|
bind-key 4M-j window-snap-down
|
|
bind-key 4M-k window-snap-up
|
|
bind-key 4M-l window-snap-right
|
|
|
|
# Open programms
|
|
bind-key 4S-Return lxterminal
|
|
bind-key 4-s screenshot
|
|
|
|
# Open menus
|
|
bind-key 4-f menu-window
|
|
bind-key 4-d "dmenu_run -nb '#000000' -sb '#353047' -sf '#ffffff'"
|
|
bind-key 4-s "kfavmenu"
|
|
|
|
# Volume control
|
|
|
|
bind-key XF86AudioRaiseVolume "vol +"
|
|
bind-key XF86AudioLowerVolume "vol -"
|
|
bind-key XF86AudioMute "vol ."
|
|
bind-key XF86AudioMicMute "vol !"
|
|
|
|
bind-key 4-y "playerctl -p spotify play-pause 2>/dev/null || playerctl play-pause"
|
|
bind-key 4-less "playerctl previous"
|
|
bind-key 4-greater "playerctl next"
|
|
|
|
# Autogroup some apps
|
|
autogroup 5 "dooble,firefox,librewolf" |