-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jack
committed
Sep 1, 2022
0 parents
commit 85d2a66
Showing
69 changed files
with
4,530 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
|
||
echo "%{F#2495e7} %{F#ffffff}$(/usr/sbin/ifconfig wlp3s0 | grep "inet " | awk '{print $2}')%{u-}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
|
||
IFACE=$(/usr/sbin/ifconfig | grep tun0 | awk '{print $1}' | tr -d ':') | ||
|
||
if [ "$IFACE" = "tun0" ]; then | ||
echo "%{F#1bbf3e} %{F#ffffff}$(/usr/sbin/ifconfig tun0 | grep "inet " | awk '{print $2}')%{u-}" | ||
else | ||
echo "%{F#1bbf3e}%{u-} Disconnected" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
|
||
target=$(cat ~/.config/bin/target) | ||
|
||
if [ $target ]; then | ||
echo "%{F#e51d0b}什%{F#ffffff} $target%{u-}" | ||
else | ||
echo "%{F#e51d0b}ﲅ %{u-}%{F#ffffff} No target" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#! /bin/sh | ||
|
||
pgrep -x sxhkd > /dev/null || sxhkd & | ||
|
||
bspc monitor -d I II III IV V VI VII VIII IX X | ||
|
||
bspc config border_width 2 | ||
bspc config window_gap 12 | ||
|
||
bspc config split_ratio 0.52 | ||
bspc config borderless_monocle true | ||
bspc config gapless_monocle true | ||
|
||
bspc rule -a Gimp desktop='^8' state=floating follow=on | ||
bspc rule -a Chromium desktop='^2' | ||
bspc rule -a mplayer2 state=floating | ||
bspc rule -a Kupfer.py focus=on | ||
bspc rule -a Screenkey manage=off | ||
|
||
# RESOLUCION ARANDR | ||
|
||
|
||
# WALLPAPER | ||
feh --bg-fill $HOME/Desktop/Wallpaper/s4vitar.jpg | ||
|
||
# POLYBAR | ||
$HOME/.config/polybar/launch.sh | ||
|
||
# CUSTOM | ||
bspc config focus_follows_pointer true | ||
|
||
# PICOM | ||
picom --experimental-backends & | ||
bspc config border_width 0 | ||
|
||
xsetroot -cursor_name left_ptr & | ||
wmname LG3D & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#usr/bin/env dash | ||
|
||
if bspc query -N -n focused.floating > /dev/null; then | ||
step=20 | ||
else | ||
step=100 | ||
fi | ||
|
||
case "$1" in | ||
west) dir=right; falldir=left; x="-$step"; y=0;; | ||
east) dir=right; falldir=left; x="$step"; y=0;; | ||
north) dir=top; falldir=bottom; x=0; y="-$step";; | ||
south) dir=top; falldir=bottom; x=0; y="$step";; | ||
esac | ||
|
||
bspc node -z "$dir" "$x" "$y" || bspc node -z "$falldir" "$x" "$y" |
Binary file added
BIN
+1.62 MB
fonts/HNF/Hack Bold Italic Nerd Font Complete Mono Windows Compatible.ttf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.56 MB
fonts/HNF/Hack Regular Nerd Font Complete Mono Windows Compatible.ttf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
|
||
#Instalar Entrono BSPWM 2022 | ||
|
||
sudo apt install -y build-essential git vim xcb libxcb-util0-dev libxcb-ewmh-dev libxcb-randr0-dev libxcb-icccm4-dev libxcb-keysyms1-dev libxcb-xinerama0-dev libasound2-dev libxcb-xtest0-dev libxcb-shape0-dev | ||
|
||
# Instalando Requerimientos para la polybar | ||
|
||
sudo apt install -y build-essential git cmake cmake-data pkg-config python3-sphinx python3-packaging libuv1-dev libcairo2-dev libxcb1-dev libxcb-util0-dev libxcb-randr0-dev libxcb-composite0-dev python3-xcbgen xcb-proto libxcb-image0-dev libxcb-ewmh-dev libxcb-icccm4-dev | ||
|
||
#Actualizando Repositorios | ||
|
||
sudo apt update | ||
|
||
# Instalamos paquetes adionales | ||
|
||
sudo apt install -y kitty feh scrot telegram-desktop firejail zsh rofi xclip bat arandr bat locate testdisk wmname | ||
|
||
# Creando carpeta de Reposistorios | ||
|
||
mkdir ~/github | ||
|
||
# Descargar Repositorios Necesarios | ||
|
||
cd ~/github | ||
git clone https://github.com/baskerville/bspwm.git | ||
git clone https://github.com/baskerville/sxhkd.git | ||
git clone --recursive https://github.com/polybar/polybar | ||
git clone https://github.com/ibhagwan/picom.git | ||
|
||
# Instalando BSPWM | ||
|
||
cd ~/github/bspwn | ||
make | ||
sudo make install | ||
|
||
sudo apt install bspwm | ||
|
||
# Instalando sxhkd | ||
|
||
cd ~/github/sxhkd | ||
make | ||
sudo make install | ||
|
||
# Instalando Polybar | ||
|
||
cd ~/github/polybar | ||
mkdir build | ||
cd build | ||
cmake .. | ||
make -j$(nproc) | ||
sudo make install | ||
|
||
# Instalando Picom | ||
|
||
cd ~/github/picom | ||
git submodule update --init --recursive | ||
meson --buildtype=release . build | ||
ninja -C build | ||
sudo ninja -C build install | ||
|
||
# Configuramos el tema Nord de Rofi: | ||
|
||
mkdir -p ~/.config/rofi/themes | ||
cp ~/autoBSPWMvmware/rofi/nord.rasi ~/.config/rofi/themes/ | ||
|
||
# Instando lsd | ||
|
||
cd ~/Descargas | ||
|
||
wget https://github.com/Peltoche/lsd/releases/download/0.22.0/lsd_0.22.0_amd64.deb | ||
|
||
sudo dpkg -i lsd_0.22.0_amd64.deb | ||
|
||
rm lsd_0.22.0_amd64.deb | ||
|
||
cd ~/.autoBSPWMvmware | ||
|
||
# Instalamos las HackNerdFonts | ||
|
||
sudo cp -v ~/autoBSPWMvmware/fonts/HNF/* /usr/local/share/fonts/ | ||
|
||
# Instalando Wallpaper de S4vitar | ||
|
||
mkdir ~/Desktop/Wallpaper | ||
cp -v /Wallpaper/* ~/Desktop/Wallpaper/ | ||
|
||
# Copiando mis Archivos de Configuración | ||
|
||
cd ~/autoBSPWMvmware | ||
|
||
rm -rf ~/.config/bspwm | ||
cp -r bspwm/ ~/.config/ | ||
|
||
rm -rf ~/.config/sxhkd | ||
cp -rv sxhkd/ ~/.config/ | ||
|
||
rm -rf ~/.config/polybar | ||
cp -rv polybar/ ~/.config/ | ||
|
||
rm -rf ~/.config/picom | ||
cp -rv picom/ ~/.config/ | ||
|
||
rm -rf ~/.config/kitty | ||
cp -rv kittyl ~/.config/ | ||
|
||
rm -rf ~/.config/bin | ||
cp -rv bin/ ~/.config/ | ||
|
||
# Script | ||
|
||
sudo cp -v ~/autoBSPWMvmware/scripts/screenshot /usr/local/bin/ | ||
sudo cp -v ~/autoBSPWMvmware/scripts/cleartarget /usr/local/bin/ | ||
sudo cp -v ~/autoBSPWMvmware/scripts/settarget /usr/local/bin/ | ||
|
||
# Plugins ZSH | ||
|
||
sudo apt install -y zsh-syntax-highlighting zsh-autosuggestions | ||
sudo mkdir /usr/share/zsh-sudo | ||
cd /usr/share/zsh-sudo | ||
sudo wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/plugins/sudo/sudo.plugin.zsh | ||
|
||
# Instalacion de powerlevel10k | ||
|
||
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/.powerlevel10k | ||
echo 'source ~/.powerlevel10k/powerlevel10k.zsh-theme' | ||
chsh -s /usr/bin/zsh | ||
|
||
# Instalacion de powerlevel10k para root | ||
|
||
sudo git clone --depth=1 https://github.com/romkatv/powerlevel10k.git /root/.powerlevel10k | ||
sudo echo 'source ~/.powerlevel10k/powerlevel10k.zsh-theme' | ||
sudo usermod --shell /usr/bin/zsh root | ||
|
||
# Asignamos Permisos a los Scritps | ||
|
||
chmod +x ~/.config/bspwm/bspwmrc | ||
chmod +x ~/.config/bspwm/scripts/bspwm_resize | ||
chmod +x ~/.config/bin/ethernet_status.s | ||
chmod +x ~/.config/bin/htb_status.sh | ||
chmod +x ~/.config/bin/htb_target.sh | ||
chmod +x ~/.config/polybar/launch.sh | ||
sudo chmod +x /usr/local/bin/screenshot | ||
sudo chmod +x /usr/local/bin/cleartarget | ||
sudo chmod +x /usr/local/bin/settarget |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Copia de configuracion de .p10k.zsh y .zshrc | ||
|
||
rm -rf ~/.zshrc | ||
cp -v .zshrc ~/.zshrc | ||
|
||
rm -rf ~/.p10k.zsh | ||
cp -v .p10k.zsh ~/.p10k.zsh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
cursor_shape Underline | ||
cursor_underline_thickness 1 | ||
window_padding_width 20 | ||
|
||
# Special | ||
foreground #a9b1d6 | ||
background #1a1b26 | ||
|
||
# Black | ||
color0 #414868 | ||
color8 #414868 | ||
|
||
# Red | ||
color1 #f7768e | ||
color9 #f7768e | ||
|
||
# Green | ||
color2 #73daca | ||
color10 #73daca | ||
|
||
# Yellow | ||
color3 #e0af68 | ||
color11 #e0af68 | ||
|
||
# Blue | ||
color4 #7aa2f7 | ||
color12 #7aa2f7 | ||
|
||
# Magenta | ||
color5 #bb9af7 | ||
color13 #bb9af7 | ||
|
||
# Cyan | ||
color6 #7dcfff | ||
color14 #7dcfff | ||
|
||
# White | ||
color7 #c0caf5 | ||
color15 #c0caf5 | ||
|
||
# Cursor | ||
cursor #c0caf5 | ||
cursor_text_color #1a1b26 | ||
|
||
# Selection highlight | ||
selection_foreground #7aa2f7 | ||
selection_background #28344a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
enable_audio_bell no | ||
|
||
include color.ini | ||
|
||
font_family HackNerdFont | ||
|
||
font_size 11 | ||
|
||
disable_ligatures never | ||
|
||
url_color #61afef | ||
|
||
url_style curly | ||
|
||
map ctrl+left neighboring_window left | ||
map ctrl+right neighboring_window right | ||
map ctrl+up neighboring_window up | ||
map ctrl+down neighboring_window down | ||
|
||
map F1 copy_to_buffer a | ||
map F2 paste_from_buffer a | ||
map F3 copy_to_buffer b | ||
map F4 paste_from_buffer b | ||
|
||
cursor_shape beam | ||
cursor_beam_thickness 1.8 | ||
|
||
mouse_hide_wait 3.0 | ||
detect_urls yes | ||
|
||
repaint_delay 10 | ||
input_delay 3 | ||
sync_to_monitor yes | ||
|
||
tab_bar_style powerline | ||
|
||
active_tab_background #98c379 | ||
inactive_tab_background #e06c75 | ||
inactive_tab_foreground #000000 | ||
tab_bar_margin_color black | ||
|
||
map ctrl+shift+enter new_window_with_cwd | ||
map ctrl+shift+t new_tab_with_cwd | ||
|
||
background_opacity 0.85 | ||
|
||
shell zsh |
Oops, something went wrong.