Shhware

English · Russian

Environment

Sway with a plain bar. Menus and tools are small shell scripts that open in the terminal. Scripts: scripts/ → ~/.local/bin/. Keys: Keybinds.

Also part of it, described on Components: autotile, bluetooth, clipboard, maxhz, record, screenshot.

Bar

At the top. On the left the workspaces, one ● each. On the right:

  • ● rec: while the screen is recorded, a click stops it;
  • the clock: a click shows the date, the next one the time;
  • the battery, on laptops only: red and a notification at 10% or less;
  • the logo of your distro: a click opens the menu.

Files:
config/swaybar/bar → ~/.config/swaybar/bar
config/swaybar/status.sh → ~/.config/swaybar/status.sh

Super+M or the button on the bar; the same again closes it. Esc goes back. Bluez and VPN are parts you can turn off in shh config (bluetooth, sing-box): after the next shh update their line is gone from the menu.

File: scripts/menu → ~/.local/bin/menu

Wifi

  • Available networks: connect;
  • Known networks: forget one;
  • Check internet: tries github.com, kernel.org, wikipedia.org;
  • Disconnect.

File: scripts/wifi → ~/.local/bin/wifi

Volume

  • (+) Volume, (-) Volume: 5% a step, up to 100%;
  • Mute/unmute: the sound or the microphone;
  • In/out devices: where the sound goes and comes from.

File: scripts/volume → ~/.local/bin/volume, the step and the max at the top of it

Bluez

Bluetooth: Components: bluetooth.

VPN

VPN: Components: sing-box.

Prefs

  • Svc: turn a service on or off right now (asks for the password). After a reboot they start as shh config says.
    All >, at the end of the list: every service of the init; boot and disabled ones can't be switched here.
    Marked ones stop only on a second Enter in a row: seatd (sway needs it), dbus (wifi, bluetooth), udevd (devices, network), tty* and agetty-* (ends logins on it);
  • Light: brightness up / down, 5% a step, never below 5%: at 0 the screen can go black.

Files:
scripts/settings → ~/.local/bin/settings
scripts/brightness → ~/.local/bin/brightness

Power

Exit (sway), Power off, Reboot, Sleep. Also on Super+L. A pick runs at once, there is no "are you sure".

File: scripts/power → ~/.local/bin/power

Launcher

Super+R: every program in $PATH, with search. Terminal programs open in their own terminal window, the others as they are.

File: scripts/launcher → ~/.local/bin/launcher

Keys

Super+/: every sway key with what it does, with search. It reads the sway configs, so a new key shows up by itself. The list: Keybinds.

File: scripts/keys → ~/.local/bin/keys

Lock

Super+Escape: locks the screen and turns the screens off. Super+Escape again: the screens on. The password can be typed with the screens off too.

The screen does not lock by itself after a while: there is no swayidle, on Artix it needs elogind.

Files:
scripts/lock → ~/.local/bin/lock
config/swaylock/config → ~/.config/swaylock/config

Wallpaper

The newest picture (png, jpg) in ~/wallpapers; black if there is none. The first install picks the one of your distro.

To change it: put a picture in ~/wallpapers (or touch one that is there) and press Super+Shift+C.

File: scripts/wallpaper → ~/.local/bin/wallpaper

Terminal

foot runs as one server, every terminal is a small footclient window. The shell is zsh; a new window shows fastfetch. Logging in on tty1 starts sway, tty2 stays a console for repairs, the other consoles are off.

Files:
config/foot/foot.ini → ~/.config/foot/foot.ini (also the palette)
home/.zshrc → ~/.zshrc
home/.zprofile → ~/.zprofile (starts sway)

In the background

Scripts you don't run yourself.

sound: starts PipeWire with sway and stops it when sway exits; there is no systemd to do it.