Browse Source

Install script

main
Yigit 4 years ago
parent
commit
dd6bd53d23
6 changed files with 16 additions and 12 deletions
  1. +0
    -1
      arch-setup/AUR.txt
  2. +0
    -1
      arch-setup/nonAUR.txt
  3. +11
    -5
      install.sh
  4. +1
    -1
      misc/keyboard
  5. +1
    -1
      vim/vim/plugin/plugins.vim
  6. +3
    -3
      xorg/xinitrc

+ 0
- 1
arch-setup/AUR.txt View File

@ -7,7 +7,6 @@ betterlockscreen
bitwarden
bitwarden-cli
brave-bin
canto-next-git
checkupdates+aur
checkupdates-aur
cordless-bin


+ 0
- 1
arch-setup/nonAUR.txt View File

@ -62,7 +62,6 @@ cairo
cairomm
calibre
cantarell-fonts
canto-curses
capnproto
capstone
cblas


+ 11
- 5
install.sh View File

@ -1,5 +1,6 @@
#!/bin/bash
username=$(whoami)
# Install packages
echo "Running update"
sudo pacman --noconfirm -Syu
@ -139,11 +140,12 @@ ln -s ~/.dotfiles/zsh/profile ~/.profile
ln -s ~/.dotfiles/mail/mutt ~/.config/mutt
ln -s ~/.dotfiles/mail/msmtp ~/.config/msmtp
ln -s ~/.dotfiles/mail/mbsyncrc ~/.mbsyncrc
if [ ! -f "/var/spool/cron/yigit"]; then
sudo touch /var/spool/cron/yigit
sudo chown yigit:yigit /var/spool/cron/yigit
if [ ! -f "/var/spool/cron$username" ]; then
sudo touch "/var/spool/cron/$username"
sudo chown yigit:yigit "/var/spool/cron/$username"
sudo chmod 755 "/var/spool/cron/$username"
fi
echo "*/8 * * * * /home/$(whoami)/.scripts/mailsync" >> /var/spool/cron/yigit
echo "*/8 * * * * /home/$username/.scripts/mailsync" >> /var/spool/cron/yigit
# Root
sudo cp ~/.dotfiles/root/dwm.desktop /usr/share/xsessions
@ -184,8 +186,12 @@ sudo npm i -g
cd $prev
# Install simcrop
sudo pacman -S opencv
sudo pacman --needed --noconfirm -S opencv
git clone https://github.com/theFr1nge/simcrop.git /tmp/simcrop
cd /tmp/simcrop
sudo make install
cd $prev
if [ ! "$username" = "yigit" ]; then
find /home/$username -type f | xargs sed -i "s/\/home\/yigit/\/home\/$username/g"
fi

+ 1
- 1
misc/keyboard View File

@ -1,5 +1,5 @@
#!/bin/bash
setxkbmap us,tr -variant altgr-intl, -option caps:escape # Set keyboard layout. map CapsLock to Esc
setxkbmap "us,tr" -variant "altgr-intl," -option caps:escape # Set keyboard layout. map CapsLock to Esc
xset r rate 180 40
xmodmap -e "clear control" -e "add control = Control_L" -e "clear mod3" -e "add mod3 = Control_R" # Map right Ctrl to Mod3Mask

+ 1
- 1
vim/vim/plugin/plugins.vim View File

@ -23,7 +23,7 @@ Plug 'blarghmatey/split-expander'
Plug 'farmergreg/vim-lastplace'
Plug 'jlanzarotta/bufexplorer'
Plug 'jeffkreeftmeijer/vim-numbertoggle'
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
"Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
Plug 'sheerun/vim-polyglot'
Plug 'M4R7iNP/vim-inky'
Plug 'vim-airline/vim-airline'


+ 3
- 3
xorg/xinitrc View File

@ -1,7 +1,7 @@
#! /bin/sh
pkill -f clipmenud
pkill -f "bash /sbin/clipmenud"
pkill -f clipmenud
pkill -f "bash /sbin/clipmenud"
pkill -f "/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh"
pkill -f "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1"
@ -37,13 +37,13 @@ picom --no-fading-openclose &
firefox-developer-edition app.daily.dev&
bitwarden-desktop &
curl 'http://yeetclock/setcolor?R=136&G=192&B=208' &
~/.keyboard
xbanish -t 2000 -s &
pactl upload-sample /usr/share/sounds/freedesktop/stereo/bell.oga x11-bell
pactl load-module module-x11-bell sample=x11-bell display=$DISPLAY
xset b 100
xset dpms 600 600 600
~/.keyboard
dunst &


Loading…
Cancel
Save