Skip to content

Instantly share code, notes, and snippets.

@lidgnulinux
Created October 1, 2022 04:14
Show Gist options
  • Save lidgnulinux/503c8ebbe94228a3e66786961ee63dcf to your computer and use it in GitHub Desktop.
Save lidgnulinux/503c8ebbe94228a3e66786961ee63dcf to your computer and use it in GitHub Desktop.
# Set default Xft(3) font
fontname "sans-serif:pixelsize=14:bold"
gap 30 6 6 6
borderwidth 3
color activeborder brown
color inactiveborder pastel
# Turn on sticky-group mode
sticky yes
# Any entry here is shown in the appli
command firefox firefox
command xmms xmms
command xterm xterm
# Autogroup definitions
#autogroup 3 "aterm,XTerm"
#autogroup 3 "xterm,XTerm"
# Ignore programs by that name by not
ignore XMMS
ignore xwi
ignore xapm
ignore xclock
# Key bindings
bind-key 4S-l window-menu-label
bind-key 4-r menu-exec
bind-key 4S-r restart
bind-key 4S-q quit
bind-key 4-g menu-group
bind-key 4-w menu-window
bind-key 4-q window-close
bind-key 4-f window-maximize
bind-key 4S-f window-fullscreen
bind-key 4-Return xterm
bind-key 4-m jgmenu_run
bind-key CS-y window-vtile
bind-key CS-T window-htile
bind-key 4S-v window-vmaximize
bind-key C4S-equal window-hmaximize
bind-key M-1 group-only-1
bind-key M-2 group-only-2
bind-key M-3 group-only-3
bind-key 4S-1 window-movetogroup-1
bind-key 4S-2 window-movetogroup-2
bind-key 4S-3 window-movetogroup-3
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 XF86AudioRaiseVolume "pamixer -i 5"
bind-key XF86AudioLowerVolume "pamixer -d 5"
bind-key XF86AudioToggle "pamixer -t"
unbind-key 4-o
unbind-key CA-m
unbind-key 4-i
unbind-key CM-equal
unbind-key CMS-equal
# Mouse bindings
bind-mouse M-2 window-lower
bind-mouse 4-1 window-move
bind-mouse M-1 window-resize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment