24/07/2026
This commit is contained in:
@@ -1,2 +0,0 @@
|
|||||||
privatesettings.lua
|
|
||||||
monitors.lua
|
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
privatesettings.lua
|
||||||
|
monitors.lua
|
||||||
|
settings.txt
|
||||||
@@ -32,6 +32,9 @@ hl.on("hyprland.start", function()
|
|||||||
hl.exec_cmd("hyprpm reload")
|
hl.exec_cmd("hyprpm reload")
|
||||||
hl.exec_cmd("kded6")
|
hl.exec_cmd("kded6")
|
||||||
hl.exec_cmd("kbuildsycoca6")
|
hl.exec_cmd("kbuildsycoca6")
|
||||||
hl.exec_cmd("noctalia")
|
|
||||||
--hl.exec_cmd("noctalia")
|
|
||||||
|
-- quickshell profile
|
||||||
|
hl.env("qsConfig", "end4-pC")
|
||||||
|
hl.exec_cmd("qs")
|
||||||
end)
|
end)
|
||||||
@@ -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()
|
||||||
@@ -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
|
||||||
|
}
|
||||||
+2
-119
@@ -1,122 +1,5 @@
|
|||||||
require("config")
|
local theme = "domipoke"
|
||||||
require("privatesettings")
|
require("./".. theme .. "/hyprland.lua")
|
||||||
|
|
||||||
-- 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
|
-- For Noctalia Color templates
|
||||||
require("noctalia").apply_theme()
|
require("noctalia").apply_theme()
|
||||||
|
|||||||
@@ -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
|
|
||||||
@@ -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")
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user