Commit Graph
35 Commits
Author SHA1 Message Date
jozamudi 085c2a7951 chore(clipboard): disable clipman history (AUR package removed)
clipman-git was uninstalled and has no pacman equivalent, so sway was spawning
ENOENT on `clipman` at every reload/launch. Commented out rather than deleted,
with the cliphist (extra/) port noted inline for when the keybinds come back.
2026-10-29 08:44:56 -07:00
jozamudi 77470bd03e fix(portal): screen-capture script, portal backend, swaync autostart
screen-capture.sh was a single non-executable line containing a `slur` typo,
so it never ran and nothing referenced it; rewritten as a working region
capture to ~/Pictures plus clipboard.

xdg-desktop-portal/portals.conf pins the wlr backend for sway, and swaync is
pulled in via graphical-session.target.wants so the portal's
Requisite=graphical-session.target is satisfied (the reason screen sharing
previously never started).
2026-10-27 18:32:33 -07:00
jozamudi b08cd84158 fix(sway): visible focus ring, floating modifier, volume binds
swayfx: with `border pixel` the visible line is child_border, not `border`
(which only paints title bars). Focused child_border was $base00 = black on
black, i.e. invisible; both are now the same gray.

keybinds: restore `floating_modifier $mod normal` (was `none`) and drop the
`pkill -RTMIN+10 i3blocks` tail from the volume binds -- i3blocks is not in
use, waybar is.

windows: drop a stray trailing semicolon; waybar: remove the unused
sway/submap module.
2026-10-27 18:32:33 -07:00
jozamudi d1bd6aae48 fix(shikane): detect silent deadlocks; re-apply profile on sway reload
watchdog: covers both observed deadlock flavours -- the loud one that repeats
"Received invalid input AtomicChangeDone at state Discarded", and the silent
one that logs nothing and just never leaves VariantInProgress.

shikane-recover-on-reload.sh (new, previously referenced by sway/config but
never committed): shikanectl reload -> sleep 2 -> watchdog check, falling
back to a service restart when reload cannot recover.

clamshell-mode.sh: documents why the laptop panel is no longer enabled
unconditionally on lid-open, which raced shikane's "External Display" profile
(eDP-1 disabled by design) and produced "Atomic commit failed: Device or
resource busy" churn.
2026-10-27 18:32:33 -07:00
jozamudi 0ceec0b4ab fix(sway): only force a post-resume modeset when the stall is actually present
recover-output-after-resume.sh existed to work around the old ThinkPad's
/etc/modprobe.d/i915.conf, which forced PSR2 and the deepest display
C-states; the flip pending across suspend never completed, so every later
commit returned EBUSY and only a full modeset cleared it.

That file is gone and this laptop's iGPU is driven by `xe` (Panther Lake has
no i915 support at all), so the original cause cannot recur. The modeset is
now conditional on the user journal actually reporting "Atomic commit
failed"/"Page-flip failed" within the last 3 minutes.

Unconditional disable/enable + `shikanectl reload` on every resume was itself
a hazard: it is the exact sequence that re-triggers the shikane
VariantInProgress deadlock the watchdog exists to recover from.

hypridle.conf's comment no longer references the deleted i915.conf.
2026-10-27 18:32:33 -07:00
jozamudi 078f9acf71 fix(display): target the Framework 13 Pro panel
Migration from the ThinkPad X1 Carbon (2880x1800) to the Framework Laptop
13 Pro, whose panel is CSOT MND508ZB1-1 = 2880x1920 3:2 @120Hz and exposes
only 2880x1920@120000Hz / @60000Hz.

shikane was requesting [email protected], a mode this panel cannot provide,
so the variant could never be satisfied: it sat in NoVariantApplied for the
whole session, with 61 historical "Discarded" events. Both profiles now use
2880x1920@120Hz (including the disabled eDP-1 block, whose mode string still
has to resolve). Verified: profile now reaches VariantApplied.

Scale is 1.75 -> 1645x1097 logical, ~147 effective DPI, chosen to reproduce
the ~145 DPI of the old panel at 1.67. 1.75 is exactly representable as
float32, which sway stores scale in; 1.6 and 1.67 are not. 2.0 would be the
only integer (1:1, unresampled) scale but yields just 1440x960 logical.

The .config/sway/config hunk also adds the matching `output $laptop` baseline
so sway does not start at scale 2.0 and re-flow when shikane applies 1.75,
and carries previously-uncommitted session wiring for the scripts below.

shikane's config.toml was previously unversioned; it now lives in this repo
and ~/.config/shikane is a symlink, matching the existing convention.
2026-10-27 18:32:21 -07:00
jozamudi 63345e51e3 unify color palette, harden shikane service, misc sway/opencode updates
sway:
- config: re-apply shikane profile after every reload
  (exec_always shikanectl reload); restart waybar on reload
  (exec_always pkill+waybar); enable default_border pixel 2;
  add tlpctl power-saver at startup
- keybinds: disable floating_modifier (was "$mod normal") -
  experiment for windows popping out via accidental mod+click
- windows: case-insensitive pydm title match for floating rule
- swayfx + waybar style: unified 5-color palette (base00-0F) with
  doc headers; waybar theme restyled to match the sway palette
- waybar config: scratchpad module in left bar, "S{count}" format
- new quickshell shell.qml bar

systemd user units:
- shikane.service: bind to graphical-session/sway-session targets,
  Type=simple, Restart=on-failure (2s) with start limits so crashes
  recover without giving up permanently
- new sway-session.target and its wants/ symlinks

opencode:
- load AGENTS.md as instructions (new file)
- move OpenWebUI API key from hardcoded to {env:OPENWEBUI_API_KEY}
2026-09-28 14:04:22 -07:00
jozamudi e338d15922 add shikane-watchdog user service to auto-recover shikane deadlocks 2026-09-28 14:04:22 -07:00
jozamudi e3643c3ae2 fix(nvim): use clipboard:append for unnamedplus; add sway dbus-update script 2026-07-06 16:13:38 -07:00
jozamudi cc949db097 Fix sway session setup and migrate waybar to sway modules
- Start xdg-desktop-portal-wlr and sway-session.target for proper portal init
- Re-enable systemd/dbus environment import for Wayland session vars
- Move hypridle startup earlier
- Switch waybar left modules from hyprland/* to sway/*
2026-06-10 18:10:43 -07:00
jozamudi b4b2ca0d43 refactor: strip waybar icons, disable pseudotile/VFR, clean up configs
Waybar:
- Remove Nerd Font icons from battery, power, audio, media modules
- Switch power profile to text format, simplify all format strings
- Mango config: switch sway/* to hyprland/* modules, remove unused modules

Hyprland:
- Disable pseudotile and VFR

Sway:
- Fix clamshell script path (jozamudi -> work)
- Comment out gsettings, systemctl, dbus exec lines
- Delete unused env.sh script

Other:
- Delete nvim llm plugin and opencode coding-partner agent
- Delete Zoom and Nextcloud desktop entries
- Migrate Discord to Flatpak
- Rotate opencode API key
- Add extended-keys to tmux config
- Clear defaults.list
2026-06-03 10:11:06 -07:00
jozamudi 8630f6318e chore: update waybar, nvim llm plugin, and sway config
- Replace sway window module with hyprland submap in waybar
- Move clock to right side and update display format
- Enable battery time display and update workspace button styling
- Update nvim llm plugin model ID, backend URL, and FIM tokens
- Uncomment default terminal and add GTK/Qt wayland env vars in sway
2026-05-04 16:59:40 -07:00
jozamudi b09ebf25d5 Changes to be committed:
modified:   .config/sway/config
	deleted:    .config/sway/waybar
	new file:   .config/sway/waybar/config.jsonc
	new file:   .config/sway/waybar/style.css
	new file:   .config/systemd/user/default.target.wants/shikane.service
	new file:   .config/systemd/user/shikane.service
	modified:   .zshrc
	new file:   applications/application.desktop
2026-02-06 10:28:14 -08:00
jozamudi e99e6b3d92 feat: use hyprile; zsh better prompt; 2026-02-05 22:25:36 -08:00
jozamudi fcdfa97317 feat: sway waybar config, and change font size for kitty 2026-01-24 20:16:01 -08:00
jozamudi ee3428acd0 latest 2026-01-01 15:23:37 -08:00
jozamudi 970a284ebc latest 2025-12-23 19:33:56 -08:00
jozamudi e2da3d9a20 feat: Waybar 2025-12-19 22:14:03 -08:00
jozamudi 833d17bc94 Update sway config to set Mod4 as mod key and other tweaks 2025-12-01 20:02:30 -08:00
jozamudi a1ef3c6e12 feat:new nvim config and some other stuff 2025-11-29 11:30:17 -08:00
jozamudi d524ebac95 latest 2025-11-21 08:19:00 -08:00
jozamudi 1f31c845a6 feat: latest kitty, mango, and mango config 2025-10-19 11:59:48 -07:00
jozamudi 91fe229e59 latest 2025-09-14 22:06:00 -07:00
jozamudi 9fbf3bc8c1 waybar, swaylock, swayfx, and nvim plugins 2025-09-01 12:10:45 -07:00
jozamudi d38aa180bb fixed waybar colors and lables; add keybinds for sway config 2025-08-24 20:01:14 -07:00
jozamudi 17a739b0d5 latest 2025-08-15 22:30:49 -07:00
jozamudi e803a33497 latest 2025-07-10 11:42:42 -07:00
jozamudi e0adb27cb0 vim copilot, waybar config 2025-07-04 19:57:35 -07:00
jozamudi 5e635a8ef1 latest 2025-05-22 08:04:48 -07:00
jozamudi 5caee464f3 latest 2025-05-21 16:22:38 -07:00
jozamudi 7ee39c0028 latest 2025-05-01 18:08:06 -07:00
jozamudi 360781528c lastes 2025-04-23 18:36:13 -07:00
jozamudi 81d65761fd latest 2025-03-21 13:06:13 -07:00
jozamudi 1c129553ea move to hyper for better screen sharing suppor 2025-03-11 10:14:22 -07:00
jozamudi 7fdd22930c add foot and way config 2025-03-06 20:10:47 -08:00