fix: more keybind cleanup, remove hyprlock

This commit is contained in:
2026-06-15 09:18:17 +02:00
parent bd10041d28
commit e4a6ceaa4d
10 changed files with 152 additions and 116 deletions
+3 -7
View File
@@ -1,12 +1,8 @@
-- Determine current platform
local is_docked = false
local laptop_config = false
local read_platform = pcall(function()
io.popen("cat ~/.config/janishutz/platform-laptop")
end)
local read_docked = pcall(function()
io.popen("cat ~/.config/janishutz/docked")
end)
local read_platform = io.popen("cat ~/.config/janishutz/platform-laptop") == "l"
local read_docked = io.popen("cat ~/.config/janishutz/docked") == "y"
if read_platform then
laptop_config = true
@@ -46,7 +42,7 @@ require("hyprland.workspacerules.main")
require("hyprland.monitors")(laptop_config, is_docked)
-- Execs
require("hyprland.execs")
require("hyprland.execs")(laptop_config)
hl.device({
name = "pnp0c50:00-093a:0255-touchpad",