diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2024-12-26 07:13:33 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2024-12-26 07:13:33 +0900 |
| commit | eb5c63ca2d861d30b3c6e2ed24f3106d11622573 (patch) | |
| tree | 46e3c4ed5c208dc0357784af138395757d9daba8 /copy.sh | |
| parent | c259c1df4882bc25d0cea5900bc6ff2664f9611a (diff) | |
added hyprcursor version of Bibata Ice Version.
Diffstat (limited to 'copy.sh')
| -rwxr-xr-x | copy.sh | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -83,6 +83,15 @@ if command -v dpkg &> /dev/null; then sed -i '/^exec-once = pypr &/ s/^/#/' config/hypr/UserConfigs/Startup_Apps.conf fi +# activating hyprcursor on env by checking if the directory ~/.icons/Bibata-Modern-Ice/hyprcursors exists +if [ -d "$HOME/.icons/Bibata-Modern-Ice/hyprcursors" ]; then + # Define the config file path + HYPRCURSOR_ENV_FILE="config/hypr/UserConfigs/ENVariables.conf" + + sed -i 's/^#env = HYPRCURSOR_THEME,Bibata-Modern-Ice/env = HYPRCURSOR_THEME,Bibata-Modern-Ice/' "$HYPRCURSOR_ENV_FILE" + sed -i 's/^#env = HYPRCURSOR_SIZE,24/env = HYPRCURSOR_SIZE,24/' "$HYPRCURSOR_ENV_FILE" +fi + # Function to detect keyboard layout using localectl or setxkbmap detect_layout() { if command -v localectl >/dev/null 2>&1; then |
