dots

Personal dotfiles
git clone git://git.gormless.xyz/dots.git
Log | Files | Refs

sxhkdrc (1917B)


      1 #!/bin/sh
      2 
      3 # dmenu
      4 super + grave
      5 	dmenu_run
      6 super + shift + grave
      7 	deeserch
      8 
      9 # terminal
     10 super + Return
     11 	st
     12 #super + shift + Return
     13 #	termdraw
     14 
     15 # tmux manipulation
     16 super + s ; {n,m,g,c,w,o,s,p}
     17 	{stmux "new" "$HOME/var/newsboat" ". $HOME/.profile; newsboat",stmux "ema" "$HOME/var/mail" "mutt",stmux "mat" "$HOME/tmp" "gomuks",stmux "mus" "$HOME/usr/mus" "cmus",stmux "web" "$HOME/var/www" "ksh",stmux "not" "$HOME/notes" ". $HOME/.profile; v $HOME/usr/notes/general",stmux 'ssh' 'var/www' 'ssh anon@8.9.30.198',stmux 'pro' '.' 'profanity'}
     18 
     19 # theme switch
     20 #super + c
     21 #	themeswitch -t
     22 
     23 # browser(s)
     24 super + w ; {f,i,d,l}
     25 	{firefox,iridium,dillo,st -e lynx}
     26 
     27 # desktop background
     28 super + a ; {f,r,g,b,t,m}
     29 	{xwallpaper --tile $HOME/usr/img/wal/tile/floral.jpg, xsetroot -solid \#330000, xsetroot -solid \#003300, xsetroot -solid \#000033, xsetroot -mod 3 3 -bg \#454545,xwallpaper --focus $HOME/usr/img/wal/full/mech.jpg}
     30 
     31 # music control
     32 super + p
     33 	cmus-remote -u
     34 super + comma
     35 	cmus-remote -r
     36 super + period
     37 	cmus-remote -n
     38 
     39 # screenshots
     40 Print
     41 	screenshot
     42 Scroll_Lock
     43 	screenshot
     44 shift + Print
     45 	viewshot
     46 shift + Scroll_Lock
     47 	viewshot
     48 
     49 # volume control
     50 super + F3
     51 	sndioctl output.level=+0.031
     52 super + F2
     53 	sndioctl output.level=-0.031
     54 super + F1
     55 	mute -s
     56 super + F4
     57 	mute -m
     58 
     59 ###########
     60 # WMUTILS #
     61 ###########
     62 
     63 # groups
     64 #super + shift + {1,2,3,4,5}
     65 #	gruup -s "$(pfw)" {1,2,3,4,5}
     66 #super + {1,2,3,4,5}
     67 #	gruup -t {1,2,3,4,5}
     68 #super + shift + 0
     69 #	gruup -c "$(pfw)"
     70 
     71 # kill window
     72 #super + apostrophe
     73 #	killw -p "$(pfw)"
     74 
     75 # move windows around
     76 #super + {Left,Down,Up,Right}
     77 #	wmv {-20 0, 0 20, 0 -20, 20 0} $(pfw)
     78 
     79 # resize windows
     80 #super + shift + {Left,Down,Up,Right}
     81 #	wrs {-20 0, 0 20, 0 -20, 20 0} $(pfw)
     82 
     83 # focus windows
     84 #super + k
     85 #	focus next
     86 #super + j
     87 #	focus prev
     88 
     89 # teleport windows
     90 #super + {f,g,x,b,d}
     91 #	corner {tl, tr, bl, br, md}
     92 
     93 # fullscreen
     94 #super + u
     95 #	fs $(pfw)
     96 
     97 # tile windows
     98 #super + t
     99 #	tile