Add new bindings to sxhkd config

This commit is contained in:
Wiktor Zykubek 2020-05-03 11:36:38 +02:00
parent 72c29d21c7
commit 5c9110917e

View File

@ -0,0 +1,142 @@
#
# ██ ██ ██
# ░██ ░██ ░██
# ██████ ██ ██░██ ░██ ██ ░██
# ██░░░░ ░░██ ██ ░██████ ░██ ██ ██████
# ░░█████ ░░███ ░██░░░██░████ ██░░░██
# ░░░░░██ ██░██ ░██ ░██░██░██ ░██ ░██
# ██████ ██ ░░██░██ ░██░██░░██░░██████
# ░░░░░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░░░░░
#
# --- config for pc ---
#~~~~~~
# APPS
#~~~~~~
# browser
super + b
$BROWSER
# st
super + Return
st
# vifm
super + r
st -e vifm
# fzf
super + f
st -e zsh -c 'vifm "$(find . -type d | fzf)";'
# rofi
super + d
rofi -show drun
# neomutt
XF86Mail
st -e neomutt
super + g
st -e neomutt
#~~~~~~~~~
# SCRIPTS
#~~~~~~~~~
# direct search
super + o
$SCRD/websearch
# screenshot
Print
$SCRD/screenshot
# rofi-keepassxc
super + p
$SCRD/rofi-keepassxc/rofi-keepassxc -d ~/Passwords/keepass.kdbx
# clipmenu
super + c
clipmenu
# rofi-mpd
super + m
$SCRD/rofi-mpd/rofi-mpd -a
XF86Tools
$SCRD/rofi-mpd/rofi-mpd -a
# rofi-qemu
super + t
$SCRD/rofi-qemu/rofi-qemu
# rofi-legitlink
super + y
$SCRD/rofi-legitlink
# lock
super + x
$SCRD/lockscreen
# powermenu
super + z
$SCRD/powermenu
End
$SCRD/powermenu
# update
super + u
$SCRD/updater
# rofi-todo
super + n
$SCRD/rofi-todo/rofi-todo.py -f $HOME/Notes/notes.json
# kaomoji-rofi
super + e
$SCRD/kaomoji-rofi/kaomoji.sh
# themeswitcher
super + v
$SCRD/themeswitcher
# blaze
F11
if [ $(pgrep ffmpeg) ]; then "$SCRD/blaze/blaze" -s; else "$SCRD/blaze/blaze"; fi
#~~~~~~~~~~~
# SmartHome
#~~~~~~~~~~~
F10
curl 192.168.1.201/toggle.php
#~~~~~~~~~~~~
# WM CONTROL
#~~~~~~~~~~~~
# Reload configs & autostart apps
super + Escape
bspc wm -r
# Kill app
super + {_,shift + }q
bspc node -{c,k}
# Set the window state
super + {t,shift + t,s}
bspc node -t {tiled,pseudo_tiled,floating}
# Focus the node in the given direction
super + {_,shift + }{h,j,k,l}
bspc node -{f,s} {west,south,north,east}
# Focus or send to the given desktop
super + {_,shift + }{1-9,0}
bspc {desktop -f,node -d} '^{1-9,10}'
# 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 + ctrl + {h,j,k,l}
bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
# Move a floating window
super + {Left,Down,Up,Right}
bspc node -v {-20 0,0 20,0 -20,20 0}
#~~~~~~~
# AUDIO
#~~~~~~~
# Mute
XF86AudioMute
amixer sset Master toggle
# Volume control
XF86Audio{Raise,Lower}Volume
amixer sset Master 5%{+,-}
# Songs control
XF86Audio{Next,Prev}
mpc {next,prev}
# Pause/play
XF86AudioPlay
mpc toggle
# Stop
XF86AudioStop
mpc stop