diff --git a/.config/hypr/autostart.lua b/.config/hypr/autostart.lua index f880d87..1bd0880 100644 --- a/.config/hypr/autostart.lua +++ b/.config/hypr/autostart.lua @@ -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' diff --git a/.config/hypr/hyprsunset.conf b/.config/hypr/hyprsunset.conf deleted file mode 100644 index b6cb3bf..0000000 --- a/.config/hypr/hyprsunset.conf +++ /dev/null @@ -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 -} diff --git a/.config/hypr/monitors.lua b/.config/hypr/monitors.lua index 679ce10..5c04003 100644 --- a/.config/hypr/monitors.lua +++ b/.config/hypr/monitors.lua @@ -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 diff --git a/.config/hypr/workspaces.lua b/.config/hypr/workspaces.lua index 708ac22..28f0d4e 100644 --- a/.config/hypr/workspaces.lua +++ b/.config/hypr/workspaces.lua @@ -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', diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index 9a9a7be..564e321 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -30,12 +30,12 @@ "Art_2": "", "Gaming_2": "", "Writing_2": "󱚍", + "Home_3": "", + "Dev_3": "", + "Art_3": "", + "Gaming_3": "", + "Writing_3": "󱚍", }, - "persistent-workspaces": { - "eDP-1": ["Home_1", "Dev_1", "Art_1", "Gaming_1", "Writing_1"], - "DP-1": ["Home_1", "Dev_1", "Art_1", "Gaming_1", "Writing_1"], - "DP-2": ["Home_2", "Dev_2", "Art_2", "Gaming_2", "Writing_2"], - } }, "custom/station": { "format": "\ueb6a",