dotfiles/.config/sdorfehs/config

117 lines
3.3 KiB
Plaintext
Raw Normal View History

set gap 12
set ignoreresizehints 1
#set onlyborder 0
# #set rudeness 12
# swap workspaces, but define it in 'top' to avoid having to prefix with C-a
definekey top M-1 vselect 0
definekey top M-2 vselect 1
definekey top M-3 vselect 2
definekey top M-4 vselect 3
# prevent accidental closes
unbind k
# i like tab just going between the same two windows
definekey top M-Tab focuslast
definekey top M-Left focusleft
definekey top M-Right focusright
definekey top M-Up focusup
definekey top M-Down focusdown
definekey top M-f only
definekey top M-k readkey _k
newkmap _k
definekey _k k hsplit
definekey _k M-k hsplit
definekey _k K vsplit
definekey _k M-K vsplit
definekey top M-a readkey _a
newkmap _a
definekey _a M-Right hsplit
definekey _a M-Left hsplit
definekey _a M-Up vsplit
definekey _a M-Down vsplit
definekey _a colon colon
definekey top M-Prior next
definekey top M-Next prev
# definekey top M-Return exec bterm
# definekey top M-S-Return exec hterm
# bind Right split
# bind Down hsplit
bind c exec bterm
definekey top M-Return exec bterm
definekey top M-q delete
definekey top M-Q remove
bind minus split
bind bar hsplit
definekey top M-F exec dexec_browser
definekey top M-P exec dexec_pass
definekey top M-S exec dexec_ssh
definekey top M-A exec dexec_apps
definekey top M-d exec dexec
# things from jcs
# set barpadding 20 10
# set gap 26
# set ignoreresizehints 1
# set onlyborder 0
#
# bind s split
# bind C-s split
# bind S hsplit
# bind C-S hsplit
#
# bind c exec bterm
# bind C-c exec bterm
#
# # lock the screen
# bind L exec pkill -USR1 xidle
#
#
#
# # quickly jump to music
# definekey root 9 exec sdorfehs -c "vselect 0" -c "fselect 2" -c "select 9"
#
# # map to matebook F keys
# definekey top F1 exec sdorfehs -c "echo backlight: `xbacklight -dec 5 -time 0; xbacklight | sed 's/\..*//'`"
# definekey top F2 exec sdorfehs -c "echo backlight: `xbacklight -inc 5 -time 0; xbacklight | sed 's/\..*//'`"
# definekey top F4 exec sndioctl -q output.mute=!; pkill -USR1 i3status; true
# definekey top F5 exec sndioctl -q output.mute=0; sndioctl -q output.level=-0.025; pkill -USR1 i3status; true
# definekey top F6 exec sndioctl -q output.mute=0; sndioctl -q output.level=+0.025; pkill -USR1 i3status; true
#
# definekey top F10 exec ~/bin/music prev
# definekey top F11 exec ~/bin/music playpause
# definekey top F12 exec ~/bin/music next
# definekey top M-F12 exec ~/bin/music nextalbum
#
#
# # act normal but prevent firefox raising itself when links are opened from
# # other apps
# #set rudeness 12
#
# # let popups stay centered
# unmanage xmessage
# unmanage xprompt
# unmanage OpenSSH Authentication Passphrase Request
# unmanage dzen title
#
# # startup configuration
# #exec ruby ~/code/sdorfehs-bar/sdorfehs-bar.rb
# frestore (frame :number 0 :x 0 :y 40 :width 1080 :height 1400 :screenw 2160 :screenh 1440 :window 27262985 :last-access 29 :dedicated 0),(frame :number 1 :x 1080 :y 40 :width 1080 :height 1150 :screenw 2160 :screenh 1440 :window 18874377 :last-access 28 :dedicated 0),(frame :number 2 :x 1080 :y 1190 :width 1080 :height 250 :screenw 2160 :screenh 1440 :window 20971523 :last-access 26 :dedicated 0)
# execf 0 env RUN_AND_RETURN=mutt bterm -title mutt
# execf 1 env RUN_AND_RETURN=irc bterm -title irssi
# fselect 2
# execf 2 cmus
# exec sleep 2; sdorfehs -c "fselect 1" -c "fselect 0"