forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to .config/scripts/shared/webapp.shClear filter

2026-10-25

🐛 fix(webapp): give each web app its own MPRIS player nameAhmet Kaan Gümüş · 30989a8
🐛 fix(webapp): give each web app its own MPRIS player name

Every flatpak sandbox starts chromium at the same pid, so all web apps asked
for org.mpris.MediaPlayer2.chromium.instance3 and only the first one (e.g.
WhatsApp) showed up in playerctl and waybar. Burn a per-profile number of pids
in the sandbox shell before starting chromium.

2026-10-23

🔧 chore: save uncommitted config changesAhmet Kaan Gümüş · 41c669c
🔧 chore: save uncommitted config changes

The working tree held edits to waybar, niri, hypr, eww, btop, mimeapps and media scripts that existed only locally, and playerctl-active.sh is renamed to playerctl_active.sh.

2026-07-29

refactor(niri): trim the config and pull hardcoded values into scriptsAhmet Kaan Gümüş · 3fdedf2
refactor(niri): trim the config and pull hardcoded values into scripts

config.kdl goes 804 -> 374 lines by dropping niri's stock tutorial comments
and inert blocks (shadow with `on` commented out, focus-ring colors under an
`off` block, an empty hotkey-overlay, the /- disabled eDP-1 output and two /-
window rules). Sections are grouped and only decisions specific to this setup
are commented. Verified behaviour-preserving: same 108 binds, and a diff of
comment-stripped lines shows only overlay-title wording, alignment, and the
substitutions below.

De-hardcoding, as far as KDL allows — it has no variables, so output names
cannot be parameterised:
- scripts/shared/webapp.sh builds the Chromium web-app command from a URL and
  profile id, deriving the window class as chrome-<host>__-Default the way
  Chromium does. Replaces four near-identical 400-character bind lines.
  Dry-run compared against the originals: byte-identical, mullvad-exclude
  included where it was.
- scripts/niri/monitors.sh defines LEFT_MONITOR / RIGHT_MONITOR, sourced by
  toggle_monitors.sh, whose rofi entries are now generated from them.
- no more /home/tahinli in the config: absolute `spawn` paths became
  `spawn-sh` with ~, which the shell expands.

Output names now appear only in the two `output` blocks and the four monitor
binds, with a summary at the top of the file.