summaryrefslogtreecommitdiff
path: root/raveos-hyprland-theme
diff options
context:
space:
mode:
Diffstat (limited to 'raveos-hyprland-theme')
-rw-r--r--raveos-hyprland-theme/.SRCINFO10
-rw-r--r--raveos-hyprland-theme/PKGBUILD2
-rw-r--r--raveos-hyprland-theme/raveos-hyprland-apply.sh43
-rw-r--r--raveos-hyprland-theme/theme-data/hypr/config/windowrules.lua6
-rw-r--r--raveos-hyprland-theme/theme-data/hypr/hyprland.lua6
5 files changed, 58 insertions, 9 deletions
diff --git a/raveos-hyprland-theme/.SRCINFO b/raveos-hyprland-theme/.SRCINFO
index af8db8f..111c46c 100644
--- a/raveos-hyprland-theme/.SRCINFO
+++ b/raveos-hyprland-theme/.SRCINFO
@@ -1,14 +1,11 @@
pkgbase = raveos-hyprland-theme
pkgdesc = RaveOS Hyprland theme payload and installer
pkgver = 1.0.0
- pkgrel = 1
+ pkgrel = 8
url = https://raveos.local
install = raveos-hyprland-theme.install
arch = any
license = custom
- conflicts = raveos-cosmic-theme
- conflicts = raveos-gnome-theme
- conflicts = raveos-plasma-theme
depends = dms-shell-hyprland
depends = matugen
depends = socat
@@ -25,5 +22,10 @@ pkgbase = raveos-hyprland-theme
depends = amdgpu_top
depends = nvtop
depends = intel-gpu-tools
+ conflicts = raveos-cosmic-theme
+ conflicts = raveos-gnome-theme
+ conflicts = raveos-plasma-theme
+ conflicts = yaru-gtk-theme
+ options = !debug
pkgname = raveos-hyprland-theme
diff --git a/raveos-hyprland-theme/PKGBUILD b/raveos-hyprland-theme/PKGBUILD
index 91e49d2..2ad40c1 100644
--- a/raveos-hyprland-theme/PKGBUILD
+++ b/raveos-hyprland-theme/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=raveos-hyprland-theme
pkgver=1.0.0
-pkgrel=5
+pkgrel=8
pkgdesc="RaveOS Hyprland theme payload and installer"
arch=('any')
url="https://raveos.local"
diff --git a/raveos-hyprland-theme/raveos-hyprland-apply.sh b/raveos-hyprland-theme/raveos-hyprland-apply.sh
index abd61f7..e563e9d 100644
--- a/raveos-hyprland-theme/raveos-hyprland-apply.sh
+++ b/raveos-hyprland-theme/raveos-hyprland-apply.sh
@@ -248,6 +248,12 @@ while IFS=: read -r user _ uid gid _ home shell; do
fi
fi
+ if [[ -f "${home}/.config/hypr/config/windowrules.lua" && -f "${PAYLOAD}/hypr/config/windowrules.lua" ]] \
+ && grep -q 'fix-xwayland-drags' "${home}/.config/hypr/config/windowrules.lua" 2>/dev/null \
+ && ! grep -q 'windowrule-14' "${home}/.config/hypr/config/windowrules.lua" 2>/dev/null; then
+ install -Dm644 "${PAYLOAD}/hypr/config/windowrules.lua" "${home}/.config/hypr/config/windowrules.lua"
+ fi
+
# hyprpaper konfig
if [[ ! -f "${home}/.config/hypr/hyprpaper.conf" ]]; then
printf 'preload = %s/.config/background.jpg\nwallpaper = ,%s/.config/background.jpg\nsplash = false\n' \
@@ -338,7 +344,18 @@ SEOF
fi
# Kizarolag az erintett konfiguraciok es konyvtarak jogosultsagait javitjuk
- chown "${uid}:${gid}" "${home}/.config" "${home}/.local" "${home}/.bashrc" 2>/dev/null || true
+ chown "${uid}:${gid}" \
+ "${home}/.bashrc" \
+ "${home}/.face" \
+ "${home}/.face.icon" \
+ "${home}/.config/background.jpg" \
+ "${home}/.config/user-dirs.dirs" 2>/dev/null || true
+ chown "${uid}:${gid}" \
+ "${home}/.config" \
+ "${home}/.local" \
+ "${home}/.local/state" \
+ "${home}/.local/share" \
+ "${home}/.local/share/flatpak" 2>/dev/null || true
chown "${uid}:${gid}" \
"${home}/${XDG_DESKTOP}" \
"${home}/${XDG_DOWNLOAD}" \
@@ -349,9 +366,27 @@ SEOF
"${home}/${XDG_PICTURES}" \
"${home}/${XDG_VIDEOS}" \
"${home}/${XDG_PROJECTS}" 2>/dev/null || true
- chown -R "${uid}:${gid}" \
- "${home}/.config" \
- "${home}/.local" 2>/dev/null || true
+ for d in \
+ .config/hypr \
+ .config/dms \
+ .config/quickshell \
+ .config/DankMaterialShell \
+ .config/matugen \
+ .config/kitty \
+ .config/fastfetch \
+ .config/raveos \
+ .config/raveswitch \
+ .config/gtk-3.0 \
+ .config/gtk-4.0 \
+ .config/nwg-look \
+ .config/Thunar \
+ .config/xfce4 \
+ .config/xsettingsd \
+ .config/Kvantum \
+ .local/state/DankMaterialShell \
+ .local/share/flatpak/overrides; do
+ [[ -e "${home}/${d}" ]] && chown -R "${uid}:${gid}" "${home}/${d}" 2>/dev/null || true
+ done
done < /etc/passwd
diff --git a/raveos-hyprland-theme/theme-data/hypr/config/windowrules.lua b/raveos-hyprland-theme/theme-data/hypr/config/windowrules.lua
index 8d2eeb8..811b79e 100644
--- a/raveos-hyprland-theme/theme-data/hypr/config/windowrules.lua
+++ b/raveos-hyprland-theme/theme-data/hypr/config/windowrules.lua
@@ -79,6 +79,12 @@ hl.window_rule({
})
hl.window_rule({
+ name = "windowrule-14",
+ match = { class = "vivaldi-stable" },
+ size = { 1920, 1080 },
+})
+
+hl.window_rule({
name = "fix-xwayland-drags",
match = {
class = "^$",
diff --git a/raveos-hyprland-theme/theme-data/hypr/hyprland.lua b/raveos-hyprland-theme/theme-data/hypr/hyprland.lua
index 7af6a24..2011427 100644
--- a/raveos-hyprland-theme/theme-data/hypr/hyprland.lua
+++ b/raveos-hyprland-theme/theme-data/hypr/hyprland.lua
@@ -160,6 +160,12 @@ hl.config({
},
})
+hl.config({
+ cursor = {
+ no_warps = true,
+ },
+})
+
hl.gesture({
fingers = 3,
direction = "horizontal",