aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dot_bash_profile3
-rw-r--r--dot_bashrc7
-rw-r--r--dot_config/aliasrc3
-rw-r--r--dot_config/i3/config2
-rw-r--r--dot_profile1
-rw-r--r--dot_xprofile2
6 files changed, 13 insertions, 5 deletions
diff --git a/dot_bash_profile b/dot_bash_profile
index 6687221..4bc3326 100644
--- a/dot_bash_profile
+++ b/dot_bash_profile
@@ -3,4 +3,5 @@
# Get the aliases and functions
[ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc"
[ -f "$HOME/.profile" ] && . "$HOME/.profile"
-. "$HOME/.cargo/env"
+
+if [ -e /home/mas/.nix-profile/etc/profile.d/nix.sh ]; then . /home/mas/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
diff --git a/dot_bashrc b/dot_bashrc
index 4c6db13..50f53a5 100644
--- a/dot_bashrc
+++ b/dot_bashrc
@@ -31,9 +31,14 @@ export CARGO_HOME="$XDG_DATA_HOME"/cargo
export DOTNET_CLI_HOME="$XDG_DATA_HOME"/dotnet
export GDBHISTFILE="$XDG_CONFIG_HOME"/gdb/.gdb_history
-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
+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)\]\n\\$ \[$(tput sgr0)\]" ; export PS1
[ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc"
# Rust package manager
. "$CARGO_HOME/env"
+
+# kubernetes autocompletion setup
+source <(kubectl completion bash)
+complete -o default -F __start_kubectl k
+#eval "$(task --completion bash)"
diff --git a/dot_config/aliasrc b/dot_config/aliasrc
index 8acf451..9c3a70e 100644
--- a/dot_config/aliasrc
+++ b/dot_config/aliasrc
@@ -26,3 +26,6 @@ alias mpv='mpv --input-ipc-server=/tmp/mpvsoc$(date +%s)' \
wget='wget --hsts-file="$XDG_DATA_HOME"/wget-hsts' \
scd='echo "YOU USED SCD, BE CAREFUL" ; cd' \
adb='HOME="$XDG_DATA_HOME"/android adb' \
+ k=kubectl \
+ t=task \
+ tl='task --list-all' \
diff --git a/dot_config/i3/config b/dot_config/i3/config
index 084c199..21c46ee 100644
--- a/dot_config/i3/config
+++ b/dot_config/i3/config
@@ -225,7 +225,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 "$(date +%H:%M:%S && cat /sys/class/power_supply/BAT0/capacity && pactl get-sink-volume alsa_output.pci-0000_00_1f.3.analog-stereo | cut -d' ' -f5-6)"
+bindsym XF86PowerOff exec notify-send -t 5000 "$(date +%H:%M:%S && cat /sys/class/power_supply/BAT0/capacity && pactl get-sink-volume alsa_output.pci-0000_00_1f.3.analog-stereo | cut -d' ' -f5-6)"
######GAPS######
set $mode_gaps Gaps: (o)uter, (i)nner, (h)orizontal, (v)ertical, (t)op, (r)ight, (b)ottom, (l)eft
diff --git a/dot_profile b/dot_profile
index f6da4ac..46f5ea5 100644
--- a/dot_profile
+++ b/dot_profile
@@ -26,4 +26,3 @@ echo "$0" | grep "bash$" >/dev/null && [ -f ~/.bashrc ] && . "$HOME/.bashrc"
# Start graphical server if i3 not already running.
[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x Xorg >/dev/null && exec startx
-. "$HOME/.cargo/env"
diff --git a/dot_xprofile b/dot_xprofile
index fe509a4..bf56cba 100644
--- a/dot_xprofile
+++ b/dot_xprofile
@@ -7,7 +7,7 @@ xset r rate 300 50 & # Speed xrate up
#unclutter & # Remove mouse when idle
#dunst & # dunst for notifications
-autostart="xcompmgr dunst unclutter"
+autostart="xcompmgr dunst" #unclutter"
for program in $autostart; do
pidof -s "$program" || setsid -f "$program"