lock
This commit is contained in:
parent
1eb67ac0de
commit
0ab5043bf0
5 changed files with 49 additions and 5 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{ lib, ... }:
|
||||
{ hyprland, ... }:
|
||||
{
|
||||
imports = [
|
||||
hyprland.homeManagerModules.default
|
||||
./hyprpaper.nix
|
||||
./hyprlock.nix
|
||||
./hyprgrass.nix
|
||||
|
|
@ -9,6 +10,7 @@
|
|||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
# package = hyprland.packages.${pkgs.system}.hyprland;
|
||||
|
||||
xwayland.enable = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,23 @@
|
|||
{ pkgs, hyprgrass, ... }:
|
||||
{
|
||||
wayland.windowManager.hyprland.plugins = [ hyprgrass.packages.${pkgs.system}.default ];
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
hyprgrass,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.desktop.touchSupport = lib.mkEnableOption "Enables touch-related features";
|
||||
config.wayland.windowManager.hyprland = lib.mkIf config.desktop.touchSupport {
|
||||
plugins = [ hyprgrass.packages.${pkgs.system}.default ];
|
||||
|
||||
settings.plugin.touch_gestures = {
|
||||
sensitivity = 2.0;
|
||||
workspace_swipe_fingers = 3;
|
||||
workspace_swipe_edge = "d";
|
||||
|
||||
long_press_delay = 500;
|
||||
resize_on_border_long_press = true;
|
||||
edge_margin = 20;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
{ config, lib, ...}:{
|
||||
{ lib, ... }:
|
||||
{
|
||||
programs.hyprlock = {
|
||||
enable = true;
|
||||
|
||||
|
|
@ -26,7 +27,7 @@
|
|||
|
||||
input-field = [
|
||||
{
|
||||
size = "800, 80";
|
||||
size = "30%, 5%";
|
||||
position = "0, 0";
|
||||
monitor = "";
|
||||
dots_center = true;
|
||||
|
|
@ -39,6 +40,25 @@
|
|||
shadow_passes = 2;
|
||||
}
|
||||
];
|
||||
|
||||
label = [
|
||||
{
|
||||
text = "Welcome!";
|
||||
position = "0, 20%";
|
||||
font_size = 40;
|
||||
font_family = "JetBrains Mono";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
}
|
||||
{
|
||||
text = "$TIME";
|
||||
position = "0, 15%";
|
||||
font_size = 25;
|
||||
font_family = "JetBrains Mono";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,6 +6,8 @@ in
|
|||
system.stateVersion = "24.11";
|
||||
|
||||
desktop.enable = true;
|
||||
home-manager.users."lilith".desktop.touchSupport = true;
|
||||
|
||||
gaming.enable = false;
|
||||
nfs.client.enable = true;
|
||||
auto_styling.enable = true;
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@
|
|||
{
|
||||
hostName = "lilith-server-builder";
|
||||
system = "x86_64-linux";
|
||||
protocol = "ssh-ng";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue