From f9f49a44d46e0c217a1411cf5672555e11573824 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 18 Sep 2024 14:40:33 +0100 Subject: [PATCH] Remove libinput-gestures Not necessary on wayland for me, and in fact causes a number of odd permissions issues. --- files/libinput-gestures.conf | 51 ------------------------------------ tasks/autostart.yml | 22 ---------------- tasks/input.yml | 9 ------- 3 files changed, 82 deletions(-) delete mode 100644 files/libinput-gestures.conf diff --git a/files/libinput-gestures.conf b/files/libinput-gestures.conf deleted file mode 100644 index 005ea7a..0000000 --- a/files/libinput-gestures.conf +++ /dev/null @@ -1,51 +0,0 @@ -# Configuration file for libinput-gestures. -# -# The default configuration file exists at /etc/libinput-gestures.conf -# but a user can create a personal custom configuration file at -# ~/.config/libinput-gestures.conf. -# -# Lines starting with '#' and blank lines are ignored. -# At present only gesture lines are configured in this file. -# -# Each gesture: line has 3 [or 4] arguments: -# -# action motion [finger_count] command -# -# where action and motion is either: -# swipe up -# swipe down -# swipe left -# swipe right -# pinch in -# pinch out -# -# command is the remainder of the line and is any valid shell command + -# arguments. -# -# finger_count is optional (and is typically 3 or 4). If specified then -# the command is executed when exactly that number of fingers is used in -# the gesture. If not specified then the command is executed when that -# gesture is executed with any number of fingers. Gesture lines -# specified with finger_count have priority over the same gesture -# specified without any finger_count. -# -# Typically command will be xdotool, or wmctrl. See "man xdotool" for -# the many things you can action with that tool. - -# GNOME SHELL move to next workspace -gesture: swipe up 3 xdotool key super+Page_Up - -# GNOME SHELL move to prev workspace -gesture: swipe down 3 xdotool key super+Page_Down - -# GNOME/Browser go back -gesture: swipe right 3 xdotool key alt+Right - -# GNOME/Browser go forward -gesture: swipe left 3 xdotool key alt+Left - -# GNOME SHELL open/close overview -gesture: swipe up 4 xdotool key super+s - -gesture: pinch in xdotool key Control_L+minus -gesture: pinch out xdotool key Control_L+plus diff --git a/tasks/autostart.yml b/tasks/autostart.yml index 09e9990..1c1dd8b 100644 --- a/tasks/autostart.yml +++ b/tasks/autostart.yml @@ -5,28 +5,6 @@ owner: "{{ user }}" mode: 0755 -- name: Autostart services - file: - src: /etc/xdg/autostart/{{ item }}.desktop - dest: "{{ home }}/.config/autostart/{{ item }}.desktop" - mode: 0644 - owner: "{{ user }}" - state: link - force: true - loop: - - solaar - -- name: Autostart applications - file: - src: /usr/share/applications/{{ item }}.desktop - dest: "{{ home }}/.config/autostart/{{ item }}.desktop" - mode: 0644 - owner: "{{ user }}" - state: link - force: true - loop: - - libinput-gestures - - name: Autostart solaar get_url: url: https://raw.githubusercontent.com/pwr-Solaar/Solaar/master/share/autostart/solaar.desktop diff --git a/tasks/input.yml b/tasks/input.yml index 96139a5..f393a6d 100644 --- a/tasks/input.yml +++ b/tasks/input.yml @@ -6,18 +6,9 @@ loop: - gromit-mpx - iio-sensor-proxy - - libinput - - libinput-gestures - solaar - xorg-xev -- name: Install libinput-gestures config - copy: - src: ./files/libinput-gestures.conf - dest: /etc/libinput-gestures.conf - mode: 0644 - owner: "{{ user }}" - - name: Create uniemoji config directory file: path: "{{ home }}/.config/uniemoji/"