Add device section from deprecated configuration
This commit is contained in:
+22
@@ -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,
|
||||
}
|
||||
@@ -19,6 +19,10 @@
|
||||
|
||||
runtimePackages = with pkgs; [
|
||||
swaybg
|
||||
quickshell
|
||||
waybar
|
||||
networkmanagerapplet
|
||||
blueman
|
||||
];
|
||||
|
||||
runtimePath = pkgs.lib.makeBinPath runtimePackages;
|
||||
|
||||
+3
-1
@@ -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()
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
return {
|
||||
start = function()
|
||||
hl.exec_cmd("waybar")
|
||||
hl.exec_cmd("nm-applet --indicator")
|
||||
hl.exec_cmd("blueman-applet")
|
||||
end,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user