Remove enpass and nextcloud
This commit is contained in:
9
.config/x11/xautostart
Executable file
9
.config/x11/xautostart
Executable file
@@ -0,0 +1,9 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
enpass & # start password manager and hide window
|
||||||
|
nextcloud & # start Nextcloud and hide window
|
||||||
|
|
||||||
|
sleep 2
|
||||||
|
|
||||||
|
dwmc killnamedclient Enpass
|
||||||
|
dwmc killnamedclient Nextcloud
|
||||||
@@ -19,9 +19,8 @@ export SSH_AUTH_SOCK
|
|||||||
#source /etc/X11/xinit/xinitrc.d/50-systemd-user.h
|
#source /etc/X11/xinit/xinitrc.d/50-systemd-user.h
|
||||||
|
|
||||||
setbg "$HOME/.local/share/wallpapers/" & # set the background
|
setbg "$HOME/.local/share/wallpapers/" & # set the background
|
||||||
enpass & # start password manager
|
|
||||||
nextcloud & # start Nextcloud
|
|
||||||
xcompmgr & # xcompmgr for transparency
|
xcompmgr & # xcompmgr for transparency
|
||||||
dunst & # dunst for notifications
|
dunst & # dunst for notifications
|
||||||
xset r rate 300 50 & # Speed xrate up
|
xset r rate 300 50 & # Speed xrate up
|
||||||
unclutter & # Remove mouse when idle
|
unclutter & # Remove mouse when idle
|
||||||
|
|
||||||
|
|||||||
@@ -2,12 +2,22 @@
|
|||||||
|
|
||||||
export MASTERPW=$(dialog --no-cancel --passwordbox "Enter Enpass master password." 10 60 3>&1 1>&2 2>&3 3>&1 | sed 's/\s//g')
|
export MASTERPW=$(dialog --no-cancel --passwordbox "Enter Enpass master password." 10 60 3>&1 1>&2 2>&3 3>&1 | sed 's/\s//g')
|
||||||
|
|
||||||
echo "$MASTERPW" | xclip -loops 5 -selection clipboard -i
|
echo "https://tower.scarif.space" | xclip -selection clipboard -i
|
||||||
|
|
||||||
enpass &
|
enpass &
|
||||||
|
|
||||||
|
dwmc toggleview 32
|
||||||
|
|
||||||
|
read -n 1 -r -s -p $'Press enter for next clip...\n'
|
||||||
|
|
||||||
|
echo "$MASTERPW" | xclip -selection clipboard -i
|
||||||
|
|
||||||
read -n 1 -r -s -p $'Press enter when you have synced enpass...\n'
|
read -n 1 -r -s -p $'Press enter when you have synced enpass...\n'
|
||||||
|
|
||||||
|
dwmc toggleview 0
|
||||||
|
|
||||||
|
echo "" | xclip -selection clipboard -i
|
||||||
|
|
||||||
CHECKPW=$(enpasscli -vault="$HOME/Documents/Enpass/Vaults/primary" -sort list 2>&1)
|
CHECKPW=$(enpasscli -vault="$HOME/Documents/Enpass/Vaults/primary" -sort list 2>&1)
|
||||||
|
|
||||||
while [[ "$CHECKPW" == *level=fatal* ]]; do
|
while [[ "$CHECKPW" == *level=fatal* ]]; do
|
||||||
|
|||||||
Reference in New Issue
Block a user