summaryrefslogtreecommitdiff
path: root/src/etc
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2024-02-18 17:36:51 +0400
committerSuleyman Farajli <suleyman@farajli.net>2024-02-18 17:36:51 +0400
commitd1e8f727620479a98ad568e8e3dc98e84bef45b2 (patch)
tree56a8dedb74e9e8a6f8692027e3eadd201eb37c5f /src/etc
parentf40c73f3b30547f7267c84bd22677dec65029dc4 (diff)
version 0.2
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/profile10
-rw-r--r--src/etc/profile.d/theion.sh43
2 files changed, 53 insertions, 0 deletions
diff --git a/src/etc/profile b/src/etc/profile
new file mode 100644
index 0000000..93b503d
--- /dev/null
+++ b/src/etc/profile
@@ -0,0 +1,10 @@
+# If the /etc/profile.d directory is not sourced automatically
+# append this code to /etc/profile
+
+# Load profiles from /etc/profile.d
+if test -d /etc/profile.d/; then
+ for profile in /etc/profile.d/*.sh; do
+ test -r "$profile" && . "$profile"
+ done
+ unset profile
+fi
diff --git a/src/etc/profile.d/theion.sh b/src/etc/profile.d/theion.sh
new file mode 100644
index 0000000..5a6d6f5
--- /dev/null
+++ b/src/etc/profile.d/theion.sh
@@ -0,0 +1,43 @@
+export XDG_COLOR_DARK_GRAY="#282828"
+export XDG_COLOR_LESS_DARK_GRAY="#262626"
+export XDG_COLOR_CREAM="#ebdbb2"
+export XDG_COLOR_BROWN="#4E3524"
+export XDG_COLOR_LIGHT_GRAY="#a89984"
+export XDG_COLOR_ORANGE="#d79921"
+export XDG_COLOR_RED="#cc241d"
+export XDG_COLOR_MAGENTA="#b16286"
+export XDG_COLOR_YELLOW_GREEN="#98971a"
+export XDG_COLOR_LIGHT_GREEN="#689d6a"
+export XDG_COLOR_CYAN="#458588"
+
+# Theme
+export XDG_COLOR_FOREGROUND=$XDG_COLOR_CREAM
+export XDG_COLOR_BACKGROUND=$XDG_COLOR_DARK_GRAY
+
+export XDG_COLOR_INACTIVE_FOREGROUND=$XDG_COLOR_LIGHT_GRAY
+export XDG_COLOR_INACTIVE_BACKGROUND=$XDG_COLOR_LESS_DARK_GRAY
+
+export XDG_COLOR_TRANSFORM=$XDG_COLOR_BROWN
+export XDG_COLOR_INACTIVE_TRANSFORM=$XDG_COLOR_LESS_DARK_GRAY
+
+export XDG_COLOR_WARINING=$XDG_COLOR_RED
+export XDG_COLOR_NON_WARNING=$XDG_COLOR_CYAN
+export XDG_COLOR_INTERACTIVE=$XDG_COLOR_YELLOW_GREEN
+
+#Directories
+export XDG_CACHE_HOME=$HOME/.cache
+export XDG_CONFIG_HOME=$HOME/.config
+export XDG_DATA_HOME=$HOME/.local/share
+export XDG_STATE_HOME=$HOME/.local/state
+export XINITRC="$XDG_CONFIG_HOME/X11/xinitrc"
+export ZSHRC="$XDG_CONFIG_HOME/zsh/zshrc"
+
+
+# Environment variables
+[ -x "$(command -v nvim)" ] && export EDITOR="nvim"
+[ -x "$(command -v alacritty)" ] && export TERMINAL="alacritty"
+[ -x "$(command -v qutebrowser)" ] && export BROWSER="qutebrowser"
+
+export MAKEFLAGS="-j8" # Reduce compile times
+export LFS=/mnt/lfs # For building Linux From Scratch
+export LS_COLORS="di=01;36" # Change the color of ls output to green for directory