Mouse fixes
This commit is contained in:
parent
528281d90c
commit
30fb374849
|
@ -22,6 +22,7 @@ bspc config border_width "$BORDER_WIDTH"
|
|||
bspc config split_ratio 0.666666
|
||||
bspc config borderless_monocle true
|
||||
bspc config gapless_monocle true
|
||||
bspc config pointer_modifier "mod4"
|
||||
|
||||
bspc config window_gap "$WINDOW_GAP"
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ fi
|
|||
|
||||
if command -v sxhkd >/dev/null 2>&1; then
|
||||
# export HIGHLIGHT_COLOR=$(xrdb -query | sed -ne 's/.*font:\s*xft:.*\-\(.*\)$/\1/p' | head -n 1)
|
||||
sxhkd &
|
||||
sxhkd -m -1 &
|
||||
fi
|
||||
|
||||
if [ -f "$DOTFILES_PATH/de/xloadresources" ]; then
|
||||
|
|
36
de/sxhkdrc
36
de/sxhkdrc
|
@ -37,7 +37,7 @@ super + bracket{left,right}
|
|||
bspc desktop -f {prev,next}
|
||||
|
||||
# preselect the splitting area for the current node
|
||||
super + ctrl + {h,j,k,l}c
|
||||
super + ctrl + {h,j,k,l}
|
||||
bspc node -p {west,south,north,east}
|
||||
|
||||
# clear the splitting area
|
||||
|
@ -53,40 +53,40 @@ super + alt + shift + {h,j,k,l}
|
|||
bspc node {@east -r -10,@north -r +10,@south -r -10,@west -r +10}
|
||||
|
||||
# set node split ratio
|
||||
super + ctrl + {1-9,0}
|
||||
bspc node --ratio 0.{1-9,10}
|
||||
super + ctrl + {1-9}
|
||||
bspc node -o 0.{1-9}
|
||||
|
||||
# move a floating window very slowly
|
||||
super + shift + {Left,Down,Up,Right}
|
||||
xdo move {-x -1,-y +1,-y -1,-x +1}
|
||||
bspc node --move {-1 0, 0 1, 0 -1, 1 0}
|
||||
|
||||
# move a floating window
|
||||
super + {Left,Down,Up,Right}
|
||||
xdo move {-x -20,-y +20,-y -20,-x +20}
|
||||
bspc node --move {-20 0, 0 20, 0 -20, 20 0}
|
||||
|
||||
# focus/move node to the selected desktop
|
||||
super + {_,shift + }{1-9,0}
|
||||
bspc {desktop -f,node -d} ^{1-9,10}
|
||||
|
||||
# focus clicked node
|
||||
# # focus clicked node
|
||||
~button1
|
||||
bspc node -f pointed
|
||||
|
||||
# mouse controls for node movement and resizing
|
||||
super + button{1-3}
|
||||
bspc pointer -g {move,resize_side,resize_corner}
|
||||
# # mouse controls for node movement and resizing
|
||||
# super + button{1-3}
|
||||
# bspc pointer -g {move,resize_side,resize_corner}
|
||||
|
||||
# simulate mouse2
|
||||
shift + super + button1
|
||||
bspc pointer -g resize_corner
|
||||
# # simulate mouse2
|
||||
# shift + super + button1
|
||||
# bspc pointer -g resize_corner
|
||||
|
||||
# ???
|
||||
super + !button{1-3}
|
||||
bspc pointer -t %i %i
|
||||
# # ???
|
||||
# super + !button{1-3}
|
||||
# bspc pointer -t %i %i
|
||||
|
||||
# ???
|
||||
super + @button{1-3}
|
||||
bspc pointer -u
|
||||
# # ???
|
||||
# super + @button{1-3}
|
||||
# bspc pointer -u
|
||||
|
||||
# change node gap and desktop padding
|
||||
super + plus
|
||||
|
|
|
@ -20,8 +20,6 @@ if [ -f "$HOME/.xmodmap" ]; then
|
|||
xmodmap "$HOME/.xmodmap"
|
||||
fi
|
||||
|
||||
[[ -f ~/.Xmodmap ]] && xmodmap ~/.Xmodmap
|
||||
|
||||
pulseaudio --start &
|
||||
|
||||
# fire up wm
|
||||
|
|
3
scripts/bin/murxvt
Executable file
3
scripts/bin/murxvt
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
urxvtc -fn "xft:Monaco:pixelsize=16" -letsp -2
|
Reference in a new issue