diff --git a/config/autostart.lua b/config/autostart.lua index 1f74237..83a486d 100644 --- a/config/autostart.lua +++ b/config/autostart.lua @@ -26,6 +26,7 @@ hl.on("hyprland.start", function () hl.exec_cmd("tmux new-session -d -s ollama '/usr/bin/ollama serve'") hl.exec_cmd("nextcloud") hl.exec_cmd("discord") + hl.exec_cmd("bash -c '~/.config/hypr/scripts/goxlr/goxlr-start.sh > ~/.config/hypr/scripts/goxlr/goxlr-start.log'") elseif HOSTNAME == "honney-opencode" then hl.exec_cmd("tmux new-session -d -s oc 'cd ~/Projects && opencode web --hostname 0.0.0.0 --port 4096'") end diff --git a/config/input.lua b/config/input.lua index f56305f..692a31e 100644 --- a/config/input.lua +++ b/config/input.lua @@ -31,4 +31,17 @@ if HOSTNAME == "honney-main" then kb_layout = "us", } }) +end + +-- To find the device names: hyprctl devices -j + +hl.device({ + name = "evision-rgb-keyboard", + kb_layout = "us" +}) +for i = 1, 9 do + hl.device({ + name = "evision-rgb-keyboard-" .. tostring(i), + kb_layout = "us" + }) end \ No newline at end of file diff --git a/config/monitor.lua b/config/monitor.lua index 37e4ec7..2c10085 100644 --- a/config/monitor.lua +++ b/config/monitor.lua @@ -66,6 +66,40 @@ if HOSTNAME == "honney-main" then transform = 0, }) elseif HOSTNAME == "hp-laptop" then + hl.monitor({ + output = "desc:BNQ BenQ EX2710U 0000000000001", + mode = "3840x2160@120", + position = "960x-2160", + scale = 1, + transform = 0, + -- bitdepth = 10, + -- cm = "srgb", + -- sdr_eotf = "default", + -- sdrbrightness = 1.0, + -- sdrsaturation = 1.0, + -- vrr = 0, + -- supports_wide_color = 1, + -- supports_hdr = 1, + -- sdr_min_luminance = 0.2, + -- sdr_max_luminance = 600, + }) + hl.monitor({ + output = "desc:ASUSTek COMPUTER INC PA279CRV S5LMSB007609", + mode = "3840x2160@60", + position = "-2880x-2160", + scale = 1, + transform = 0, + -- bitdepth = 10, + -- cm = "srgb", + -- sdr_eotf = "default", + -- sdrbrightness = 1.0, + -- sdrsaturation = 1.0, + -- vrr = 0, + -- supports_wide_color = 1, + -- supports_hdr = 1, + -- sdr_min_luminance = 0.2, + -- sdr_max_luminance = 400, + }) hl.monitor({ output = "desc:BOE 0x08A8", mode = "1920x1080@60", @@ -73,13 +107,13 @@ elseif HOSTNAME == "hp-laptop" then scale = 1, transform = 0, }) - hl.monitor({ - output = "desc:AOC 24B3HA2 AVKS29A004767", - mode = "1920x1080@120", - position = "-1920x0", - scale = 1, - transform = 0, - }) + -- hl.monitor({ + -- output = "desc:AOC 24B3HA2 AVKS29A004767", + -- mode = "1920x1080@120", + -- position = "-1920x0", + -- scale = 1, + -- transform = 0, + -- }) elseif HOSTNAME == "arch" then hl.monitor({ output = "desc:AOC CU34G2XP 1Q1R4HA002436", diff --git a/scripts/goxlr/goxlr-start.sh b/scripts/goxlr/goxlr-start.sh index 067ff2d..c339e45 100755 --- a/scripts/goxlr/goxlr-start.sh +++ b/scripts/goxlr/goxlr-start.sh @@ -6,6 +6,6 @@ source "$HOME/.config/function_helper.sh" SCRIPT="goxlr-daemon" SCRIPT2="$HOME/.config/hypr/scripts/goxlr/goxlr-settings-start.sh" -nohup "$SCRIPT" & +tmux new-session -d -s goxlr "$SCRIPT" & send_notification "normal" "GOXLR daemon Started" "Launched the GOXLR Daemon to control the Audio" "$HOME/.icons/BeautyLine-Garuda/apps/scalable/goxlr-utility.svg" -nohup "$SCRIPT2" & +"$SCRIPT2"