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; [
|
runtimePackages = with pkgs; [
|
||||||
swaybg
|
swaybg
|
||||||
|
quickshell
|
||||||
|
waybar
|
||||||
|
networkmanagerapplet
|
||||||
|
blueman
|
||||||
];
|
];
|
||||||
|
|
||||||
runtimePath = pkgs.lib.makeBinPath runtimePackages;
|
runtimePath = pkgs.lib.makeBinPath runtimePackages;
|
||||||
|
|||||||
+3
-1
@@ -1,8 +1,10 @@
|
|||||||
|
-- Module devices
|
||||||
local monitor = require("monitor")
|
local monitor = require("monitor")
|
||||||
local background = require("background")
|
local background = require("background")
|
||||||
local status_bar = require("status_bar")
|
local status_bar = require("status_bar")
|
||||||
|
local devices = require("devices")
|
||||||
|
|
||||||
-- on event
|
-- On event
|
||||||
hl.on("hyprland.start", function()
|
hl.on("hyprland.start", function()
|
||||||
monitor.start()
|
monitor.start()
|
||||||
background.start()
|
background.start()
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
return {
|
return {
|
||||||
start = function()
|
start = function()
|
||||||
hl.exec_cmd("waybar")
|
hl.exec_cmd("waybar")
|
||||||
|
hl.exec_cmd("nm-applet --indicator")
|
||||||
|
hl.exec_cmd("blueman-applet")
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user