1 parent
80ec3dfdd3
commit
079cceb554
57 files changed
+4092
-538
No files matched your search
@@ -8,7 +8,7 @@ local nix = require("nixvars")
|
||||
|
||||
-- Any output, native mode, placed automatically. Use mode = "highrr" to prefer
|
||||
-- the highest refresh rate instead.
|
||||
hl.env("AQ_DRM_DEVICES", "/dev/dri/card1:/dev/dri/card0")
|
||||
-- hl.env("AQ_DRM_DEVICES", "/dev/dri/card1:/dev/dri/card0")
|
||||
hl.monitor({
|
||||
output = "DP-1",
|
||||
mode = "preferred",
|
||||
@@ -51,10 +51,18 @@ hl.monitor({
|
||||
---- ENVIRONMENT VARIABLES ----
|
||||
-------------------------------
|
||||
|
||||
hl.env("XCURSOR_SIZE", tostring(nix.cursorSize))
|
||||
hl.env("HYPRCURSOR_SIZE", tostring(nix.cursorSize))
|
||||
-- The Wayland toolkit variables (GDK_BACKEND, QT_QPA_PLATFORM, ...) are exported
|
||||
-- for the whole session by UWSM (uwsm/env-hyprland, see default.nix), not here.
|
||||
|
||||
-- hl.env sets a variable for Hyprland and what it starts. With true as the third
|
||||
-- argument it also exports it to the systemd user manager and the D-Bus
|
||||
-- activation environment (systemctl --user import-environment and
|
||||
-- dbus-update-activation-environment --systemd), so apps started by Noctalia,
|
||||
-- the portals or D-Bus activation use the same cursor.
|
||||
hl.env("XCURSOR_SIZE", tostring(nix.cursorSize), true)
|
||||
hl.env("HYPRCURSOR_SIZE", tostring(nix.cursorSize), true)
|
||||
if nix.cursorTheme ~= "" then
|
||||
hl.env("XCURSOR_THEME", nix.cursorTheme)
|
||||
hl.env("XCURSOR_THEME", nix.cursorTheme, true)
|
||||
end
|
||||
|
||||
-----------------------
|
||||
|
||||
Reference in new issue
Block a user