65 lines
1.9 KiB
Plaintext

super + Return
$($TERMINAL)
super + {_,ctrl,alt +} b
{search,chromium,tor-browser}
super + {_,shift +} d
rofi -show {run,drun}
super + shift + s
tgscreenkey
super + c
compos
super + s; {t,m,n,v,c,p,w,b}
{tuirent,mails,rss,fm,ncmp,pods,weather-storm,bitcoin-charts}
super + a; {g,k,l,i,m}
{gimp,keepassxc,libreoffice,inkscape,minecraft-launcher}
{Prior,super + x}
slock
super + z
powermenu
super + u
update
super + n
rofi-todo -f $HOME/doc/notes/notes.json
super + {_,shift +} e
{unicode,fawesome}
super + w
choosewall
{_,shift,ctrl +} Print
screenshot {_,--force,--force_area}
{_,ctrl +} button10
screenshot {--force_area,--force}
{_,shift +} F11
blaze {_,-s}
End
sh -c "slock & systemctl suspend"
Pause
syncnow
# mute
XF86AudioMute
pamixer -t && pkill -RTMIN+1 dwmblocks
# volume control
XF86Audio{Raise,Lower}Volume
pamixer -{i,d}3 && pkill -RTMIN+1 dwmblocks
# songs control
XF86Audio{Next,Prev}
playerctl {next,previous} && pkill -RTMIN+2 dwmblocks
# pause/play
{XF86AudioPlay,super + slash}
playerctl play-pause && pkill -RTMIN+2 dwmblocks
# stop
XF86AudioStop
playerctl stop && pkill -RTMIN+2 dwmblocks
ctrl + alt + {Left,Up,Down,period}
rotscreen {left,normal,inverted,right}
button6
if [ `xdotool getmouselocation | awk '\{print $2\}' | sed 's/y://g'` -lt 18 ]; then xte "keydown Super_L" "keydown comma" "keyup Super_L" "keyup comma"; elif [ `ps x | grep $(xdotool getactivewindow getwindowpid) | awk 'NR==1 \{print $5\}'` = "/usr/lib/chromium/chromium" ]; then xte "keydown Control_L" "keydown Shift_L" "keydown Tab" "keyup Control_L" "keyup Shift_L" "keyup Tab"; fi
button7
if [ `xdotool getmouselocation | awk '\{print $2\}' | sed 's/y://g'` -lt 18 ]; then xte "keydown Super_L" "keydown period" "keyup Super_L" "keyup period"; elif [ `ps x | grep $(xdotool getactivewindow getwindowpid) | awk 'NR==1 \{print $5\}'` = "/usr/lib/chromium/chromium" ]; then xte "keydown Control_L" "keydown Tab" "keyup Control_L" "keyup Tab"; fi