From d10277105ab24f079b067141b0fa0ef91bab74d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yi=C4=9Fit=20=C3=87olako=C4=9Flu?= Date: Wed, 17 Mar 2021 00:54:04 +0300 Subject: [PATCH] Auto-Install partially done --- install.sh | 13 +++++++------ scripts/screensaver_toggle | 4 ++-- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/install.sh b/install.sh index 324340b2..32d83a28 100755 --- a/install.sh +++ b/install.sh @@ -2,9 +2,9 @@ # Install packages echo "Running update" -sudo pacman -Syu -sudo pacman --noconfirm --needed -S $(cat ~/.dotfiles/chroot/nonAUR.txt) -yay -S --noconfirm --needed $(cat ~/.dotfiles/chroot/AUR.txt) +sudo pacman --noconfirm -Syu +sudo pacman --noconfirm --needed -S $(cat ~/.dotfiles/arch-setup/nonAUR.txt) +yay -S --noconfirm --needed $(cat ~/.dotfiles/arch-setup/AUR.txt) # Initial cleanup echo "Backing up your previous dotfiles to ~/.dotfiles_backup" @@ -95,6 +95,7 @@ ln -s ~/.dotfiles/misc/.fzf.zsh ~/.fzf.zsh ln -s ~/.dotfiles/misc/keyboard ~/.keyboard ln -s ~/.dotfiles/misc/mimeapps.list ~/.config/mimeapps.list ln -s ~/.dotfiles/fonts ~/.fonts +sudo npm i -g yigitcolakoglu/bitwarden-dmenu fc-cache # Applications @@ -107,9 +108,9 @@ ln -s ~/.dotfiles/scripts ~/.scripts # Suckless ln -s ~/.dotfiles/suckless ~/.config/suckless ln -s ~/.dotfiles/suckless/dot_surf ~/.surf -yay -S xsel clipnotify -yay -S ttf-symbola -~/.dotfiles/suckless/build.sh +yay --noconfirm -S xsel clipnotify +yay --noconfirm -S ttf-symbola +(cd ~/.dotfiles/suckless; ~/.dotfiles/suckless/build.sh) # Tmux ln -s ~/.dotfiles/tmux/tmux.conf ~/.tmux.conf diff --git a/scripts/screensaver_toggle b/scripts/screensaver_toggle index d7a3dea5..044ecb8b 100755 --- a/scripts/screensaver_toggle +++ b/scripts/screensaver_toggle @@ -9,12 +9,12 @@ getargs() { done } start_dnd() { - xset -dpms + xset s off echo "off" > ~/.cache/screensaver notify-send "Screensaver off"; } end_dnd() { - xset +dpms + xset s on echo "on" > ~/.cache/screensaver notify-send "Screensaver on."; }