changed my hostname

This commit is contained in:
Hannes
2026-07-03 21:48:06 +02:00
parent ef2f7bf57c
commit 5ed4535e46
8 changed files with 13 additions and 7 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ hl.on("hyprland.start", function ()
hl.exec_cmd("hypridle") hl.exec_cmd("hypridle")
hl.exec_cmd("hyprpaper") hl.exec_cmd("hyprpaper")
if HOSTNAME == "archlinux-hypr" then if HOSTNAME == "honney-main" then
hl.exec_cmd("tmux new-session -d -s ydotool 'ydotoold'") hl.exec_cmd("tmux new-session -d -s ydotool 'ydotoold'")
hl.exec_cmd("tmux new-session -d -s ollama '/usr/bin/ollama serve'") hl.exec_cmd("tmux new-session -d -s ollama '/usr/bin/ollama serve'")
hl.exec_cmd("tmux new-session -d -s fah 'cd ~/.local/share/fah && fah-client'") hl.exec_cmd("tmux new-session -d -s fah 'cd ~/.local/share/fah && fah-client'")
+1 -1
View File
@@ -94,7 +94,7 @@ hl.bind("SUPER+SHIFT+C", hl.dsp.exec_cmd("code --password-store=gnome-libsecret"
hl.bind("SUPER+SHIFT+V", hl.dsp.exec_cmd("vscodium")) hl.bind("SUPER+SHIFT+V", hl.dsp.exec_cmd("vscodium"))
-- device specifics -- device specifics
if HOSTNAME == "archlinux-hypr" then if HOSTNAME == "honney-main" then
for i = 1, 12 do for i = 1, 12 do
hl.bind("SUPER+SHIFT+CTRL+F"..tostring(i), hl.dsp.exec_cmd("~/.config/hypr/scripts/makropad/button"..string.format("%02d", i)..".sh")) hl.bind("SUPER+SHIFT+CTRL+F"..tostring(i), hl.dsp.exec_cmd("~/.config/hypr/scripts/makropad/button"..string.format("%02d", i)..".sh"))
end end
+6
View File
@@ -4,3 +4,9 @@ if f then
HOSTNAME = (f:read("*l") or "unknown"):gsub("%s+", "") HOSTNAME = (f:read("*l") or "unknown"):gsub("%s+", "")
f:close() f:close()
end end
USER = "unknown"
if HOSTNAME ~= "unknown" then
if HOSTNAME == "honney-main" then
USER = "hypr"
end
end
+1 -1
View File
@@ -97,7 +97,7 @@ hl.config({
} }
}) })
if HOSTNAME == "archlinux-hypr" then if HOSTNAME == "honney-main" then
hl.config({ hl.config({
cursor ={ cursor ={
default_monitor = "BNQ BenQ EX2710U Y8P00876019", default_monitor = "BNQ BenQ EX2710U Y8P00876019",
+1 -1
View File
@@ -25,7 +25,7 @@ hl.config({
}, },
} }
}) })
if HOSTNAME == "archlinux-hypr" then if HOSTNAME == "honney-main" then
hl.config({ hl.config({
input={ input={
kb_layout = "us", kb_layout = "us",
+1 -1
View File
@@ -1,4 +1,4 @@
if HOSTNAME == "archlinux-hypr" then if HOSTNAME == "honney-main" then
hl.monitor({ hl.monitor({
output = "desc:BNQ BenQ EX2710U Y8P00876019", output = "desc:BNQ BenQ EX2710U Y8P00876019",
mode = "3840x2160@144", mode = "3840x2160@144",
+1 -1
View File
@@ -1,7 +1,7 @@
-- Recommended command for getting class/..: -- Recommended command for getting class/..:
-- sleep 2 && hyprctl activewindow -- sleep 2 && hyprctl activewindow
if HOSTNAME == "archlinux-hypr" then if HOSTNAME == "honney-main" then
--# Window rules on Monitor 3 --# Window rules on Monitor 3
hl.window_rule({ hl.window_rule({
name = "Librewolf", name = "Librewolf",
+1 -1
View File
@@ -1,4 +1,4 @@
if HOSTNAME == "archlinux-hypr" then if HOSTNAME == "honney-main" then
--# Workspaces on Monitor 1 --# Workspaces on Monitor 1
hl.workspace_rule({ hl.workspace_rule({
workspace = "1", workspace = "1",