68 lines
2.0 KiB
Plaintext
Raw Normal View History

2020-05-15 17:54:38 +02:00
super + Return
$($TERMINAL)
2020-05-29 13:27:39 +02:00
super + {_,ctrl,alt +} b
{search,chromium,tor-browser}
2020-05-29 13:27:39 +02:00
super + {_,shift +} d
rofi -show {run,drun}
2020-05-15 17:54:38 +02:00
super + shift + s
tgscreenkey
2020-05-26 13:51:22 +02:00
super + c
compos
2020-05-09 17:26:34 +02:00
2021-02-15 12:52:02 +01:00
super + s; {t,m,n,v,c,p,w,b}
{tuirent,mails,rss,fm,ncmp,pods,weather-storm,bitcoin-charts}
2020-07-01 10:44:10 +02:00
super + a; {g,k,l,i,m}
{gimp,keepassxc,libreoffice,inkscape,minecraft-launcher}
2020-05-09 17:26:34 +02:00
{Prior,super + x}
slock
2020-05-09 17:26:34 +02:00
super + z
powermenu
super + u
update
2020-05-09 17:26:34 +02:00
super + n
2020-05-11 10:48:19 +02:00
rofi-todo -f $HOME/doc/notes/notes.json
2020-05-29 13:27:39 +02:00
super + {_,shift +} e
{unicode,fawesome}
2020-05-15 17:54:38 +02:00
super + w
choosewall
{_,shift,ctrl +} Print
screenshot {_,--force,--force_area}
2020-12-26 18:01:29 +01:00
{_,ctrl +} button10
screenshot {--force_area,--force}
2020-05-29 13:27:39 +02:00
{_,shift +} F11
blaze {_,-s}
2020-05-15 17:54:38 +02:00
End
sh -c "slock & systemctl suspend"
Pause
syncnow
2020-05-09 17:26:34 +02:00
2020-05-29 13:27:39 +02:00
# mute
2020-05-09 17:26:34 +02:00
XF86AudioMute
2021-01-18 17:48:00 +01:00
pamixer -t && pkill -RTMIN+1 dwmblocks
# select radio
XF86Tools
play-radio
2020-05-29 13:27:39 +02:00
# volume control
2020-05-09 17:26:34 +02:00
XF86Audio{Raise,Lower}Volume
2021-01-18 17:48:00 +01:00
pamixer -{i,d}3 && pkill -RTMIN+1 dwmblocks
2020-05-29 13:27:39 +02:00
# songs control
2020-05-09 17:26:34 +02:00
XF86Audio{Next,Prev}
2020-12-26 18:01:29 +01:00
playerctl {next,previous} && pkill -RTMIN+2 dwmblocks
2020-05-29 13:27:39 +02:00
# pause/play
{XF86AudioPlay,super + slash}
mpc status | grep -q "playing\|paused" && mpc toggle || playerctl play-pause && pkill -RTMIN+2 dwmblocks
2020-05-29 13:27:39 +02:00
# stop
2020-05-09 17:26:34 +02:00
XF86AudioStop
mpc stop && playerctl stop && pkill -RTMIN+2 dwmblocks
2020-06-02 11:28:34 +02:00
2021-01-18 15:24:51 +01:00
ctrl + alt + {Left,Up,Down,period}
2020-06-02 11:28:34 +02:00
rotscreen {left,normal,inverted,right}
2020-12-26 18:01:29 +01:00
button6
2021-01-19 09:29:55 +01:00
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
2020-12-26 18:01:29 +01:00
button7
2021-01-19 09:29:55 +01:00
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