From c2a16e93f7f39ae8669fec0abd696f79d8272a21 Mon Sep 17 00:00:00 2001 From: juan Date: Thu, 25 Nov 2021 22:59:00 +0800 Subject: [PATCH] disable dwt to fix trackpad and add auto mpd --- .config/sway/config | 1 + .zshrc | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/.config/sway/config b/.config/sway/config index 2e1b795..b423b59 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -82,6 +82,7 @@ input type:touchpad { accel_profile adaptive pointer_accel -0.3 tap enabled + dwt disabled } ###END### diff --git a/.zshrc b/.zshrc index 0529593..b43baba 100644 --- a/.zshrc +++ b/.zshrc @@ -96,6 +96,12 @@ dmpv () { disown } +# run mpd if not running +ncmpcpp () { + pidof mpd > /dev/null || mpd.sh > /dev/null || true + command ncmpcpp +} + #config location export XDG_CONFIG_HOME=$HOME/.config export XDG_CACHE_HOME=$HOME/.cache