Move .xprofile into autostart-manage
This commit is contained in:
parent
bbf5ffe4dc
commit
440fbe6c86
3 changed files with 33 additions and 35 deletions
|
@ -70,6 +70,37 @@ _autostart_manage_rm () {
|
|||
rm "$base_dir$(_filename "$1")"
|
||||
}
|
||||
|
||||
_autostart_run_xorg () {
|
||||
|
||||
feh --bg-fill "$XDG_PICTURES_DIR/wallpaper/active_wallpaper"
|
||||
|
||||
"$HOME/.config/polybar/launch.sh" &
|
||||
"$HOME/.config/bspwm/focus-voip.py" &
|
||||
|
||||
numlockx on
|
||||
|
||||
#setxkbmap de
|
||||
#setxkbmap -option caps:none
|
||||
#setxkbmap -option compose:menu
|
||||
|
||||
xrdb "$HOME/.Xresources"
|
||||
|
||||
|
||||
start-audio pipewire
|
||||
wait-for-service "network-online.target"
|
||||
|
||||
if ! pgrep -x keepassxc
|
||||
then
|
||||
pass x
|
||||
(pass keepass | head -n 1 | keepassxc --pw-stdin ~/sync/passwords.kdbx) &
|
||||
fi
|
||||
#keepass-unlock
|
||||
#pass x && sleep 5
|
||||
|
||||
autoinstall graphical
|
||||
autostart-manage run
|
||||
}
|
||||
|
||||
case $1 in
|
||||
list) _autostart_manage_list ;;
|
||||
info) _autostart_manage_info ;;
|
||||
|
@ -85,5 +116,6 @@ case $1 in
|
|||
status) _systemctl "${2:-*}" status ;;
|
||||
stop) _systemctl "${2:-*}" stop ;;
|
||||
run) systemctl --user start autostart.target ;;
|
||||
run-xorg) _autostart_run_xorg ;;
|
||||
*) echo "'$1' is not valid" ;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue