mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-10-04 07:54:51 +02:00
added nicotine and lock when lid closed
This commit is contained in:
parent
1ec09c0571
commit
474bf2b8d4
2 changed files with 6 additions and 0 deletions
|
@ -621,3 +621,8 @@ window-rule {
|
||||||
match app-id=r#"mpv$"#
|
match app-id=r#"mpv$"#
|
||||||
open-floating true
|
open-floating true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// actions to do when lid closed
|
||||||
|
switch-events {
|
||||||
|
lid-close { spawn "swaylock" "--screenshots" "--clock" "--indicator" "--effect-blur" "7x5" "--effect-vignette" "0.5:0.5" "--fade-in" "0.2"; }
|
||||||
|
}
|
||||||
|
|
|
@ -114,6 +114,7 @@
|
||||||
upower
|
upower
|
||||||
matugen
|
matugen
|
||||||
networkmanagerapplet
|
networkmanagerapplet
|
||||||
|
nicotine-plus
|
||||||
];
|
];
|
||||||
|
|
||||||
services.upower = {
|
services.upower = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue