Commit Graph

414 Commits

Author SHA1 Message Date
Fabio Scotto di Santolo
ae8a6161cd Remove i3 desktop profile and st terminal
Elimina completamente la sessione desktop i3 (X11), ormai non più usata
(gli host espongono solo sway e Hyprland su Wayland):
- ruolo profile_desktop_i3 e voce emptty i3.desktop
- desktop_i3_packages e i guard 'i3' in desktop_sessions_enabled
- desktop_i3_dotfiles e host_i3_dotfiles (autorandr X11)
- dotfiles i3/X11: .xinitrc, i3, i3blocks, picom, polybar, autorandr
- task host-specifici i3 (copy dotfiles, wrap prime-run su nymph)
- rimuove st (terminale X11 da sorgente) da desktop_void_source_tools
- consolida lo script live in scripts/remove_i3.sh, elimina cleanup-i3.sh
- aggiorna la documentazione (README/AGENTS/CLAUDE/knowledge)

Config Emacs lasciata invariata di proposito.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-21 16:59:08 +02:00
Fabio Scotto di Santolo
01840c82e0 Merge branch 'cleanup/remove-deadalus-win-ubuntu' 2026-06-21 16:32:20 +02:00
Fabio Scotto di Santolo
a135edaa3f Remove deadalus-win and deadalus-ubuntu profiles
Rimuove completamente i due host non più in uso dal playbook:
- inventory: gruppi ubuntu_workstation, workstation_dev_ubuntu,
  workstation_host_windows e relative entry host
- host_vars deadalus-ubuntu/deadalus-win e group_vars windows
- play workstation_dev_ubuntu e workstation_host_windows in site.yml
- ruolo profile_workstation_host_windows e bootstrap PowerShell
- var PSRP nel vault.yml.example, pacchetti python pypsrp/pyspnego WSL
- collection ansible.windows/community.windows
- riferimenti nella documentazione (README/AGENTS/CLAUDE)

Workstation Linux nativa: resta solo deadalus-fedora.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-21 16:30:30 +02:00
Fabio Scotto di Santolo
0fb8f23ae2 Add glab snap package on Ubuntu WSL 2026-06-16 11:45:48 +02:00
Fabio Scotto di Santolo
c0adb2406f Fix bat configuration path 2026-06-09 14:54:22 +02:00
Fabio Scotto di Santolo
784d8bd88c Refresh turnstile env after Wayland startup 2026-06-07 22:20:31 +02:00
Fabio Scotto di Santolo
51d784b86d Set Hyprland as default desktop session 2026-06-07 19:45:05 +02:00
Fabio Scotto di Santolo
cb28397bbb Update Hyprland utilities 2026-06-07 19:34:49 +02:00
Fabio Scotto di Santolo
b4d5a2b1ea Fix Hyprland lock DPMS 2026-06-07 18:46:21 +02:00
Fabio Scotto di Santolo
bf754fc7d2 Use PGTK Emacs on Void desktops 2026-06-06 21:52:12 +02:00
Fabio Scotto di Santolo
9d97cf86fd Tune Hyprland workspace animation 2026-06-06 21:07:55 +02:00
Fabio Scotto di Santolo
1d4f7a3e4c Tune Hyprland Waybar and focus behavior 2026-06-06 20:11:05 +02:00
Fabio Scotto di Santolo
a13fb2067b Set Hyprland geek girl wallpaper 2026-06-06 19:56:27 +02:00
Fabio Scotto di Santolo
5b1ec706c6 Tune Hyprland visual style 2026-06-06 19:53:42 +02:00
Fabio Scotto di Santolo
1503de5b55 Style Hyprlock screen 2026-06-06 19:44:20 +02:00
Fabio Scotto di Santolo
769e61a488 Add Hyprland Void desktop profile 2026-06-06 16:08:35 +02:00
Fabio Scotto di Santolo
3460c2a9cb scripts: add remove_i3.sh to purge i3 packages and dotfiles
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-01 19:58:50 +02:00
Fabio Scotto di Santolo
626a29cfcf desktop: switch to sway as sole active session and group default
Remove i3 from desktop_sessions_enabled on ikaros, nymph, and the
desktop group_vars; set sway/wayland as default for all desktop hosts.
Copy 60-camera-priority.conf into host_sway_dotfiles on nymph so
WirePlumber camera priority is still deployed under the sway session.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-01 19:49:32 +02:00
Fabio Scotto di Santolo
e18bc8920d docs: add CLAUDE.md with project guidance for Claude Code
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-01 19:48:15 +02:00
Fabio Scotto di Santolo
6b242a71b9 sway: replace swaylock with gtklock, Star Wars theme lockscreen
Switch lockscreen from swaylock to gtklock. CSS styled with Star Wars
yellow (#FFE81F) on near-black background, cover-scaled wallpaper injected
at runtime via temp CSS to avoid path expansion issues in gtklock config.
Update sway background wallpaper to darth-vader-sam.jpg.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-30 11:15:13 +02:00
Fabio Scotto di Santolo
6f6ea84fa3 Add lazygit on wsl 2026-05-28 15:05:25 +02:00
Fabio Scotto di Santolo
818d972493 Change merge and diff tool for git on workstation 2026-05-28 14:54:07 +02:00
Fabio Scotto di Santolo
a2c5d77483 sway: inhibit screensaver during video playback in mpv and browser
Start xdg-desktop-portal-wlr and xdg-desktop-portal-gtk explicitly so
Firefox can route ScreenSaver.Inhibit DBus calls through the portal chain
to the Wayland idle inhibitor. Add stop-screensaver=yes to mpv.conf for
native Wayland idle inhibition during mpv playback.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24 18:41:39 +02:00
Fabio Scotto di Santolo
a6a83fb74b install sshfs on Void Linux 2026-05-24 18:10:26 +02:00
Fabio Scotto di Santolo
6cf87f3c38 desktop: swap fonts to NotoSans NF and UbuntuSansMono Nerd Font 2026-05-23 22:24:07 +02:00
Fabio Scotto di Santolo
a6049961a8 sway: add foot terminal config (Liberation Mono 14, black background)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-23 19:37:18 +02:00
Fabio Scotto di Santolo
9587ba9e97 Add task for installing IBM Bob Shell 2026-05-23 11:35:44 +02:00
Fabio Scotto di Santolo
c65aab1529 Add GPG sign workstation WSL host 2026-05-22 22:40:29 +02:00
Fabio Scotto di Santolo
65b185206e sway: use wlogout for powermenu 2026-05-17 22:44:46 +02:00
Fabio Scotto di Santolo
bc47711016 sway: reduce blur_passes, tune lockscreen indicator 2026-05-17 22:21:25 +02:00
Fabio Scotto di Santolo
9cf1c3784a sway: add DND toggle in sway and waybar 2026-05-17 21:58:50 +02:00
Fabio Scotto di Santolo
a061d0ce17 sway: add foot terminal, floating rules for dialogs and apps 2026-05-17 20:44:23 +02:00
Fabio Scotto di Santolo
9e446bf0e7 sway: tune wlogout appearance and args 2026-05-17 20:24:55 +02:00
Fabio Scotto di Santolo
901bd46a2e sway: add wlogout, waybar power button, layer effects 2026-05-17 15:32:26 +02:00
Fabio Scotto di Santolo
e2ea8edd9b docs: update for sway support and package bucket rules 2026-05-17 15:01:00 +02:00
Fabio Scotto di Santolo
1860314ea6 desktop: move common dotfiles and packages from void to shared 2026-05-17 14:57:17 +02:00
Fabio Scotto di Santolo
b7f7fc396d void: add linux packages 2026-05-17 14:12:32 +02:00
Fabio Scotto di Santolo
0c84c45743 sway: simplify flameshot bindings, add flameshot dotfiles 2026-05-17 12:46:44 +02:00
Fabio Scotto di Santolo
0202afd793 desktop_common: make Qt apps follow the GTK theme
Deploy /etc/profile.d/10-qt-theme.sh setting QT_QPA_PLATFORMTHEME=gtk3
system-wide. The gtk3 Qt platform theme plugin (already shipped with
qt5/qt6 base on Void) makes both Qt5 and Qt6 widgets read theme name,
font, icon theme and color scheme from ~/.config/gtk-3.0/settings.ini,
so Qt apps now match the Yaru-blue-dark setup on both i3 and sway.

Also drop the stale QT_QPA_PLATFORMTHEME=qt6ct override in nymph's
session-env (qt6ct is not installed and the override would shadow the
global gtk3 setting).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-17 08:11:41 +02:00
Fabio Scotto di Santolo
d9e71c635d desktop_common: drop inert Flatpak GTK_THEME override
The task wrote /etc/flatpak/overrides/global, but Flatpak reads its
overrides from /var/lib/flatpak/overrides/, so the file was never
honored. The dark theme is now correctly applied to Flatpak apps via
xdg-desktop-portal (color-scheme + gtk-theme), which works as long as
the portal backends can start — fixed in the prior commit.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-17 08:05:25 +02:00
Fabio Scotto di Santolo
279d440e3d sway: propagate Wayland env to dbus for portal backends
Without dbus-update-activation-environment, xdg-desktop-portal-{gtk,wlr}
inherit an empty WAYLAND_DISPLAY/SWAYSOCK from the session bus (started
by dbus-run-session before sway) and crash on activation. As a result
Flatpak apps cannot read color-scheme / gtk-theme from the host and fall
back to a light theme.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-17 07:57:10 +02:00
Fabio Scotto di Santolo
1209afafd1 Merge branch 'feature/migrate-wayland' 2026-05-17 00:09:01 +02:00
Fabio Scotto di Santolo
8402f0c1d3 nymph: add kanshi profiles for laptop / dock switching
Two profiles, auto-selected from connected outputs:
- solo: only eDP-1, all workspaces routed there.
- dual: eDP-1 + DP-1 (3440x1440@100Hz dock), workspace 1 on the laptop
  panel and 2-10 on the dock; each profile reissues swaymsg "workspace
  N, move workspace to output X" on activation so workspaces follow.

host.conf autostarts kanshi and drops the redundant gaps/corner_radius
overrides, leaving the base sway/config values in effect.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 23:53:51 +02:00
Fabio Scotto di Santolo
4298fd9bdd sway: per-host overrides via host.conf and session-env
Adds a host_sway_dotfiles mechanism mirroring host_i3_dotfiles: hosts
drop a host.conf into ~/.config/sway/ to override sway settings, and
optionally a session-env file sourced by start-sway for per-host
environment variables. The base sway/config defines $terminal and
includes ~/.config/sway/host.conf; an empty placeholder ships with the
base profile so the include never warns on hosts without overrides.

nymph gets its own host.conf wrapping alacritty in prime-run (NVIDIA
PRIME offload), bumping gaps/corner_radius, and pinning workspaces to
eDP-1 / DP-1, plus a session-env exporting SWAY_UNSUPPORTED_GPU=1 and
WLR_DRM_DEVICES for the hybrid Intel+NVIDIA setup.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 23:50:01 +02:00
Fabio Scotto di Santolo
4638178c23 sway: create /etc/xdg/xdg-desktop-portal before writing portal config
The portal config copy assumed the parent directory existed, but on a
fresh install xdg-desktop-portal hasn't shipped it yet. Add an explicit
file directory task ahead of the copy so the playbook is robust on
hosts that don't already have it.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 23:49:50 +02:00
Fabio Scotto di Santolo
a2c0c69e7b hosts: enable sway alongside i3 on ikaros and nymph
Adds sway to desktop_sessions_enabled on both desktops so the next run
installs the sway profile and emptty exposes it in the picker. Default
session stays i3; users select Sway from emptty's picker (already on
via desktop_prompt_for_session).

Note: nymph still lacks a kanshi config, so multi-monitor workspace
pinning isn't tuned yet — sway will fall back to default placement.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 23:29:48 +02:00
Fabio Scotto di Santolo
d535c9ffd2 sway: screenshots, polkit floating, flatpak dark theme
Screenshots
- Swap xfce4-screenshooter for flameshot + grim/slurp/jq; xfce4 used
  the X11 selection so clipboard didn't round-trip to Wayland clients.
  Print invokes flameshot's editor; Shift/Alt+Print are quick
  grim-based captures via a small wrapper script. Flameshot is now
  autostarted so the first capture isn't slow.

Polkit
- Add for_window rules so the xfce-polkit dialog (and any other polkit
  agent) always opens floating.

Flatpak dark theme
- Write /etc/flatpak/overrides/global with GTK_THEME=Yaru-Blue-dark for
  legacy GTK apps, plus a sway-portals.conf so the Settings portal is
  served by xdg-desktop-portal-gtk (wlr doesn't implement it). That
  lets libadwaita apps see color-scheme=prefer-dark.

cleanup-sway: track the new package set.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 23:26:45 +02:00
Fabio Scotto di Santolo
41c474820f sway: restore Nerd Font glyphs in powermenu
The Reboot, Logout and Lock PUA glyphs (U+F01E, U+F08B, U+F023) were
lost from the sway powermenu and rendered as blanks. Re-inject them so
the menu matches the i3 version.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 22:24:33 +02:00
Fabio Scotto di Santolo
c9b75a8cd2 sway/waybar: fix muted glyph, dedupe bar on reload, relocate clock, match lock wallpaper
- Switch muted glyph from U+F6A9 to U+F026 (volume-off), which is
  present in every Nerd Font variant including LiterationMono.
- Use exec for waybar instead of exec_always, so reloading sway no
  longer spawns a second bar.
- Move the clock to the right of the tray and drop the leading
  calendar glyph from its format.
- Lock screen now uses maxresdefault.jpg, matching the i3 lockscreen;
  the asset is copied into sway/wallpapers/ so the sway profile stays
  self-contained.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 22:21:36 +02:00
Fabio Scotto di Santolo
430c44eb14 waybar: restore audio glyphs and raise muted-state contrast
The pulseaudio module had empty strings where Nerd Font glyphs were
meant to be, so the volume / mute / bluetooth indicators rendered
blank. Re-inject the proper PUA codepoints (F027/F028 volume,
F6A9 mute, F293 bluetooth). Bump #pulseaudio.muted from #3a3a46
to #8e8e9a so it stays readable against the bar background.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 22:09:16 +02:00