Sway Edition - General Conversation!

@OdiousImp

look + work great … i just do new install on pi4 :+1: update kill network :rofl: so i need make sure i no do it :rofl: new pi install on sway install great no build in wifi :triumph: ( no fault your :+1:) nice you add this for user on waybar :+1:

1 Like

Does anyone know how I can specify a window to float only if it has a specific application in.

I mean nmtui looks weird full screen but I can’t float the whole of the terminal…

for_window [app_id=""] floating enable

I think :upside_down_face:

2 Likes

But that would float every xfce4-terminal window. I want to float only the ones with nmtui or htop in. I think there’s a way…

{EDIT} Got It! It uses the title attribtue

{EDIT} Doesn’t work sorry I got excited :frowning:

1 Like
for_window [class= " blabla"   instance= " blabla "]  floating enable

?

how would I get the instance ?

swaymsg -t get_tree | grep "instance"

This does not work?

Right touchpad is now identified automaticalyy!

Could someone explain what these mean…

   '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://")"'

I was trying to find a way to get keyboard to detect automatically and I came along these…

It works! Keyboard detected automatically!

2 Likes

Ignore…

#!/bin/sh
yad --title="EndeavourOS Sway-WM keybindings:" --no-buttons --geometry=400x345-15-400 --list --column=key: --column=description: --column=command: "ESC" "close this app" "" "=" "modkey" "(set mod Mod4)" "+enter" " floating terminal" "(xfce4-terminal)" "+o" "open Browser" "" "+n" "open Filebrowser" "" "+Shift+Return" "fixed terminal" "(termite)" "+q" "close focused app" "(kill)" "[Shift]+Print-key" "screenshot" "(grim)" "+Shift+e" "power-menu" "(wofi)" "+F1" "open keybinding helper" "full list"
1 Like

Good Things That Happened!

  • Keybinding Pop-Up (through YAD) and a full cheatsheet added - accessible via pressing the keyboard icon on waybar.
  • Nmtui and Htop launched when pressing network and cpu/memory - floating them works
  • Padding when CPU was in warning was fixed
  • Touchpad Detected Automatically (@ricklinux - hopefully it won’t be as hard now :laughing:)
  • Keyboard detected automatically too!
4 Likes

Now all i need is the usb to activate the mouse because it works fine in i3 but does not work in sway. I got frustrated and went back to KDE Plasma on the laptop. I just don’t have enough experience with it to figure it out. I’m hoping later it gets resolved?

Edit: Thanks for the Touchpad fix.

1 Like

I tooo can reproduce it so I do some DDG and try to fix!

2 Likes

If I want to install sway again is the GitHub updated to what you have done so far?

1 Like

Activities Menu that lets you cycle through running applications added ! Using Wofi!

There’s got to be an easier to way to update from github…Any idea’s?

@OdiousImp
I reinstalled sway just now in v-box and i have cursor but no mouse clicks. I had removed acceleration first as mouse acceleration was off.

Edit: This is on my desktop in v-box not my laptop.

Sorry Busy now! I will come back to you! But some of the errors you are expericing appear in this open issue below. Perhaps something there can help you?

Also I can’t reproduce your issue with the usb mouse. Have I got it right…it shows us in lightdm but not in sway. Or is it it doesn’t show up at all?

I can confirm that the mouse seems to be working now. :hugs:

Edit: This is on v-box install.

1 Like

wonder how sway do on Pinebook Pro :thinking:… I let you know :rofl: guess it be fine + smooth ( only one way find out ) 555555 :crossed_fingers:+ :pray:

2 Likes

@OdiousImp

confirm it run great :wink: :shushing_face:… just battery script think need tweak for PBP ( same eos i3 did )

Edit… need trackpad up speed ( have idea on that :+1: let you know when finish)

2 Likes

Why Won’t Welcome Autostart!!! Other than everything is looking good!

think it auto on 1st install … after no