From 85be0dd1e0267863bdb983bed0780ff06a8e7dff Mon Sep 17 00:00:00 2001 From: filip <“filip.rabiega@gmail.com”> Date: Wed, 21 Jan 2026 11:27:54 +0100 Subject: add zprofile --- .zprofile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .zprofile (limited to '.zprofile') diff --git a/.zprofile b/.zprofile new file mode 100644 index 0000000..8981dde --- /dev/null +++ b/.zprofile @@ -0,0 +1,18 @@ +#!/bin/sh +# Filip's .profile + +# Set environmental variables +. /home/filipek/.config/shell/envvarrc + +# Autostart stuff on reboot +autostart="remaps slstatus xcompmgr xhidecursor" + +for program in $autostart; do + pidof -sx "$program" || "$program" & +done >/dev/null 2>&1 + +# Set wallpaper +xwallpaper --stretch "$HOME"/pix/wallpaper.jpg + +# Start graphical server on user's current tty if not already running. +[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx "$XINITRC" -- cgit v1.2.3