dotfiles

dotfiles for my system
git clone git://git.evenfri.xyz/dotfiles.git
Log | Files | Refs

sxhkd (1398B)


      1 # terminal
      2 super + Return
      3   st
      4 
      5 # close window
      6 super + q
      7   bspc node -c
      8 
      9 # exit from bspwm
     10 super + shift + Escape
     11   pkill -x bspwm
     12 
     13 # reload sxhkd
     14 super + r
     15   pkill -USR1 -x sxhkd
     16 
     17 # reload bspwm
     18 super + Escape
     19   bspc wm -r
     20 
     21 # browser
     22 super + shift + w
     23   firefox
     24 
     25 # telegram
     26 super + shift + t
     27   AyuGram
     28 
     29 # rofi
     30 super + d
     31 #  rofi -show drun
     32   dmenu_run
     33 
     34 # switching desktops
     35 super + {comma,period}
     36   bspc desktop -f {prev,next}
     37 
     38 # window modes
     39 super + {f,t}
     40   bspc node -t {floating,tiled}
     41 
     42 # focus window
     43 super + {h,j,k,l}
     44   bspc node -f {west,south,north,east}
     45 
     46 # change size window
     47 super + shift + {h,j,k,l}
     48   "$dotfiles/bin/win_size" expand {left,bottom,top,right}
     49 
     50 super + ctrl + {h,j,k,l}
     51   "$dotfiles/bin/win_size" squash {left,bottom,top,right}
     52 
     53 # change position window
     54 super + alt + {h,j,k,l}
     55   "$dotfiles/bin/win_pos" {left,bottom,top,right}
     56 
     57 # switching desktops
     58 super + {1-9,0}
     59   bspc desktop -f {1,2,3,4,5,6,7,8,9,10}
     60 
     61 # move window in desktop
     62 super + shift + {1-9,0}
     63   bspc node -d {1,2,3,4,5,6,7,8,9,10}
     64 
     65 # volume
     66 XF86Audio{RaiseVolume,LowerVolume}
     67   pactl set-sink-volume @DEFAULT_SINK@ {+5%,-5%}
     68 
     69 XF86AudioMute
     70   pactl set-sink-mute @DEFAULT_SINK@ toggle
     71 
     72 # fullscreen mode
     73 super + F11
     74   bspc node -t "~fullscreen"
     75 
     76 # screenshot
     77 super + shift + s
     78   scrot -s --freeze - | xclip -selection clipboard -t image/png
     79 
     80 super + F12
     81   scrot -M 0 - | xclip -selection clipboard -t image/png