mirror of
https://github.com/FAUSheppy/config
synced 2025-12-06 07:01:36 +01:00
Merge branch 'master' of gitlab.com:Sheppy_/config
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
su
|
|
||||||
mv ~/.config/basic_setup/sources.list /etc/apt/sources.list
|
|
||||||
apt update
|
apt update
|
||||||
apt upgrade --asume-yes
|
apt upgrade --asume-yes
|
||||||
cat ../other/package_list_desktop_essential.txt | while read line
|
cat ../other/package_list_desktop_essential.txt | while read line
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
|
mkdir -p ~/.ssh/
|
||||||
ln -s ~/.config/vim/rc ~/.vimrc
|
ln -s ~/.config/vim/rc ~/.vimrc
|
||||||
ln -s ~/.config/zshrc ~/.zshrc
|
ln -s ~/.config/zshrc ~/.zshrc
|
||||||
ln -s ~/.config/xconf/Xressources ~/.Xressources
|
ln -s ~/.config/xconf/Xresources ~/.Xresources
|
||||||
ln -s ~/.config/xconf/.xsessionsrc ~/.xinitrc
|
ln -s ~/.config/xconf/.xinitrc ~/.xinitrc
|
||||||
ln -s ~/.config/ssh/config ~/.ssh/config
|
ln -s ~/.config/ssh/config ~/.ssh/config
|
||||||
mkdir -p ~/.zsh
|
mkdir -p ~/.zsh
|
||||||
|
|||||||
@@ -65,7 +65,8 @@ hc keybind $Mod-q close
|
|||||||
hc keybind $Mod-Return spawn urxvt
|
hc keybind $Mod-Return spawn urxvt
|
||||||
hc keybind $Mod-y spawn urxvt #easier to press with one hand
|
hc keybind $Mod-y spawn urxvt #easier to press with one hand
|
||||||
hc keybind $Mod-Shift-Return spawn ~/.config/herbstluftwm/hl_start_urxvt_cwd.py
|
hc keybind $Mod-Shift-Return spawn ~/.config/herbstluftwm/hl_start_urxvt_cwd.py
|
||||||
hc keybind $Mod-i spawn urxvt -e nohup zsh -c "chromium &" #need to reliably use the zshconf chromium
|
hc keybind $Mod-i spawn "/usr/bin/chromium"
|
||||||
|
|
||||||
if [[ $HOST =~ atlantis* ]]; then
|
if [[ $HOST =~ atlantis* ]]; then
|
||||||
hc keybind $Mod-l spawn i3lock -i ~/.config/i3lock/bg.png -t
|
hc keybind $Mod-l spawn i3lock -i ~/.config/i3lock/bg.png -t
|
||||||
else
|
else
|
||||||
|
|||||||
2
libcoloredstderr.so.license
Normal file
2
libcoloredstderr.so.license
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
libcoloredstderr is licensed GPL-v3. The Code can be found here:
|
||||||
|
https://ruderich.org/simon/coloredstderr/
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
wget "https://atlantishq.de/ciplog/${HOST}&inactive¬hing"
|
# wget "https://atlantishq.de/ciplog/${HOST}&inactive¬hing"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
xrdb ~/.Xressources
|
xrdb ~/.Xresources
|
||||||
xset r rate 300 25
|
xset r rate 300 25
|
||||||
eval `ssh-agent`
|
eval `ssh-agent`
|
||||||
exec herbstluftwm
|
exec herbstluftwm
|
||||||
|
|||||||
19
zshrc
19
zshrc
@@ -30,6 +30,23 @@ fi
|
|||||||
############################################## PROMT ###################################################
|
############################################## PROMT ###################################################
|
||||||
########################################################################################################
|
########################################################################################################
|
||||||
|
|
||||||
|
## git ##
|
||||||
|
setopt prompt_subst
|
||||||
|
autoload -Uz vcs_info
|
||||||
|
zstyle ':vcs_info:*' actionformats '%F{5}[%F{2}%b%F{3}|%F{1}%a%F{5}]%f '
|
||||||
|
zstyle ':vcs_info:*' formats '%F{5}[%F{2}%b%F{5}]%f '
|
||||||
|
zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat '%b%F{1}:%F{3}%r'
|
||||||
|
zstyle ':vcs_info:*' enable git cvs svn
|
||||||
|
|
||||||
|
# or use pre_cmd, see man zshcontrib
|
||||||
|
vcs_info_wrapper() {
|
||||||
|
vcs_info
|
||||||
|
if [ -n "$vcs_info_msg_0_" ]; then
|
||||||
|
echo "%{$fg[grey]%}${vcs_info_msg_0_}%{$reset_color%}$del"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
VERSION_CONTROL_PROMT=$'$(vcs_info_wrapper)'
|
||||||
|
|
||||||
## colors ##
|
## colors ##
|
||||||
SEPERATOR_LINE_COLOR="green"
|
SEPERATOR_LINE_COLOR="green"
|
||||||
USER_COLOR="yellow"
|
USER_COLOR="yellow"
|
||||||
@@ -77,7 +94,7 @@ if [[ $USER == 'sheppy' || $USER == 'ik15ydit' || $USER == 'root' ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
## build the complete promt ##
|
## build the complete promt ##
|
||||||
PS1="${SEPERATOR_LINE}${USER_NAME}${USER_HOST_SEPERATOR}${HOSTNAME}${HOST_PATH_SEPERATOR}${PATH_STR}${PATH_INPUT_SEPERATOR}"
|
PS1="${SEPERATOR_LINE}${USER_NAME}${USER_HOST_SEPERATOR}${HOSTNAME}${HOST_PATH_SEPERATOR}${PATH_STR}${VERSION_CONTROL_PROMT}${PATH_INPUT_SEPERATOR}"
|
||||||
|
|
||||||
## replace the magic values, i.e. %m with hostname ##
|
## replace the magic values, i.e. %m with hostname ##
|
||||||
setopt promptsubst #enable the promt
|
setopt promptsubst #enable the promt
|
||||||
|
|||||||
Reference in New Issue
Block a user