diff --git a/de/libinput/gestures.conf b/de/libinput/gestures.conf new file mode 100644 index 0000000..5aa6560 --- /dev/null +++ b/de/libinput/gestures.conf @@ -0,0 +1,30 @@ +gesture swipe right 3 bspc desktop -f next +gesture swipe left 3 bspc desktop -f prev + +gesture swipe up 3 xdotool key XF86AudioRaiseVolume +gesture swipe down 3 xdotool key XF86AudioLowerVolume + +# GNOME SHELL open/close overview (works for GNOME on Xorg only) +#gesture pinch in xdotool key super+s +#gesture pinch out xdotool key super+s + +# KDE Plasma open/close overview +#gesture pinch in xdotool key ctrl+F9 +#gesture pinch out xdotool key ctrl+F9 + +# Optional extended pinch gestures: +#gesture pinch clockwise +#gesture pinch anticlockwise + +############################################################################### +# You can set a minimum travel distance threshold before swipe gestures +# are actioned using the swipe_threshold configuration command. +# Specify this value in dots. The default is 0. +# E.g. set it to 100 dots with "swipe_threshold 100". +swipe_threshold 50 + +############################################################################### +# You can set a timeout on gestures from start to end. The default is +# the value commented below. It can be any value in float secs >= 0. +# 0 = no timeout. E.g. set it to 2 secs with "timeout 2". +timeout 0.9 diff --git a/setup b/setup index e1ccca9..a28538f 100755 --- a/setup +++ b/setup @@ -59,6 +59,9 @@ links=( "$dfp/apps/scim/rc" "$HOME/.scimrc" "$dfp/apps/scim/lua" "$HOME/.scim/lua" + # libinput configuration + "$dfp/de/libinput/gestures.conf" "$XDG_CONFIG_HOME/libinput-gestures.conf" + # document viewer "$dfp/apps/zathura/" "$XDG_CONFIG_HOME/zathura" diff --git a/shell/bash/bashrc b/shell/bash/bashrc index 398432f..3189dd2 100644 --- a/shell/bash/bashrc +++ b/shell/bash/bashrc @@ -100,6 +100,8 @@ fi # TODO: check if fd command exists export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git' +export ERL_AFLAGS="-kernel shell_history enabled" + _make_paths [ -f ~/.fzf.bash ] && source ~/.fzf.bash