Skip to content

Instantly share code, notes, and snippets.

@bhaskarkc
Created September 22, 2020 22:51
Show Gist options
  • Save bhaskarkc/2ae116adc7ae3096e3c36215b6b3ccc0 to your computer and use it in GitHub Desktop.
Save bhaskarkc/2ae116adc7ae3096e3c36215b6b3ccc0 to your computer and use it in GitHub Desktop.
# Basic binds
# vim: ft=conf
super + d
dmenu_run -fn 'Iosevka'
super + shift + a
$TERMINAL -e pulsemixer; pkill -RTMIN+12 blocks
super + shift + c
camtoggle
super + grave
dmenuunicode
super + Insert
showclip
super + shift + x
prompt "Shutdown computer?" "sudo -A shutdown -h now"
super + shift + BackSpace
prompt "Reboot computer?" "sudo -A shutdown -r now"
super + x
mpc pause; pauseallmpv; i3lock -e -f -c 1d2021; xset dpms force off; systemctl suspend;
XF86Launch1
xset dpms force off
XF86AudioMute
lmc mute
XF86AudioLowerVolume
lmc down 5
shift+XF86AudioLowerVolume
lmc down 10
control+XF86AudioLowerVolume
lmc down 1
XF86AudioRaiseVolume
lmc up 5
shift+XF86AudioRaiseVolume
lmc up 10
control+XF86AudioRaiseVolume
lmc up 1
XF86AudioNext
lmc next
XF86AudioPlay
lmc toggle
XF86AudioPrev
lmc prev
XF86AudioStop
lmc toggle
XF86MonBrightnessDown
xbacklight -dec 5
XF86MonBrightnessUp
xbacklight -inc 5
# Recording
# Take screenshot
Print
flameshot && flameshot gui
# maim pic-full-$(date '+%y%m%d-%H%M-%S').png
# Pick screenshot type
# shift + Print
# maimpick
# Record audio or video
super + Print
dmenurecord
# kill active recording
super + Delete
dmenurecord kill
# Pause audio
# super + {_,shift +} p
# lmc {toggle,pause}
# Changes to next/previous tracks
# super + {comma,period}
# lmc {prev,next}
# Restart track
# super + shift + less
# lmc replay
# Increase volume
# super + {equal,plus}
# lmc up {5,15}
# Decrease volume
# super {_,shift +} + minus
# lmc down {5,15}
# Seek foward in song
# super + {_,shift +} bracketright
# lmc forward {10,120}
# Seek backward in song
# super + {_,shift +} bracketleft
# lmc back {10,120}
# Function keys
# Show readme
# super + F1
# groff -mom $HOME/.local/share/dwm/larbs.mom -Tpdf | zathura -
# F2 is restart in i3 right now.
# Change display
super + F7
displayselect
# Hibernate
super + F4
prompt 'Hibernate computer?' 'sudo systemctl suspend'
# Restart/rescan wifi/eth networks
super + F5
sudo -A systemctl restart NetworkManager
# Start torrent daemon/open interface
# super + F6
# torwrap
# toggle torrent daemon
# super + F7
# td-toggle
# sync email
# super + F8
# mailsync
# Mount a USB drive or Android device
super + F9
dmenumount
# Unmount a USB drive or Android device
super + F10
dmenuumount
# Search with Duckduckgo
super + F11
ducksearch
# Network Manager interface
super + F12
$TERMINAL -e sudo -A nmtui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment