!HHwUGhuacLZjXGCBsu:matrix.org

Sway

594 Members
i3-compatible Wayland compositor https://swaywm.org/101 Servers

Load older messages


SenderMessageTime
31 Jul 2020
@d:yyyyyyy.ml########## swaymsg -t get_inputs 09:11:57
1 Aug 2020
@anonymouserobot:matrix.org@anonymouserobot:matrix.orgRedacted or Malformed Event12:51:58
@donbex:matrix.orgdonbex
In reply to @anonymouserobot:matrix.org
is there an easy way to see if an application is running XWayland or native?

https://github.com/swaywm/sway/wiki#faq

"Is an application using Xwayland?"

13:21:11
@pablo_marcendo:matrix.orgpablo_marcendoI often use xeyes for that. The eyes only follow your cursor when it is on an x application.13:46:39
2 Aug 2020
@mzli:matrix.orgmzli
In reply to @kravietz:krvtz.net
But how do you do it under Sway/Wayland?
Use `swaymsg -t get_inputs | grep 'identifier.*Touchpad' | cut -d'"' -f4` to see your touchpad identifier Then you can disable it with `swaymsg input YOUR-TOUCHPAD-IDENTIFIER events disabled` and enable it with `swaymsg input YOUR-TOUCHPAD-IDENTIFIER events enabled`
05:49:40
@mzli:matrix.orgmzli
In reply to @donbex:matrix.org
kravietz you can get the identifier with "swaymsg -t get_inputs"
`swaymsg -t get_inputs | grep 'identifier.*Touchpad' | cut -d'"' -f4` will give me the touchpad identifier I can disable it with `swaymsg input TOUCHPAD-IDENTIFIER events disabled` and enable it with `swaymsg input TOUCHPAD-IDENTIFIER events enabled` Is there any way to use a variable in swaymsg In this case I want to bind my toggletouchpad key on my keyboard to a script ```bash TOUCHPAD_ID="$(swaymsg -t get_inputs | grep 'identifier.*Touchpad' | cut -d'"' -f4)" STATE="$(swaymsg -t get_inputs | jq .[0].libinput.send_events)" [ "$STATE" = '"enabled"' ] && swaymsg input $TOUCHPAD_ID events disabled || swaymsg input $TOUCHPAD_ID events enabled ``` But it doesn't work like that
06:00:17
@donbex:matrix.orgdonbex

mzli: That's way too complicated. If he simply wants to disable the touchpad while typing, as bmanuel pointed out the easiest way is adding

input [his-touchpad-identifier] {    dwt enabled}

to his sway config file to enable the "disable while typing" option.

08:35:35
@donbex:matrix.orgdonbex *

mzli: That's way too complicated. If he simply wants to disable the touchpad while typing, as bmanuel pointed out the easiest way is adding

input [his-touchpad-identifier] { dwt enabled}```

to his sway config file to enable the "disable while typing" option.
08:37:43
@donbex:matrix.orgdonbex *

mzli: That's way too complicated. If he simply wants to disable the touchpad while typing, as bmanuel pointed out the easiest way is adding

input [his-touchpad-identifier] { 
    dwt enabled
}

to his sway config file to enable the "disable while typing" option.

08:38:02
@donbex:matrix.orgdonbex *

mzli: That's way too complicated. If he simply wants to disable the touchpad while typing, as bmanuel pointed out the easiest way is adding

input [his-touchpad-identifier] { 
    dwt enabled
}

to his sway config file to enable the "disable while typing" option.

08:38:16
@anonymouserobot:matrix.org@anonymouserobot:matrix.orgRedacted or Malformed Event11:17:10
@anonymouserobot:matrix.org@anonymouserobot:matrix.orgRedacted or Malformed Event11:45:45
@anonymouserobot:matrix.org@anonymouserobot:matrix.orgRedacted or Malformed Event11:47:48
@donbex:matrix.orgdonbex anonymouserobot: https://wiki.archlinux.org/index.php/Telegram#Wayland_support 12:03:32
@anonymouserobot:matrix.org@anonymouserobot:matrix.orgRedacted or Malformed Event12:15:02
@anonymouserobot:matrix.org@anonymouserobot:matrix.orgRedacted or Malformed Event12:15:44
@donbex:matrix.orgdonbexdunno, then... the arch wiki also has a list of alternative clients, including a pidgin plugin12:16:03
@anonymouserobot:matrix.org@anonymouserobot:matrix.orgRedacted or Malformed Event12:17:14
3 Aug 2020
@mzli:matrix.orgmzlianonymouserobot: I set `QT_QPA_PLATFORM` in my shell profile and disable xwayland in sway config. Telegram works fine. By the way you can use a terminal based app like: https://github.com/vysheng/tg or https://github.com/paul-nameless/tg05:12:36
@tony:matrix.breakpointingbad.comtony joined the room.13:18:46
@tony:matrix.breakpointingbad.comtony Anyone know why I would get two bars when I try to use status_command waybar instead of what's in the default config? 13:20:53
@tony:matrix.breakpointingbad.comtony I'm not sure what the issue was, but to answer my own question:
I have status_command mode invisible and status_command waybar in my config file and it seems to get rid of the double bar at the top.
13:46:42
@anonymouserobot:matrix.org@anonymouserobot:matrix.orgRedacted or Malformed Event23:45:26
4 Aug 2020
@william:matrix.breakpointingbad.comwilliam joined the room.03:34:34
@d:yyyyyyy.ml##########[noob question] Hey guys! does anyone use redshift with sway? If yes how do I autostart it?19:13:11
@d:yyyyyyy.ml########## * [noob question]
Hey guys! 😄 does anyone use redshift with sway? If yes how do I autostart it?
19:17:50
@d:yyyyyyy.ml########## * [noob question]
Hey guys! 😄 does anyone use redshift with sway? If yes how do I properly_autostart_ it?
19:48:44
@d:yyyyyyy.ml########## * [noob question]
Hey guys! 😄 does anyone use redshift with sway? If yes how do I properly autostart it?
19:48:50
@donbex:matrix.orgdonbex

########## Redshift doesn't work with Wayland, use this fork instead

https://gitlab.com/chinstrap/gammastep

19:49:24
@donbex:matrix.orgdonbex You can autostart it simply by putting exec gammastep in your sway config 19:50:21

There are no newer messages yet.


Back to Room ListRoom Version: 5