From eb1c2cc678d73d8a4d6f2ae6f81306bce2d6696b Mon Sep 17 00:00:00 2001 From: Jisu Kim Date: Fri, 5 Feb 2021 20:37:04 +0900 Subject: [PATCH] update linux --- linux/libinput-gestures.conf | 10 ++++++++++ mapping.ts | 3 ++- zshrc | 1 + 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 linux/libinput-gestures.conf diff --git a/linux/libinput-gestures.conf b/linux/libinput-gestures.conf new file mode 100644 index 0000000..7eec286 --- /dev/null +++ b/linux/libinput-gestures.conf @@ -0,0 +1,10 @@ +gesture swipe left 3 bspc desktop -f next.local +gesture swipe right 3 bspc desktop -f prev.local +gesture swipe up 3 rofi -show window +gesture swipe down 3 xdotool key Escape + +gesture swipe left 4 xdotool key alt+Right +gesture swipe right 4 xdotool key alt+Left + +gesture pinch in 4 rofi -show drun +gesture pinch out 4 xdotool key Escape diff --git a/mapping.ts b/mapping.ts index 0f2a0ad..b02cf15 100644 --- a/mapping.ts +++ b/mapping.ts @@ -49,7 +49,8 @@ const linux: DotOption = { kcm-fcitx5 numix-gtk-theme-git numix-circle-icon-theme-git telegram-desktop nautilus eog smplayer smplayer-skins transgui-qt qt5-styleplugins xdg-user-dirs slim network-manager-applet bc - glava conky jq xdo ttf-roboto xorg-xsetroot xorg-xinput noto-fonts-cjk`, + glava conky jq xdo ttf-roboto xorg-xsetroot xorg-xinput noto-fonts-cjk + xorg-xmodmap libinput-gestures`, ], link: { ...common.link, diff --git a/zshrc b/zshrc index c008fef..fdd24c7 100644 --- a/zshrc +++ b/zshrc @@ -105,6 +105,7 @@ source $ZSH/oh-my-zsh.sh # alias zshconfig="mate ~/.zshrc" # alias ohmyzsh="mate ~/.oh-my-zsh" alias vi=vim +TERM=xterm-256color export GPG_TTY=$(tty) if [[ `uname` != "Darwin" ]]; then