summaryrefslogtreecommitdiff
path: root/raveos-hyprland-theme
diff options
context:
space:
mode:
Diffstat (limited to 'raveos-hyprland-theme')
-rw-r--r--raveos-hyprland-theme/.SRCINFO2
-rw-r--r--raveos-hyprland-theme/PKGBUILD2
-rw-r--r--raveos-hyprland-theme/raveos-hyprland-apply.sh10
-rw-r--r--raveos-hyprland-theme/theme-data/hypr/config/windowrules.lua6
-rw-r--r--raveos-hyprland-theme/theme-data/hypr/hyprland.lua6
-rw-r--r--raveos-hyprland-theme/theme-data/raveswitch/config.ron85
6 files changed, 104 insertions, 7 deletions
diff --git a/raveos-hyprland-theme/.SRCINFO b/raveos-hyprland-theme/.SRCINFO
index c14b51e..13d820f 100644
--- a/raveos-hyprland-theme/.SRCINFO
+++ b/raveos-hyprland-theme/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = raveos-hyprland-theme
pkgdesc = RaveOS Hyprland theme payload and installer
pkgver = 1.0.0
- pkgrel = 7
+ pkgrel = 10
url = https://raveos.local
install = raveos-hyprland-theme.install
arch = any
diff --git a/raveos-hyprland-theme/PKGBUILD b/raveos-hyprland-theme/PKGBUILD
index fd77b46..3612be4 100644
--- a/raveos-hyprland-theme/PKGBUILD
+++ b/raveos-hyprland-theme/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=raveos-hyprland-theme
pkgver=1.0.0
-pkgrel=7
+pkgrel=10
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 43f8d8a..0dacda7 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' \
@@ -309,10 +315,8 @@ SEOF
done
# RaveSwitch
- if [[ ! -f "${home}/.config/raveswitch/config.ron" && -f "${PAYLOAD}/raveswitch/config.ron" ]]; then
+ if [[ -f "${PAYLOAD}/raveswitch/config.ron" ]]; then
install -Dm644 "${PAYLOAD}/raveswitch/config.ron" "${home}/.config/raveswitch/config.ron"
- elif [[ -f "${home}/.config/raveswitch/config.ron" ]]; then
- sed -i 's/modifier: "Super"/modifier: "Alt"/' "${home}/.config/raveswitch/config.ron" 2>/dev/null || true
fi
# Flatpak global override
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",
diff --git a/raveos-hyprland-theme/theme-data/raveswitch/config.ron b/raveos-hyprland-theme/theme-data/raveswitch/config.ron
index 72bdd16..c2c8aa9 100644
--- a/raveos-hyprland-theme/theme-data/raveswitch/config.ron
+++ b/raveos-hyprland-theme/theme-data/raveswitch/config.ron
@@ -2,9 +2,90 @@
(
version: 4,
windows: (
- switch: Some(modifier: "Alt", key: "Tab", filter_by: [current_monitor], switch_workspaces: false, exclude_workspaces: "", kill_key: 'q'),
+ scale: 8.5,
+ items_per_row: 5,
+ overview: None,
+ switch: (
+ modifier: "super",
+ key: "Tab",
+ filter_by: [
+ current_monitor,
+ ],
+ switch_workspaces: false,
+ exclude_workspaces: "",
+ kill_key: 'q',
+ ),
+ switch_2: None,
+ ),
+ appearance: (
+ max_columns: 10,
+ card_width: 150,
+ card_height: 150,
+ icon_width: 60,
+ icon_height: 60,
+ border_radius: 6,
+ margin: 11,
+ card_padding: 6,
+ font_size: 12,
+ show_title: true,
+ show_workspace: false,
+ highlight_active: true,
+ app_name_only: false,
+ ),
+ colors: (
+ background: "#000000d2",
+ border: "#ffffff18",
+ selected_border: "auto",
+ text: "#ffffffcc",
+ text_selected: "#ffffff",
+ icon_color_accent: true,
+ accent_background_opacity: 0.5,
+ selected_border_width: 2,
+ ),
+ animations: (
+ open_duration: 180,
+ close_duration: 180,
+ select_duration: 250,
+ easing: "ease-in-out",
+ open_animation: "slide-up",
+ scale_from: 1.0,
+ slide_offset: 30,
+ ),
+ effects: (
+ panel_blur: true,
+ panel_blur_size: 20,
+ card_blur: true,
+ card_blur_size: 8,
+ panel_shadow: true,
+ panel_shadow_color: "#00000050",
+ panel_shadow_range: 4,
+ card_shadow: true,
+ card_shadow_color: "#00000050",
+ card_shadow_range: 4,
+ icon_glow: true,
+ icon_glow_strength: 22,
+ dim_inactive: 0.5,
),
behavior: (
+ filter_current_workspace: false,
+ filter_current_monitor: false,
+ sort_by_mru: true,
+ wrap_selection: true,
+ mouse_hover_select: true,
+ click_to_focus: true,
close_on_mod_release: true,
),
-)
+ icon_color: (
+ hue_sensitivity: 5.0,
+ min_saturation: 0.25,
+ min_lightness: 0.25,
+ max_lightness: 0.7,
+ cache_size: 200,
+ fallback_color: "#7C3AED",
+ extracted_colors: 1,
+ multi_color_display: "gradient",
+ multi_color_gradient_style: "radial",
+ multi_color_animation: false,
+ multi_color_effect: "glow",
+ ),
+) \ No newline at end of file