suspend after lock
This commit is contained in:
parent
d1c0b5f71c
commit
81524f6650
3 changed files with 9 additions and 6 deletions
12
flake.lock
generated
12
flake.lock
generated
|
|
@ -7,11 +7,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1715486357,
|
"lastModified": 1715930644,
|
||||||
"narHash": "sha256-4pRuzsHZOW5W4CsXI9uhKtiJeQSUoe1d2M9mWU98HC4=",
|
"narHash": "sha256-W9pyM3/vePxrffHtzlJI6lDS3seANQ+Nqp+i58O46LI=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "44677a1c96810a8e8c4ffaeaad10c842402647c1",
|
"rev": "e3ad5108f54177e6520535768ddbf1e6af54b59d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -22,11 +22,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1715787315,
|
"lastModified": 1716137900,
|
||||||
"narHash": "sha256-cYApT0NXJfqBkKcci7D9Kr4CBYZKOQKDYA23q8XNuWg=",
|
"narHash": "sha256-sowPU+tLQv8GlqtVtsXioTKeaQvlMz/pefcdwg8MvfM=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "33d1e753c82ffc557b4a585c77de43d4c922ebb5",
|
"rev": "6c0b7a92c30122196a761b440ac0d46d3d9954f1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
1
home.nix
1
home.nix
|
|
@ -77,6 +77,7 @@ let username = "clemens"; in
|
||||||
krita
|
krita
|
||||||
gparted
|
gparted
|
||||||
libreoffice
|
libreoffice
|
||||||
|
scribus
|
||||||
] ++ (if x11mode then [
|
] ++ (if x11mode then [
|
||||||
arandr
|
arandr
|
||||||
flameshot
|
flameshot
|
||||||
|
|
|
||||||
|
|
@ -3,3 +3,5 @@ grimshot save output /tmp/screenshot.png
|
||||||
convert /tmp/screenshot.png -blur 0x10 /tmp/screenshotblur.png
|
convert /tmp/screenshot.png -blur 0x10 /tmp/screenshotblur.png
|
||||||
rm /tmp/screenshot.png
|
rm /tmp/screenshot.png
|
||||||
swaylock -i /tmp/screenshotblur.png --ignore-empty-password --show-failed-attempts --daemonize
|
swaylock -i /tmp/screenshotblur.png --ignore-empty-password --show-failed-attempts --daemonize
|
||||||
|
sleep 5
|
||||||
|
systemctl suspend
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue