diff options
author | Rafael Marçalo <raroma09@gmail.com> | 2023-11-29 17:55:54 +0000 |
---|---|---|
committer | Rafael Marçalo <raroma09@gmail.com> | 2023-11-29 17:55:54 +0000 |
commit | 2938fec363a434b3515f59f1a29b3b1652bfdd7d (patch) | |
tree | ad3384e834902fa1c29c7552d17f27e694ae5576 | |
parent | 21cac1a3cb2a57acc09b36e44eced2aca3d54cc8 (diff) |
Environment changes
-rw-r--r-- | INSTALL/arch-install | 2 | ||||
-rwxr-xr-x | scripts/.local/bin/colorset | 16 | ||||
-rwxr-xr-x | shell/.config/shell/env | 2 | ||||
-rwxr-xr-x | suckless/.local/src/compileSource | 2 |
4 files changed, 3 insertions, 19 deletions
diff --git a/INSTALL/arch-install b/INSTALL/arch-install index ad43070..8a18137 100644 --- a/INSTALL/arch-install +++ b/INSTALL/arch-install @@ -35,7 +35,7 @@ doas sh -c 'echo "export _JAVA_AWT_WM_NONREPARENTING=1" >>/etc/profile.d/jre.sh' chsh -s /bin/zsh # Deploy Dots -stow --target="$HOME" fonts gtk keepass man misc mpd ncmpcpp newsboat neovim npm picom pipewire qt shell scripts suckless sxiv tor vifm X11 zathura zeal zsh +stow --target="$HOME" fonts gtk keepass man misc mpd ncmpcpp newsboat neovim npm picom pipewire qt shell scripts suckless surf sxiv tor vifm X11 zathura zeal zsh touch ~/.config/X11/Xauthority ~/.config/mpd/database ~/.config/mpd/log ~/.config/mpd/pid ~/.config/mpd/state ~/.config/mpd/sticker.sql cd ~/.local/src && sh compileSource && cd "$CURDIR" || exit diff --git a/scripts/.local/bin/colorset b/scripts/.local/bin/colorset index 3148580..11057a8 100755 --- a/scripts/.local/bin/colorset +++ b/scripts/.local/bin/colorset @@ -9,7 +9,6 @@ fi # Checking for non-existant dirs ! [ -f "$SRC"/colors/dmenu ] && mkdir -p "$SRC"/colors/dmenu ! [ -f "$SRC"/colors/dwm ] && mkdir -p "$SRC"/colors/dwm -! [ -f "$SRC"/colors/neovimb/src ] && mkdir -p "$SRC"/colors/neovimb/src ! [ -f "$SRC"/colors/st ] && mkdir -p "$SRC"/colors/st # Purging previous colorscheme files @@ -21,21 +20,6 @@ cp -rf ~/.cache/wal/colors-wal-st.h "$SRC"/colors/st/colors.h head -7 ~/.cache/wal/colors-wal-dwm.h > "$SRC"/colors/dwm/colors.h sed -i s/"$(grep norm_border "$SRC"/colors/dwm/colors.h | cut -d# -f 2 | cut -d\" -f 1)"/"$(grep black "$SRC"/colors/st/colors.h | head -1 | cut -d# -f 2 | cut -d\" -f 1)"/g "$SRC"/colors/dwm/colors.h -### -cp -rf "$XDG_CONFIG_HOME"/suckless/neovimb/config.h "$SRC"/colors/neovimb/src/ -### -OLDSTRING=$(grep SETTING_INPUT_CSS "$SRC"/colors/neovimb/src/config.h) -NEWSTRING="#define SETTING_INPUT_CSS \"background-color:$(head -2 "$SRC"/colors/dwm/colors.h | grep bg | cut -d\" -f2);color:$(head -2 "$SRC"/colors/dwm/colors.h | grep fg | cut -d\" -f2);font:\" SETTING_GUI_FONT_NORMAL" -sed -i s."$OLDSTRING"."$NEWSTRING".g "$SRC"/colors/neovimb/src/config.h -### -OLDSTRING=$(grep SETTING_STATUS_CSS "$SRC"/colors/neovimb/src/config.h) -NEWSTRING="#define SETTING_STATUS_CSS \"color:$(tail -3 "$SRC"/colors/dwm/colors.h | grep fg | cut -d\" -f2);background-color:$(tail -3 "$SRC"/colors/dwm/colors.h | grep bg | cut -d\" -f2);font:\" SETTING_GUI_FONT_EMPH" -sed -i s."$OLDSTRING"."$NEWSTRING".g "$SRC"/colors/neovimb/src/config.h -### -OLDSTRING=$(grep SETTING_STATUS_SSL_CSS "$SRC"/colors/neovimb/src/config.h) -NEWSTRING="#define SETTING_STATUS_SSL_CSS \"background-color:$(tail -3 "$SRC"/colors/dwm/colors.h | grep bg | cut -d\" -f2);color:$(tail -3 "$SRC"/colors/dwm/colors.h | grep fg | cut -d\" -f2);\"" -sed -i s."$OLDSTRING"."$NEWSTRING".g "$SRC"/colors/neovimb/src/config.h - # Recompiling Suckless Programs with new colorscheme cp -rf "$SRC"/colors/* "$SRC" cp -rf "$SRC"/colors/wallpaper.png ~/.config/wallpaper diff --git a/shell/.config/shell/env b/shell/.config/shell/env index da997ae..d5c7c14 100755 --- a/shell/.config/shell/env +++ b/shell/.config/shell/env @@ -7,7 +7,7 @@ export KERNEL=$(uname) # Default programs export EDITOR="nvim" export TERMINAL="st" -export BROWSER="neovimb" +export BROWSER="surf" export READER="zathura" export FILE="vifmrun" export NEWS="newsboat" diff --git a/suckless/.local/src/compileSource b/suckless/.local/src/compileSource index c0c996a..b53c84e 100755 --- a/suckless/.local/src/compileSource +++ b/suckless/.local/src/compileSource @@ -51,7 +51,7 @@ fi [ ! -f "$SRC"/st/config.h ] && cp -rf "$HOME"/.config/suckless/st/config.h "$SRC"/st/ ; if [ "$KERNEL" = "Linux" ]; then - [ ! -f "$SRC"/surf/src/config.h ] && cp -rf "$HOME"/.config/suckless/surf/config.h "$SRC"/surf/src ; + [ ! -f "$SRC"/surf/src/config.h ] && cp -rf "$HOME"/.config/suckless/surf/config.h "$SRC"/surf/ ; [ ! -f "$SRC"/sent/config.h ] && cp -rf "$HOME"/.config/suckless/sent/config.h "$SRC"/sent/ ; [ ! -f "$SRC"/slstatus/config.h ] && cp -rf "$HOME"/.config/suckless/slstatus/config.h "$SRC"/slstatus/ ; [ ! -f "$SRC"/xmouseless/config.h ] && cp -rf "$HOME"/.config/suckless/xmouseless/config.h "$SRC"/xmouseless/ ; |