mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
small updates
This commit is contained in:
parent
dea8430811
commit
e55366048c
@ -1,17 +1,3 @@
|
|||||||
export SSH_AUTH_SOCK=${HOME}/.ssh/agent
|
|
||||||
if ! pgrep -u ${USER} ssh-agent > /dev/null; then
|
|
||||||
rm -f ${SSH_AUTH_SOCK}
|
|
||||||
fi
|
|
||||||
if [ ! -S ${SSH_AUTH_SOCK} ]; then
|
|
||||||
eval $(ssh-agent -a ${SSH_AUTH_SOCK} 2> /dev/null)
|
|
||||||
fi
|
|
||||||
if test -z "${XDG_RUNTIME_DIR}"; then
|
|
||||||
export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir
|
|
||||||
if ! test -d "${XDG_RUNTIME_DIR}"; then
|
|
||||||
mkdir "${XDG_RUNTIME_DIR}"
|
|
||||||
chmod 0700 "${XDG_RUNTIME_DIR}"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
|
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
|
||||||
startx
|
startx
|
||||||
fi
|
fi
|
||||||
|
@ -28,6 +28,9 @@
|
|||||||
- nerd-fonts # Iconic font aggregator, collection and patcher
|
- nerd-fonts # Iconic font aggregator, collection and patcher
|
||||||
- xdotool # Command-line X11 automation tool
|
- xdotool # Command-line X11 automation tool
|
||||||
- flameshot # Powerful yet simple to use screenshot software for GNU/Linux
|
- flameshot # Powerful yet simple to use screenshot software for GNU/Linux
|
||||||
|
- cups
|
||||||
|
- hplip
|
||||||
|
- system-config-printer
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user