Browse Source

Cleanup Home directory

main
Yiğit Çolakoğlu 4 years ago
parent
commit
b68970309d
213 changed files with 4371 additions and 433 deletions
  1. +7
    -0
      .gitignore
  2. +12
    -0
      .gitmodules
  3. +7
    -7
      .gitsecret/paths/mapping.cfg
  4. +1
    -1
      arch-setup/fetch_keys.sh
  5. +1
    -0
      browser/startpage/package-lock.json
  6. +0
    -0
      config/BetterDiscord/.gitignore
  7. +0
    -0
      config/BetterDiscord/plugins/.gitignore
  8. +0
    -0
      config/BetterDiscord/plugins/BetterCodeblocks.config.json
  9. +0
    -0
      config/BetterDiscord/plugins/BetterCodeblocks.plugin.js
  10. +0
    -0
      config/BetterDiscord/plugins/GameActivityToggle.plugin.js
  11. +0
    -0
      config/BetterDiscord/plugins/ZeresPluginLibrary.config.json
  12. +0
    -0
      config/BetterDiscord/themes/ClearVision_v6.theme.css
  13. +0
    -0
      config/BetterDiscord/themes/DarkDiscord.theme.css
  14. +0
    -0
      config/BetterDiscord/themes/Material-Discord.theme.css
  15. +0
    -0
      config/X11/Xresources
  16. +9
    -10
      config/X11/xinitrc
  17. +0
    -0
      config/antibody/p10k.zsh
  18. +0
    -0
      config/antibody/zsh_plugins.txt
  19. +0
    -0
      config/calcurse/.gitignore
  20. BIN
      config/calcurse/caldav/config.secret
  21. +0
    -0
      config/calcurse/conf
  22. +0
    -0
      config/calcurse/keys
  23. +0
    -0
      config/dunst/dunstrc
  24. +0
    -0
      config/dunst/not.svg
  25. +0
    -0
      config/dunst/notif.png
  26. +18
    -0
      config/gtk-2.0/gtkrc
  27. +0
    -0
      config/gtk-3.0/bookmarks
  28. +1
    -1
      config/gtk-3.0/settings.ini
  29. +0
    -0
      config/gtk-4.0/settings.ini
  30. +0
    -0
      config/htop/htoprc
  31. BIN
      config/isync/mbsyncrc.secret
  32. +0
    -0
      config/lf/diricons
  33. +256
    -0
      config/lf/lfrc
  34. +0
    -0
      config/mimeapps.list
  35. +0
    -0
      config/msmtp/.gitignore
  36. BIN
      config/msmtp/config.secret
  37. +0
    -0
      config/mutt/.mailsynclastrun
  38. +0
    -0
      config/mutt/accounts/1-yigitcolakoglu@hotmail.com.muttrc
  39. +0
    -0
      config/mutt/accounts/1-yigitcolakoglu@hotmail.com.sig
  40. +0
    -0
      config/mutt/colors.muttrc
  41. +0
    -0
      config/mutt/keys.muttrc
  42. +0
    -0
      config/mutt/mailcap
  43. +0
    -0
      config/mutt/muttrc
  44. +0
    -0
      config/neofetch/ascii.txt
  45. +0
    -0
      config/neofetch/config.conf
  46. BIN
      config/nextcloud/nextcloud.secret
  47. +14
    -0
      config/notmuch/notmuchrc
  48. +0
    -0
      config/qt5ct/colors/Material Ocean.conf
  49. +0
    -0
      config/qt5ct/qt5ct.conf
  50. +0
    -0
      config/ranger/commands.py
  51. +0
    -0
      config/ranger/plugins/.gitignore
  52. +0
    -0
      config/ranger/plugins/__init__.py
  53. +0
    -0
      config/ranger/plugins/chrome_chooser.py
  54. +0
    -0
      config/ranger/plugins/compress.py
  55. +0
    -0
      config/ranger/plugins/decrypt.py
  56. +0
    -0
      config/ranger/plugins/devicons
  57. +0
    -0
      config/ranger/plugins/encrypt.py
  58. +0
    -0
      config/ranger/plugins/extract.py
  59. +0
    -0
      config/ranger/plugins/zjumper_ranger.py
  60. +0
    -0
      config/ranger/rc.conf
  61. +0
    -0
      config/ranger/scope.sh
  62. BIN
      config/spotifyd/spotifyd.conf.secret
  63. +0
    -0
      config/tmate/tmate.conf
  64. +3
    -3
      config/tmux/tmux.conf
  65. +0
    -0
      config/vdirsyncer/config
  66. +22
    -8
      config/vim/vimrc
  67. +9
    -0
      config/wakatime/.wakatime.cfg
  68. +3
    -0
      config/wakatime/.wakatime.data
  69. BIN
      config/wakatime/.wakatime.db
  70. +0
    -0
      config/wakatime/.wakatime.log
  71. BIN
      config/wakatime/wakatime.cfg.secret
  72. +137
    -0
      config/wgetrc
  73. +0
    -0
      config/zathura/a
  74. +0
    -0
      config/zathura/zathurarc
  75. +2019
    -0
      config/zsh/.zcompdump
  76. +18
    -21
      config/zsh/.zshrc
  77. +6
    -1
      config/zsh/aliases
  78. +0
    -0
      config/zsh/cmds
  79. +0
    -0
      config/zsh/completions/_gcloud
  80. +0
    -0
      config/zsh/completions/_git
  81. +0
    -0
      config/zsh/completions/_spt
  82. +0
    -0
      config/zsh/completions/_tmuxinator
  83. +0
    -0
      config/zsh/completions/git-completion.bash
  84. +0
    -0
      config/zsh/fzf.zsh
  85. +1
    -1
      config/zsh/profile
  86. BIN
      config/zsh/secret.secret
  87. +0
    -2
      fonts/.gitignore
  88. +74
    -135
      install.sh
  89. +0
    -0
      local/applications/neomutt.desktop
  90. +0
    -0
      local/applications/ranger.desktop
  91. +0
    -0
      local/applications/st.desktop
  92. +0
    -0
      local/applications/vim.desktop
  93. +0
    -0
      local/backgrounds/.gitignore
  94. +5
    -0
      local/share/fonts/.gitignore
  95. +2
    -0
      local/share/icons/.gitignore
  96. +0
    -0
      local/share/icons/Tela-Icons
  97. +0
    -0
      local/share/scripts/autotrim
  98. +0
    -0
      local/share/scripts/brave-start
  99. +0
    -0
      local/share/scripts/convertToHtmlMultipart
  100. +4
    -4
      local/share/scripts/daily-update

+ 7
- 0
.gitignore View File

@ -7,3 +7,10 @@ misc/spotifyd.conf
misc/wakatime.cfg
misc/nextcloud
misc/calcurse/caldav/config
config/msmtp/config
config/isync/mbsyncrc
config/calcurse/caldav/config
config/wakatime/wakatime.cfg
config/zsh/secret
config/nextcloud/nextcloud
config/spotifyd/spotifyd.conf

+ 12
- 0
.gitmodules View File

@ -10,3 +10,15 @@
[submodule "gtk/themes/material-ocean"]
path = theming/themes/material-ocean
url = https://github.com/material-ocean/Gtk-Theme.git
[submodule "local/share/icons/Tela-Icons"]
path = local/share/icons/Tela-Icons
url = https://github.com/vinceliuice/Tela-icon-theme.git
[submodule "local/share/themes/Material-Ocean"]
path = local/share/themes/Material-Ocean
url = https://github.com/material-ocean/Gtk-Theme
[submodule "local/share/themes/material-ocean"]
path = local/share/themes/material-ocean
url = https://github.com/material-ocean/Gtk-Theme
[submodule "config/ranger/plugins/devicons"]
path = config/ranger/plugins/devicons
url = https://github.com/cdump/ranger-devicons2.git

+ 7
- 7
.gitsecret/paths/mapping.cfg View File

@ -1,7 +1,7 @@
zsh/secret:aa79361563a31575b8acba30268c6ba773f6e941655ab9f4c8e3452e13369977
mail/mbsyncrc:65eec91b162f829575c2cc4b2428faa90eb71f3f79ba779bcfe70712f161cabe
mail/msmtp/config:529c5ae169a81f528ece6356c2bfb23f20af93619386aa018f28fab9505271ec
misc/spotifyd.conf:2365689856e64f966846c0e33b5fc31f3a3a1a571e4e2ca65bebfd660f8e83cf
misc/wakatime.cfg:e306146d45036c38f15aa9a817fc172bdca3c4c9d9ed3c4f6fe1d8d93d783d78
misc/nextcloud:1ee8feae4ac43c1e27178a5114374ff0afed84a1fd558a12d91e5409f77efef1
misc/calcurse/caldav/config:15d288e4edcbb85da765080fcdc7d25815cf2e22854002af5ea5ca2b4c4c7955
config/msmtp/config:529c5ae169a81f528ece6356c2bfb23f20af93619386aa018f28fab9505271ec
config/isync/mbsyncrc:65eec91b162f829575c2cc4b2428faa90eb71f3f79ba779bcfe70712f161cabe
config/calcurse/caldav/config:15d288e4edcbb85da765080fcdc7d25815cf2e22854002af5ea5ca2b4c4c7955
config/wakatime/wakatime.cfg:e306146d45036c38f15aa9a817fc172bdca3c4c9d9ed3c4f6fe1d8d93d783d78
config/zsh/secret:6a6b4e0d168adcfbbf31c969598c6897d6637efebc3ed3b34e1e0a5e0afed9af
config/nextcloud/nextcloud:1ee8feae4ac43c1e27178a5114374ff0afed84a1fd558a12d91e5409f77efef1
config/spotifyd/spotifyd.conf:2365689856e64f966846c0e33b5fc31f3a3a1a571e4e2ca65bebfd660f8e83cf

+ 1
- 1
arch-setup/fetch_keys.sh View File

@ -15,7 +15,7 @@ sudo chmod +x /usr/bin/jsteg
sudo wget -O /usr/bin/slink https://minio.yigitcolakoglu.com/dotfiles/slink-linux-amd64 > /dev/null 2> /dev/null
sudo chmod +x /usr/bin/slink
~/.scripts/jsteg reveal $loc > /tmp/out.zip.gpg
~/.local/share/scripts/jsteg reveal $loc > /tmp/out.zip.gpg
echo "Please enter your passphrase: "
gpg -d /tmp/out.zip.gpg > /tmp/out.zip


+ 1
- 0
browser/startpage/package-lock.json View File

@ -5,6 +5,7 @@
"requires": true,
"packages": {
"": {
"name": "pomme-page",
"version": "0.2.0",
"license": "MIT",
"devDependencies": {


misc/BetterDiscord/.gitignore → config/BetterDiscord/.gitignore View File


misc/BetterDiscord/plugins/.gitignore → config/BetterDiscord/plugins/.gitignore View File


misc/BetterDiscord/plugins/BetterCodeblocks.config.json → config/BetterDiscord/plugins/BetterCodeblocks.config.json View File


misc/BetterDiscord/plugins/BetterCodeblocks.plugin.js → config/BetterDiscord/plugins/BetterCodeblocks.plugin.js View File


misc/BetterDiscord/plugins/GameActivityToggle.plugin.js → config/BetterDiscord/plugins/GameActivityToggle.plugin.js View File


misc/BetterDiscord/plugins/ZeresPluginLibrary.config.json → config/BetterDiscord/plugins/ZeresPluginLibrary.config.json View File


misc/BetterDiscord/themes/ClearVision_v6.theme.css → config/BetterDiscord/themes/ClearVision_v6.theme.css View File


misc/BetterDiscord/themes/DarkDiscord.theme.css → config/BetterDiscord/themes/DarkDiscord.theme.css View File


misc/BetterDiscord/themes/Material-Discord.theme.css → config/BetterDiscord/themes/Material-Discord.theme.css View File


xorg/Xresources → config/X11/Xresources View File


xorg/xinitrc → config/X11/xinitrc View File


zsh/antibody/p10k.zsh → config/antibody/p10k.zsh View File


zsh/antibody/zsh_plugins.txt → config/antibody/zsh_plugins.txt View File


misc/calcurse/.gitignore → config/calcurse/.gitignore View File


BIN
config/calcurse/caldav/config.secret View File


misc/calcurse/conf → config/calcurse/conf View File


misc/calcurse/keys → config/calcurse/keys View File


misc/dunst/dunstrc → config/dunst/dunstrc View File


misc/dunst/not.svg → config/dunst/not.svg View File


misc/dunst/notif.png → config/dunst/notif.png View File


+ 18
- 0
config/gtk-2.0/gtkrc View File

@ -0,0 +1,18 @@
# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
include "/home/yigit/.gtkrc-2.0.mine"
gtk-theme-name="material-ocean"
gtk-icon-theme-name="Tela-dark"
gtk-font-name="Sans 10"
gtk-cursor-theme-name="Adwaita"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintfull"

theming/gtk-3.0/bookmarks → config/gtk-3.0/bookmarks View File


theming/gtk-3.0/settings.ini → config/gtk-3.0/settings.ini View File


theming/gtk-4.0/settings.ini → config/gtk-4.0/settings.ini View File


misc/htop/htoprc → config/htop/htoprc View File


BIN
config/isync/mbsyncrc.secret View File


misc/lf/diricons → config/lf/diricons View File


+ 256
- 0
config/lf/lfrc View File

@ -0,0 +1,256 @@
# Basic Settings
set previewer lf-ueberzug-previewer
set cleaner lf-ueberzug-cleaner
set preview true
set hidden true
set drawbox true
set icons true
set ignorecase true
# Custom Functions
cmd open ${{
case $(file --mime-type "$f" -bL) in
text/*|application/json) $EDITOR "$f";;
*) xdg-open "$f" ;;
esac
}}
cmd mkdir ${{
printf "Directory Name: "
read ans
mkdir $ans
cd $and
}}
cmd mkfile ${{
printf "File Name: "
read ans
$EDITOR $ans
}}
cmd chmod ${{
printf "Mode Bits: "
read ans
for file in "$fx"
do
chmod $ans $file
done
lf -remote 'send reload'
}}
cmd sudomkfile ${{
printf "File Name: "
read ans
sudo $EDITOR $ans
}}
cmd setwallpaper %cp "$f" ~/.dotfiles/backgrounds/wall.png && xwallpaper --zoom "$f"
cmd fzf_jump ${{
res="$(find . -maxdepth 3 | fzf --reverse --header='Jump to location')"
if [ -f "$res" ]; then
cmd="select"
elif [ -d "$res" ]; then
cmd="cd"
fi
lf -remote "send $id $cmd \"$res\""
}}
cmd broot_jump ${{
f=$(mktemp)
res="$(broot --outcmd $f && cat $f | sed 's/cd //')"
rm -f "$f"
if [ -f "$res" ]; then
cmd="select"
elif [ -d "$res" ]; then
cmd="cd"
fi
lf -remote "send $id $cmd \"$res\""
}}
cmd open_config ${{
$EDITOR $(bookmenu -b ~/.config/bookmenu/configs -f fzf -o)
}}
cmd dragon %dragon-drag-and-drop -a -x $fx
cmd dragon-stay %dragon-drag-and-drop -a $fx
cmd dragon-individual %dragon-drag-and-drop $fx
cmd cpdragon %cpdragon
cmd mvdragon %mvdragon
cmd dlfile %dlfile
# Archive bindings
cmd unarchive ${{
case "$f" in
*.zip) unzip "$f" ;;
*.tar.gz) tar -xzvf "$f" ;;
*.tar.bz2) tar -xjvf "$f" ;;
*.tar) tar -xvf "$f" ;;
*) echo "Unsupported format" ;;
esac
}}
cmd zip %zip -r "$f" "$f"
cmd tar %tar cvf "$f.tar" "$f"
cmd targz %tar cvzf "$f.tar.gz" "$f"
cmd tarbz2 %tar cjvf "$f.tar.bz2" "$f"
# Trash cli bindings
cmd trash ${{
files=$(printf "$fx" | tr '\n' ';')
while [ "$files" ]; do
# extract the substring from start of string up to delimiter.
# this is the first "element" of the string.
file=${files%%;*}
trash-put "$(basename "$file")"
# if there's only one element left, set `files` to an empty string.
# this causes us to exit this `while` loop.
# else, we delete the first "element" of the string from files, and move onto the next.
if [ "$files" = "$file" ]; then
files=''
else
files="${files#*;}"
fi
done
}}
cmd clear_trash %trash-empty
cmd restore_trash ${{
trash-restore
}}
cmd stripspace %stripspace "$f"
# Bindings
# Remove some defaults
map m
map o
map n
map "'"
map '"'
map d
map c
map e
map f
# File Openers
map ee $$EDITOR "$f"
map u $view "$f"
# Archive Mappings
map az zip
map at tar
map ag targz
map ab targz
map au unarchive
# Trash Mappings
map dd trash
map tc clear_trash
map tr restore_trash
# Broot Mapping
map f broot_jump
# Dragon Mapping
map dr dragon
map ds dragon-stay
map di dragon-individual
map dm mvdragon
map dc cpdragon
map dl dlfile
map ss stripspace
# Basic Functions
map . set hidden!
map DD delete
map p paste
map x cut
map y copy
map <enter> open
map mf mkfile
map mr sudomkfile
map md mkdir
map ms $mkscript
map ch chmod
map bg setwallpaper
map o open_config
map br $vimv $fx
map r rename
map H top
map L bottom
map R reload
map C clear
map U unselect
# Movement
map gtr cd ~/.local/share/Trash/files
map gus cd /run/media/brodie
map gv. cd ~/videos
map gva cd ~/videos/anime
map gy. cd ~/videos/youtube
map gyt cd ~/videos/youtube/ToUpload
map gyu cd ~/videos/youtube/Uploaded
map gya cd ~/videos/youtube/asset
map go. cd ~/videos/podcast
map got cd ~/videos/podcast/ToUpload
map gou cd ~/videos/podcast/Uploaded
map gp. cd ~/pictures
map gpm cd ~/pictures/mpvscreenshots
map gpa cd ~/pictures/Anime
map gps cd ~/pictures/screenshots
map gw. cd ~/pictures/Wallpapers
map gww cd ~/pictures/Wallpapers/Wallpapers
map gwm cd ~/pictures/Wallpapers/MobileWallpapers
map gt. cd ~/documents/Textbooks
map gt1 cd ~/documents/Textbooks/1stYear
map gt2 cd ~/documents/Textbooks/2ndYear
map gt3 cd ~/documents/Textbooks/3rdYear
map gu3 cd ~/documents/Uni/3rdYear
map gd cd ~/documents
map gD cd ~/downloads
map ge cd ~/desktop
map gs. cd ~/scripts
map gsl cd ~/scripts/lf
map gsa cd ~/scripts/alsa
map gsi cd ~/scripts/i3
map gse cd ~/scripts/lemonbar
map gsp cd ~/scripts/polybar
map gsb cd ~/scripts/bspwm
map gsu cd ~/scripts/pulse
map gdt cd ~/scripts/transmission
map gr. cd ~/repos
map grb cd ~/repos/bookmenu
map grf cd ~/repos/cleanfullscreen
map grm cd ~/repos/dmenu
map grd cd ~/repos/dotfiles
map gri cd ~/repos/init
map grk cd ~/repos/kanban-board
map grl cd ~/repos/lbryurlconvert
map grP cd ~/repos/PerlProjects
map grr cd ~/repos/reading-list
map grs cd ~/repos/st
map grw cd ~/repos/website
map gc cd ~/.config
map gC cd ~/.local/share/cell
map gl cd ~/.local
map gE cd /etc
map gU. cd /usr
map gUs cd /usr/share
map \;j cd ~

misc/mimeapps.list → config/mimeapps.list View File


mail/msmtp/.gitignore → config/msmtp/.gitignore View File


BIN
config/msmtp/config.secret View File


mail/mutt/.mailsynclastrun → config/mutt/.mailsynclastrun View File


mail/mutt/accounts/1-yigitcolakoglu@hotmail.com.muttrc → config/mutt/accounts/1-yigitcolakoglu@hotmail.com.muttrc View File


mail/mutt/accounts/1-yigitcolakoglu@hotmail.com.sig → config/mutt/accounts/1-yigitcolakoglu@hotmail.com.sig View File


mail/mutt/colors.muttrc → config/mutt/colors.muttrc View File


mail/mutt/keys.muttrc → config/mutt/keys.muttrc View File


mail/mutt/mailcap → config/mutt/mailcap View File


mail/mutt/muttrc → config/mutt/muttrc View File


misc/neofetch/ascii.txt → config/neofetch/ascii.txt View File


misc/neofetch/config.conf → config/neofetch/config.conf View File


BIN
config/nextcloud/nextcloud.secret View File


+ 14
- 0
config/notmuch/notmuchrc View File

@ -0,0 +1,14 @@
[database]
path=/home/yigit/.local/share/mail
[user]
name=Yigit Colakoglu
primary_email=yigitcolakoglu@hotmail.com
[new]
tags=unread;inbox;
ignore=.mbsyncstate;.uidvalidity
[search]
exclude_tags=deleted;spam;
[maildir]
synchronize_flags=true
[crypto]
gpg_path=gpg

theming/qt5ct/colors/Material Ocean.conf → config/qt5ct/colors/Material Ocean.conf View File


theming/qt5ct/qt5ct.conf → config/qt5ct/qt5ct.conf View File


misc/ranger/commands.py → config/ranger/commands.py View File


misc/ranger/plugins/.gitignore → config/ranger/plugins/.gitignore View File


misc/ranger/plugins/__init__.py → config/ranger/plugins/__init__.py View File


misc/ranger/plugins/chrome_chooser.py → config/ranger/plugins/chrome_chooser.py View File


misc/ranger/plugins/compress.py → config/ranger/plugins/compress.py View File


misc/ranger/plugins/decrypt.py → config/ranger/plugins/decrypt.py View File


misc/ranger/plugins/devicons → config/ranger/plugins/devicons View File


misc/ranger/plugins/encrypt.py → config/ranger/plugins/encrypt.py View File


misc/ranger/plugins/extract.py → config/ranger/plugins/extract.py View File


misc/ranger/plugins/zjumper_ranger.py → config/ranger/plugins/zjumper_ranger.py View File


misc/ranger/rc.conf → config/ranger/rc.conf View File


misc/ranger/scope.sh → config/ranger/scope.sh View File


BIN
config/spotifyd/spotifyd.conf.secret View File


misc/tmate.conf → config/tmate/tmate.conf View File


tmux/tmux.conf → config/tmux/tmux.conf View File


misc/vdirsyncer/config → config/vdirsyncer/config View File


vim/vimrc → config/vim/vimrc View File


+ 9
- 0
config/wakatime/.wakatime.cfg View File

@ -0,0 +1,9 @@
[settings]
debug = false
hidefilenames = false
ignore =
COMMIT_EDITMSG$
PULLREQ_EDITMSG$
MERGE_MSG$
TAG_EDITMSG$
api_key=cac8019b-ec8e-472e-8fc1-7adad9544e68

+ 3
- 0
config/wakatime/.wakatime.data View File

@ -0,0 +1,3 @@
1616884495
1616884495
/home/yigit/.dotfiles/.git/COMMIT_EDITMSG

BIN
config/wakatime/.wakatime.db View File


scripts/open_url → config/wakatime/.wakatime.log View File


BIN
config/wakatime/wakatime.cfg.secret View File


+ 137
- 0
config/wgetrc View File

@ -0,0 +1,137 @@
###
### Sample Wget initialization file .wgetrc
###
## You can use this file to change the default behaviour of wget or to
## avoid having to type many many command-line options. This file does
## not contain a comprehensive list of commands -- look at the manual
## to find out what you can put into this file. You can find this here:
## $ info wget.info 'Startup File'
## Or online here:
## https://www.gnu.org/software/wget/manual/wget.html#Startup-File
##
## Wget initialization file can reside in /usr/local/etc/wgetrc
## (global, for all users) or $HOME/.wgetrc (for a single user).
##
## To use the settings in this file, you will have to uncomment them,
## as well as change them, in most cases, as the values on the
## commented-out lines are the default values (e.g. "off").
##
## Command are case-, underscore- and minus-insensitive.
## For example ftp_proxy, ftp-proxy and ftpproxy are the same.
##
## Global settings (useful for setting up in /usr/local/etc/wgetrc).
## Think well before you change them, since they may reduce wget's
## functionality, and make it behave contrary to the documentation:
##
# You can set retrieve quota for beginners by specifying a value
# optionally followed by 'K' (kilobytes) or 'M' (megabytes). The
# default quota is unlimited.
#quota = inf
# You can lower (or raise) the default number of retries when
# downloading a file (default is 20).
#tries = 20
# Lowering the maximum depth of the recursive retrieval is handy to
# prevent newbies from going too "deep" when they unwittingly start
# the recursive retrieval. The default is 5.
#reclevel = 5
# By default Wget uses "passive FTP" transfer where the client
# initiates the data connection to the server rather than the other
# way around. That is required on systems behind NAT where the client
# computer cannot be easily reached from the Internet. However, some
# firewalls software explicitly supports active FTP and in fact has
# problems supporting passive transfer. If you are in such
# environment, use "passive_ftp = off" to revert to active FTP.
#passive_ftp = off
# The "wait" command below makes Wget wait between every connection.
# If, instead, you want Wget to wait only between retries of failed
# downloads, set waitretry to maximum number of seconds to wait (Wget
# will use "linear backoff", waiting 1 second after the first failure
# on a file, 2 seconds after the second failure, etc. up to this max).
#waitretry = 10
##
## Local settings (for a user to set in his $HOME/.wgetrc). It is
## *highly* undesirable to put these settings in the global file, since
## they are potentially dangerous to "normal" users.
##
## Even when setting up your own ~/.wgetrc, you should know what you
## are doing before doing so.
##
# Set this to on to use timestamping by default:
#timestamping = off
# It is a good idea to make Wget send your email address in a `From:'
# header with your request (so that server administrators can contact
# you in case of errors). Wget does *not* send `From:' by default.
#header = From: Your Name <username@site.domain>
# You can set up other headers, like Accept-Language. Accept-Language
# is *not* sent by default.
#header = Accept-Language: en
# You can set the default proxies for Wget to use for http, https, and ftp.
# They will override the value in the environment.
#https_proxy = http://proxy.yoyodyne.com:18023/
#http_proxy = http://proxy.yoyodyne.com:18023/
#ftp_proxy = http://proxy.yoyodyne.com:18023/
# If you do not want to use proxy at all, set this to off.
#use_proxy = on
# You can customize the retrieval outlook. Valid options are default,
# binary, mega and micro.
#dot_style = default
# Setting this to off makes Wget not download /robots.txt. Be sure to
# know *exactly* what /robots.txt is and how it is used before changing
# the default!
#robots = on
# It can be useful to make Wget wait between connections. Set this to
# the number of seconds you want Wget to wait.
#wait = 0
# You can force creating directory structure, even if a single is being
# retrieved, by setting this to on.
#dirstruct = off
# You can turn on recursive retrieving by default (don't do this if
# you are not sure you know what it means) by setting this to on.
#recursive = off
# To always back up file X as X.orig before converting its links (due
# to -k / --convert-links / convert_links = on having been specified),
# set this variable to on:
#backup_converted = off
# To have Wget follow FTP links from HTML files by default, set this
# to on:
#follow_ftp = off
# To try ipv6 addresses first:
#prefer-family = IPv6
# Set default IRI support state
#iri = off
# Force the default system encoding
#localencoding = UTF-8
# Force the default remote server encoding
#remoteencoding = UTF-8
# Turn on to prevent following non-HTTPS links when in recursive mode
#httpsonly = off
# Tune HTTPS security (auto, SSLv2, SSLv3, TLSv1, PFS)
#secureprotocol = auto

misc/zathura/a → config/zathura/a View File


misc/zathura/zathurarc → config/zathura/zathurarc View File


+ 2019
- 0
config/zsh/.zcompdump
File diff suppressed because it is too large
View File


zsh/zshrc → config/zsh/.zshrc View File


zsh/aliases → config/zsh/aliases View File


zsh/cmds → config/zsh/cmds View File


zsh/completions/_gcloud → config/zsh/completions/_gcloud View File


zsh/completions/_git → config/zsh/completions/_git View File


zsh/completions/_spt → config/zsh/completions/_spt View File


zsh/completions/_tmuxinator → config/zsh/completions/_tmuxinator View File


zsh/completions/git-completion.bash → config/zsh/completions/git-completion.bash View File


misc/fzf.zsh → config/zsh/fzf.zsh View File


zsh/profile → config/zsh/profile View File


BIN
config/zsh/secret.secret View File


+ 0
- 2
fonts/.gitignore View File

@ -1,2 +0,0 @@
*.otf
*.ttf

+ 74
- 135
install.sh View File

@ -2,8 +2,14 @@
username=$(whoami)
# Configuring for your username
mvie(){
if [ -e "$1" ];then
rm -rf "$2"
mv "$1" "$2"
fi
}
# Configuring for your username
if [ ! "$username" = "yigit" ]; then
find /home/$username/.dotfiles -type f | xargs sed -i "s/\/home\/yigit/\/home\/$username/g"
fi
@ -16,169 +22,103 @@ yay -S --noconfirm --needed $(cat ~/.dotfiles/arch-setup/AUR.txt)
# Initial cleanup
echo "Backing up your previous dotfiles to ~/.dotfiles_backup"
mkdir -p ~/.local/share
mkdir -p ~/.dotfiles_backup
mvie ~/.profile ~/.dotfiles_backup/profile
ln -s ~/.dotfiles/profile ~/.profile
# Config
mkdir -p ~/.config
mkdir -p ~/.dotfiles_backup/.config
rsync --remove-source-files -avzh --ignore-errors \
~/.completions \
~/.aliases \
~/.cmds \
~/.zshrc \
~/.Xresources \
~/.xmodmap \
~/.xinitrc \
~/.tmux.conf \
~/.surf \
~/.scripts \
~/.keyboard \
~/.fzf.zsh \
~/.themes \
~/.vim \
~/.vimrc \
~/.dotfiles_backup 2> /dev/null > /dev/null
rsync --remove-source-files -avzh --ignore-errors \
~/.config/htop \
~/.config/.profile \
~/.config/.nvim \
~/.config/systemd \
~/.config/termite \
~/.config/zathura \
~/.config/dunst \
~/.config/gtk-4.0 \
~/.config/gtk-3.0 \
~/.config/gtk-2.0 \
~/.config/antibody \
~/.config/suckless \
~/.config/neofetch \
~/.dotfiles_backup/.config 2> /dev/null > /dev/null
rm -rf \
~/.completions \
~/.aliases \
~/.cmds \
~/.zshrc \
~/.Xresources \
~/.xmodmap \
~/.xinitrc \
~/.tmux.conf \
~/.surf \
~/.scripts \
~/.keyboard \
~/.fzf.zsh \
~/.themes \
~/.vim \
~/.vimrc \
~/.config/htop \
~/.config/.profile \
~/.config/systemd \
~/.config/termite \
~/.config/zathura \
~/.config/neofetch \
~/.config/dunst \
~/.config/gtk-4.0 \
~/.config/gtk-3.0 \
~/.config/gtk-2.0 \
~/.config/antibody \
~/.config/suckless
# Vim
ln -s ~/.dotfiles/vim/vimrc ~/.vimrc
ln -s ~/.dotfiles/vim/vim ~/.vim
ln -s ~/.dotfiles/vim/nvim ~/.config/nvim
# GTK
ln -s ~/.dotfiles/theming/themes ~/.themes
ln -s ~/.dotfiles/theming/qt5ct ~/.config/qt5ct
ln -s ~/.dotfiles/theming/gtkrc-2.0 ~/.gtkrc-2.0
ln -s ~/.dotfiles/theming/gtk-3.0 ~/.config/gtk-2.0
ln -s ~/.dotfiles/theming/gtk-3.0 ~/.config/gtk-3.0
ln -s ~/.dotfiles/theming/gtk-4.0 ~/.config/gtk-4.0
~/.dotfiles/theming/Tela-icon-theme/install.sh
# Miscellaneous
ln -s ~/.dotfiles/misc/dunst ~/.config/dunst
ln -s ~/.dotfiles/misc/zathura ~/.config/zathura
ln -s ~/.dotfiles/misc/termite/ ~/.config/termite
ln -s ~/.dotfiles/misc/vdirsyncer ~/.vdirsyncer
ln -s ~/.dotfiles/misc/systemd ~/.config/systemd
ln -s ~/.dotfiles/misc/ranger ~/.config/ranger
ln -s ~/.dotfiles/misc/lf ~/.config/lf
ln -s ~/.dotfiles/misc/neofetch ~/.config/neofetch
ln -s ~/.dotfiles/misc/profile ~/.config/.profile
ln -s ~/.dotfiles/misc/htop ~/.config/htop
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/misc/wakatime.cfg ~/.wakatime.cfg
ln -s ~/.dotfiles/misc/BetterDiscord ~/.config/BetterDiscord
ln -s ~/.dotfiles/misc/nextcloud ~/.nextcloud
ln -s ~/.dotfiles/misc/calcurse ~/.calcurse
mkdir -p ~/.config/spotifyd
ln -s ~/.dotfiles/misc/spotifyd.conf ~/.config/spotifyd/spotifyd.conf
ln -s ~/.dotfiles/fonts ~/.fonts
mkdir -p ~/.dotfiles_backup/config
for d in ~/.dotfiles/config/* ; do
filename=$(echo "$d" | rev | cut -d"/" -f 1 | rev)
echo $filename
mvie ~/.config/$filename ~/.dotfiles_backup/config
ln -s $d ~/.config/
done
prev=$(pwd)
# Config
mkdir -p ~/.local/share
mkdir -p ~/.dotfiles_backup/local/share
mvie ~/.themes ~/.dotfiles_backup/themes
ln -s ~/.dotfiles/local/share/themes ~/.themes
mvie ~/.icons ~/.dotfiles_backup/icons
ln -s ~/.dotfiles/local/share/icons ~/.icons
~/.dotfiles/local/share/icons/Tela-Icons/install.sh
for d in ~/.dotfiles/local/share/* ; do
filename=$(echo "$d" | rev | cut -d"/" -f 1 | rev)
echo $filename
mvie ~/.local/share/$filename ~/.dotfiles_backup/local/share
ln -s $d ~/.local/share
done
mvie ~/.local/backgrounds ~/.dotfiles_backup/local/backgrounds
ln -s ~/.dotfiles/local/backgrounds ~/.local/backgrounds
cd ~/.dotfiles/fonts
prev=$(pwd)
cd ~/.local/share/fonts
wget https://minio.yigitcolakoglu.com/dotfiles/Caskaydia%20Cove%20Regular%20Nerd%20Font%20Complete.otf > /dev/null 2> /dev/null
wget https://minio.yigitcolakoglu.com/dotfiles/Caskaydia%20Cove%20Regular%20Nerd%20Font%20Complete%20Mono.otf > /dev/null 2> /dev/null
wget https://minio.yigitcolakoglu.com/dotfiles/Caskaydia%20Cove%20Bold%20Nerd%20Font%20Complete.otf > /dev/null 2> /dev/null
wget https://minio.yigitcolakoglu.com/dotfiles/Caskaydia%20Cove%20Bold%20Nerd%20Font%20Complete%20Mono.otf > /dev/null 2> /dev/null
cd ~/.dotfiles/backgrounds
cd ~/.local/backgrounds
wget https://minio.yigitcolakoglu.com/dotfiles/lock.jpg > /dev/null 2> /dev/null
wget https://minio.yigitcolakoglu.com/dotfiles/wallpaper-mountain.jpg > /dev/null 2> /dev/null
wget https://minio.yigitcolakoglu.com/dotfiles/wallpaper-sea.jpg > /dev/null 2> /dev/null
wget https://minio.yigitcolakoglu.com/dotfiles/wallpaper-shack.jpg > /dev/null 2> /dev/null
cd $prev
fc-cache
# Applications
for d in ~/.dotfiles/applications/* ; do
mkdir -p ~/.local/share/applications
mkdir -p ~/.dotfiles_backup/local/share/applications
for d in ~/.dotfiles/local/applications/* ; do
filename=$(echo "$d" | rev | cut -d"/" -f 1 | rev)
mvie ~/.local/share/applications/$filename ~/.dotfiles_backup/local/share/applications
ln -s $d ~/.local/share/applications/
done
# Scripts
ln -s ~/.dotfiles/scripts ~/.scripts
# Suckless
ln -s ~/.dotfiles/suckless ~/.config/suckless
ln -s ~/.dotfiles/suckless/dot_surf ~/.surf
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
# Xorg
ln -s ~/.dotfiles/xorg/xinitrc ~/.xinitrc
ln -s ~/.dotfiles/xorg/xmodmap ~/.xmodmap
ln -s ~/.dotfiles/xorg/Xresources ~/.Xresources
# Zsh
ln -s ~/.dotfiles/zsh/antibody ~/.config/antibody
ln -s ~/.dotfiles/zsh/zshrc ~/.zshrc
ln -s ~/.dotfiles/zsh/secret ~/.zsh_secret
ln -s ~/.dotfiles/zsh/cmds ~/.cmds
ln -s ~/.dotfiles/zsh/aliases ~/.aliases
ln -s ~/.dotfiles/zsh/completions ~/.completions
ln -s ~/.dotfiles/zsh/profile ~/.profile
# Mail
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$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 "COMMAND brave" > ~/.urlview
echo "*/8 * * * * /home/$username/.scripts/mailsync" >> /var/spool/cron/yigit
echo "*/15 * * * * /home/$username/.scripts/nextcloud-sync" >> /var/spool/cron/yigit
# Create necessary folders
source ~/.profile
mkdir -p "$CARGO_HOME"
mkdir -p "$GOPATH"
mkdir -p "$ANDROID_HOME"
mkdir -p "$FLUTTER_HOME"
mkdir -p "$LEIN_HOME"
mkdir -p "$NPM_CONFIG_USERCONFIG"
mkdir -p "$NVM_DIR"
mkdir -p "$GNUPGHOME"
mkdir -p "$MBSYNCRC"
mkdir -p "$VIMINIT"
mkdir -p "$MYSQL_HISTFILE"
mkdir -p "$TASKDATA"
mkdir -p "$TASKRC"
mkdir -p "$WEECHAT_HOME"
mkdir -p "$LESSKEY"
mkdir -p "$LESSHISTFILE"
mkdir -p "$NOTMUCH_CONFIG"
mkdir -p "$NMBGIT"
mkdir -p "$JUPYTER_CONFIG_DIR"
mkdir -p "$PYLINTHOME"
touch "$_Z_DATA"
echo "*/8 * * * * /home/$username/.local/share/scripts/mailsync" >> /var/spool/cron/yigit
echo "*/15 * * * * /home/$username/.local/share/scripts/scripts/nextcloud-sync" >> /var/spool/cron/yigit
echo "*/30 * * * * calcurse-caldav" >> /var/spool/cron/yigit
echo "*/30 * * * * vdirsyncer sync" >> /var/spool/cron/yigit
@ -206,7 +146,6 @@ cd $prev
# Install vim and tmux plugins
mkdir -p ~/.tmux/plugins
vim -c ':PlugInstall'
betterlockscreen -u ~/.dotfiles/backgrounds/lock.jpg
# Install mconnect
git clone https://github.com/theFr1nge/mconnect.git /tmp/mconnect


applications/neomutt.desktop → local/applications/neomutt.desktop View File


applications/ranger.desktop → local/applications/ranger.desktop View File


applications/st.desktop → local/applications/st.desktop View File


applications/vim.desktop → local/applications/vim.desktop View File


backgrounds/.gitignore → local/backgrounds/.gitignore View File


+ 5
- 0
local/share/fonts/.gitignore View File

@ -0,0 +1,5 @@
*.otf
*.ttf
*.otf*
*.ttf*

+ 2
- 0
local/share/icons/.gitignore View File

@ -0,0 +1,2 @@
Tela
Tela-dark

theming/Tela-icon-theme → local/share/icons/Tela-Icons View File


scripts/autotrim → local/share/scripts/autotrim View File


scripts/brave-start → local/share/scripts/brave-start View File


scripts/convertToHtmlMultipart → local/share/scripts/convertToHtmlMultipart View File


scripts/daily-update → local/share/scripts/daily-update View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save