From dde95a31ef6e7904a2182907016f9f067735ab7d Mon Sep 17 00:00:00 2001 From: Benjamin Palko Date: Mon, 30 Sep 2024 23:13:34 -0400 Subject: [PATCH] symlinks --- .gitconfig | 9 ++++++ .install/symlink.sh | 69 +++++++++++++++++++++----------------------- discocss/custom.css | 40 ------------------------- gtk-3.0/settings.ini | 3 -- 4 files changed, 42 insertions(+), 79 deletions(-) create mode 100644 .gitconfig delete mode 100644 discocss/custom.css delete mode 100644 gtk-3.0/settings.ini diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..9ae8cf0 --- /dev/null +++ b/.gitconfig @@ -0,0 +1,9 @@ +[credential "https://github.com"] + helper = + helper = !/usr/bin/gh auth git-credential +[credential "https://gist.github.com"] + helper = + helper = !/usr/bin/gh auth git-credential +[user] + email = benjaminpalko@hotmail.com + name = Benjamin Palko diff --git a/.install/symlink.sh b/.install/symlink.sh index 72d5b99..f3e8cff 100644 --- a/.install/symlink.sh +++ b/.install/symlink.sh @@ -2,53 +2,50 @@ # files files=( - ".bashrc" - ".zshrc" - ".tool-versions" + ".bashrc" + ",gitconfig" + ".zshrc" + ".tool-versions" ) _symlinkFiles() { - for file; do - if [ -h ~/${file} ]; then - continue - fi - if [ -f ~/${file} ]; then - rm ~/${file} - fi - ln -s ~/dotfiles/${file} ~/${file} - done; + for file; do + if [ -h ~/${file} ]; then + continue + fi + if [ -f ~/${file} ]; then + rm ~/${file} + fi + ln -s ~/dotfiles/${file} ~/${file} + done } # directories directories=( - "cava" - "discocss" - "gtk-3.0" - "hypr" - "kitty" - "neofetch" - "nvim" - "pipewire" - "rofi" - "swappy" - "swaync" - "wal" - "waybar" + "cava" + "hypr" + "kitty" + "neofetch" + "nvim" + "rofi" + "swappy" + "swaync" + "wal" + "waybar" ) _symlinkDirs() { - for dir; do - if [ -h ~/.config/${dir} ]; then - continue - fi - if [ -d ~/.config/${dir}/ ]; then - echo "Deleting existing directory ${dir}" - rm -rf ~/.config/${dir}/ - fi - ln -s ~/dotfiles/${dir}/ ~/.config/ - done; + for dir; do + if [ -h ~/.config/${dir} ]; then + continue + fi + if [ -d ~/.config/${dir}/ ]; then + echo "Deleting existing directory ${dir}" + rm -rf ~/.config/${dir}/ + fi + ln -s ~/dotfiles/${dir}/ ~/.config/ + done } _symlinkFiles "${files[@]}" _symlinkDirs "${directories[@]}" - diff --git a/discocss/custom.css b/discocss/custom.css deleted file mode 100644 index d7bbc3a..0000000 --- a/discocss/custom.css +++ /dev/null @@ -1,40 +0,0 @@ -/** - * @name Pywal - * @author Baobeld - * @description Uses pywal colors - * @version 0.0.2 - */ -@import url("/home/benjamin/.cache/wal/colors.css"); - -:root { - background-color: transparent; - /* opacity: 0.6; */ - --background-primary: transparent; - --background-primary-alt: transparent; - --background-secondary: rgba(0, 0, 0, 0.05); - --background-secondary-alt: rgba(0, 0, 0, 0.05); - --background-tertiary: rgba(0, 0, 0, 0.1); - --background-tertiary-alt: rgba(0, 0, 0, 0.1); - --bg-overlay-2: rgba(0, 0, 0, 0.1); - --scrollbar-auto-track: rgba(0, 0, 0, 0.1); - - --scrollbar-auto-thumb: rgba(0, 0, 0, 0.75); - - --primary-800: rgba(0, 0, 0, 0.15); - /* --interactive-active: var(--color7); */ - /* --interactive-hover: var(--color7); */ - /* --interactive-muted: var(--color7); */ - /* --interactive-normal: var(--color7); */ -} - -.userProfileOuterUnthemed__9741c { - background-color: rgba(0, 0, 0, 0.1); -} - -.userPanelInnerThemed__651e4 { - background: rgba(0, 0, 0, 0.2); -} - -.themedBackground__3a4c0 { - background: rgba(0, 0, 0, 0.25); -} diff --git a/gtk-3.0/settings.ini b/gtk-3.0/settings.ini deleted file mode 100644 index d154f6d..0000000 --- a/gtk-3.0/settings.ini +++ /dev/null @@ -1,3 +0,0 @@ -[Settings] -gtk-application-prefer-dark-theme=1 -