Skip to content

Commit 8369bed

Browse files
minor changes
1 parent a6c0519 commit 8369bed

File tree

9 files changed

+12
-35
lines changed

9 files changed

+12
-35
lines changed
17.2 KB
Loading
16.9 KB
Loading

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ To create your own custom theme, please refer [theming wiki](https://github.com/
152152

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

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

178181
| Wlogout Menu |
179182
| :-: |

Scripts/.extra/restore_app.sh

Lines changed: 8 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -4,55 +4,28 @@
44
#|-/ /--| Prasanth Rangan |-/ /--|#
55
#|/ /---+-----------------------------+/ /---|#
66

7-
ScrDir=$(dirname "$(dirname "$(realpath "$0")")")
8-
9-
source "$ScrDir/global_fn.sh"
7+
scrDir=$(dirname "$(dirname "$(realpath "$0")")")
8+
source "${scrDir}/global_fn.sh"
109
if [ $? -ne 0 ]; then
11-
echo "Error: unable to source global_fn.sh, please execute from $(dirname "$(realpath "$0")")..."
10+
echo "Error: unable to source global_fn.sh..."
1211
exit 1
1312
fi
1413

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

17-
# icons
16+
17+
#// icons
18+
1819
if [ -f /usr/share/applications/rofi-theme-selector.desktop ] && [ -f /usr/share/applications/rofi.desktop ]; then
1920
sudo rm /usr/share/applications/rofi-theme-selector.desktop
2021
sudo rm /usr/share/applications/rofi.desktop
2122
fi
2223
sudo sed -i "/^Icon=/c\Icon=adjust-colors" /usr/share/applications/nwg-look.desktop
2324
sudo sed -i "/^Icon=/c\Icon=spectacle" /usr/share/applications/swappy.desktop
2425

25-
# steam
26-
#if pkg_installed steam
27-
# then
28-
# skinsDir="${XDG_DATA_HOME:-$HOME/.local/share}/Steam/Skins/"
29-
# if [ ! -d "$skinsDir" ]
30-
# then
31-
# mkdir -p "$skinsDir"
32-
# fi
33-
# tar -xzf ${CloneDir}/Source/arcs/Steam_Metro.tar.gz -C "$skinsDir"
34-
#fi
3526

36-
# spotify
37-
if pkg_installed spotify && pkg_installed spicetify-cli; then
38-
if [ ! -w /opt/spotify ] || [ ! -w /opt/spotify/Apps ]; then
39-
sudo chmod a+wr /opt/spotify
40-
sudo chmod a+wr /opt/spotify/Apps -R
41-
fi
27+
#// firefox
4228

43-
spicetify &> /dev/null
44-
mkdir -p ~/.config/spotify
45-
touch ~/.config/spotify/prefs
46-
sptfyConf=$(spicetify -c)
47-
sed -i "/^prefs_path/ s+=.*$+= $HOME/.config/spotify/prefs+g" "${sptfyConf}"
48-
tar -xzf ${CloneDir}/Source/arcs/Spotify_Sleek.tar.gz -C ~/.config/spicetify/Themes/
49-
spicetify backup apply
50-
spicetify config current_theme Sleek
51-
spicetify config color_scheme Wallbash
52-
spicetify apply
53-
fi
54-
55-
# firefox
5629
if pkg_installed firefox; then
5730
FoxRel=$(find ~/.mozilla/firefox -maxdepth 1 -type d -name "*.default-release" | head -1)
5831

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

Source/assets/rofi_style_11.png

2.67 MB
Loading

Source/assets/rofi_style_12.png

3.3 MB
Loading

Source/assets/theme_select.png

-374 KB
Binary file not shown.

Source/assets/theme_select_1.png

1.95 MB
Loading

Source/assets/theme_select_2.png

2.4 MB
Loading

0 commit comments

Comments
 (0)