diff options
Diffstat (limited to 'raveos-hyprland-theme/theme-data/hypr')
3 files changed, 11 insertions, 38 deletions
diff --git a/raveos-hyprland-theme/theme-data/hypr/config/keybinds.lua b/raveos-hyprland-theme/theme-data/hypr/config/keybinds.lua index 12b58b9..62c734e 100644 --- a/raveos-hyprland-theme/theme-data/hypr/config/keybinds.lua +++ b/raveos-hyprland-theme/theme-data/hypr/config/keybinds.lua @@ -1,6 +1,4 @@ ---------------------- ----- KEYBINDINGS ---- ---------------------- +-- Keybindings local mainMod = "SUPER" local secondMod = "CTRL + ALT" diff --git a/raveos-hyprland-theme/theme-data/hypr/config/windowrules.lua b/raveos-hyprland-theme/theme-data/hypr/config/windowrules.lua index 3dd2e48..8d2eeb8 100644 --- a/raveos-hyprland-theme/theme-data/hypr/config/windowrules.lua +++ b/raveos-hyprland-theme/theme-data/hypr/config/windowrules.lua @@ -1,6 +1,4 @@ ---############################# ---## WINDOWS AND WORKSPACES ### ---############################# +-- Windows and workspaces hl.window_rule({ name = "windowrule-float-all", diff --git a/raveos-hyprland-theme/theme-data/hypr/hyprland.lua b/raveos-hyprland-theme/theme-data/hypr/hyprland.lua index af3ce8d..5773667 100644 --- a/raveos-hyprland-theme/theme-data/hypr/hyprland.lua +++ b/raveos-hyprland-theme/theme-data/hypr/hyprland.lua @@ -1,14 +1,8 @@ ------------------- ----- SOURCES ----- ------------------- - +-- Sources require("config/keybinds") require("config/windowrules") ---############### ---## MONITORS ### ---############### - +-- Monitors hl.monitor({ output = "", mode = "preferred", @@ -25,26 +19,18 @@ hl.on("hyprland.start", function() hl.exec_cmd("systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP") hl.exec_cmd("/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1") hl.exec_cmd("gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'") + hl.exec_cmd("gsettings set org.gnome.desktop.interface gtk-theme 'Yaru-olive-dark'") + hl.exec_cmd("gsettings set org.gnome.desktop.interface icon-theme 'Adwaitaru-olive'") hl.exec_cmd("bash -c 'wl-paste --watch cliphist store &'") - -- raveos-welcome: itt nincs /etc/xdg/autostart feldolgozas (Hyprland - -- nem DE-session, csak ezt a hl.on("hyprland.start")-ot futtatja), ezert - -- kozvetlenul kell inditani - a sajat .welcome_done flag-je miatt csak - -- az elso bejelentkezeskor csinal barmit, utana no-op. hl.exec_cmd("env QT_QPA_PLATFORM='wayland;xcb' QT_STYLE_OVERRIDE=kvantum raveos-welcome") end) ---################## ---## MY PROGRAMS ### ---################## - +-- Programs local terminal = "kitty" local fileManager = "Thunar" local menu = "dms ipc call spotlight toggle" ---############################ ---## ENVIRONMENT VARIABLES ### ---############################ - +-- Environment variables local _home = os.getenv("HOME") or ("/home/" .. (os.getenv("USER") or "user")) local _xdg_runtime = os.getenv("XDG_RUNTIME_DIR") or "/run/user/1000" @@ -68,10 +54,7 @@ hl.env("QT_WAYLAND_DISABLE_WINDOWDECORATION", 1) hl.env("QT_STYLE_OVERRIDE", "kvantum") hl.env("SSH_AUTH_SOCK", _xdg_runtime .. "/ssh-agent.socket") ---##################### ---## LOOK AND FEEL ### ---##################### - +-- Look and feel hl.config({ general = { gaps_in = 5, @@ -143,10 +126,7 @@ hl.animation({ leaf = "workspacesIn", enabled = true, speed = 1.21, bezier = "a hl.animation({ leaf = "workspacesOut", enabled = true, speed = 1.94, bezier = "almostLinear", style = "fade" }) hl.animation({ leaf = "zoomFactor", enabled = true, speed = 7, bezier = "quick" }) ---########### ---## INPUT ## ---########### - +-- Input hl.config({ input = { kb_layout = "", @@ -186,10 +166,7 @@ hl.gesture({ action = "workspace", }) ---####################### ---## HYPRSHELL LAYERS ### ---####################### - +-- Layers hl.layer_rule({ match = { namespace = "hyprshell_overview" }, blur = true }) hl.layer_rule({ match = { namespace = "hyprshell_overview" }, ignore_alpha = true }) hl.layer_rule({ match = { namespace = "hyprshell_switch" }, blur = true }) |