You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

38 lines
1.6 KiB

#!/bin/sh
# This file runs when a DM logs you into a graphical session.
# If you use startx/xinit like a Chad, this file will also be sourced.
# Fix Gnome Apps Slow Start due to failing services
# Add this when you include flatpak in your system
dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval `dbus-launch --sh-syntax --exit-with-session`
fi
# Power Saving Stuff on
xset dpms &
xset s on &
xsetroot -cursor_name left_ptr &
mpd >/dev/null 2>&1 & # music player daemon-you might prefer it as a service though
remaps & # run the remaps script, switching caps/esc and more; check it for more info
setbg & # set the background with the `setbg` script
# xrdb /home/julian/.config/Xresources & # Uncomment to use Xresources colors/settings on startup
xcompmgr >/dev/null 2>&1 & # xcompmgr for transparency
dunst >/dev/null 2>&1 & # dunst for notifications
xset r rate 300 50 & # Speed xrate up
unclutter >/dev/null 2>&1 & # Remove mouse when idle
syncthing >/dev/null 2>&1 & # Launch syncthing
# lang es >/dev/null 2>&1 & # Set language to es
launch_polybar >/dev/null 2>&1 &
keynav >/dev/null 2>&1 &
snapserver >/dev/null 2>&1 &
# This line autostarts an instance of pipewire that does not exit on idle.
# This is "necessary" on Artix due to a current bug between PA and
# Chromium-based browsers where they fail to start PA and use dummy output.
pidof -s runit &&
pidof -s ! pidof -s pipewire >/dev/null 2>&1 &&
setsid -f pipewire >/dev/null 2>&1 &