sway
keyboard
sway | keyboard | |
---|---|---|
613 | 28 | |
13,850 | 3,691 | |
1.0% | - | |
9.2 | 0.0 | |
about 20 hours ago | 29 days ago | |
C | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sway
- Sway is an i3-compatible Wayland compositor
- Sway 1.9 Release
- Sway 1.9
-
"We understand" ;)
This is partially why i use tools like i3 (/ sway). i like the tool; it works extremely well for me; the design has stayed the same for 20 years; there's no profit motive to come along and fuck everything up. it just works. it is boring in the best way possible.
-
Firefox on the Brink?
I also have crashes on sway, but there’s a rough workaround now which prevents the issue totally.
I believe there’s a design issue with Firefox and GTK handling input events; some Wayland compositors have workarounds but others do not.
https://github.com/swaywm/sway/issues/7645
https://bugzilla.mozilla.org/show_bug.cgi?id=1743144
Firefox is my preferred browser and I hope we can keep its engine alive in this era of Chrome dominance.
-
Sourcing dot profile on sway starutp
I'm seeing this: https://github.com/swaywm/sway/wiki/Setting-Environmental-Variables but I haven't figured out how to make GDM do it, and I was wondering if there was a super simple "HEY SWAY READ MY .PROFILE" thing I could do.
-
Option to not scale xwindow clients still out of the question?
So I searched around and found the following bug report where this problem and a possible solution was borough up: https://github.com/swaywm/sway/issues/2966 , which was then immediately closed again.
- Framework 13 with AMD Ryzen 7040 Series Makes for a Great Linux Laptop
-
What Desktop Environment or Window Manager do you use on your Arch Linux System and why?
I've been using Sway since late 2019. I like the workflow of a WM. I honestly find it hard to go back to a DE, I like having a minimalistic desktop.
-
On Desktop GUI Minimalism
Sway is fast, minimal, and flexible. Their recommended tools/addons are worth a look: https://github.com/swaywm/sway/wiki/Useful-add-ons-for-sway
From that list I use greetd + tuigreet as my login manager, sway-launcher-desktop for FZF-powered app launching, and wob for lightweight brightness and volume display (send '50' to the wob socket and it'll show 50%; it doesn't get simpler).
keyboard
- Logging every action a user makes?
-
Run when key is pressed
check out the docs here https://github.com/boppreh/keyboard
-
Trying to block all inputs except a few
You can install the keyboard library, then do keyboard.wait('enter').
-
Python Keyboard: Its installed but module cant be found
Name: keyboard Version: 0.13.5 Summary: Hook and simulate keyboard events on Windows and Linux Home-page: https://github.com/boppreh/keyboard Author: BoppreH Author-email: [email protected] License: MIT Location: /home/me/.local/lib/python3.10/site-packages Requires: Required-by:
- control panel targeting my program
-
GPT-3 reveals my full name to anybody who asks. Can I do anything?
LOL, here you go
-
How to stop a while loop by inputting a keypress
I'm trying to create an autoclicker using the pyautogui library. I want to create a fail safe for the user to break out of the auto clicker in case the cursor is not able to be moved and the user can't stop the program. I'm using the keyboard library to implement a hotkey to stop the auto clicker from running, but I'm not getting the intended behavior. The click() function is only executed once and the program quits. I'm on a Arch Linux, and gave the program root privileges as mentioned in the readme of keyboard
-
Code without modules?
As an example here is how the keyboard module does it: https://github.com/boppreh/keyboard/blob/master/keyboard/_winmouse.py
-
Cross-platform hotkeys and hotstrings?
If you needed a cross-platform solution today, I would recommend looking into Python and some of its related ecosystem, such as the keyboard package, which provides cross-platform hotkey support and keyboard automation, including 'word listeners' and its companion module mouse.
-
Assigning functions to keyboard keys IN PYTHON
And according to this issue, there's no support for key suppression in the Linux version of keyboard.
What are some alternatives?
Hyprland - Hyprland is a highly customizable dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
PyUserInput - A module for cross-platform control of the mouse and keyboard in python that is simple to install and use.
wayfire - A modular and extensible wayland compositor
scapy - Scapy: the Python-based interactive packet manipulation program & library.
i3 - A tiling window manager for X11
pySerial - Python serial port access library
river - [mirror] A dynamic tiling Wayland compositor
wifi
awesome-wayland - A curated list of Wayland code and resources.
Pingo - THIS IS A FORK! The main repo is at the pingo-io organization
qtile - :cookie: A full-featured, hackable tiling window manager written and configured in Python (X11 + Wayland)
mouse - Hook and simulate global mouse events in pure Python