fix: more keybind cleanup, remove hyprlock
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user