dotfiles

Configuration for the software I use.
git clone https://git.sr.ht/~jbauer/dotfiles
Log | Files | Refs | README | LICENSE

commit 3025bed3d7dad216f482e45c4eead96d0ce0ffed
parent 470758173ea8a3e3106364f5d6317a6c537a576f
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Wed, 24 Jun 2020 01:53:58 -0400

Fix duplicate apps spawning on wm restart

Some applications wouldn't start right (pulseaudio) or would have
multiple instances of themselves also doing things if the WM was
restarted without a full restart of the system or without killing those
processes.

Diffstat:
M.config/X11/xinitrc | 12+++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/.config/X11/xinitrc b/.config/X11/xinitrc @@ -1,8 +1,5 @@ #!/bin/sh -# Start status bar -slstatus & - # Load Xresources xrdb -load $XDG_CONFIG_HOME/X11/Xresources @@ -19,17 +16,22 @@ xsetroot -cursor_name left_ptr & xset -b & # Hide mouse cursor after n seconds of inactivity +pkill unclutter unclutter -idle 3 -root & # Auto lock the screen after n seconds +pkill xautolock xautolock -detectsleep -time 60 -locker "betterlockscreen -l blur" -corners -000 & +# Start status bar +pkill slstatus; slstatus & + # Set background image feh --bg-fill --no-fehbg ~/media/pics/wallpapers/04092435d043527b3bd3d2d42f19b79e.jpg & ### Launch programs ### -pulseaudio -k; pulseaudio -D & # Audio server -compton & # Replace with picom in future +pulseaudio --start # Audio server +compton & # Compositor (replace with picom in future) dunst & # Notification daemon lxpolkit & # Polkit agent