From f5c5b45fd475da9e5e39a9bc9e2735deef098b35 Mon Sep 17 00:00:00 2001 From: Xamora Date: Sat, 26 Aug 2023 15:44:47 +0200 Subject: [PATCH] Delete idle --- sway-config | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/sway-config b/sway-config index a275d62..090ae19 100644 --- a/sway-config +++ b/sway-config @@ -31,15 +31,15 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill # # You can get the names of your outputs by running: swaymsg -t get_outputs -### Idle configuration +### Idle configuratiow # # Example configuration: # -# exec swayidle -w \ -# timeout 300 'swaylock -f -c 000000' \ +#exec swayidle -w \ +# timeout 300 'swaylock -c "#000000"' \ # timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \ # before-sleep 'swaylock -f -c 000000' -# + # This will lock your screen after 300 seconds of inactivity, then turn off # your displays after another 300 seconds, and turn your screens back on when # resumed. It will also lock your screen before your computer goes to sleep. @@ -47,14 +47,12 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill ### Input configuration # # Example configuration: -# -# input "2:14:SynPS/2_Synaptics_TouchPad" { -# dwt enabled -# tap enabled -# natural_scroll enabled -# middle_emulation enabled -# } -# + +# Write on keyboard and use touchpad in same time + input "2362:628:PIXA3854:00_093A:0274_Touchpad" { + dwt disable + } + # You can get the names of your inputs by running: swaymsg -t get_inputs # Read `man 5 sway-input` for more information about this section. @@ -234,4 +232,5 @@ include /etc/sway/config.d/* output * scale 1 +# Lock Screen bindsym $mod+o exec swaylock -c "#000000"