Browse Source

More setup

main
Yiğit Çolakoğlu 4 years ago
parent
commit
467ee27d12
10 changed files with 39 additions and 6 deletions
  1. +10
    -0
      chroot/AUR.txt
  2. +2
    -2
      chroot/chroot.sh
  3. +6
    -1
      chroot/nonAUR.txt
  4. +2
    -0
      install.sh
  5. +1
    -0
      misc/systemd/user/.gitignore
  6. +10
    -0
      misc/systemd/user/ssh-agent.service
  7. +3
    -2
      scripts/dmenu-logout
  8. +1
    -1
      scripts/status-bar/cpu-temp
  9. +3
    -0
      xorg/xinitrc
  10. +1
    -0
      zsh/zshrc

+ 10
- 0
chroot/AUR.txt View File

@ -1,18 +1,26 @@
activitywatch-bin
aic94xx-firmware
antibody
betterlockscreen
direnv
gconf
ghidra-darcula
gitkraken
gksu
glxinfo
i3lock-color
ifuse
jetbrains-toolbox
libgksu
ly
mailspring
mconnect-git
nerd-fonts-hack
ngrok
numix-icon-theme-git
plymouth-git
plymouth-theme-cubes-git
plymouth-theme-darth-vader-git
postman-bin
qt5-styleplugins
rofi-bluetooth-git
@ -21,7 +29,9 @@ spicetify-cli
spotify
spotify-tui
sublime-text-3
ttf-material-design-icons
vue-cli
wd719x-firmware
whatsapp-nativefier-dark
yay
zoom

+ 2
- 2
chroot/chroot.sh View File

@ -14,10 +14,10 @@ systemctl enable fstrim.timer
echo -e "127.0.0.1 localhost\n::1 localhost\n127.0.0.1 tatooine.localdomain tatooine" > /etc/hosts
cat << EOF > /etc/mkinitcpio.conf
MODULES=()
MODULES=(vfat)
BINARIES=()
FILES=()
HOOKS=(base udev autodetect keyboard keymap consolefont modconf block encrypt vfat filesystems fsck)
HOOKS=(base udev autodetect keyboard keymap consolefont modconf block encrypt filesystems fsck)
EOF
cat << EOF > /etc/initcpio/hooks/openswap


+ 6
- 1
chroot/nonAUR.txt View File

@ -9,6 +9,7 @@ binutils
bison
blueman
bluez-utils
borgmatic
calibre
chrony
clipmenu
@ -16,6 +17,7 @@ cmake
discord
dunst
efibootmgr
efitools
fakeroot
feh
figlet
@ -30,6 +32,7 @@ gettext
git
gnome-bluetooth
gnome-keyring
gparted
gradle
grep
groff
@ -38,6 +41,7 @@ gvfs-afc
gzip
htop
inetutils
intel-ucode
jdk11-openjdk
jre11-openjdk
kitty
@ -68,7 +72,6 @@ pamixer
patch
pavucontrol
picom
pkgconf
playerctl
polkit-gnome
pulseaudio
@ -80,6 +83,7 @@ redis
refind
rofi
rsync
sbsigntools
sed
shotwell
sudo
@ -89,6 +93,7 @@ texinfo
thunar
tmux
tree
ttf-dejavu
unzip
vi
vim


+ 2
- 0
install.sh View File

@ -13,6 +13,8 @@ ln -s ~/.dotfiles/gtk/gtk-4.0 ~/.config/gtk-4.0
ln -s ~/.dotfiles/misc/dunst ~/.config/dunst
ln -s ~/.dotfiles/misc/rofi ~/.config/rofi
ln -s ~/.dotfiles/misc/zathura ~/.config/zathura
ln -s ~/.dotfiles/misc/systemd .config/systemd
# Scripts
ln -s ~/.dotfiles/scripts ~/.scripts


+ 1
- 0
misc/systemd/user/.gitignore View File

@ -0,0 +1 @@
default.target.wants

+ 10
- 0
misc/systemd/user/ssh-agent.service View File

@ -0,0 +1,10 @@
[Unit]
Description=SSH key agent
[Service]
Type=simple
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
[Install]
WantedBy=default.target

+ 3
- 2
scripts/dmenu-logout View File

@ -31,6 +31,7 @@ logout() {
# Menu items
items="logout
suspend
hibernate
reboot
poweroff"
@ -51,10 +52,10 @@ case $selection in
systemctl suspend
;;
reboot)
reboot
systemctl reboot
;;
halt|poweroff|shutdown)
shutdown -h now
systemctl poweroff
;;
esac


+ 1
- 1
scripts/status-bar/cpu-temp View File

@ -1,6 +1,6 @@
#! /bin/sh
temp=$(sed 's/000$/°C/' /sys/class/thermal/thermal_zone0/temp)
temp=$(sed 's/[0-9][0-9][0-9]$/°C/' /sys/class/thermal/thermal_zone4/temp)
icon=
echo "$icon $temp "

+ 3
- 0
xorg/xinitrc View File

@ -1,5 +1,6 @@
#! /bin/sh
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK
export DRI_PRIME=1
feh --bg-fill /home/yigit/Pictures/Wallpapers/ocean-cliff.jpg #Backgroun
xrdb ~/.Xresources &
@ -21,6 +22,8 @@ mailspring &
dbus-update-activation-environment --systemd DISPLAY
export SSH_AUTH_SOCK
export QT_QPA_PLATFORMTHEME="qt5ct"
export _JAVA_AWT_WM_NONREPARENTING=1
export AWT_TOOLKIT=MToolkit
if [ -f ~/.xmodmap ]; then
xmodmap ~/.xmodmap
fi


+ 1
- 0
zsh/zshrc View File

@ -56,5 +56,6 @@ export FLUTTER_HOME=~/flutter
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/platform-tools
export PATH=$PATH:$FLUTTER_HOME/bin
export BORG_KEYS_DIR=~/.keys/borg
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh

Loading…
Cancel
Save