From ea86783651f5561bc735f7393a6d1b8aca81b4d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 25 Feb 2022 08:17:44 +0100 Subject: sway: improve integration --- config/sway/config | 3 ++- config/sway/gsettings | 2 +- config/sway/inputs | 13 +++++++++++++ 3 files changed, 16 insertions(+), 2 deletions(-) (limited to 'config/sway') diff --git a/config/sway/config b/config/sway/config index 9008042..14341d2 100644 --- a/config/sway/config +++ b/config/sway/config @@ -4,9 +4,10 @@ exec --no-startup-id gentoo-pipewire-launcher exec --no-startup-id myswaylock exec --no-startup-id swaybackground ################################################################################ -include gsettings include inputs +include gsettings ################################################################################ +include bar smart_borders on default_border normal diff --git a/config/sway/gsettings b/config/sway/gsettings index cae6b84..c3ea34c 100644 --- a/config/sway/gsettings +++ b/config/sway/gsettings @@ -2,7 +2,7 @@ exec_always { gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita' gsettings set org.gnome.desktop.interface cursor-theme 'Adwaita' - gsettings set org.gnome.desktop.interface icon-theme 'Faenza' + gsettings set org.gnome.desktop.interface icon-theme 'Delft' gsettings set org.gnome.desktop.interface font-name 'DejaVu Sans 8' gsettings set org.gnome.desktop.interface gtk-key-theme 'Emacs' } diff --git a/config/sway/inputs b/config/sway/inputs index 4bfd203..235105e 100644 --- a/config/sway/inputs +++ b/config/sway/inputs @@ -8,6 +8,7 @@ input type:keyboard { input type:touchpad { tap enabled + middle_emulation enabled } seat '*' { @@ -15,3 +16,15 @@ seat '*' { hide_cursor 10000 hide_cursor when-typing disable } + +## Susan inputs ################################################################ +input '9610:33:HAILUCK_CO.,LTD_USB_KEYBOARD_Mouse' { + middle_emulation enabled + scroll_method on_button_down +} +input '10182:275:GXTP7386:00_27C6:0113_Stylus' { + calibration_matrix 0 -1 1 1 0 0 +} +input '10182:275:GXTP7386:00_27C6:0113' { + calibration_matrix 0 -1 1 1 0 0 +} -- cgit v1.2.3