Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
prasanthrangan committed Apr 13, 2024
1 parent a6c0519 commit 8369bed
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 35 deletions.
Binary file added Configs/.config/rofi/assets/style_11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Configs/.config/rofi/assets/style_12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ To create your own custom theme, please refer [theming wiki](https://github.com/

| Theme Select |
| :-: |
| ![Theme Select](https://raw.githubusercontent.com/prasanthrangan/hyprdots/main/Source/assets/theme_select.png) |
| ![Theme Select 1](https://raw.githubusercontent.com/prasanthrangan/hyprdots/main/Source/assets/theme_select_1.png) |
| ![Theme Select 2](https://raw.githubusercontent.com/prasanthrangan/hyprdots/main/Source/assets/theme_select_2.png) |

| Wallpaper Select |
| :-: |
Expand All @@ -174,6 +175,8 @@ To create your own custom theme, please refer [theming wiki](https://github.com/
| ![rofi style#8](https://raw.githubusercontent.com/prasanthrangan/hyprdots/main/Source/assets/rofi_style_8.png) |
| ![rofi style#9](https://raw.githubusercontent.com/prasanthrangan/hyprdots/main/Source/assets/rofi_style_9.png) |
| ![rofi style#10](https://raw.githubusercontent.com/prasanthrangan/hyprdots/main/Source/assets/rofi_style_10.png) |
| ![rofi style#11](https://raw.githubusercontent.com/prasanthrangan/hyprdots/main/Source/assets/rofi_style_11.png) |
| ![rofi style#12](https://raw.githubusercontent.com/prasanthrangan/hyprdots/main/Source/assets/rofi_style_12.png) |

| Wlogout Menu |
| :-: |
Expand Down
42 changes: 8 additions & 34 deletions Scripts/.extra/restore_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,55 +4,28 @@
#|-/ /--| Prasanth Rangan |-/ /--|#
#|/ /---+-----------------------------+/ /---|#

ScrDir=$(dirname "$(dirname "$(realpath "$0")")")

source "$ScrDir/global_fn.sh"
scrDir=$(dirname "$(dirname "$(realpath "$0")")")
source "${scrDir}/global_fn.sh"
if [ $? -ne 0 ]; then
echo "Error: unable to source global_fn.sh, please execute from $(dirname "$(realpath "$0")")..."
echo "Error: unable to source global_fn.sh..."
exit 1
fi

CloneDir=$(dirname "$(realpath "$CloneDir")")

# icons

#// icons

if [ -f /usr/share/applications/rofi-theme-selector.desktop ] && [ -f /usr/share/applications/rofi.desktop ]; then
sudo rm /usr/share/applications/rofi-theme-selector.desktop
sudo rm /usr/share/applications/rofi.desktop
fi
sudo sed -i "/^Icon=/c\Icon=adjust-colors" /usr/share/applications/nwg-look.desktop
sudo sed -i "/^Icon=/c\Icon=spectacle" /usr/share/applications/swappy.desktop

# steam
#if pkg_installed steam
# then
# skinsDir="${XDG_DATA_HOME:-$HOME/.local/share}/Steam/Skins/"
# if [ ! -d "$skinsDir" ]
# then
# mkdir -p "$skinsDir"
# fi
# tar -xzf ${CloneDir}/Source/arcs/Steam_Metro.tar.gz -C "$skinsDir"
#fi

# spotify
if pkg_installed spotify && pkg_installed spicetify-cli; then
if [ ! -w /opt/spotify ] || [ ! -w /opt/spotify/Apps ]; then
sudo chmod a+wr /opt/spotify
sudo chmod a+wr /opt/spotify/Apps -R
fi
#// firefox

spicetify &> /dev/null
mkdir -p ~/.config/spotify
touch ~/.config/spotify/prefs
sptfyConf=$(spicetify -c)
sed -i "/^prefs_path/ s+=.*$+= $HOME/.config/spotify/prefs+g" "${sptfyConf}"
tar -xzf ${CloneDir}/Source/arcs/Spotify_Sleek.tar.gz -C ~/.config/spicetify/Themes/
spicetify backup apply
spicetify config current_theme Sleek
spicetify config color_scheme Wallbash
spicetify apply
fi

# firefox
if pkg_installed firefox; then
FoxRel=$(find ~/.mozilla/firefox -maxdepth 1 -type d -name "*.default-release" | head -1)

Expand All @@ -74,3 +47,4 @@ if pkg_installed firefox; then
firefox -profile "${FoxRel}" "${fext}" &> /dev/null &
done
fi

Binary file added Source/assets/rofi_style_11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Source/assets/rofi_style_12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed Source/assets/theme_select.png
Binary file not shown.
Binary file added Source/assets/theme_select_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Source/assets/theme_select_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8369bed

Please sign in to comment.