Configuring hyprland

This commit is contained in:
2026-08-25 22:26:26 +01:00
parent 7b211d37f5
commit 151d02f532
5 changed files with 7 additions and 36 deletions
-1
View File
@@ -1,7 +1,6 @@
hl.on('hyprland.start', function()
hl.exec_cmd 'uwsm-app -- hypridle'
hl.exec_cmd 'uwsm-app -- mako'
-- hl.exec_cmd 'uwsm-app -- hyprsunset'
hl.exec_cmd 'uwsm-app -- fcitx5 --disable notificationitem'
hl.exec_cmd 'uwsm-app -- Enpass -minimize'
hl.exec_cmd 'uwsm-app -- steam'
-25
View File
@@ -1,25 +0,0 @@
# Makes hyprsunset do nothing to the screen by default
# Without this, the default applies some tint to the monitor
profile {
time = 07:00
identity = true
}
# and use the following:
profile {
time = 20:00
temperature = 4000
gamma = 0.5
}
profile {
time = 21:00
temperature = 3000
gamma = 0.4
}
profile {
time = 22:00
temperature = 2000
gamma = 0.3
}
+2 -2
View File
@@ -38,10 +38,10 @@ local function is_lid_closed()
return false
end
if is_lid_closed() then
function toggleLaptopMonitor()
hl.monitor {
output = 'desc:BOE NE160QDM-NZ6',
disabled = true,
disabled = not is_lid_closed(),
}
end
-3
View File
@@ -58,9 +58,6 @@ hl.on('monitor.added', setup_monitors)
hl.on('monitor.removed', setup_monitors)
hl.on('config.reloaded', setup_monitors)
hl.bind('switch:off:Lid Switch', setup_monitors)
hl.bind('switch:on:Lid Switch', setup_monitors)
hl.bind('switch:off:Lid Switch', function()
hl.monitor {
output = 'desc:BOE NE160QDM-NZ6',