Skip to content

Instantly share code, notes, and snippets.

@NikosAlexandris
Last active June 17, 2023 10:05
Show Gist options
  • Save NikosAlexandris/a5d9e2cccc0061f3ab6831a8c8911a7d to your computer and use it in GitHub Desktop.
Save NikosAlexandris/a5d9e2cccc0061f3ab6831a8c8911a7d to your computer and use it in GitHub Desktop.
### Input configuration
#
# Example configuration:
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Put your touchpad's ID to replace "Touchpad-ID" (keep the quotation marks)
input type:touchpad {
dwt enabled
tap enabled
natural_scroll enabled
}
# Read `man 5 sway-input` for more information about this section.
#
input "1:1:AT_Translated_Set_2_keyboard" {
xkb_layout "us,de,el,fr"
xkb_options "grp:shifts_toggle"
}
exec_always {
'swaymsg input type:keyboard xkb_layout "$(localectl status | grep "X11 Layout" | sed -e "s/^.*X11 Layout://")"'
'swaymsg input type:keyboard xkb_variant "$(localectl status | grep "X11 Variant" | sed -e "s/^.*X11 Variant://")"'
}
00:00:00.000 [INFO] [sway/main.c:338] Sway version 1.8.1
00:00:00.000 [INFO] [sway/main.c:339] wlroots version 0.16.2
00:00:00.003 [INFO] [sway/main.c:120] Linux t14 6.3.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 14 Jun 2023 20:10:31 +0000 x86_64 GNU/Linux
00:00:00.003 [INFO] [sway/main.c:136] Contents of /etc/lsb-release:
00:00:00.003 [INFO] [sway/main.c:120] DISTRIB_ID=EndeavourOS
00:00:00.003 [INFO] [sway/main.c:120] DISTRIB_RELEASE="rolling"
00:00:00.003 [INFO] [sway/main.c:120] DISTRIB_DESCRIPTION="EndeavourOS Linux"
00:00:00.003 [INFO] [sway/main.c:120] DISTRIB_CODENAME=rolling
00:00:00.003 [INFO] [sway/main.c:136] Contents of /etc/os-release:
00:00:00.003 [INFO] [sway/main.c:120] NAME=EndeavourOS
00:00:00.003 [INFO] [sway/main.c:120] PRETTY_NAME=EndeavourOS
00:00:00.003 [INFO] [sway/main.c:120] ID=endeavouros
00:00:00.003 [INFO] [sway/main.c:120] ID_LIKE=arch
00:00:00.003 [INFO] [sway/main.c:120] BUILD_ID=2022.12.17
00:00:00.003 [INFO] [sway/main.c:120] ANSI_COLOR="38;2;23;147;209"
00:00:00.003 [INFO] [sway/main.c:120] HOME_URL='https://endeavouros.com'
00:00:00.003 [INFO] [sway/main.c:120] DOCUMENTATION_URL='https://discovery.endeavouros.com'
00:00:00.003 [INFO] [sway/main.c:120] SUPPORT_URL='https://forum.endeavouros.com'
00:00:00.003 [INFO] [sway/main.c:120] BUG_REPORT_URL='https://forum.endeavouros.com/c/arch-based-related-questions/bug-reports'
00:00:00.003 [INFO] [sway/main.c:120] PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
00:00:00.003 [INFO] [sway/main.c:120] LOGO=endeavouros
00:00:00.003 [INFO] [sway/main.c:108] LD_LIBRARY_PATH=
00:00:00.003 [INFO] [sway/main.c:108] LD_PRELOAD=
00:00:00.003 [INFO] [sway/main.c:108] PATH=/software/mambaforge/bin:/opt/miniconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/nik/.local/share/nvim/plugged/fzf/bin:/home/nik/.local/share/gem/ruby/3.0.0/bin:/home/nik/.local/bin:/home/nik/.dotbare:/home/nik/.local/share/gem/ruby/3.0.0/bin:/home/nik/.local/bin
00:00:00.003 [INFO] [sway/main.c:108] SWAYSOCK=/run/user/1000/sway-ipc.1000.65103.sock
00:00:00.004 [ERROR] [sway/main.c:65] Proprietary Nvidia drivers are NOT supported. Use Nouveau. To launch sway anyway, launch with --unsupported-gpu and DO NOT report issues.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment