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."; }