RECENT POSTS
- Introduction to FreeBSD Security Best Practices
- Working with Package Management in FreeBSD
- Understanding FreeBSD Security Advisories and Updates
- Troubleshooting Common System Administration Issues in FreeBSD
- Tips for Hardening FreeBSD to achieve System Protection
- Setting Up DHCP Server in FreeBSD
- Secure User and Group Management in FreeBSD Systems
- Secure Remote Access with SSH in FreeBSD
- Optimizing System Performance in FreeBSD
- Network Packet Capture with tcpdump in FreeBSD
- All posts ...
Do you have GDPR compliance issues ?
Check out Legiscope a GDPR compliance software, that will save you weeks of work, automating your documentation, the training of your teams and all processes you need to keep your organisation compliant with privacy regulations
Py-autotiling
Jul 20, 2023
Automatically switch the window split orientation in sway and i3
This script uses the i3ipc-python library to switch the layout splith/splitv depending on the currently focused window dimensions. It works on both sway and i3 window managers.
The script does one thing it checks the window height / width ratio, and executes the equivalent of either swaymsg splitv or swaymsg splith. Nothing less, nothing more. Yes, it may make stacking and tabbed layouts behave oddly. No, nothing can be done about it. If you like stacking/tabbed layouts, you may use them on workspaces with autotiling turned off –workspaces argument. Do not submit issues about it.
For instance, you may configure autotiling to work on odd workspaces, but not on even
Autostart
exec autotiling -w 1 3 5 7 9
- Older
- Newer
Checkout these related ports:
- Zenity - Display GNOME dialogs from the command line
- Yelp - Help browser for the GNOME desktop
- Yeahconsole - Terminal wrapper for creating drop-down consoles
- Yalias - Enhanced execution box with regex pattern matching
- Yakuake - Drop-down terminal emulator for KDE
- Yad - Display GNOME dialogs from the command line
- Xzoom - Magnify, rotate, mirror the image on the X11 screen
- Xxkb - XKB keyboard layout indicator and switcher
- Xwud - Image displayer for X
- Xwit - X interface tool
- Xwinwrap - XWinWrap replace a desktop background with a movie or screensaver
- Xwininfo - Window information utility for X
- Xwd - Dump an image of an X window
- Xwatchwin - Watch a window on another X server
- Xvt - Xterm replacement, supporting color, transparency, and more, with less