dotfiles

configurations and scripts
git clone https://riazj.com/git/dotfiles
Log | Files | Refs | README | LICENSE

sxhkdrc (939B)


      1 XF86Audio{Raise,Lower}Volume
      2 	wpctl set-volume @DEFAULT_SINK@ 10%{+,-}
      3 
      4 XF86AudioMute
      5 	wpctl set-mute @DEFAULT_SINK@ toggle
      6 
      7 ctrl + Return
      8 	st
      9 
     10 alt + Tab
     11 	focus prev
     12 
     13 alt + BackSpace
     14 	killw $(pfw)
     15 
     16 alt + Down
     17 	wtp 0 $(($(wattr h $(lsw -r))-250)) 500 250 $(pfw)
     18 
     19 alt + i
     20 	xcalib -i -a
     21 
     22 alt + p
     23 	dmenu_run
     24 
     25 alt + t
     26 	todo
     27 
     28 alt + w
     29 	st w3m -v
     30 
     31 alt + x
     32 	xsel -o | xsel -b; echo "$(xsel -o | tr '\n' '\034')" >> "$XDG_RUNTIME_DIR/clip"
     33 
     34 alt + m
     35 	page="$(:|dmenu -p "Man page:")" && st man "$page"
     36 
     37 alt + d
     38 	phrase="$(:|dmenu -p "Define:")" && st sdcv "$phrase"
     39 
     40 alt + l
     41 	file="$(find -L "${SEARCH_DIRS[@]}" -type f -not -path '*/.git/*' -not -path '.config/chromium/*' | dmenu -i -l 10)" && soap "$file"
     42 
     43 alt + s
     44 	search="$(:|dmenu -p "Search: ")" && dir="$(find -L school repos -mindepth 1 -maxdepth 1 -type d | dmenu -i -l 10)" && \
     45 	grep -ir --color=always "$search" "$dir" > "$XDG_RUNTIME_DIR/search" && \
     46 	st less "$XDG_RUNTIME_DIR/search"