From 24a7513e6931e8b4045010ea2356477822f6f868 Mon Sep 17 00:00:00 2001 From: Domipoke <42298508+Domipoke@users.noreply.github.com> Date: Fri, 24 Jul 2026 14:34:57 +0200 Subject: [PATCH] 24/07/2026 --- hypr/.gitignore | 2 - hypr/domipoke/.gitignore | 3 + hypr/{ => domipoke}/.luarc.json | 0 hypr/{ => domipoke}/.vscode/settings.json | 0 hypr/{ => domipoke}/animation.lua | 0 hypr/{ => domipoke}/autostart.lua | 7 +- hypr/{ => domipoke}/colors.lua | 0 hypr/{ => domipoke}/config.lua | 0 hypr/{ => domipoke}/hub.lua | 0 hypr/{ => domipoke}/hyprcolors.lua | 0 hypr/{ => domipoke}/hypridle.conf | 0 hypr/domipoke/hyprland.lua | 122 ++++++++++++++++++ hypr/{ => domipoke}/hyprlock.conf | 0 hypr/{ => domipoke}/hyprsunset.conf | 0 hypr/{ => domipoke}/hyprtoolkit.conf | 0 hypr/{ => domipoke}/input.lua | 0 hypr/{ => domipoke}/keybinds.lua | 0 hypr/domipoke/noctalia.lua | 45 +++++++ .../noctalia/noctalia-colors.conf | 0 .../noctalia/noctalia-colors.lua | 0 hypr/{ => domipoke}/performance.lua | 0 hypr/{ => domipoke}/plugins.conf | 0 hypr/{ => domipoke}/scripts/EOS-greeter.conf | 0 hypr/{ => domipoke}/scripts/hyprPicker.sh | 0 .../{ => domipoke}/scripts/init_wallpapers.sh | 0 hypr/{ => domipoke}/scripts/nightmode.sh | 0 hypr/{ => domipoke}/scripts/playerctlock.sh | 0 hypr/{ => domipoke}/scripts/screensharing.sh | 0 hypr/{ => domipoke}/scripts/toggleMirror.sh | 0 hypr/{ => domipoke}/scripts/wallpapers/set.sh | 0 hypr/{ => domipoke}/setting.txt | 0 hypr/{ => domipoke}/windowrule.lua | 0 hypr/{ => domipoke}/workspace.lua | 0 hypr/hyprland.lua | 121 +---------------- hypr/monitors.lua | 30 ----- hypr/privatesettings.lua | 5 - 36 files changed, 177 insertions(+), 158 deletions(-) delete mode 100644 hypr/.gitignore create mode 100644 hypr/domipoke/.gitignore rename hypr/{ => domipoke}/.luarc.json (100%) rename hypr/{ => domipoke}/.vscode/settings.json (100%) rename hypr/{ => domipoke}/animation.lua (100%) rename hypr/{ => domipoke}/autostart.lua (92%) rename hypr/{ => domipoke}/colors.lua (100%) rename hypr/{ => domipoke}/config.lua (100%) rename hypr/{ => domipoke}/hub.lua (100%) rename hypr/{ => domipoke}/hyprcolors.lua (100%) rename hypr/{ => domipoke}/hypridle.conf (100%) create mode 100644 hypr/domipoke/hyprland.lua rename hypr/{ => domipoke}/hyprlock.conf (100%) rename hypr/{ => domipoke}/hyprsunset.conf (100%) rename hypr/{ => domipoke}/hyprtoolkit.conf (100%) rename hypr/{ => domipoke}/input.lua (100%) rename hypr/{ => domipoke}/keybinds.lua (100%) create mode 100644 hypr/domipoke/noctalia.lua rename hypr/{ => domipoke}/noctalia/noctalia-colors.conf (100%) rename hypr/{ => domipoke}/noctalia/noctalia-colors.lua (100%) rename hypr/{ => domipoke}/performance.lua (100%) rename hypr/{ => domipoke}/plugins.conf (100%) rename hypr/{ => domipoke}/scripts/EOS-greeter.conf (100%) rename hypr/{ => domipoke}/scripts/hyprPicker.sh (100%) rename hypr/{ => domipoke}/scripts/init_wallpapers.sh (100%) rename hypr/{ => domipoke}/scripts/nightmode.sh (100%) rename hypr/{ => domipoke}/scripts/playerctlock.sh (100%) rename hypr/{ => domipoke}/scripts/screensharing.sh (100%) rename hypr/{ => domipoke}/scripts/toggleMirror.sh (100%) rename hypr/{ => domipoke}/scripts/wallpapers/set.sh (100%) rename hypr/{ => domipoke}/setting.txt (100%) rename hypr/{ => domipoke}/windowrule.lua (100%) rename hypr/{ => domipoke}/workspace.lua (100%) delete mode 100644 hypr/monitors.lua delete mode 100644 hypr/privatesettings.lua diff --git a/hypr/.gitignore b/hypr/.gitignore deleted file mode 100644 index 42e450d..0000000 --- a/hypr/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -privatesettings.lua -monitors.lua \ No newline at end of file diff --git a/hypr/domipoke/.gitignore b/hypr/domipoke/.gitignore new file mode 100644 index 0000000..637db2e --- /dev/null +++ b/hypr/domipoke/.gitignore @@ -0,0 +1,3 @@ +privatesettings.lua +monitors.lua +settings.txt \ No newline at end of file diff --git a/hypr/.luarc.json b/hypr/domipoke/.luarc.json similarity index 100% rename from hypr/.luarc.json rename to hypr/domipoke/.luarc.json diff --git a/hypr/.vscode/settings.json b/hypr/domipoke/.vscode/settings.json similarity index 100% rename from hypr/.vscode/settings.json rename to hypr/domipoke/.vscode/settings.json diff --git a/hypr/animation.lua b/hypr/domipoke/animation.lua similarity index 100% rename from hypr/animation.lua rename to hypr/domipoke/animation.lua diff --git a/hypr/autostart.lua b/hypr/domipoke/autostart.lua similarity index 92% rename from hypr/autostart.lua rename to hypr/domipoke/autostart.lua index b4aae0b..2d35cb1 100644 --- a/hypr/autostart.lua +++ b/hypr/domipoke/autostart.lua @@ -32,6 +32,9 @@ hl.on("hyprland.start", function() hl.exec_cmd("hyprpm reload") hl.exec_cmd("kded6") hl.exec_cmd("kbuildsycoca6") - hl.exec_cmd("noctalia") - --hl.exec_cmd("noctalia") + + + -- quickshell profile + hl.env("qsConfig", "end4-pC") + hl.exec_cmd("qs") end) diff --git a/hypr/colors.lua b/hypr/domipoke/colors.lua similarity index 100% rename from hypr/colors.lua rename to hypr/domipoke/colors.lua diff --git a/hypr/config.lua b/hypr/domipoke/config.lua similarity index 100% rename from hypr/config.lua rename to hypr/domipoke/config.lua diff --git a/hypr/hub.lua b/hypr/domipoke/hub.lua similarity index 100% rename from hypr/hub.lua rename to hypr/domipoke/hub.lua diff --git a/hypr/hyprcolors.lua b/hypr/domipoke/hyprcolors.lua similarity index 100% rename from hypr/hyprcolors.lua rename to hypr/domipoke/hyprcolors.lua diff --git a/hypr/hypridle.conf b/hypr/domipoke/hypridle.conf similarity index 100% rename from hypr/hypridle.conf rename to hypr/domipoke/hypridle.conf diff --git a/hypr/domipoke/hyprland.lua b/hypr/domipoke/hyprland.lua new file mode 100644 index 0000000..5cf1d4e --- /dev/null +++ b/hypr/domipoke/hyprland.lua @@ -0,0 +1,122 @@ +require("config") +require("privatesettings") + +-- Setup gestures +hl.gesture({ + fingers = 3, + direction = "horizontal", + action = "workspace" +}) + +-- Some config +hl.config({ + dwindle = { + -- force_split = 0, + preserve_split = true, + -- smart_split = false, + -- smart_resizing = true, + -- permanent_direction_override = false, + -- special_scale_factor = 1, + -- split_width_multiplier = 1.0, + -- use_active_for_splits = true, + -- default_split_ratio = 1.0, + -- split_bias = 0, + -- precise_mouse_move = false, + }, +}) + +-- Load monitors config +require("monitors") + +-- Nvidia settings +hl.env("LIBVA_DRIVER_NAME.nvidia", "true") +hl.env("__GLX_VENDOR_LIBRARY_NAME.nvidia", "true") + +require("autostart") + + +-- ############################# +-- ### ENVIRONMENT VARIABLES ### +-- ############################# + +-- # See https://wiki.hyprland.org/Configuring/Environment-variables/ +hl.env("XCURSOR_SIZE", 24) +hl.env("HYPRCURSOR_SIZE", 24) +hl.env("QT_QPA_PLATFORMTHEME","qt6ct") +hl.env("XDG_MENU_PREFIX","arch- kbuildsycoca6") + +-- # 01-xdg-base.conf +--hl.env("XDG_CONFIG_HOME", "/home/domenico/.config") +--hl.env("XDG_DATA_HOME", "/home/domenico/.local/share") +--hl.env("XDG_CACHE_HOME", "/home/domenco/.cache") +--hl.env("XDG_STATE_HOME", "/home/domenico/.local/state") + +--hl.env("XDG_DATA_DIRS", "/home/domenico/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share") + +-- # 10-kde-on-niri/hyprland + +--hl.env("QT_QPA_PLATFORM", "wayland") + +-- # REQUIRED: make sure portal uses KDE Qt platform theme +--hl.env("QT_QPA_PLATFORMTHEME","kde") +--hl.env("QT_QPA_PLATFORMTHEME_QT6","kde") + +-- # REQUIRED: helps fixing Dolphin default applications issue +--hl.env("XDG_MENU_PREFIX","plasma-") + +--hl.env("QT_AUTO_SCREEN_SCALE_FACTOR","1") +--hl.env("QT_ENABLE_HIGHDPI_SCALING","1") +--hl.env("QT_SCALE_FACTOR_ROUNDING_POLICY","RoundPreferFloor") + +-- 80-gtk-no-btn.conf +--hl.env("GTK_DECORATION_LAYOUT","") + +-- 99-electron.conf +--hl.env("ELECTRON_OZONE_PLATFORM_HINT", "auto") + +-- ##################### +-- ### LOOK AND FEEL ### +-- ##################### +require("hyprcolors") +require("animation") + +hl.config({ + misc = { + force_default_wallpaper = -1, -- # Set to 0 or 1 to disable the anime mascot wallpapers + disable_hyprland_logo = true -- # If true disables the random hyprland logo / anime girl background. :( + } +}) + + +-- ############# +-- ### INPUT ### +-- ############# +require("input") +require("keybinds") + +-- ############################## +-- ### WINDOWS AND WORKSPACES ### +-- ############################## +-- # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more +-- # See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules +require("windowrule") +require("workspace") + + + +-- ########### +-- ### HUB ### +-- ########### +require("hub") + + +-- ################## +-- ### EXTENSIONS ### +-- ################## +-- require("vicinae") + +-- This loads Noctalia-generated Hyprland colors. +dofile("/home/domenico/.config/hypr/noctalia/noctalia-colors.lua") + +-- For Noctalia Color templates +require("noctalia").apply_theme() diff --git a/hypr/hyprlock.conf b/hypr/domipoke/hyprlock.conf similarity index 100% rename from hypr/hyprlock.conf rename to hypr/domipoke/hyprlock.conf diff --git a/hypr/hyprsunset.conf b/hypr/domipoke/hyprsunset.conf similarity index 100% rename from hypr/hyprsunset.conf rename to hypr/domipoke/hyprsunset.conf diff --git a/hypr/hyprtoolkit.conf b/hypr/domipoke/hyprtoolkit.conf similarity index 100% rename from hypr/hyprtoolkit.conf rename to hypr/domipoke/hyprtoolkit.conf diff --git a/hypr/input.lua b/hypr/domipoke/input.lua similarity index 100% rename from hypr/input.lua rename to hypr/domipoke/input.lua diff --git a/hypr/keybinds.lua b/hypr/domipoke/keybinds.lua similarity index 100% rename from hypr/keybinds.lua rename to hypr/domipoke/keybinds.lua diff --git a/hypr/domipoke/noctalia.lua b/hypr/domipoke/noctalia.lua new file mode 100644 index 0000000..938f626 --- /dev/null +++ b/hypr/domipoke/noctalia.lua @@ -0,0 +1,45 @@ +-- Generated by Noctalia + +local primary = "rgb(e0b6ff)" +local surface = "rgb(1d1013)" +local secondary = "rgb(ddb9f8)" +local error = "rgb(ffb4ab)" + +local function apply_theme() + hl.config({ + general = { + col = { + active_border = primary, + inactive_border = surface, + }, + }, + + group = { + col = { + border_active = secondary, + border_inactive = surface, + border_locked_active = error, + border_locked_inactive = surface, + }, + + groupbar = { + col = { + active = secondary, + inactive = surface, + locked_active = error, + locked_inactive = surface, + }, + }, + }, + }) +end + +return { + colors = { + primary = primary, + surface = surface, + secondary = secondary, + error = error, + }, + apply_theme = apply_theme +} diff --git a/hypr/noctalia/noctalia-colors.conf b/hypr/domipoke/noctalia/noctalia-colors.conf similarity index 100% rename from hypr/noctalia/noctalia-colors.conf rename to hypr/domipoke/noctalia/noctalia-colors.conf diff --git a/hypr/noctalia/noctalia-colors.lua b/hypr/domipoke/noctalia/noctalia-colors.lua similarity index 100% rename from hypr/noctalia/noctalia-colors.lua rename to hypr/domipoke/noctalia/noctalia-colors.lua diff --git a/hypr/performance.lua b/hypr/domipoke/performance.lua similarity index 100% rename from hypr/performance.lua rename to hypr/domipoke/performance.lua diff --git a/hypr/plugins.conf b/hypr/domipoke/plugins.conf similarity index 100% rename from hypr/plugins.conf rename to hypr/domipoke/plugins.conf diff --git a/hypr/scripts/EOS-greeter.conf b/hypr/domipoke/scripts/EOS-greeter.conf similarity index 100% rename from hypr/scripts/EOS-greeter.conf rename to hypr/domipoke/scripts/EOS-greeter.conf diff --git a/hypr/scripts/hyprPicker.sh b/hypr/domipoke/scripts/hyprPicker.sh similarity index 100% rename from hypr/scripts/hyprPicker.sh rename to hypr/domipoke/scripts/hyprPicker.sh diff --git a/hypr/scripts/init_wallpapers.sh b/hypr/domipoke/scripts/init_wallpapers.sh similarity index 100% rename from hypr/scripts/init_wallpapers.sh rename to hypr/domipoke/scripts/init_wallpapers.sh diff --git a/hypr/scripts/nightmode.sh b/hypr/domipoke/scripts/nightmode.sh similarity index 100% rename from hypr/scripts/nightmode.sh rename to hypr/domipoke/scripts/nightmode.sh diff --git a/hypr/scripts/playerctlock.sh b/hypr/domipoke/scripts/playerctlock.sh similarity index 100% rename from hypr/scripts/playerctlock.sh rename to hypr/domipoke/scripts/playerctlock.sh diff --git a/hypr/scripts/screensharing.sh b/hypr/domipoke/scripts/screensharing.sh similarity index 100% rename from hypr/scripts/screensharing.sh rename to hypr/domipoke/scripts/screensharing.sh diff --git a/hypr/scripts/toggleMirror.sh b/hypr/domipoke/scripts/toggleMirror.sh similarity index 100% rename from hypr/scripts/toggleMirror.sh rename to hypr/domipoke/scripts/toggleMirror.sh diff --git a/hypr/scripts/wallpapers/set.sh b/hypr/domipoke/scripts/wallpapers/set.sh similarity index 100% rename from hypr/scripts/wallpapers/set.sh rename to hypr/domipoke/scripts/wallpapers/set.sh diff --git a/hypr/setting.txt b/hypr/domipoke/setting.txt similarity index 100% rename from hypr/setting.txt rename to hypr/domipoke/setting.txt diff --git a/hypr/windowrule.lua b/hypr/domipoke/windowrule.lua similarity index 100% rename from hypr/windowrule.lua rename to hypr/domipoke/windowrule.lua diff --git a/hypr/workspace.lua b/hypr/domipoke/workspace.lua similarity index 100% rename from hypr/workspace.lua rename to hypr/domipoke/workspace.lua diff --git a/hypr/hyprland.lua b/hypr/hyprland.lua index 5cf1d4e..0175946 100644 --- a/hypr/hyprland.lua +++ b/hypr/hyprland.lua @@ -1,122 +1,5 @@ -require("config") -require("privatesettings") - --- Setup gestures -hl.gesture({ - fingers = 3, - direction = "horizontal", - action = "workspace" -}) - --- Some config -hl.config({ - dwindle = { - -- force_split = 0, - preserve_split = true, - -- smart_split = false, - -- smart_resizing = true, - -- permanent_direction_override = false, - -- special_scale_factor = 1, - -- split_width_multiplier = 1.0, - -- use_active_for_splits = true, - -- default_split_ratio = 1.0, - -- split_bias = 0, - -- precise_mouse_move = false, - }, -}) - --- Load monitors config -require("monitors") - --- Nvidia settings -hl.env("LIBVA_DRIVER_NAME.nvidia", "true") -hl.env("__GLX_VENDOR_LIBRARY_NAME.nvidia", "true") - -require("autostart") - - --- ############################# --- ### ENVIRONMENT VARIABLES ### --- ############################# - --- # See https://wiki.hyprland.org/Configuring/Environment-variables/ -hl.env("XCURSOR_SIZE", 24) -hl.env("HYPRCURSOR_SIZE", 24) -hl.env("QT_QPA_PLATFORMTHEME","qt6ct") -hl.env("XDG_MENU_PREFIX","arch- kbuildsycoca6") - --- # 01-xdg-base.conf ---hl.env("XDG_CONFIG_HOME", "/home/domenico/.config") ---hl.env("XDG_DATA_HOME", "/home/domenico/.local/share") ---hl.env("XDG_CACHE_HOME", "/home/domenco/.cache") ---hl.env("XDG_STATE_HOME", "/home/domenico/.local/state") - ---hl.env("XDG_DATA_DIRS", "/home/domenico/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share") - --- # 10-kde-on-niri/hyprland - ---hl.env("QT_QPA_PLATFORM", "wayland") - --- # REQUIRED: make sure portal uses KDE Qt platform theme ---hl.env("QT_QPA_PLATFORMTHEME","kde") ---hl.env("QT_QPA_PLATFORMTHEME_QT6","kde") - --- # REQUIRED: helps fixing Dolphin default applications issue ---hl.env("XDG_MENU_PREFIX","plasma-") - ---hl.env("QT_AUTO_SCREEN_SCALE_FACTOR","1") ---hl.env("QT_ENABLE_HIGHDPI_SCALING","1") ---hl.env("QT_SCALE_FACTOR_ROUNDING_POLICY","RoundPreferFloor") - --- 80-gtk-no-btn.conf ---hl.env("GTK_DECORATION_LAYOUT","") - --- 99-electron.conf ---hl.env("ELECTRON_OZONE_PLATFORM_HINT", "auto") - --- ##################### --- ### LOOK AND FEEL ### --- ##################### -require("hyprcolors") -require("animation") - -hl.config({ - misc = { - force_default_wallpaper = -1, -- # Set to 0 or 1 to disable the anime mascot wallpapers - disable_hyprland_logo = true -- # If true disables the random hyprland logo / anime girl background. :( - } -}) - - --- ############# --- ### INPUT ### --- ############# -require("input") -require("keybinds") - --- ############################## --- ### WINDOWS AND WORKSPACES ### --- ############################## --- # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more --- # See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules -require("windowrule") -require("workspace") - - - --- ########### --- ### HUB ### --- ########### -require("hub") - - --- ################## --- ### EXTENSIONS ### --- ################## --- require("vicinae") - --- This loads Noctalia-generated Hyprland colors. -dofile("/home/domenico/.config/hypr/noctalia/noctalia-colors.lua") +local theme = "domipoke" +require("./".. theme .. "/hyprland.lua") -- For Noctalia Color templates require("noctalia").apply_theme() diff --git a/hypr/monitors.lua b/hypr/monitors.lua deleted file mode 100644 index bdffe52..0000000 --- a/hypr/monitors.lua +++ /dev/null @@ -1,30 +0,0 @@ ---################ ---### MONITORS ### ---################ - -hl.monitor({ - output = "eDP-1", - mode = "1920x1080@144", - position = "0x0", - scale = "1", - cm = "srgb" -}) - -if os.getenv("HYPR_NVIDIA") == "1" then - hl.monitor({ - output = "HDMI-A-1", - mode = "1920x1080@60", - position = "1920x0", - scale = "1", - transform = 0, - }) - -elseif os.getenv("HYPR_NVIDIA") == "2" then - hl.monitor({ - output = "HDMI-A-1", - mode = "1920x1080@60", - position = "1920x0", - scale = "1", - transform = 0, - }) -end diff --git a/hypr/privatesettings.lua b/hypr/privatesettings.lua deleted file mode 100644 index 3c4d568..0000000 --- a/hypr/privatesettings.lua +++ /dev/null @@ -1,5 +0,0 @@ ---hl.env("AQ_DRM_DEVICES", "/dev/dri/card1") - --- Check the environment variable ---hl.env("AQ_DRM_DEVICES", "/dev/dri/card1:/dev/dri/renderD128") -