2021-10-09 21:20:41 +00:00
|
|
|
####################
|
|
|
|
# WM independent hotkeys
|
|
|
|
####################
|
|
|
|
|
|
|
|
# mic
|
|
|
|
super + BackSpace
|
|
|
|
pactl list sources | grep -qi 'Mute: yes' && pactl set-source-mute 2 false || pactl set-source-mute 2 true
|
|
|
|
|
|
|
|
super + ctrl + alt + f
|
|
|
|
pactl list sources | grep -qi 'Active Port: analog-input-rear-mic' && pactl set-source-port 2 analog-input-front-mic || pactl set-source-port 2 analog-input-rear-mic
|
|
|
|
|
|
|
|
#Volume Control
|
2021-10-10 01:23:03 +00:00
|
|
|
{XF86AudioLowerVolume,super + Next}
|
2021-10-09 21:20:41 +00:00
|
|
|
amixer -D pulse sset Master 5%-
|
2021-10-10 01:23:03 +00:00
|
|
|
{XF86AudioRaiseVolume,super + Prior}
|
2021-10-09 21:20:41 +00:00
|
|
|
amixer -D pulse sset Master 5%+
|
2021-10-10 01:23:03 +00:00
|
|
|
{XF86AudioMute}
|
|
|
|
amixer -D pulse set Master 1+ toggle
|
2021-10-09 21:20:41 +00:00
|
|
|
|
|
|
|
super + r
|
|
|
|
rofi -show drun -show-icons
|
|
|
|
|
|
|
|
super + shift + r
|
|
|
|
rofi -show ssh -show-icons
|
|
|
|
|
|
|
|
super + ctrl + Tab
|
|
|
|
rofi -show window
|
|
|
|
|
|
|
|
super + g
|
|
|
|
$HOME/.scripts/toggle-gap.sh
|
|
|
|
|
|
|
|
super + shift + g
|
|
|
|
$HOME/.scripts/toggle-size-hints.sh
|
|
|
|
|
|
|
|
# open terminal
|
|
|
|
super + Return
|
|
|
|
$TERMINAL
|
|
|
|
|
|
|
|
# open pdf viewer
|
|
|
|
super + z
|
|
|
|
curl --output - $(xsel) | zathura -
|
|
|
|
# open video player
|
|
|
|
super + v
|
|
|
|
mpv --player-operation-mode=pseudo-gui $(xsel)
|
|
|
|
|
|
|
|
# open browser
|
|
|
|
super + b
|
|
|
|
$BROWSER
|
|
|
|
|
2022-05-15 23:50:25 +00:00
|
|
|
# open xlinks
|
|
|
|
super + x
|
|
|
|
$HOME/.scripts/links-launcher
|
|
|
|
|
2021-10-09 21:20:41 +00:00
|
|
|
# open email
|
|
|
|
super + m
|
|
|
|
$EMAIL_CLIENT
|
|
|
|
|
|
|
|
# open file manager
|
|
|
|
super + n
|
|
|
|
$FILE_MANAGER
|
|
|
|
|
|
|
|
# open audio mixer
|
|
|
|
super + semicolon
|
|
|
|
bspc rule -a \* -o state=floating && $TERMINAL -e pulsemixer
|
|
|
|
|
|
|
|
# xkill
|
|
|
|
ctrl + alt + Escape
|
|
|
|
xkill
|
|
|
|
|
|
|
|
# top
|
|
|
|
meta + Escape
|
|
|
|
$TERMINAL -e htop
|
|
|
|
|
|
|
|
# screenshot
|
|
|
|
super + s
|
2021-10-09 21:37:52 +00:00
|
|
|
$HOME/.scripts/screenshot
|
2021-10-09 21:20:41 +00:00
|
|
|
super + shift + s
|
2021-10-09 21:37:52 +00:00
|
|
|
$HOME/.scripts/screenshot_fs
|
2021-10-09 21:20:41 +00:00
|
|
|
super + ctrl + s
|
2021-10-09 21:37:52 +00:00
|
|
|
$HOME/.scripts/screenshot_floating
|
2021-12-05 13:44:24 +00:00
|
|
|
|
2021-10-09 21:20:41 +00:00
|
|
|
# lock screen
|
2021-12-05 13:44:24 +00:00
|
|
|
super + ctrl + l
|
2021-10-09 21:37:52 +00:00
|
|
|
$HOME/.scripts/lock
|
2021-10-09 21:20:41 +00:00
|
|
|
|
|
|
|
# power menu
|
|
|
|
super + ctrl + Escape
|
2021-10-09 21:37:52 +00:00
|
|
|
$HOME/.scripts/powermenu
|
2021-10-09 21:20:41 +00:00
|
|
|
|
|
|
|
# emoji
|
|
|
|
super + ctrl + e
|
2021-10-09 21:37:52 +00:00
|
|
|
$HOME/.scripts/dmenuemoji insert
|
2021-10-09 21:20:41 +00:00
|
|
|
|
|
|
|
# kaomoji
|
|
|
|
super + ctrl + c
|
2021-10-09 21:37:52 +00:00
|
|
|
$HOME/.scripts/dmenukaomoji insert
|
2021-10-09 21:20:41 +00:00
|
|
|
|
|
|
|
# stuff
|
|
|
|
super + ctrl + m
|
|
|
|
dmenu -p "i am stuff" | xargs /usr/bin/stuff
|
|
|
|
|
|
|
|
super + ctrl + n
|
|
|
|
dmenu -p "i am big chungus" | xargs /usr/bin/chungus
|
|
|
|
|
|
|
|
super + ctrl + t
|
|
|
|
dmenu -p "toilet" | toilet --font mono12 | sed 's/ /_ _ /g' | xclip -selection clipboard
|
|
|
|
super + ctrl + b
|
|
|
|
dmenu -p "eminem says" | xargs /usr/bin/eminem
|
|
|
|
# memes
|
|
|
|
super + ctrl + alt + c
|
2021-10-09 21:37:52 +00:00
|
|
|
$HOME/.scripts/memeselector
|
2021-10-09 21:20:41 +00:00
|
|
|
|
|
|
|
# iocane
|
|
|
|
super + shift + Return
|
|
|
|
iocane -i
|
|
|
|
|
|
|
|
# switch monitor input sources
|
|
|
|
ctrl + super + apostrophe
|
|
|
|
ddc-switch-inputs 1
|
|
|
|
ctrl + super + shift + apostrophe
|
|
|
|
ddc-switch-inputs 2
|
|
|
|
|
|
|
|
# dim all but main monitor
|
|
|
|
super + alt + c
|
2021-10-09 21:37:52 +00:00
|
|
|
$HOME/.scripts/cinema.sh
|
2021-10-09 21:20:41 +00:00
|
|
|
|
|
|
|
# control gamma
|
|
|
|
super + alt + f
|
2021-10-09 21:37:52 +00:00
|
|
|
$HOME/.scripts/gamma.sh 0.8
|
2021-10-09 21:20:41 +00:00
|
|
|
super + alt + g
|
2021-10-09 21:37:52 +00:00
|
|
|
$HOME/.scripts/gamma.sh 1.2
|
2021-10-09 21:20:41 +00:00
|
|
|
super + alt + r
|
2021-10-09 21:37:52 +00:00
|
|
|
$HOME/.scripts/gamma.sh
|
2021-10-09 21:20:41 +00:00
|
|
|
super + alt + t
|
|
|
|
bspc rule -a \* -o state=floating && gamma
|
|
|
|
|
|
|
|
# record screen
|
|
|
|
super + alt + s
|
|
|
|
.scripts/screenrecord
|
|
|
|
|
|
|
|
#bring up calculator
|
|
|
|
super + period
|
|
|
|
.scripts/calculator
|
|
|
|
|
2021-12-05 13:44:24 +00:00
|
|
|
# file search and open
|
2021-10-09 21:20:41 +00:00
|
|
|
super + slash
|
2022-05-15 23:50:25 +00:00
|
|
|
websearch
|
2021-12-05 13:44:24 +00:00
|
|
|
shift + super + slash
|
|
|
|
bspc rule -a \* -o state=floating && $TERMINAL -e ~/.scripts/fzf_menu.sh
|
2021-10-09 21:20:41 +00:00
|
|
|
|
|
|
|
# Calendar
|
|
|
|
super + c
|
|
|
|
bspc rule -a \* -o state=floating && $TERMINAL -e calcurse
|
|
|
|
|
|
|
|
super + comma
|
|
|
|
.scripts/notepad
|
|
|
|
|
|
|
|
###################
|
|
|
|
# mpd server #
|
|
|
|
###################
|
|
|
|
|
|
|
|
# play/pause, prev, next
|
|
|
|
super + alt + ctrl + o
|
|
|
|
mpc toggle
|
|
|
|
|
2021-10-10 01:23:03 +00:00
|
|
|
{XF86AudioNext, super + alt + ctrl + p
|
2021-10-09 21:20:41 +00:00
|
|
|
mpc next
|
|
|
|
|
2021-10-10 01:23:03 +00:00
|
|
|
{XF86AudioPrev,super + alt + ctrl + i}
|
2021-10-09 21:20:41 +00:00
|
|
|
mpc prev
|
|
|
|
super + alt + ctrl + apostrophe
|
|
|
|
mpc shuffle
|
|
|
|
# stop
|
|
|
|
super + alt + ctrl + BackSpace
|
|
|
|
mpc stop
|
|
|
|
|
|
|
|
#ncmpcpp
|
|
|
|
super + alt + ctrl + backslash
|
|
|
|
bspc rule -a \* -o state=floating && $TERMINAL -e ncmpcpp
|
|
|
|
|
|
|
|
# chooser
|
|
|
|
super + alt + ctrl + slash
|
|
|
|
.scripts/mpc_picker
|
|
|
|
# volume
|
|
|
|
super + alt + ctrl + Next
|
|
|
|
mpc volume -10
|
|
|
|
super + alt + ctrl + Prior
|
|
|
|
mpc volume +10
|
|
|
|
|
|
|
|
# show cover art
|
|
|
|
super + alt + ctrl + y
|
|
|
|
kunst --music_dir ~/music/ --size 1000x1000
|
|
|
|
|
|
|
|
###################
|
|
|
|
# bspwm hotkeys
|
|
|
|
###################
|
|
|
|
|
|
|
|
# quit / restart bspwm
|
|
|
|
super + ctrl + {q,r}
|
|
|
|
bspc {quit,wm -r}
|
|
|
|
|
|
|
|
# close / kill
|
|
|
|
super + {_,shift +}w
|
|
|
|
bspc node -{c,k}
|
|
|
|
|
|
|
|
# alternate between tiled and monocle
|
|
|
|
#super + m
|
|
|
|
#bspc desktop -l next
|
|
|
|
|
|
|
|
#
|
|
|
|
# state/flags
|
|
|
|
#
|
|
|
|
|
|
|
|
# float the window
|
|
|
|
super + f
|
2022-07-31 21:09:31 +00:00
|
|
|
[ -z "$(bspc query -N -n focused.floating)" ] && \
|
|
|
|
bspc node focused -t floating || \
|
|
|
|
bspc node focused -t tiled;
|
2021-10-09 21:20:41 +00:00
|
|
|
|
|
|
|
super + ctrl + f
|
|
|
|
bspc node -t \~fullscreen
|
|
|
|
|
2022-07-31 21:09:31 +00:00
|
|
|
# pseudotile
|
|
|
|
super + p
|
|
|
|
bspc node focused -t pseudo_tiled
|
|
|
|
|
|
|
|
|
2021-10-09 21:20:41 +00:00
|
|
|
#
|
|
|
|
# focus/swap
|
|
|
|
#
|
|
|
|
|
|
|
|
# focus the node in the given direction
|
|
|
|
super + {_,shift + }{h,j,k,l}
|
|
|
|
bspc node -{f,s} {west,south,north,east}
|
|
|
|
|
|
|
|
# focus the next/previous window in the current desktop
|
|
|
|
super + ctrl + {_, shift +} Tab
|
|
|
|
bspc node -f {next,prev}.local.!hidden.window
|
|
|
|
|
|
|
|
# focus the next/previous desktop in the current monitor
|
2022-05-15 23:50:25 +00:00
|
|
|
super + {Left,Right}
|
2021-10-09 21:20:41 +00:00
|
|
|
bspc desktop -f {prev,next}.local
|
|
|
|
|
|
|
|
# focus the older or newer node in the focus history
|
|
|
|
super + {_, shift +} Tab
|
|
|
|
bspc wm -h off; \
|
|
|
|
bspc node {older,newer} -f; \
|
|
|
|
bspc wm -h on
|
|
|
|
|
|
|
|
# focus or send to the given desktop
|
2022-01-13 20:50:10 +00:00
|
|
|
super + {_,shift + }{1,2,3,4,5,6,7,8,9}
|
|
|
|
bspc {desktop -f,node -d} '{a1,a2,a3,a4,a5,a6,a7,a8,a9}'
|
|
|
|
super + alt + {_,shift + }{1,2,3,4,5,6,7,8,9}
|
|
|
|
bspc {desktop -f,node -d} '{b1,b2,b3,b4,b5,b6,b7,b8,b9}'
|
|
|
|
super + ctrl + {_,shift + }{1,2,3,4,5,6,7,8,9}
|
|
|
|
bspc {desktop -f,node -d} '{c1,c2,c3,c4,c5,c6,c7,c8,c9}'
|
2021-10-09 21:20:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
#Toggle between vertical and horizontal split
|
|
|
|
super + alt + Return
|
|
|
|
bspc node @parent -R 90
|
|
|
|
|
|
|
|
#
|
|
|
|
# move/resize
|
|
|
|
#
|
|
|
|
|
|
|
|
# expand a window by moving one of its side outward
|
|
|
|
super + alt + {h,j,k,l}
|
|
|
|
bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
|
|
|
|
|
|
|
|
# contract a window by moving one of its side inward
|
|
|
|
super + alt + shift + {h,j,k,l}
|
|
|
|
bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
|
|
|
|
|
|
|
|
# move a floating window
|
2022-05-15 23:50:25 +00:00
|
|
|
ctrl + super + {Left,Down,Up,Right}
|
2021-10-09 21:20:41 +00:00
|
|
|
bspc node -v {-20 0,0 20,0 -20,20 0}
|
|
|
|
|