diff --git a/.gitignore b/.gitignore index 6340dcf4..1f33cf48 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ zsh/secret mail/mbsyncrc mail/msmtp/config misc/spotifyd.conf +misc/wakatime.cfg diff --git a/.gitsecret/paths/mapping.cfg b/.gitsecret/paths/mapping.cfg index 3eb70423..8900a118 100644 --- a/.gitsecret/paths/mapping.cfg +++ b/.gitsecret/paths/mapping.cfg @@ -1,4 +1,5 @@ zsh/secret:63d3fba77f570fbb9e9f999303a2828c4a2d88990836e80ea08a48c48619da22 -mail/mbsyncrc:01f68fec13c3876b2bb7e43b8314e8caca761301acb0818cb25a43b14051061b -mail/msmtp/config:41dcd3d97414cdeb53c3a8acb7966f9c33ad6bc3c0a47d78f3c1484f910db618 -misc/spotifyd.conf: +mail/mbsyncrc:65eec91b162f829575c2cc4b2428faa90eb71f3f79ba779bcfe70712f161cabe +mail/msmtp/config:529c5ae169a81f528ece6356c2bfb23f20af93619386aa018f28fab9505271ec +misc/spotifyd.conf:dd73afe8809498ba3b00ba9aa99e78fb3606867dc4871231880d2ebfd55196a9 +misc/wakatime.cfg:e306146d45036c38f15aa9a817fc172bdca3c4c9d9ed3c4f6fe1d8d93d783d78 diff --git a/arch-setup/AUR.txt b/arch-setup/AUR.txt index 5931b21f..f2268348 100644 --- a/arch-setup/AUR.txt +++ b/arch-setup/AUR.txt @@ -10,7 +10,6 @@ brave-bin canto-next-git checkupdates+aur checkupdates-aur -cndrvcups-lt cordless-bin direnv downgrade @@ -33,49 +32,13 @@ mutt-wizard ncpamixer nerd-fonts-hack notion-app -notion-enhancer -numix-icon-theme-git nvm -pam-gnupg perl-checkupdates-aur perl-www-aur -pipes.sh -plymouth-git -plymouth-theme-cubes-git -plymouth-theme-darth-vader-git -postman-bin -python-click-spinner -python-delorean -qt5-styleplugins -ranger-git -readability-cli -renpy-sdk -rofi-bluetooth-git -ruby-erubis -ruby-xdg -spicetify-cli spotify spotify-tui spotifyd-full-git -sselp -sublime-text-3 -surf -tela-icon-theme -terminal_dimensions-git -termpdf-git -ttf-material-design-icons ttf-symbola -typora -vtop -vue-cli -wallabag-client -wd719x-firmware -whatsapp-nativefier-dark -xbanish-timeout-git -xchat-se xkb-switch -xkblayout-state-git xmenu -yaft -ytfzf-git -zoom +ytfzf diff --git a/arch-setup/nonAUR.txt b/arch-setup/nonAUR.txt index ae40c32f..db41a5f0 100644 --- a/arch-setup/nonAUR.txt +++ b/arch-setup/nonAUR.txt @@ -1,6 +1,5 @@ a52dec aalib -abook accountsservice ack acl @@ -25,11 +24,10 @@ at-spi2-atk at-spi2-core atk atkmm +atool attr audit autoconf -autoconf-archive -autoconf2.13 automake avahi baobab @@ -66,28 +64,19 @@ cantarell-fonts canto-curses capnproto capstone -cbindgen cblas cdparanoia -cheese chmlib chromaprint chrony cinnamon-desktop -clang clipnotify clucene -clutter -clutter-gst -clutter-gtk cmake code -cogl colord -compiler-rt conky coreutils -cpupower cracklib cronie cryptsetup @@ -103,7 +92,6 @@ dbus dbus-glib dbus-python dconf -dejagnu desktop-file-utils device-mapper diffutils @@ -116,28 +104,26 @@ docbook-xml docbook-xsl dosfstools double-conversion -doxygen dunst e2fsprogs efibootmgr efitools efivar electron -electron6 elfutils +elinks enchant -engrampa exempi exfat-utils exiv2 exo expat -expect faac faad2 fakeroot feh ffmpeg +ffmpegthumbnailer fftw figlet file @@ -145,19 +131,17 @@ filesystem findutils firefox-developer-edition flac -fltk +flex fluidsynth fontconfig fontforge foremost freetype2 -frei0r-plugins fribidi fuse-common fuse2 fuse3 fzf -gavl gawk gc gcc @@ -165,8 +149,6 @@ gcc-libs gconf gcr gd -gdb -gdb-common gdbm gdk-pixbuf-xlib gdk-pixbuf2 @@ -193,10 +175,8 @@ glslang glu gmime3 gmp -gn-m85 gnome-autoar gnome-bluetooth -gnome-common gnome-desktop gnome-disk-utility gnome-keyring @@ -205,8 +185,6 @@ gnome-session gnome-settings-daemon gnome-shell gnome-themes-extra -gnome-video-effects -gnu-free-fonts gnupg gnuplot gnutls @@ -214,7 +192,6 @@ go gobject-introspection gobject-introspection-runtime gparted -gperf gpgme gpm gptfdisk @@ -307,6 +284,7 @@ haskell-errors haskell-file-embed haskell-glob haskell-haddock-library +haskell-haddock-library1.9 haskell-hashable haskell-hourglass haskell-hslua @@ -380,10 +358,10 @@ haskell-xml-conduit haskell-xml-types haskell-zip-archive haskell-zlib -hdf5 hexchat hicolor-icon-theme hidapi +highlight hspell htop http-parser @@ -391,17 +369,14 @@ hunspell hwids hwloc hyphen -i7z iana-etc icu ijs imagemagick -imake imlib2 inetutils inkscape intel-ucode -intltool iproute2 iptables iputils @@ -409,7 +384,6 @@ ipython irssi iso-codes isync -itstool jack jansson jasper @@ -452,19 +426,7 @@ less lhasa lib32-gcc-libs lib32-glibc -lib32-icu -lib32-libjpeg-turbo -lib32-libpng12 -lib32-libtiff -lib32-libxml2 -lib32-ncurses -lib32-popt -lib32-readline -lib32-xz -lib32-zlib -lib32-zstd libabw -libaec libaio libarchive libass @@ -571,7 +533,7 @@ liblrdf libluv libmad libmatroska -libmaxminddb +libmediainfo libmfx libmicrodns libmicrohttpd @@ -618,7 +580,6 @@ libpipeline libplacebo libplist libpng -libpng12 libproxy libpsl libpulse @@ -665,7 +626,6 @@ libunrar libunwind libupnp libusb -libusb-compat libusbmuxd libutempter libuv @@ -722,6 +682,7 @@ libxvmc libxxf86vm libyaml libyuv +libzen libzip libzmf licenses @@ -733,17 +694,15 @@ linux linux-api-headers linux-firmware linux-headers -lld -llvm llvm-libs lm_sensors lmdb lpsolve lua +lua51 lua52 lua53 luajit -luit lvm2 lxappearance lz4 @@ -751,7 +710,6 @@ lzo m4 mailcap make -mallard-ducktype man-db mariadb mariadb-clients @@ -760,6 +718,7 @@ mathjax mathjax2 md4c mdadm +mediainfo mesa meson minizip @@ -769,7 +728,6 @@ mkinitcpio-busybox mlocate mobile-broadband-provider-info mono -mozilla-common mpfr mpg123 mpv @@ -779,9 +737,7 @@ mtdev mujs mutter mysql-workbench -nasm ncurses -ncurses5-compat-libs ndctl nemo neofetch @@ -792,14 +748,12 @@ net-tools netpbm nettle networkmanager -newsboat nextcloud-client ngrok ninja nm-connection-editor node-gyp nodejs -notmuch notmuch-runtime noto-fonts noto-fonts-emoji @@ -809,6 +763,7 @@ nspr nss ntfs-3g nuspell +odt2txt oniguruma openal opencore-amr @@ -876,7 +831,6 @@ perl-timedate perl-try-tiny perl-uri perl-www-robotrules -perl-xml-parser perl-yaml-tiny php picom @@ -910,7 +864,6 @@ python-appdirs python-apsw python-argh python-argon2_cffi -python-asn1crypto python-astroid python-async_generator python-attrs @@ -1077,47 +1030,9 @@ python-yaml python-zeroconf python-zipp python2 -python2-appdirs -python2-asn1crypto -python2-backports -python2-cachecontrol -python2-cffi -python2-chardet -python2-colorama -python2-configparser -python2-contextlib2 -python2-cryptography -python2-distlib -python2-distro python2-docutils -python2-enum34 python2-future -python2-html5lib -python2-idna -python2-importlib-metadata -python2-ipaddress -python2-msgpack -python2-ordered-set -python2-packaging -python2-pathlib2 -python2-pep517 -python2-pip -python2-progress -python2-psutil -python2-pycparser python2-pygame-sdl2 -python2-pyopenssl -python2-pyparsing -python2-requests -python2-resolvelib -python2-retrying -python2-scandir -python2-setuptools -python2-six -python2-toml -python2-urllib3 -python2-webencodings -python2-zipp qpdf qt5-base qt5-declarative @@ -1126,7 +1041,6 @@ qt5-imageformats qt5-location qt5-quickcontrols2 qt5-svg -qt5-tools qt5-wayland qt5-webchannel qt5-webengine @@ -1135,6 +1049,7 @@ qt5-x11extras qt5ct qtkeychain-qt5 radare2 +ranger rapidjson raptor rasqal @@ -1155,16 +1070,13 @@ rtkit rtmpdump rubberband ruby -ruby-bundler ruby-hpricot ruby-irb ruby-mustache -ruby-rainbow ruby-rdiscount ruby-rdoc ruby-reline ruby-ronn -ruby-thor rubygems run-parts rust @@ -1191,7 +1103,6 @@ sonic-visualiser sord sound-theme-freedesktop soundtouch -source-highlight spandsp speex speexdsp @@ -1202,7 +1113,6 @@ srt sshfs startup-notification stegoveritas -stfl sudo svt-av1 svt-hevc @@ -1218,11 +1128,9 @@ taglib talloc tar tbb -tcl tcsh tdb telegram-desktop -termite-terminfo texinfo texlive-bibtexextra texlive-bin @@ -1237,7 +1145,6 @@ texlive-pictures texlive-pstricks texlive-publishers texlive-science -thermald thin-provisioning-tools thunar thunderbird @@ -1248,6 +1155,7 @@ tmux tor torbrowser-launcher tracker3 +tre tree tree-sitter tslib @@ -1257,26 +1165,22 @@ ttf-joypixels ttf-liberation ttf-linux-libertine ttf-opensans -turbostat twine twolame tzdata uchardet udisks2 ueberzug -unclutter unibilium unixodbc unrar unzip upower -urlview usbmuxd util-linux util-linux-libs v4l-utils vala -vamp-plugin-sdk vi vid.stab vim-runtime @@ -1286,7 +1190,6 @@ vlc vmaf volume_key vsqlite++ -vte-common vulkan-icd-loader w3m wavpack @@ -1309,7 +1212,6 @@ x265 xapian-core xapp xautolock -xbitmaps xcb-proto xcb-util xcb-util-image @@ -1321,7 +1223,6 @@ xclip xdg-dbus-proxy xdg-utils xf86-input-libinput -xf86-video-amdgpu xf86-video-intel xf86-video-vesa xfconf @@ -1389,9 +1290,6 @@ xxhash xz yajl yarn -yasm -yelp-tools -yelp-xsl youtube-dl zathura zathura-pdf-mupdf @@ -1399,7 +1297,6 @@ zbar zenity zeromq zimg -zip zita-alsa-pcmi zita-resampler zlib diff --git a/arch-setup/plist.sh b/arch-setup/plist.sh index 6c23b570..040eb175 100755 --- a/arch-setup/plist.sh +++ b/arch-setup/plist.sh @@ -1,4 +1,4 @@ #!/bin/bash pacman -Qq | grep -v "$(pacman -Qqm)" | grep -v yay > ~/.dotfiles/arch-setup/nonAUR.txt -pacman -Qqm | grep -v canon | grep -v capt > ~/.dotfiles/arch-setup/AUR.txt +pacman -Qqm | grep -v canon | grep -v capt | grep -v cups> ~/.dotfiles/arch-setup/AUR.txt diff --git a/backgrounds/wallpaper.jpg b/backgrounds/wallpaper-old.jpg similarity index 100% rename from backgrounds/wallpaper.jpg rename to backgrounds/wallpaper-old.jpg diff --git a/firefox/vimium.json b/firefox/vimium.json index 9f14cf5b..d387d42f 100644 --- a/firefox/vimium.json +++ b/firefox/vimium.json @@ -20,7 +20,7 @@ "scrollStepSize": 60, "smoothScroll": true, "grabBackFocus": false, - "searchEngines": "w: https://www.wikipedia.org/w/index.php?title=Special:Search&search=%s Wikipedia\n\n# More examples.\n#\n# (Vimium supports search completion Wikipedia, as\n# above, and for these.)\n#\n# g: https://www.google.com/search?q=%s Google\n# l: https://www.google.com/search?q=%s&btnI I'm feeling lucky...\ny: https://www.youtube.com/results?search_query=%s Youtube\n# gm: https://www.google.com/maps?q=%s Google maps\n# b: https://www.bing.com/search?q=%s Bing\n# d: https://duckduckgo.com/?q=%s DuckDuckGo\n# az: https://www.amazon.com/s/?field-keywords=%s Amazon\n# qw: https://www.qwant.com/?q=%s Qwant", + "searchEngines": "w: https://www.wikipedia.org/w/index.php?title=Special:Search&search=%s Wikipedia\n\n# More examples.\n#\n# (Vimium supports search completion Wikipedia, as\n# above, and for these.)\n#\n# g: https://www.google.com/search?q=%s Google\n# l: https://www.google.com/search?q=%s&btnI I'm feeling lucky...\n# y: https://www.youtube.com/results?search_query=%s Youtube\n# gm: https://www.google.com/maps?q=%s Google maps\n# b: https://www.bing.com/search?q=%s Bing\n# d: https://duckduckgo.com/?q=%s DuckDuckGo\n# az: https://www.amazon.com/s/?field-keywords=%s Amazon\n# qw: https://www.qwant.com/?q=%s Qwant", "searchUrl": "https://www.google.com/search?q=", - "userDefinedLinkHintCss": "#vimiumHintMarkerContainer div.internalVimiumHintMarker, #vimiumHintMarkerContainer div.vimiumHintMarker {\n padding: 3px 4px;\n background: #444;\n border: none;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\n}\n\n#vimiumHintMarkerContainer div span {\n color: #fff;\n text-shadow: none;\n}\n\n#vimiumHintMarkerContainer div > .matchingCharacter {\n opacity: 0.4;\n}\n\n#vimiumHintMarkerContainer div > .matchingCharacter ~ span {\n color: hotpink;\n}\n\n#vomnibar {\n background: #444;\n border: none;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\n animation: show 200ms cubic-bezier(0, 0, 0.2, 1) forwards;\n}\n\n@keyframes show {\n 0% {\n transform: translateY(50px);\n opacity: 0;\n }\n 100% {\n transform: translateY(0);\n opacity: 1;\n }\n}\n\n#vomnibar .vomnibarSearchArea,\n#vomnibar input {\n color: #fff;\n background: transparent;\n border: none;\n}\n\n#vomnibar .vomnibarSearchArea {\n padding: 10px 30px;\n}\n\n#vomnibar input {\n padding: 0;\n}\n\n#vomnibar ul {\n padding: 0;\n background: #444;\n border-top: 1px solid #333;\n}\n\n#vomnibar li {\n padding: 10px;\n border-bottom: 1px solid #333;\n}\n\n#vomnibar li .vomnibarTopHalf,\n#vomnibar li .vomnibarBottomHalf {\n padding: 3px 0;\n}\n\n#vomnibar li .vomnibarSource {\n color: #aaa;\n}\n\n#vomnibar li em,\n#vomnibar li .vomnibarTitle {\n color: #aaa;\n}\n\n#vomnibar li .vomnibarUrl {\n color: #777;\n}\n\n#vomnibar li .vomnibarMatch {\n color: hotpink;\n font-weight: normal;\n}\n\n#vomnibar li .vomnibarTitle .vomnibarMatch {\n color: hotpink;\n}\n\n#vomnibar li.vomnibarSelected {\n background-color: #333;\n}\n\ndiv.vimiumHUD {\n background: #444;\n border: none;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\n}\n\ndiv.vimiumHUD span#hud-find-input,\ndiv.vimiumHUD .vimiumHUDSearchAreaInner {\n color: #fff;\n}\n\ndiv.vimiumHUD .hud-find {\n background-color: transparent;\n border: none;\n}\n\ndiv.vimiumHUD .vimiumHUDSearchArea {\n background-color: transparent;\n}" + "userDefinedLinkHintCss": "/*****************************************************************************/\n/* THEMES */\n/*****************************************************************************/\n\n:root {\n --font-size: 13;\n --font-weight: normal;\n --font: tewi, Source Code Pro, sans;\n --padding: 2px;\n --shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\n\n /***********************************/\n /* Uncomment Theme to Select */\n /***********************************/\n\n /* ---------- Tomorrow Night ---------- */\n --fg: #C5C8C6;\n --bg: #282A2E;\n --border: #373B41;\n --main-fg: #81A2BE;\n --accent-fg: #52C196;\n\n /* Unused Alternate Colors */\n /* --bg-dark: #1D1F21; */\n /* --cyan: #4CB3BC; */\n /* --purple: #AC7BBA; */\n /* --red: #CC6666; */\n /* --yellow: #CBCA77; */\n\n /* ---------- NORD ---------- */\n /* -- DELETE LINE TO ENABLE THEME\n --fg: #E5E9F0;\n --bg: #2E3440;\n --border: #3B4252;\n --main-fg: #88C0D0;\n --accent-fg: #A3BE8C;\n -- DELETE LINE TO ENABLE THEME */\n\n /* Unused Alternate Colors */\n /* --bg-dark: #4C566A; */\n /* --main-fg-alt: #5E81AC; */\n /* --orange: #D08770; */\n /* --red: #BF616A; */\n /* --yellow: #EBCB8B; */\n\n /* ---------- DOOM ONE ---------- */\n /* -- DELETE LINE TO ENABLE THEME\n --fg: #51AFEF;\n --bg: #2E3440;\n --border: #282C34;\n --main-fg: #51AFEF;\n --accent-fg: #98be65;\n -- DELETE LINE TO ENABLE THEME */\n\n /* Unused Alternate Colors */\n /* --bg-dark: #21242B; */\n /* --main-fg-alt: #2257A0; */\n /* --cyan: #46D9FF; */\n /* --orange: #DA8548; */\n /* --purple: #C678DD; */\n /* --red: #FF6C6B; */\n /* --yellow: #ECBE7B; */\n\n /* ---------- MONOKAI ---------- */\n /* -- DELETE LINE TO ENABLE THEME\n --fg: #F8F8F2;\n --bg: #272822;\n --bg-dark: #1D1E19;\n --border: #2D2E2E;\n --main-fg: #F92660;\n --accent-fg: #E6DB74;\n -- DELETE LINE TO ENABLE THEME */\n\n /* Unused Alternate Colors */\n /* --red: #E74C3C; */\n /* --orange: #FD971F; */\n /* --blue: #268BD2; */\n /* --violet: #9C91E4; */\n /* --cyan: #66D9EF; */\n \n /* ---------- Edge Dark ---------- */\n /* -- DELETE LINE TO ENABLE THEME\n --fg: #c5cdd9;\n --bg: #2c2e34;\n --border: #828a98;\n --main-fg: #6cb6eb;\n --accent-fg: #a0c980;\n -- DELETE LINE TO ENABLE THEME */\n\n /* Unused Alternate Colors */\n /* --bg-dark: #21242f; */\n /* --cyan: #5dbbc1; */\n /* --purple: #d38aea; */\n /* --red: #ec7279; */\n /* --yellow: #deb974; */\n\n /* ---------- Gruvbox Dark ---------- */\n /* -- DELETE LINE TO ENABLE THEME\n --fg: #ebdbb2;\n --bg: #282828;\n --border: #3c3836;\n --main-fg: #83a598;\n --accent-fg: #b8bb26;\n -- DELETE LINE TO ENABLE THEME */\n\n /* Unused Alternate Colors */\n /*--bg-dark: #1d2021;*/\n /*--cyan: #076678;*/\n /*--purple: #8f3f71;*/\n /*--red: #fb4934;*/\n /*--yellow: #fabd2f;*/\n\n}\n\n/*****************************************************************************/\n/* CSS */\n/*****************************************************************************/\n\n/* -------- HINTS -------- */\n#vimiumHintMarkerContainer div.internalVimiumHintMarker, #vimiumHintMarkerContainer div.vimiumHintMarker {\n background: var(--bg);\n border: 1px solid var(--border);\n box-shadow: var(--shadow);\n padding: 3px 4px;\n}\n\n#vimiumHintMarkerContainer div span {\n color: var(--main-fg);\n font-family: var(--font);\n font-size: var(--font-size);\n font-weight: var(--font-weight);\n text-shadow: none;\n}\n\n#vimiumHintMarkerContainer div > .matchingCharacter {\n opacity: 0.3;\n}\n\n#vimiumHintMarkerContainer div > .matchingCharacter ~ span {\n color: var(--main-fg);\n}\n\n/* -------- VOMNIBAR -------- */\n#vomnibar {\n animation: show 200ms cubic-bezier(0, 0, 0.2, 1) forwards;\n background: var(--bg);\n border: none;\n box-shadow: var(--shadow);\n}\n\n/* Animate Slide in */\n@keyframes show {\n 0% {\n opacity: 0;\n transform: translateY(50px);\n }\n 100% {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n#vomnibar .vomnibarSearchArea,\n#vomnibar input {\n background: transparent;\n border: none;\n box-shadow: none;\n color: var(--fg);\n font-family: var(--font);\n font-size: var(--font-size);\n font-weight: var(--font-weight);\n}\n\n#vomnibar .vomnibarSearchArea {\n padding: var(--padding) 30px;\n}\n\n#vomnibar input {\n padding: var(--padding)}\n\n#vomnibar ul {\n background: var(--bg);\n border-top: 1px solid var(--border);\n margin: 0;\n padding: var(--padding);\n}\n\n#vomnibar li {\n border-bottom: 1px solid var(--border);\n padding: var(--padding);\n}\n\n#vomnibar li .vomnibarTopHalf,\n#vomnibar li .vomnibarBottomHalf {\n padding: var(--padding) 0;\n}\n\n#vomnibar li .vomnibarSource {\n color: var(--main-fg);\n font-family: var(--font);\n font-size: var(--font-size);\n font-weight: var(--font-weight);\n}\n\n#vomnibar li em,\n#vomnibar li .vomnibarTitle {\n color: var(--main-fg);\n font-family: var(--font);\n font-size: var(--font-size);\n font-weight: var(--font-weight);\n}\n\n#vomnibar li .vomnibarUrl {\n color: var(--fg);\n font-family: var(--font);\n font-size: var(--font-size);\n font-weight: var(--font-weight);\n}\n\n#vomnibar li .vomnibarMatch {\n color: var(--accent-fg);\n font-weight: normal;\n}\n\n#vomnibar li .vomnibarTitle .vomnibarMatch {\n color: var(--main-fg);\n}\n\n#vomnibar li.vomnibarSelected {\n background-color: var(--border);\n}\n\n/* -------- HUD -------- */\ndiv.vimiumHUD {\n background: var(--bg);\n border: 1px solid var(--border);\n box-shadow: var(--shadow);\n}\n\ndiv.vimiumHUD span#hud-find-input,\ndiv.vimiumHUD .vimiumHUDSearchAreaInner {\n color: var(--fg);\n font-family: var(--font);\n font-size: var(--font-size);\n font-weight: var(--font-weight);\n}\n\ndiv.vimiumHUD .hud-find {\n background-color: transparent;\n border: none;\n}\n\ndiv.vimiumHUD .vimiumHUDSearchArea {\n background-color: transparent;\n}" } diff --git a/fonts/fonts b/fonts/fonts deleted file mode 120000 index 7a7ff6c7..00000000 --- a/fonts/fonts +++ /dev/null @@ -1 +0,0 @@ -/home/yigit/.dotfiles/fonts \ No newline at end of file diff --git a/gtk/gtk-3.0/bookmarks b/gtk/gtk-3.0/bookmarks index c01a93fb..596973fe 100644 --- a/gtk/gtk-3.0/bookmarks +++ b/gtk/gtk-3.0/bookmarks @@ -1,7 +1,3 @@ -smb://yigitcolakoglu.com;yigitcolakoglu@home.yigitcolakoglu.com/dockerstorage/ dockerstorage on home.yigitcolakoglu.com -file:///home/yigit/Projects Projects -file:///home/yigit/Downloads Downloads -file:///home/yigit/Nextcloud Nextcloud -file:///home/yigit/Pictures Pictures -file:///home/yigit/Documents Documents -file:///home/yigit/Pictures Pictures +file:///home/yigit/Nextcloud +file:///home/yigit/Documents/ +file:///home/yigit/Pictures/ diff --git a/gtk/gtk-4.0/settings.ini b/gtk/gtk-4.0/settings.ini index 7c6461a7..29322c1b 100644 --- a/gtk/gtk-4.0/settings.ini +++ b/gtk/gtk-4.0/settings.ini @@ -1,2 +1,2 @@ [Settings] -gtk-application-prefer-dark-theme=0 +gtk-application-prefer-dark-theme=1 diff --git a/install.sh b/install.sh index eb8fc0e1..ba09d0a8 100755 --- a/install.sh +++ b/install.sh @@ -97,6 +97,7 @@ 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 mkdir -p ~/.config/spotifyd ln -s ~/.dotfiles/misc/spotifyd.conf ~/.config/spotifyd/spotifyd.conf ln -s ~/.dotfiles/fonts ~/.fonts @@ -173,10 +174,11 @@ meson .. ninja sudo ninja install cd $prev +mkdir -p ~/Downloads/mconnect -git clone https://github.com/theFr1nge/bitwarden-dmenu.git /tmp/bwdmenu -cd /tmp/bwdmenu -npm install +sudo git clone https://github.com/theFr1nge/bitwarden-dmenu.git /usr/share/bwdmenu +cd /usr/share/bwdmenu +sudo npm install sudo npm i -g cd $prev diff --git a/mail/mbsyncrc.secret b/mail/mbsyncrc.secret index 8c6b5256..2a06b02a 100644 Binary files a/mail/mbsyncrc.secret and b/mail/mbsyncrc.secret differ diff --git a/mail/msmtp/config.secret b/mail/msmtp/config.secret index 5e5f283e..1a9bd468 100644 Binary files a/mail/msmtp/config.secret and b/mail/msmtp/config.secret differ diff --git a/misc/keyboard b/misc/keyboard index b40d1795..28117584 100755 --- a/misc/keyboard +++ b/misc/keyboard @@ -1,5 +1,5 @@ #!/bin/bash setxkbmap us,tr -variant altgr-intl, -option caps:escape # Set keyboard layout. map CapsLock to Esc -xset r rate 120 40 +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 diff --git a/misc/spotifyd.conf.secret b/misc/spotifyd.conf.secret new file mode 100644 index 00000000..a2332b3c Binary files /dev/null and b/misc/spotifyd.conf.secret differ diff --git a/misc/wakatime.cfg.secret b/misc/wakatime.cfg.secret new file mode 100644 index 00000000..d8d3b9e6 Binary files /dev/null and b/misc/wakatime.cfg.secret differ diff --git a/scripts/bluetooth_battery.py b/scripts/bluetooth_battery.py deleted file mode 100755 index aade63e6..00000000 --- a/scripts/bluetooth_battery.py +++ /dev/null @@ -1,89 +0,0 @@ -#!/usr/bin/env python3 - -""" -A python script to get battery level from Bluetooth headsets -""" - -# License: GPL-3.0 -# Author: @TheWeirdDev -# 29 Sept 2019 - -import errno -import bluetooth -import sys - - -def send(sock, message): - sock.send(b"\r\n" + message + b"\r\n") - - -def getATCommand(sock, line, device): - blevel = -1 - - if b"BRSF" in line: - send(sock, b"+BRSF: 1024") - send(sock, b"OK") - elif b"CIND=" in line: - send(sock, b"+CIND: (\"battchg\",(0-5))") - send(sock, b"OK") - elif b"CIND?" in line: - send(sock, b"+CIND: 5") - send(sock, b"OK") - elif b"BIND=?" in line: - # Announce that we support the battery level HF indicator - # https://www.bluetooth.com/specifications/assigned-numbers/hands-free-profile/ - send(sock, b"+BIND: (2)") - send(sock, b"OK") - elif b"BIND?" in line: - # Enable battery level HF indicator - send(sock, b"+BIND: 2,1") - send(sock, b"OK") - elif b"XAPL=" in line: - send(sock, b"+XAPL: iPhone,7") - send(sock, b"OK") - elif b"IPHONEACCEV" in line: - parts = line.strip().split(b',')[1:] - if len(parts) > 1 and (len(parts) % 2) == 0: - parts = iter(parts) - params = dict(zip(parts, parts)) - if b'1' in params: - blevel = (int(params[b'1']) + 1) * 10 - elif b"BIEV=" in line: - params = line.strip().split(b"=")[1].split(b",") - if params[0] == b"2": - blevel = int(params[1]) - else: - send(sock, b"OK") - - if blevel != -1: - print(f"Battery level for {device} is {blevel}%") - return False - - return True - - -def main(): - if (len(sys.argv) < 2): - print("Usage: bl_battery.py [.PORT] ...") - print(" Port number is optional (default = 4)") - exit() - else: - for device in sys.argv[1:]: - i = device.find('.') - if i == -1: - port = 4 - else: - port = int(device[i+1:]) - device = device[:i] - try: - s = bluetooth.BluetoothSocket(bluetooth.RFCOMM) - s.connect((device, port)) - while getATCommand(s, s.recv(128), device): - pass - s.close() - except OSError as e: - print(f"{device} is offline", e) - - -if __name__ == "__main__": - main() diff --git a/scripts/daily-update b/scripts/daily-update new file mode 100755 index 00000000..4fa5bfae --- /dev/null +++ b/scripts/daily-update @@ -0,0 +1,24 @@ +#!/bin/bash + +hour=$(date +"%H") + +morning=11 +afternoon=19 +cached=$(cat /tmp/day_cache) + +if [ $hour \< $morning ]; then + if [ ! "$cached" = "morning" ]; then + feh --bg-fill /home/yigit/.dotfiles/backgrounds/wallpaper-cow.jpg + echo "morning" > /tmp/day_cache + fi +elif [ $hour \< $afternoon ]; then + if [ ! "$cached" = "afternoon" ]; then + feh --bg-fill /home/yigit/.dotfiles/backgrounds/wallpaper-sea.jpg + echo "afternoon" > /tmp/day_cache + fi +else + if [ ! "$cached" = "night" ]; then + feh --bg-fill /home/yigit/.dotfiles/backgrounds/wallpaper-wheel.jpg + echo "night" > /tmp/day_cache + fi +fi diff --git a/scripts/dmenu-refresh b/scripts/dmenu-refresh index a4d483fc..c5d59097 100755 --- a/scripts/dmenu-refresh +++ b/scripts/dmenu-refresh @@ -16,7 +16,8 @@ DMENU='dmenu -z 1900 -x 10 -y 10 -i' items="dwm dwmblocks mconnect -dunst" +dunst +clipmenud" # Open menu selection=$(printf '%s' "$items" | $DMENU) @@ -32,7 +33,11 @@ case $selection in ;; mconnect) kill -9 $(pidof mconnect) - mconnect -d & + (cd ~/Downloads/mconnect; mconnect -d > /tmp/mconnect 2> /tmp/mconnect.err &) + ;; + clipmenud) + pkill -f clipmenud + clipmenud > /tmp/clipmenud.out 2> /tmp/clipmenud.err & ;; dunst) kill -9 $(pidof dunst) diff --git a/scripts/layoutmenu.sh b/scripts/layoutmenu.sh index 1bf95f23..0b7d5540 100755 --- a/scripts/layoutmenu.sh +++ b/scripts/layoutmenu.sh @@ -1,7 +1,11 @@ #!/bin/sh cat <<> Floating Layout 1 -[M] Monocle Layout 2 +0-Tiled Layout +1-Dwindle +2-Grid Layout +3-Centered Master +4-Centered Floating Master +5-Monocle Layout +6-Deck Layout EOF diff --git a/scripts/mail_tag.sh b/scripts/mail_tag.sh deleted file mode 100755 index 7939c53d..00000000 --- a/scripts/mail_tag.sh +++ /dev/null @@ -1,15 +0,0 @@ -notmuch tag +g_draft path:"Gmail/draft/**" -notmuch tag +g_sent path:"Gmail/sent/**" -notmuch tag +g_spam path:"Gmail/spam/**" -notmuch tag +g_archive path:"Gmail/archived/**" - -notmuch tag +o_draft path:"Outlook/draft/**" -notmuch tag +o_sent path:"Outlook/sent/**" -notmuch tag +o_spam path:"Outlook/spam/**" -notmuch tag +o_archive path:"Outlook/archive/**" - -notmuch tag +p_draft path:"Private/draft/**" -notmuch tag +p_sent path:"Private/sent/**" -notmuch tag +p_spam path:"Private/spam/**" -notmuch tag +p_archive path:"Private/archive/**" - diff --git a/scripts/mails.sh b/scripts/mails.sh deleted file mode 100755 index d2dedadb..00000000 --- a/scripts/mails.sh +++ /dev/null @@ -1,8 +0,0 @@ -new=$(notmuch search 'tag:inbox and tag:unread and NOT path:*/archive NOT tag:archive and NOT tag:spam and NOT tag:sent and NOT tag:draft' | wc -l) - -if [[ $new != 0 ]] -then -dunstify --icon='/home/yigit/.icons/mail.png' -a 'New Email' "You have $new new mail." -fi - -echo $new > /home/yigit/.config/mail_num diff --git a/scripts/screensaver_toggle b/scripts/screensaver_toggle index 044ecb8b..3f5ccf4f 100755 --- a/scripts/screensaver_toggle +++ b/scripts/screensaver_toggle @@ -9,12 +9,12 @@ getargs() { done } start_dnd() { - xset s off + xset s off -dpms echo "off" > ~/.cache/screensaver notify-send "Screensaver off"; } end_dnd() { - xset s on + xset s off +dpms echo "on" > ~/.cache/screensaver notify-send "Screensaver on."; } diff --git a/scripts/status-bar/time b/scripts/status-bar/time index 0472711d..c85fa12b 100755 --- a/scripts/status-bar/time +++ b/scripts/status-bar/time @@ -7,3 +7,5 @@ cmd=$(date +"%R") #echo "$ifg $icon $tfg$cmd" echo -n "^c#0f111a^^b#bf616a^ $icon $cmd ^d^" + +~/.scripts/daily-update & # update wallpaper as well diff --git a/scripts/status-bar/weather b/scripts/status-bar/weather index 88c1b275..60a68748 100755 --- a/scripts/status-bar/weather +++ b/scripts/status-bar/weather @@ -23,7 +23,7 @@ showweather() { } case $BLOCK_BUTTON in - 1) setsid -f "$TERMINAL" -c weather -n weather -e less -Srf "$weatherreport" ;; + 1) setsid -f st -c weather -n weather -e less -Srf "$weatherreport" ;; 2) getforecast && showweather && kill -50 $(pidof dwmblocks) ;; 3) notify-send " Weather module" "\- Left click for full forecast. - Middle click to update forecast. diff --git a/scripts/zaread b/scripts/zaread new file mode 100755 index 00000000..6759ff8b --- /dev/null +++ b/scripts/zaread @@ -0,0 +1,66 @@ +#!/bin/bash +## zaread - a simple script created by paoloap. + +# default variables +zadir="$HOME"'/.zaread/' +reader="zathura" + +# if ~/.zaread doesn't exist, we create it. +if [[ ! -d "$zadir" ]]; then + mkdir "$zadir" + mkdir "$zadir"cksum +fi + +# if no arguments exit. +if [[ -z $@ ]]; then exit 1; fi + +# if zathura is not installed, we force the user to choose a pdf reader +# after three wrong commands, the script exits 1 +# if the user inserts a command that exists but is not a pdf reader then... then fuck him. +counter=0 +while [[ -z `command -v "$reader"` ]]; do + if [ $counter -gt 3 ]; then exit 1; fi + let counter+=1 + echo "Seems that you don't have zathura installed. Please choose an installed PDF reader:" + read reader +done +echo "We'll read PDF with $reader." + + +## create position and file variables ## + +# complete file name (path excluded): +file=`echo "$@" | rev | cut -d'/' -f1 | rev` + +# complete directory path: +# if it has been inserted absolute path ($@ starts with '/') +if [[ $@ =~ ^/ ]]; then + directory=`echo "$@" | rev | cut -d'/' -f2- | rev`"/" +# else (relative path inserted) +else + dir=`pwd`"/"`echo "$@" | sed 's|.[^/]*$||'`"/" + directory=`echo "$dir" | sed 's|//|/|'` +fi +echo "$directory""$file" + +# if file type is pdf, then just read the file +if [[ `file "$directory""$file" | cut -d':' -f2 | cut -d' ' -f2` == "PDF" ]]; then + echo "The file is already in PDF format." + $reader "$directory""$file" +# else check if you already have its pdf version (if not, create it) +else + pdffile=`echo "$file" | rev | cut -d'.' -f2- | rev`".pdf" + check=`cksum "$directory""$file" | awk '{print $1}'` + # if pdf version hasn't ever been created, or it changed, then + # make conversion and store the checksum. + if [[ ( ! -f "$zadir$pdffile" ) || ( ! "$check" == `cat "$zadir"cksum/"$file".check` ) ]]; then + # if it's a mobi file, then convert it to epub (the command depends on calibre) + if [[ "$file" =~ ^.*\.mobi$ ]]; then + ebook-converter "$directory""$file" "$directory"`echo "$file" | sed 's/mobi$/epub/'` + else + libreoffice --convert-to pdf "$directory""$file" --headless --outdir "$zadir" + fi + echo "$check" > "$zadir"cksum/"$file".check + fi + $reader "$zadir$pdffile" +fi diff --git a/suckless/dwm/config.h b/suckless/dwm/config.h index f1566764..52b6f47b 100644 --- a/suckless/dwm/config.h +++ b/suckless/dwm/config.h @@ -8,7 +8,7 @@ static const unsigned int systrayspacing = 2; /* systray spacing */ static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display systray on the first monitor, False: display systray on the last monitor*/ static int showsystray = 1; /* 0 means no systray */ static const int tag_padding = 0; -static const char *layoutmenu_cmd = "~/.scripts/layoutmenu.sh"; +static const char *layoutmenu_cmd = "/home/yigit/.scripts/layoutmenu.sh"; static const char autostartblocksh[] = "autostart_blocking.sh"; static const char autostartsh[] = "autostart.sh"; static const char dwmdir[] = "dwm"; diff --git a/suckless/dwm/keybind.h b/suckless/dwm/keybind.h index 26bb8e67..3468e0ff 100644 --- a/suckless/dwm/keybind.h +++ b/suckless/dwm/keybind.h @@ -37,6 +37,8 @@ static const char *simcrop[] = {"simcrop","-fc","-sc", "-g", "900x500",NULL}; static const char *notification_off[] = {"/home/yigit/.scripts/dunst_toggle.sh","-s",NULL}; static const char *notification_on[] = {"/home/yigit/.scripts/dunst_toggle.sh", "-e",NULL}; +static const char *screen_off[] = {"xset", "dpms", "force", "off", NULL}; + static const char *screensaver_off[] = {"/home/yigit/.scripts/screensaver_toggle","-s",NULL}; static const char *screensaver_on[] = {"/home/yigit/.scripts/screensaver_toggle", "-e",NULL}; @@ -65,6 +67,7 @@ static Key keys[] = { { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_i, spawn, {.v = screensaver_off} }, { MODKEY|ShiftMask, XK_i, spawn, {.v = screensaver_on } }, + { MODKEY|ShiftMask, XK_o, spawn, {.v = screen_off } }, { MODKEY, XK_n, spawn, {.v = notification_off} }, { MODKEY|ShiftMask, XK_n, spawn, {.v = notification_on } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, @@ -160,7 +163,7 @@ static Key keys[] = { static Button buttons[] = { /* click event mask button function argument */ { ClkLtSymbol, 0, Button1, setlayout, {0} }, - { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} }, + { ClkLtSymbol, 0, Button3, layoutmenu, {0} }, { ClkClientWin, MODKEY, Button1, movemouse, {0} }, { ClkClientWin, MODKEY, Button2, togglefloating, {0} }, { ClkClientWin, MODKEY, Button3, resizemouse, {0} }, @@ -170,7 +173,5 @@ static Button buttons[] = { { ClkTagBar, MODKEY, Button3, toggletag, {0} }, { ClkStatusText, 0, Button1, sigdwmblocks, {.i = 1 } }, { ClkStatusText, 0, Button2, sigdwmblocks, {.i = 2 } }, - { ClkStatusText, 0, Button3, sigdwmblocks, {.i = 3 } }, - { ClkLtSymbol, 0, Button3, layoutmenu, {0} }, }; diff --git a/xorg/xinitrc b/xorg/xinitrc index c232b84c..cbd66bc7 100755 --- a/xorg/xinitrc +++ b/xorg/xinitrc @@ -12,14 +12,14 @@ export SSH_AUTH_SOCK clipmenud > /tmp/clipmenud.out 2> /tmp/clipmenud.err & rm -f ~/.surf/tabbed-surf.xid /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & -feh --bg-fill /home/yigit/.dotfiles/backgrounds/wallpaper.jpg +~/.scripts/daily-update xrdb ~/.Xresources & ~/.scripts/mailsync & if [ "$NEXTCLOUD" = true ] ; then nextcloud --background & fi if [ "$MCONNECT" = true ] ; then - /usr/local/bin/mconnect -d > /tmp/mconnect 2> /tmp/mconnect.err & + (cd ~/Downloads/mconnect; mconnect -d > /tmp/mconnect 2> /tmp/mconnect.err &) fi if [ "$ACTIVITYWATCHER" = true ] ; then pkill -f aw-watcher-window @@ -43,6 +43,7 @@ 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 dunst & diff --git a/zsh/secret.secret b/zsh/secret.secret index 19792e8f..83a29dde 100644 Binary files a/zsh/secret.secret and b/zsh/secret.secret differ