From d4a7aab0527a42adcdb5fa5af14f5281eeb7ae7e Mon Sep 17 00:00:00 2001 From: Tony Blyler Date: Wed, 8 Sep 2021 08:52:44 -0400 Subject: [PATCH] do not launch keepassxc by default for i3, do dbus-launch for i3, setup xinput settings for cbi laptop --- home/.config/i3/config | 1 - home/.xinitrc | 15 ++++++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/home/.config/i3/config b/home/.config/i3/config index 966be51..54614c8 100644 --- a/home/.config/i3/config +++ b/home/.config/i3/config @@ -7,7 +7,6 @@ exec_always --no-startup-id autotiling exec_always --no-startup-id flock -n ~/.polybar.lock polybar mybar exec --no-startup-id watch -n 15 autorandr --change exec --no-startup-id dunst -exec --no-startup-id keepassxc exec --no-startup-id nm-applet exec --no-startup-id blueman-applet # xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the diff --git a/home/.xinitrc b/home/.xinitrc index 9db0499..4b234ca 100644 --- a/home/.xinitrc +++ b/home/.xinitrc @@ -1,2 +1,15 @@ +systemctl --user import-environment DISPLAY XAUTHORITY + +if which dbus-update-activation-environment >/dev/null 2>&1; then + dbus-update-activation-environment DISPLAY XAUTHORITY +fi + +xinput --set-prop 'DELL0A20:00 06CB:CE65 Touchpad' 'libinput Tapping Enabled' 1 +xinput --set-prop 'DELL0A20:00 06CB:CE65 Touchpad' 'libinput Tapping Drag Enabled' 1 +xinput --set-prop 'DELL0A20:00 06CB:CE65 Touchpad' 'libinput Tapping Drag Lock Enabled' 0 +xinput --set-prop 'DELL0A20:00 06CB:CE65 Touchpad' 'libinput Natural Scrolling Enabled' 1 +xinput --set-prop 'DELL0A20:00 06CB:CE65 Touchpad' 'libinput Disable While Typing Enabled' 1 +xinput --set-prop 'DELL0A20:00 06CB:CE65 Touchpad' 'libinput Horizontal Scroll Enabled' 1 + xrdb ~/.Xresources -exec i3 +exec dbus-launch i3