diff options
author | neodarz <neodarz@neodarz.net> | 2020-10-06 18:35:55 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2020-10-06 18:35:55 +0200 |
commit | 52060dfbdfac04938393b4fdc441415fa08abe6e (patch) | |
tree | 59b7f268df58ab3c5dc8c78f61e58f6986213400 | |
parent | 58e780ddf31d446096066269cdc8de5ccaf495d2 (diff) | |
download | dotfiles_dotdrop-52060dfbdfac04938393b4fdc441415fa08abe6e.tar.xz dotfiles_dotdrop-52060dfbdfac04938393b4fdc441415fa08abe6e.zip |
Another little update
Diffstat (limited to '')
-rw-r--r-- | config.yaml | 8 | ||||
-rw-r--r-- | dotfiles/cheat/pacman | 6 | ||||
-rw-r--r-- | dotfiles/cheat/vpn | 19 | ||||
-rw-r--r-- | dotfiles/config/i3/config | 26 | ||||
-rw-r--r-- | dotfiles/config/i3pystatus/conf.py | 3 | ||||
-rw-r--r-- | dotfiles/config/zathura/zathurarc | 36 | ||||
-rwxr-xr-x | install.sh | 2 |
7 files changed, 76 insertions, 24 deletions
diff --git a/config.yaml b/config.yaml index 38cbf73..88d213a 100644 --- a/config.yaml +++ b/config.yaml @@ -91,6 +91,9 @@ dotfiles: d_kitty: src: config/kitty dst: ~/.config/kitty + d_zathura: + src: config/zathura + dst: ~/.config/zathura profiles: unicorn: dotfiles: @@ -123,6 +126,7 @@ profiles: - d_terminator - d_picom - d_kitty + - d_zathura pegasus: dotfiles: - d_i3pystatus @@ -179,3 +183,7 @@ profiles: - f_vdirsyncer_config - f_xinitrc - d_cava + - d_terminator + - f_zshrc + - d_zsh + - d_zathura diff --git a/dotfiles/cheat/pacman b/dotfiles/cheat/pacman index 6a00642..d740ed9 100644 --- a/dotfiles/cheat/pacman +++ b/dotfiles/cheat/pacman @@ -55,5 +55,7 @@ sudo pacman -U <package file (.pkg.tar.xz)> # Reinstall a package installed via pip with pacman sudo pip uninstall --yes <package>; sudo pacman -S --noconfirm python-<package> -# exemple via pikaur pkg -sudo pip uninstall --yes i3pystatus; pikaur -S i3pystatus-git --noconfirm +# If there is some package from AUR use you package manager. +# Exemple with pikaur +pikaur -S --noconfirm --rebuild $(pikaur -Qq | grep "python-") +# note pikaur -Qe seems to return only official package and not them from AUR diff --git a/dotfiles/cheat/vpn b/dotfiles/cheat/vpn index 141e9cd..437c1ca 100644 --- a/dotfiles/cheat/vpn +++ b/dotfiles/cheat/vpn @@ -1,7 +1,16 @@ -nmcli device show wlp3s0 +# VPN per namespace (and so per program) -#Know other ip -/etc/openvpn/ipp.txt +https://github.com/slingamn/namespaced-openvpn -#Server perso -script is in /root/OpenVPN-install +``` +# create an openvpn tunnel in a new namespace, named `protected` by default: +sudo /path/to/namespaced-openvpn --config ./my_openvpn_config_file + +# start an unprivileged shell in the new namespace +# anything started from this shell will use the openvpn tunnel exclusively for connectivity: +sudo ip netns exec protected sudo -u $USER -i +``` + +``` +sudo systemctl start openvpn-client@neodarz-perso.service +``` diff --git a/dotfiles/config/i3/config b/dotfiles/config/i3/config index d5ff749..49cb75e 100644 --- a/dotfiles/config/i3/config +++ b/dotfiles/config/i3/config @@ -13,6 +13,12 @@ set $WHITE #711C91 set $BLACK #1B0F1C +{%@@ if profile=="fenec" @@%} +set $TERMINAL terminator +{%@@ else @@%} +set $TERMINAL kitty +{%@@ endif @@%} + # Layout colors bord bg text indicator (split) client.focused $WHITE $WHITE $BLACK $WHITE client.focused_inactive $BLACK $BLACK $BLACK $BLACK @@ -106,17 +112,17 @@ bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks bindcode 107 --release exec scrot -s '%Y-%m-%d-%H%M%S_$wx$h.png' -e 'mv $f ~/Screenshots/' bindsym --release $WinKey+i exec scrot '%Y-%m-%d-%H%M%S_$wx$h.png' -e 'mv $f ~/Screenshots/' bindsym --release Scroll_Lock exec scrot -sz -e '~/.scripts/dropshadow.sh $f' -bindsym $WinKey+Shift+F1 exec kitty -e ranger -bindsym $WinKey+Shift+F2 exec kitty -e cmus -bindsym $WinKey+Shift+F3 exec kitty -e mm -bindsym $WinKey+Shift+F4 exec kitty -e mosh neodarz.net --ssh="ssh -p 19977" +bindsym $WinKey+Shift+F1 exec $TERMINAL -e ranger +bindsym $WinKey+Shift+F2 exec $TERMINAL -e cmus +bindsym $WinKey+Shift+F3 exec $TERMINAL -e mm +bindsym $WinKey+Shift+F4 exec $TERMINAL -e mosh neodarz.net --ssh="ssh -p 19977" bindsym $WinKey+Shift+F5 exec waterfox -#bindsym $WinKey+Shift+F6 exec kitty -e atom -bindsym $WinKey+Shift+F7 exec kitty -e ncmpcpp -bindsym $WinKey+Shift+F8 exec kitty -e qutebrowser +#bindsym $WinKey+Shift+F6 exec $TERMINAL -e atom +bindsym $WinKey+Shift+F7 exec $TERMINAL -e ncmpcpp +bindsym $WinKey+Shift+F8 exec $TERMINAL -e qutebrowser #bindsym $AltKey+a exec urxvt -name floatme --background "#000000" -cursorColor "#31363B" -font 7x13 -geometry 88x33 -e "pygmentize ~/.zsh/aliases.zsh | less" #bindsym $WinKey+Shift+v move morkspace to output right -bindsym $WinKey+control+l exec i3lock-fancy-dualmonitor -p +bindsym $WinKey+control+l exec i3lock-fancy-rapid 1 pixel bindsym $WinKey+p exec ~/.scripts/launch_rofi-pass.sh #bindsym $WinKey+Shift+$AltKey+0 exec ~/.scripts/switch-workspace.py 6 bindsym XF86AudioPlay exec ~/.scripts/switch_audio.sh 8 @@ -128,7 +134,7 @@ bindsym Control+$AltKey+Down exec ~/.scripts/cycle-workspace-multiscreen.py bott # start a terminal #bindsym $WinKey+Return exec urxvt --termName 'rxvt-unicode' -fn 'xft:Fira Code:size=8' --background 'black' --color0 'black' --color8 'black' --color1 'red' --color9 'red' --color2 'green' --color10 'green' --color3 'yellow' --color11 'yellow' --color4 'blue' --color12 'blue' --color6 'cyan' --color14 'cyan' --color7 'white' --color15 'white' -cursorColor '#ffffff' -bindsym $WinKey+Return exec kitty +bindsym $WinKey+Return exec $TERMINAL # kill focused window bindsym $WinKey+Shift+A kill @@ -459,7 +465,7 @@ exec setxkbmap fr exec export XDG_RUNTIME_DIR=/run/user/`id -u` exec systemctl --user start twmnd.service # Background image by https://www.furaffinity.net/view/22943365/ -exec feh --bg-scale ~/.wallpapers/eron_paint_1080.jpg; picom +exec feh --bg-scale ~/.wallpapers/eron_paint_1080.jpg; picom --unredir-if-possible #exec /home/neodarz/wallpaper_animated/wall.sh /home/neodarz/wallpaper_animated/8bit_battle_preparation.gif #exec terminator -e $HOME/.scripts/working.sh #exec ~/.scripts/mpvbg ~/.wallpapers/wallpaper_01.mp4 diff --git a/dotfiles/config/i3pystatus/conf.py b/dotfiles/config/i3pystatus/conf.py index 4c26314..faad247 100644 --- a/dotfiles/config/i3pystatus/conf.py +++ b/dotfiles/config/i3pystatus/conf.py @@ -102,6 +102,9 @@ status.register("battery", format="{status} {percentage:.2f}% [{percentage_design:.2f}%] {remaining:%E%hh:%Mm}", alert=True, alert_percentage=5, + color='#711C91', + full_color='#711C91', + charging_color='#711C91', status={ "DIS": "↓", "CHR": "↑", diff --git a/dotfiles/config/zathura/zathurarc b/dotfiles/config/zathura/zathurarc index f75366e..63bf996 100644 --- a/dotfiles/config/zathura/zathurarc +++ b/dotfiles/config/zathura/zathurarc @@ -21,7 +21,8 @@ set completion-group-fg "#50fa7b" # Comment set completion-highlight-bg "#bd93f9" # Selection set completion-highlight-fg "#282a36" # Foreground -set index-bg "#282a36" # Background +#set index-bg "#282a36" # Background +set index-bg "#1B0F1C" # Background set index-fg "#f8f8f2" # Foreground set index-active-bg "#bd93f9" # Current Line set index-active-fg "#282a36" # Foreground @@ -31,21 +32,44 @@ set inputbar-fg "#f8f8f2" # Foreground set statusbar-bg "#44475a" # Background set statusbar-fg "#f8f8f2" # Foreground -set highlight-color "#ffb86c" # Orange -set highlight-active-color "#ff79c6" # Pink +set highlight-color "#ff79c6" # Orange +set highlight-active-color "#ffb86c" # Pink -set default-bg "#282a36" # Background +#set default-bg "#282a36" # Background +set default-bg "#000000" # Background +set default-bg rgba(0,0,0,0.8) set default-fg "#f8f8f2" # Foreground set render-loading true set render-loading-fg "#282a36" # Background set render-loading-bg "#f8f8f2" # Foreground +set statusbar-bg "#1B0F1C" +set statusbar-fg "#711C91" + +set inputbar-bg "#1B0F1C" +set inputbar-fg "#711C91" + +#set notification-bg "#212121" +#set notification-fg "#EEFFFF" + +#set notification-error-bg "#212121" +#set notification-error-fg "#F07178" + +#set notification-warning-bg "#212121" +#set notification-warning-fg "#F07178" + +set highlight-color "#FFCB6B" +set highlight-active-color "#82AAFF" + # Recolor mode settings # # -set recolor-lightcolor "#282a36" # Background -set recolor-darkcolor "#f8f8f2" # Foreground +#set recolor-lightcolor "#282a36" # Background +set recolor-lightcolor "#000000" # Background +set recolor-lightcolor rgba(0,0,0,0) # Background +#set recolor-darkcolor "#f8f8f2" # Foreground +set recolor-darkcolor "#711C91" # Foreground # Startup options # @@ -130,7 +130,7 @@ echo "Install i3..." #sudo pacman -S --noconfirm --needed i3-wm #sudo pacman -S --noconfirm --needed python-i3-py #pikaur -S --noconfirm --needed rofi -#pikaur -S --noconfirm --needed i3lock-fancy-multimonitor-git +#pikaur -S --noconfirm --needed i3lock-fancy-rapid-git ## i3pystatus |