From cefaf139bfde81639042e1df27f9c7250228eee9 Mon Sep 17 00:00:00 2001 From: wizawu Date: Fri, 26 Apr 2024 18:42:36 +0800 Subject: [PATCH] Modify alias `ackj` --- bin/x | 2 +- dotfiles/bashrc | 2 +- install.yml | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bin/x b/bin/x index 5b2255d..3b6f027 100755 --- a/bin/x +++ b/bin/x @@ -9,7 +9,7 @@ if [[ "$1" = "-r" ]]; then xinput set-prop 'pointer:MOSART Semi. 2.4G Keyboard Mouse' 'libinput Accel Profile Enabled' 0 1 xinput set-prop 'pointer:MOSART Semi. 2.4G Keyboard Mouse' 'libinput Accel Speed' 0.1 xinput set-prop 'pointer:Razer Razer Viper 8KHz' 'libinput Accel Profile Enabled' 0 1 - xinput set-prop 'pointer:Razer Razer Viper 8KHz' 'libinput Accel Speed' -0.5 + xinput set-prop 'pointer:Razer Razer Viper 8KHz' 'libinput Accel Speed' 0.5 hsetroot -full /usr/share/awesome/themes/default/background.png -clear exit fi diff --git a/dotfiles/bashrc b/dotfiles/bashrc index 995b787..4cb1422 100644 --- a/dotfiles/bashrc +++ b/dotfiles/bashrc @@ -31,7 +31,7 @@ source /usr/share/bash-completion/completions/git # alias alias 2fa='node -e "console.log(require(\"otplib\").authenticator.generate(process.argv[1]))"' -alias ackj='ack --type kotlin --type java' +alias ackj='ack --type kotlin --type java --type groovy' alias ackng='ack --nogroup' alias apt='sudo apt' alias apthi='bash -c "sudo apt -o Acquire::http::Proxy=http://\$0 install \$1"' diff --git a/install.yml b/install.yml index 2bd6721..a5b36e8 100644 --- a/install.yml +++ b/install.yml @@ -28,6 +28,9 @@ - zh_CN.GBK - zh_CN.UTF-8 + - name: hold libc6 + command: apt-mark hold libc6 + - name: create symbolic link to apt sources.list file: src: /home/{{user}}/.sysconf/etc/apt/sources.list.d