Configuring hyprland
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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
|
||||
}
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user