Browse Source

Auto-Install partially done

main
Yiğit Çolakoğlu 4 years ago
parent
commit
d10277105a
2 changed files with 9 additions and 8 deletions
  1. +7
    -6
      install.sh
  2. +2
    -2
      scripts/screensaver_toggle

+ 7
- 6
install.sh View File

@ -2,9 +2,9 @@
# Install packages # Install packages
echo "Running update" 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 # Initial cleanup
echo "Backing up your previous dotfiles to ~/.dotfiles_backup" 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/keyboard ~/.keyboard
ln -s ~/.dotfiles/misc/mimeapps.list ~/.config/mimeapps.list ln -s ~/.dotfiles/misc/mimeapps.list ~/.config/mimeapps.list
ln -s ~/.dotfiles/fonts ~/.fonts ln -s ~/.dotfiles/fonts ~/.fonts
sudo npm i -g yigitcolakoglu/bitwarden-dmenu
fc-cache fc-cache
# Applications # Applications
@ -107,9 +108,9 @@ ln -s ~/.dotfiles/scripts ~/.scripts
# Suckless # Suckless
ln -s ~/.dotfiles/suckless ~/.config/suckless ln -s ~/.dotfiles/suckless ~/.config/suckless
ln -s ~/.dotfiles/suckless/dot_surf ~/.surf 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 # Tmux
ln -s ~/.dotfiles/tmux/tmux.conf ~/.tmux.conf ln -s ~/.dotfiles/tmux/tmux.conf ~/.tmux.conf


+ 2
- 2
scripts/screensaver_toggle View File

@ -9,12 +9,12 @@ getargs() {
done done
} }
start_dnd() { start_dnd() {
xset -dpms
xset s off
echo "off" > ~/.cache/screensaver echo "off" > ~/.cache/screensaver
notify-send "Screensaver off"; notify-send "Screensaver off";
} }
end_dnd() { end_dnd() {
xset +dpms
xset s on
echo "on" > ~/.cache/screensaver echo "on" > ~/.cache/screensaver
notify-send "Screensaver on."; notify-send "Screensaver on.";
} }


Loading…
Cancel
Save