76 lines
2.3 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
super + s; {t,m,n,v,c,p}
{tuirent,mails,rss,fm,ncmp,pods}
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
2020-06-01 08:52:55 +02:00
super + {_,ctrl +} m
2020-06-01 13:52:49 +02:00
rofi-mpd {-a,-s} && refbar
2020-06-01 08:52:55 +02:00
super + apostrophe
mpdqueue
2020-06-01 13:52:49 +02:00
XF86Tools
mpdrandom
{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-06-02 13:34:36 +02:00
{_,shift +} Home
2020-05-29 13:27:39 +02:00
{_,u}mounter
{_,ctrl +} F10
{curl 192.168.1.201/toggle.php && refbar,$BROWSER 192.168.1.201}
{_,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
2020-12-26 18:01:29 +01:00
amixer sset Master toggle && pkill -RTMIN+1 dwmblocks
2020-05-29 13:27:39 +02:00
# volume control
2020-05-09 17:26:34 +02:00
XF86Audio{Raise,Lower}Volume
2020-12-26 18:01:29 +01:00
amixer sset Master 5%{+,-} && 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-06-01 08:52:55 +02:00
ctrl + XF86Audio{Next,Prev}
mpc seek {+,-}4
2020-05-29 13:27:39 +02:00
# pause/play
{XF86AudioPlay,super + slash}
2020-12-26 18:01:29 +01:00
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
2020-12-26 18:01:29 +01:00
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-18 15:24:51 +01:00
if [ `ps x | grep $(xdotool getactivewindow getwindowpid) | awk 'NR==1 \{print $5\}'` = "/usr/lib/chromium/chromium" ]; then if [ `xdotool getmouselocation | awk '\{print $2\}' | sed 's/y://g'` -gt 18 ]; then xte "keydown Control_L" "keydown Shift_L" "keydown Tab" "keyup Control_L" "keyup Shift_L" "keyup Tab"; else xte "keydown Super_L" "keydown comma" "keyup Super_L" "keyup comma"; fi; else xte "keydown Super_L" "keydown comma" "keyup Super_L" "keyup comma"; fi
2020-12-26 18:01:29 +01:00
button7
2021-01-18 15:24:51 +01:00
if [ `ps x | grep $(xdotool getactivewindow getwindowpid) | awk 'NR==1 \{print $5\}'` = "/usr/lib/chromium/chromium" ]; then if [ `xdotool getmouselocation | awk '\{print $2\}' | sed 's/y://g'` -gt 18 ]; then xte "keydown Control_L" "keydown Tab" "keyup Control_L" "keyup Tab"; else xte "keydown Super_L" "keydown period" "keyup Super_L" "keyup period"; fi; else xte "keydown Super_L" "keydown period" "keyup Super_L" "keyup period"; fi