From 07965ccef4a45351d61a671cd4c43e022c219284 Mon Sep 17 00:00:00 2001 From: clyhtsuriva Date: Mon, 19 Jun 2023 16:56:22 +0200 Subject: dotfiles update --- dot_Xdefaults | 2 ++ dot_bash_profile | 7 +++++++ dot_bashrc | 5 +++++ dot_config/i3/config | 4 ++-- 4 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 dot_bash_profile diff --git a/dot_Xdefaults b/dot_Xdefaults index b3ab3c9..1240413 100644 --- a/dot_Xdefaults +++ b/dot_Xdefaults @@ -6,6 +6,7 @@ xterm*pointerColor: #D52C70 xterm*faceSize: 12 xterm*faceName: wts11 + *.foreground: #FF70FF *.background: #040217 *.color0: #000000 @@ -25,5 +26,6 @@ xterm*faceName: wts11 *.color7: #BFBFBF *.color15: #E6E6E6 + *.alpha: 0.8 *.font: monospace:size=11 diff --git a/dot_bash_profile b/dot_bash_profile new file mode 100644 index 0000000..33930d3 --- /dev/null +++ b/dot_bash_profile @@ -0,0 +1,7 @@ +# .bash_profile + +# Get the aliases and functions +[ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc" +[ -f "$HOME/.profile" ] && . "$HOME/.profile" +export PATH="$VOLTA_HOME/bin:$PATH" +. "$HOME/.cargo/env" diff --git a/dot_bashrc b/dot_bashrc index 20f8fc1..2f270fe 100644 --- a/dot_bashrc +++ b/dot_bashrc @@ -1,4 +1,5 @@ stty -ixon # Disable ctrl-s and ctrl-q. +stty erase ^H # Can happen by pressing Return key shopt -s autocd cdspell checkjobs extglob histappend # autocd : Allows you to cd into directory merely by typing the directory name. @@ -20,6 +21,10 @@ export ANDROID_HOME="$XDG_DATA_HOME"/android export HISTFILE="$XDG_STATE_HOME"/bash/history export LESSHISTFILE="$XDG_CACHE_HOME"/less/history export PYTHONSTARTUP="$XDG_CONFIG_HOME"/python/pythonrc +export W3M_DIR="$XDG_DATA_HOME"/w3m +export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java +export NODE_REPL_HISTORY="$XDG_DATA_HOME"/node_repl_history +export MYPY_CACHE_DIR="$XDG_CACHE_HOME"/mypy PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h \[$(tput setaf 5)\]\w\[$(tput setaf 1)\]]\[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]" ; export PS1 diff --git a/dot_config/i3/config b/dot_config/i3/config index 751e861..e3d7846 100644 --- a/dot_config/i3/config +++ b/dot_config/i3/config @@ -204,7 +204,7 @@ bindsym $mod+Shift+BackSpace exec "i3-nagbar -t warning -f fixed -m 'You pressed #bindsym $mod+Shift+P exec passmenu # Set the bg wallpaper -exec --no-startup-id feh --bg-scale /home/mas/Pictures/you_wouldnt_steal_a_wallpaper.png +exec --no-startup-id feh --bg-scale /home/mas/Pictures/retrowave-pyramid.png # Sreen brightness controls bindsym XF86MonBrightnessUp exec xbacklight -inc 1 ; exec notify-send -t 500 "Brightness : $(xbacklight -get)" # increase screen brightness @@ -224,7 +224,7 @@ bindsym $mod+Shift+S exec "i3-nagbar -t warning -f fixed -m 'You pressed the sus bindsym $mod+Shift+Delete exec "i3-nagbar -t warning -f fixed -m 'You pressed the hibernating shortcut. Do you really want to put your computer to sleep?' -B 'Yes, do it.' 'sudo /bin/ZZZ'" # What happens when we hit the power button -bindsym XF86PowerOff exec xcowsay $(fortune -s) +bindsym XF86PowerOff exec xcowsay "$(fortune -s)" ######GAPS###### set $mode_gaps Gaps: (o)uter, (i)nner, (h)orizontal, (v)ertical, (t)op, (r)ight, (b)ottom, (l)eft -- cgit v1.2.3