summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/linuxProfile2
-rwxr-xr-x.config/shells/aliasrc10
-rw-r--r--.config/shells/zsh/.zshrc1
-rwxr-xr-x.config/xinitrc2
4 files changed, 12 insertions, 3 deletions
diff --git a/.config/linuxProfile b/.config/linuxProfile
index 36e2775..615b89c 100644
--- a/.config/linuxProfile
+++ b/.config/linuxProfile
@@ -39,4 +39,4 @@ export ADB_VENDOR_KEY="$XDG_CONFIG_HOME"/android/
export WMAKER_USER_ROOT="$XDG_DATA_HOME"/GNUstep
export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json
-[ "$(tty | sed 's/[0-9]*//g')" = "/dev/tty" ] && jdm
+[ "$(tty | sed 's/[0-9]*//g')" = "/dev/tty" ] && jdm && exit
diff --git a/.config/shells/aliasrc b/.config/shells/aliasrc
index 6fd6fb7..df92604 100755
--- a/.config/shells/aliasrc
+++ b/.config/shells/aliasrc
@@ -7,6 +7,14 @@ then
la="ls -Ah" \
ls="ls -h" \
l="ls -lAh"
+# Linux has --color
+elif [[ "$(uname -s)" == "Linux" ]]
+then
+ alias \
+ la="ls -Ah --color" \
+ ls="ls -h --color" \
+ l="ls -lAh --color"
+# macOS has -G
else
alias \
la="ls -AhG" \
@@ -27,6 +35,8 @@ alias \
zshup="source $HOME/.config/shells/zsh/.zshrc" \
gc="git clone" \
gu="git add -u" \
+ ga="git commit -a" \
+ gp="git push" \
m="micro" \
v="nvim" \
python="python3.10" \
diff --git a/.config/shells/zsh/.zshrc b/.config/shells/zsh/.zshrc
index d2b735d..109e3bd 100644
--- a/.config/shells/zsh/.zshrc
+++ b/.config/shells/zsh/.zshrc
@@ -22,7 +22,6 @@ autoload -U colors && colors
#PROMPT='%{$fg_bold[$shColor]%}%n%{$reset_color%}@%m\
#:[%{$fg_bold[$shColor]%}$(_collapsed_pwd)%{$reset_color%}]:$ '
#PROMPT='%{$fg_bold[$shColor]%}$comSym%{$reset_color%}:[%{$fg_bold[$shColor]%}%c%{$reset_color%}]:$ '
-python $HOME/.local/bin/days2finals.py
PROMPT='%{$fg_bold[$shColor]%}$comSym%{$reset_color%} in %{$fg_bold[$shColor]%}%c%{$reset_color%}
→ '
source $ZSH/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
diff --git a/.config/xinitrc b/.config/xinitrc
index b350a86..39a19ff 100755
--- a/.config/xinitrc
+++ b/.config/xinitrc
@@ -2,7 +2,7 @@
exec /usr/bin/xrandr --output HDMI-1 --mode 2560x1080 --right-of eDP-1 &
exec $HOME/.local/bin/setWall $HOME/Documents/Pictures/Wallpapers -p &
exec /usr/bin/picom &
-[ $wm == "/usr/bin/dwm" ] && exec /usr/bin/dwmblocks &
+[ $wm == "/usr/local/bin/dwm" ] && exec /usr/local/bin/dwmblocks &
exec /usr/bin/xset led 3 &
exec /usr/bin/mpd --no-daemon &
exec $HOME/.local/bin/keys &