Compare commits

...

3 Commits

Author SHA1 Message Date
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
7 changed files with 15 additions and 10 deletions

View File

@@ -5,7 +5,7 @@ desktop_sessions_enabled:
- sway - sway
- hyprland - hyprland
desktop_default_session: sway desktop_default_session: hyprland
desktop_default_session_env: wayland desktop_default_session_env: wayland
desktop_prompt_for_session: true desktop_prompt_for_session: true
@@ -225,10 +225,6 @@ desktop_hyprland_dotfiles:
src: .config/dunst/ src: .config/dunst/
dest: .config/dunst/ dest: .config/dunst/
mode: preserve mode: preserve
- name: flameshot config
src: .config/flameshot/
dest: .config/flameshot/
mode: preserve
- name: rofi config - name: rofi config
src: .config/rofi/ src: .config/rofi/
dest: .config/rofi/ dest: .config/rofi/

View File

@@ -189,7 +189,9 @@ desktop_hyprland_packages:
- hyprland - hyprland
- hyprland-guiutils - hyprland-guiutils
- hyprlock - hyprlock
- hyprpolkitagent
- hyprpaper - hyprpaper
- hyprsysteminfo
- rofi - rofi
- slurp - slurp
- SwayOSD - SwayOSD

View File

@@ -5,7 +5,7 @@ desktop_sessions_enabled:
- sway - sway
- hyprland - hyprland
desktop_default_session: sway desktop_default_session: hyprland
desktop_default_session_env: wayland desktop_default_session_env: wayland
host_packages: host_packages:

View File

@@ -5,7 +5,7 @@ desktop_sessions_enabled:
- sway - sway
- hyprland - hyprland
desktop_default_session: sway desktop_default_session: hyprland
desktop_default_session_env: wayland desktop_default_session_env: wayland
desktop_emptty_session_error_logging: rotate desktop_emptty_session_error_logging: rotate

View File

@@ -90,6 +90,7 @@ windowrule = idle_inhibit focus, match:content 2
# Autostart — XDG and session services # Autostart — XDG and session services
exec-once = dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP XDG_SESSION_TYPE XDG_SESSION_DESKTOP exec-once = dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP XDG_SESSION_TYPE XDG_SESSION_DESKTOP
exec-once = env UPDATE_TURNSTILE_RESTART_EMACS=1 ~/.local/bin/update-turnstile-env
exec-once = dex --autostart --environment Hyprland exec-once = dex --autostart --environment Hyprland
exec-once = gnome-keyring-daemon --start --components=secrets exec-once = gnome-keyring-daemon --start --components=secrets
exec-once = ~/.local/bin/setup-gtk-theme exec-once = ~/.local/bin/setup-gtk-theme
@@ -108,7 +109,7 @@ exec-once = hyprpaper
exec-once = waybar -c ~/.config/waybar/hyprland.jsonc -s ~/.config/waybar/hyprland-style.css exec-once = waybar -c ~/.config/waybar/hyprland.jsonc -s ~/.config/waybar/hyprland-style.css
exec-once = swayosd-server exec-once = swayosd-server
exec-once = dunst exec-once = dunst
exec-once = /usr/libexec/xfce-polkit exec-once = hyprpolkitagent
exec-once = nm-applet exec-once = nm-applet
exec-once = blueman-applet exec-once = blueman-applet
exec-once = udiskie exec-once = udiskie

View File

@@ -110,6 +110,7 @@ for_window [app_id="org.freedesktop.impl.portal.desktop.gtk"] floating enable
# Propagate Wayland env to dbus so xdg-desktop-portal backends inherit # Propagate Wayland env to dbus so xdg-desktop-portal backends inherit
# WAYLAND_DISPLAY/SWAYSOCK when dbus-activated (otherwise they crash). # WAYLAND_DISPLAY/SWAYSOCK when dbus-activated (otherwise they crash).
exec dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP XDG_SESSION_TYPE XDG_SESSION_DESKTOP exec dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP XDG_SESSION_TYPE XDG_SESSION_DESKTOP
exec env UPDATE_TURNSTILE_RESTART_EMACS=1 ~/.local/bin/update-turnstile-env
exec dex --autostart --environment sway exec dex --autostart --environment sway
exec gnome-keyring-daemon --start --components=secrets exec gnome-keyring-daemon --start --components=secrets
exec_always ~/.config/sway/scripts/setup-gtk-theme.sh exec_always ~/.config/sway/scripts/setup-gtk-theme.sh

View File

@@ -10,6 +10,11 @@ vars="DISPLAY XAUTHORITY DBUS_SESSION_BUS_ADDRESS SSH_AUTH_SOCK XDG_CURRENT_DESK
[ -n "${WAYLAND_DISPLAY:-}" ] && vars="$vars WAYLAND_DISPLAY" [ -n "${WAYLAND_DISPLAY:-}" ] && vars="$vars WAYLAND_DISPLAY"
[ -n "${SWAYSOCK:-}" ] && vars="$vars SWAYSOCK" [ -n "${SWAYSOCK:-}" ] && vars="$vars SWAYSOCK"
[ -n "${HYPRLAND_INSTANCE_SIGNATURE:-}" ] && vars="$vars HYPRLAND_INSTANCE_SIGNATURE"
# shellcheck disable=SC2086 # shellcheck disable=SC2086
turnstile-update-runit-env $vars >/dev/null 2>&1 || true turnstile-update-runit-env $vars >/dev/null 2>&1 || true
if [ "${UPDATE_TURNSTILE_RESTART_EMACS:-0}" = "1" ] && command -v sv >/dev/null 2>&1; then
sv restart "$HOME/.config/service/emacs" >/dev/null 2>&1 || true
fi