sway-toolwait: Tame Your Autostart App Layout

TL;DR Use sway-toolwait to control the layout and workspace of your autostart apps. Introduction I used to have the following in ~/.config/sway/config.d/autostart_applications: swaymsg "workspace number 1" swaymsg "exec flatpak run --env=OBSIDIAN_USE_WAYLAND=1 md.obsidian.Obsidian" swaymsg "exec kitty" swaymsg "workspace number 2" swaymsg "exec firefox" swaymsg "workspace number 3" swaymsg "exec chromium --ozone-platform-hint=auto" swaymsg "exec kitty" swaymsg "workspace number 4" swaymsg "exec vieb --enable-features=UseOzonePlatform --ozone-platform=wayland" swaymsg "exec kitty" As you can see, I have 3 Chromium-based app....

March 24, 2023 · 3 min

vimiv to Substitute for Ranger's Image Preview in Wayland

2023-08-05 Update The drop-in replacement ueberzugpp has native support for Wayland (sway and hyprland), and most importantly, tmux support on sway and hyprland! pacman -Syu ueberzugpp and then add the following: set preview_images true set preview_images_method ueberzug and you’re done! TL;DR I’ve switched to using vimiv to substitute for my broken Ranger’s image preview. You could also use imv or mpv to interact with Ranger but I found it to be a bit janky....

December 27, 2022 · 2 min

Blocking Distractions with OpenDNS in Linux

TL;DR Use OpenDNS, StevenBlack/hosts, LeechBlockNG to stop yourself from wasting time online. Introduction I’m a sucker for distractions. Before switching to Linux, I was using FocusMe and Cold Turkey to block distractions. They’re amazing for they could completely take control of my machine: I’d not been able to circumvent the block and go on YouTube or even launch mpv. Given I’d switched to Linux, it’s impossible to do so, so I had to resort to the following tools....

September 4, 2022 · 2 min

It's high time for Sway (Wayland)

TL;DR I think Wayland is ready for daily use if you don’t have a machine with Nvidia. Introduction I switched from Windows to Linux on 2021-10-06, so my Linux experience is < 1 year. Previous Linux experience WSL VirtualBox with Ubuntu 20.04.4 Linux journey Manjaro with Gnome Desktop since 2021-10-06: Manjaro with i3-gap since 2021-10-19: Switched to Sway since 2022-07-19. Current config: Sway After watching Brodie’s First Look At Sway WM: Welcome Home “i3”, and given Sway is a drop-in replacement for i3 (I could use my i3 config), I decided to switch to Sway....

August 27, 2022 · 2 min

tmuxp - A session manager for tmux

TL;DR Use tmuxp so that you don’t have to re-create the same sessions, windows and panes every time you restart your machine. Introduction Previously I was using tmux-resurrect (persists tmux environment across system restarts) and tmux-continuum (continuous saving of tmux environment), but these lack finer control as to which sessions to restore. Getting Started pip install --user tmuxp Make sure tmuxp is installed: ❯ tmuxp --version tmuxp 1.13.0, libtmux 0....

August 18, 2022 · 1 min