dotfiles/dot_config/i3/executable_autostart.sh

28 lines
806 B
Bash

#!/bin/bash
~/.config/polybar/run.sh || true;
"${HOME}/.local/bin/setupwallpaper" || hsetroot -solid '#1a1a1a';
xrdb -load "$XDG_CONFIG_HOME/X11/xresources"
# (nitrogen --restore || true) & disown;
xset r rate 250 25;
xcompmgr & disown;
nm-applet & disown;
lxqt-policykit-agent & disown;
(xfce4-clipman || true) & disown;
xfce4-power-manager & disown;
syncthingtray-qt6 & disown;
blueman-applet & disown;
killall oneko;
conky & disown;
oneko -bg '#1a1a1a' -fg '#bfbfbf' -tofocus -sakura & disown;
[ -f "${HOME}/.config/xkb.conf" ] \
&& xkbcomp "${HOME}/.config/xkb.conf" :0 2>/dev/null;
synclient HorizTwoFingerScroll=1 TapButton1=1 TapButton2=3 TapButton3=2;
pactl load-module module-null-sink sink_name=music rate=44100 channels=2;
pw-link 'music' 'alsa_output.pci-0000_00_1b.0.analog-stereo';