Add device section from deprecated configuration

This commit is contained in:
Nina Chlóe Kassandra Reiß
2026-06-19 13:47:37 +02:00
parent 55f5a412d9
commit 3c6d75de94
4 changed files with 31 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
hl.config({
input = {
-- keyboard
kb_layout = "de",
kb_options = "caps:swapescape",
numlock_by_default = true,
-- Cursor
focus_on_close = 2,
follow_mouse = 1,
touchpad = {
natural_scroll = true,
disable_while_typing = true,
},
},
})
return {
start = function() end,
}
+4
View File
@@ -19,6 +19,10 @@
runtimePackages = with pkgs; [
swaybg
quickshell
waybar
networkmanagerapplet
blueman
];
runtimePath = pkgs.lib.makeBinPath runtimePackages;
+3 -1
View File
@@ -1,8 +1,10 @@
-- Module devices
local monitor = require("monitor")
local background = require("background")
local status_bar = require("status_bar")
local devices = require("devices")
-- on event
-- On event
hl.on("hyprland.start", function()
monitor.start()
background.start()
+2
View File
@@ -1,5 +1,7 @@
return {
start = function()
hl.exec_cmd("waybar")
hl.exec_cmd("nm-applet --indicator")
hl.exec_cmd("blueman-applet")
end,
}