dot

vizie's NixOS desktop: Hyprland, CachyOS kernel and gaming tweaks

11 lines697 bytesBourne Again Shell (bash)executable
1#!/bin/sh
2# Session started by the login screen (gtkgreet -c /etc/greetd/session.sh).
3# The VT is briefly visible between the greeter quitting and Hyprland taking
4# over the screen, so clear it, hide the text cursor, and keep uwsm's startup
5# report off it. Hyprland itself runs as a systemd unit and logs to the journal.
6#
7# greetd starts this with a bare environment, so it goes through a login shell
8# first: that loads NixOS's /etc/profile and Home Manager's session variables,
9# which uwsm then hands to the systemd user session (and so to every service).
10printf '\033[2J\033[3J\033[H\033[?25l'
11exec /run/current-system/sw/bin/bash -lc 'exec uwsm start hyprland-uwsm.desktop >/dev/null 2>&1'