changed my hostname
This commit is contained in:
@@ -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
@@ -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
|
||||||
|
|||||||
@@ -3,4 +3,10 @@ HOSTNAME = "unknown"
|
|||||||
if f then
|
if f then
|
||||||
HOSTNAME = (f:read("*l") or "unknown"):gsub("%s+", "")
|
HOSTNAME = (f:read("*l") or "unknown"):gsub("%s+", "")
|
||||||
f:close()
|
f:close()
|
||||||
|
end
|
||||||
|
USER = "unknown"
|
||||||
|
if HOSTNAME ~= "unknown" then
|
||||||
|
if HOSTNAME == "honney-main" then
|
||||||
|
USER = "hypr"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
+1
-1
@@ -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",
|
||||||
|
|||||||
@@ -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,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,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,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",
|
||||||
|
|||||||
Reference in New Issue
Block a user