dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | Submodules | README | LICENSE

sxhkdrc (2590B)


      1 # utils
      2 alt + q
      3 	kill -9 `xdotool getwindowfocus getwindowpid`
      4 alt + space
      5 	ducksearch
      6 alt + shift + space
      7 	dmenu_run
      8 alt + a
      9 	articlesearch
     10 alt + o
     11 	$TERMINAL fuzzylaunch
     12 alt + p
     13 	$TERMINAL dropdowncalc
     14 alt + u
     15 	linkhandler $(xclip -selection primary -o)
     16 alt + shift + u
     17 	linkhandler $(xclip -selection clipboard -o)
     18 alt + shift + c
     19 	showclip
     20 alt + grave
     21 	dmenuunicode
     22 alt + Scroll_Lock
     23 	killall screenkey || screenkey
     24 alt + x
     25 	xlock
     26 alt + shift + slash
     27 	define --gui
     28 alt + shift + p
     29 	passmenu
     30 Print
     31 	maim ~/tmp/pic-full-"$(date '+%y%m%d-%H%M-%S').png"
     32 alt + Print
     33 	maimpick
     34 alt + shift + {Print,Delete}
     35 	dmenurecord {,kill}
     36 XF86Launch1
     37 	 xrandr-auto; xbacklight -set 100
     38 shift + XF86Launch1
     39 	 xrandr-auto; xbacklight -set 1
     40 alt + F5
     41 	$TERMINAL -e nmtui-connect
     42 	#$TERMINAL -e sudo wpa_cli
     43 XF86WLAN
     44 	$TERMINAL -e nmtui-connect
     45 	#$TERMINAL -e sudo wpa_cli
     46 alt + shift + F5
     47 	sudo systemctl restart NetworkManager
     48 alt + F7
     49 	displayselect
     50 XF86Display
     51 	displayselect
     52 alt + F8
     53 	t-daemon-toggle
     54 alt + {F9,F10}
     55 	{dmenumount,dmenuumount}
     56 alt + F11
     57 	contactmenu
     58 alt + shift + control + l
     59 	keyboard-layout-switch.sh; dwmstatus-refresh
     60 
     61 # applications
     62 alt + Return
     63 	$TERMINAL -e tmux
     64 alt + shift + Return
     65 	$TERMINAL
     66 alt + d
     67 	$TERMINAL -e tmux new-session 'cd ~/doc/journal && $EDITOR journal.tex'
     68 alt + e
     69 	$TERMINAL -e tmux new-session $EDITOR
     70 alt + w
     71 	$BROWSER 'https://adamsgaard.dk/bookmark.html'
     72 alt + shift + w
     73 	tor-browser
     74 alt + b
     75 	$TERMINAL -e vis ~/doc/todo.md
     76 	#$TERMINAL -e board ~/doc
     77 alt + n
     78 	$TERMINAL -e $FILE
     79 alt + m
     80 	$TERMINAL -e tmux new-session mutt
     81 alt + i
     82 	$TERMINAL -e tmux new-session irc.sh
     83 alt + s
     84 	firejail --profile=~/.config/firejail/signal-desktop.profile signal-desktop
     85 alt + t
     86 	message -p
     87 alt + shift + o
     88 	$TERMINAL -e htop
     89 alt + y
     90 	$TERMINAL -e tmux new-session 'cd ~/tmp && youtube-viewer'
     91 alt + shift + y
     92 	$TERMINAL -e tmux new-session 'cd ~/tmp && youtube-viewer --novideo'
     93 alt + c
     94 	$TERMINAL -e calcurse -D ~/.config/calcurse
     95 
     96 # media
     97 alt + shift + a
     98 	$TERMINAL -e alsamixer
     99 alt + control + shift + c
    100 	mpv --no-osc --input-conf=/dev/null --title='mpvfloat' /dev/video0
    101 alt + control + shift + m
    102 	$TERMINAL -e ncmpcpp
    103 alt + control + shift + {p,s,o,n,b}
    104 	mpc {toggle,stop,stop,next,prev}; dwmstatus-refresh
    105 XF86AudioMute
    106 	pulsemixer --toggle-mute; dwmstatus-refresh
    107 	#amixer sset Master toggle; dwmstatus-refresh
    108 XF86Audio{Lower,Raise}Volume
    109 	pulsemixer --unmute --change-volume {-3,+3}; dwmstatus-refresh
    110 	#amixer sset Master 5%{-,+}; dwmstatus-refresh
    111 
    112 XF86MonBrightness{Down,Up}
    113 	xbacklight -{dec,inc} 5
    114 shift + XF86MonBrightness{Down,Up}
    115 	xbacklight -set {1,100}