wayland: update hyprland, hypridle, hyprlock configs
This commit is contained in:
parent
1217e90491
commit
e6be419ddd
5 changed files with 15 additions and 11 deletions
home/wayland
|
@ -4,9 +4,6 @@
|
|||
systemPackages = with pkgs; [
|
||||
wayland
|
||||
glib
|
||||
grim
|
||||
slurp
|
||||
satty
|
||||
wl-clipboard
|
||||
];
|
||||
sessionVariables = {
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
_: {
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
"$mainMod" = "SUPER";
|
||||
bind = [
|
||||
|
@ -14,6 +18,7 @@ _: {
|
|||
"$mainMod, right, movefocus, r"
|
||||
"$mainMod, up, movefocus, u"
|
||||
"$mainMod, down, movefocus, d"
|
||||
'', Print, exec, ${lib.getExe pkgs.grim} -g "$(${lib.getExe pkgs.slurp})" - | ${lib.getExe pkgs.satty} -f - --fullscreen --output-filename ~/Pictures/screenshots/$(date '+%Y%m%d-%H:%M:%S').png''
|
||||
|
||||
"$mainMod, 1, workspace, 1"
|
||||
"$mainMod, 2, workspace, 2"
|
||||
|
|
|
@ -96,8 +96,5 @@
|
|||
no_donation_nag = true;
|
||||
};
|
||||
};
|
||||
extraConfig = ''
|
||||
bind =, Print, exec, grim -g "$(slurp)" - | satty -f - --fullscreen --output-filename ~/Pictures/screenshots/$(date '+%Y%m%d-%H:%M:%S').png
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -40,13 +40,17 @@ _: {
|
|||
disable_loading_bar = false;
|
||||
hide_cursor = false;
|
||||
no_fade_in = false;
|
||||
ignore_empty_input = true;
|
||||
};
|
||||
animations = {
|
||||
enabled = true;
|
||||
};
|
||||
input-field = [
|
||||
{
|
||||
monitor = "DP-1";
|
||||
size = "350, 50";
|
||||
outline_thickness = 2;
|
||||
outer_color = "rgb(f7768e)";
|
||||
outer_color = "rgb(f5c2e7)";
|
||||
inner_color = "rgb(1a1b26)";
|
||||
font_color = "rgb(c0caf5)";
|
||||
fail_color = "rgb(f7768e)";
|
||||
|
@ -69,7 +73,7 @@ _: {
|
|||
{
|
||||
monitor = "DP-1";
|
||||
text = ''
|
||||
Hi, <i><span foreground="##f7768e">$USER</span></i>
|
||||
Hi, <i><span foreground="##74c7ec">$USER</span></i>
|
||||
'';
|
||||
color = "rgb(c0caf5)";
|
||||
position = "0, 60";
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
services.hypridle = {
|
||||
|
@ -18,8 +19,8 @@
|
|||
on-timeout = "${lib.getExe config.programs.hyprlock.package}";
|
||||
}
|
||||
{
|
||||
timeout = 460;
|
||||
on-timeout = "hyprctl dispatch dpms off";
|
||||
timeout = 450;
|
||||
on-timeout = "${inputs.hyprland.packages.${pkgs.system}.hyprland}/bin/hyprctl dispatch dpms off";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue