diff options
| author | yuzu-eva <cafebabe@disroot.org> | 2024-12-30 20:45:45 +0100 |
|---|---|---|
| committer | yuzu-eva <cafebabe@disroot.org> | 2024-12-30 20:45:45 +0100 |
| commit | 09f3a4013e370ad35a8f003eabb0ce9b3140d4b2 (patch) | |
| tree | 6709fb82a66d25cbcd80a8aca70e1f4c1bc91ede /.config/x11/xinitrc | |
| parent | 8e32e3e36c580c5b2bb20a6408b76e22d5eb0125 (diff) | |
added bspwmrc and sxhkdrc
Diffstat (limited to '.config/x11/xinitrc')
| -rw-r--r-- | .config/x11/xinitrc | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc index d66d447..227a3c4 100644 --- a/.config/x11/xinitrc +++ b/.config/x11/xinitrc @@ -1,11 +1,11 @@ -#!/bin/sh +#!/usr/bin/env bash #if command -v dbus-launch > /dev/null && test -z "${DBUS_SESSION_BUS_ADDRESS}"; then # eval $(dbus-launch --sh-syntax --exit-with-session) #fi -eval "$(gpg-agent --daemon --allow-preset-passphrase)" -eval "$(ssh-agent)" +pgrep -x gpg-agent >/dev/null || eval "$(gpg-agent --daemon --allow-preset-passphrase)" +pgrep -x ssh-agent >/dev/null || eval "$(ssh-agent)" xrandr --addmode HDMI-A-0 1280x960 xrandr --output HDMI-A-0 --mode 1280x960 --primary @@ -18,15 +18,10 @@ xset s off -dpms setxkbmap -option "ctrl:nocaps" xrdb -merge ~/.Xresources -~/.local/bin/set-wallpaper & -/usr/bin/emacs --daemon & +pgrep -x emacs >/dev/null || /usr/bin/emacs --daemon & +pgrep -x urxvtd >/dev/null || /usr/bin/urxvtd -q -o -f & +pgrep -x pipewire >/dev/null || /usr/bin/pipewire & +pgrep -x mpd >/dev/null || /usr/bin/mpd & +$HOME/.local/bin/set-wallpaper & -/usr/bin/urxvtd -q -o -f & -/usr/bin/ibus-daemon -d -r -x -/usr/bin/pipewire & -/usr/bin/mpd & - -exec i3 -#exec fvwm -#exec ratpoison -#exec stumpwm +exec bspwm |
