This is a collection of dotfiles and scripts for my bspwm setup
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

59 lines
960 B

# -*- conf -*-
#--- General ---#
# Start a terminal
super + Return
$TERMINAL
# Start rofi (program launcher)
super + d
rofi -show drun
# mpv
super + {_,shift} + m
play {_,queue}
#--- Control ---#
# Reload sxhkd config
super + ctrl + r
pkill -USR1 -x sxhkd && notify-send -t 1000 "sxhkd reloaded."
# System
super + shift + s
system
# Screen brightness
super + {F2,F3}
brictl {dec,inc} 10
# Screenshot (fullscreen, selection, focused window)
{_,shift,super} + @Print
scrot {_,-s,-u} -e "mv \$f $CAPTURE"
# Screen record
ctrl + @Print
aliases screencast "$CAPTURE/$(date '+%Y-%m-%d-%H%M%S_1280x720_screencast')"
# Volume
XF86Audio{LowerVolume,RaiseVolume,Mute}
volctl {dec 5,inc 5,toggle}
# Touchpad toggle
XF86HomePage
inputctl -d toggle
# Touchscreen toggle
XF86Search
inputctl -s toggle
#--- Mouse ---#
# Front side button
button9
xdotool key "Home"
# Back side button
button8
xdotool keydown "Control_L" key "r" keyup "Control_L"