Compare commits
No commits in common. "96f648441d6550bece3ea1c888a4c131ca312265" and "f9ec50929523ea764182323e6bec885481f20862" have entirely different histories.
96f648441d
...
f9ec509295
4 changed files with 12 additions and 15 deletions
12
flake.lock
generated
12
flake.lock
generated
|
|
@ -7,11 +7,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1755491080,
|
||||
"narHash": "sha256-ib1Xi13NEalrFqQAHceRsb+6aIPANFuQq80SS/bY10M=",
|
||||
"lastModified": 1754495836,
|
||||
"narHash": "sha256-ON5VEr70cAUR0YOHuVgLlgq9HarBqfbWsxknlmHnM+o=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "f8af2cbe386f9b96dd9efa57ab15a09377f38f4d",
|
||||
"rev": "88913c98fe674e10302bbdb71b4e173f527b69c2",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -22,11 +22,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1755186698,
|
||||
"narHash": "sha256-wNO3+Ks2jZJ4nTHMuks+cxAiVBGNuEBXsT29Bz6HASo=",
|
||||
"lastModified": 1754214453,
|
||||
"narHash": "sha256-Q/I2xJn/j1wpkGhWkQnm20nShYnG7TI99foDBpXm1SY=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "fbcf476f790d8a217c3eab4e12033dc4a0f6d23c",
|
||||
"rev": "5b09dc45f24cf32316283e62aec81ffee3c3e376",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
#!/bin/sh
|
||||
grimshot save output /tmp/screenshot.png && convert /tmp/screenshot.png -blur 0x20 -pointsize 400 -font FreeSans -gravity center -fill red -annotate +0+0 "FINGER WEG" /tmp/sperrbildschirm.png
|
||||
grimshot save output /tmp/screenshot.png
|
||||
convert /tmp/screenshot.png -blur 0x10 /tmp/screenshotblur.png
|
||||
rm /tmp/screenshot.png
|
||||
swaylock -i /tmp/sperrbildschirm.png --ignore-empty-password --show-failed-attempts --daemonize
|
||||
swaylock -i /tmp/screenshotblur.png --ignore-empty-password --show-failed-attempts --daemonize
|
||||
sleep 5
|
||||
systemctl suspend
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
#!/bin/sh
|
||||
grimshot save output /tmp/screenshot.png && convert /tmp/screenshot.png -blur 0x20 -pointsize 400 -font FreeSans -gravity center -fill red -annotate +0+0 "FINGER WEG" /tmp/sperrbildschirm.png
|
||||
rm /tmp/screenshot.png
|
||||
swaylock -i /tmp/sperrbildschirm.png --ignore-empty-password --show-failed-attempts --daemonize
|
||||
systemctl suspend
|
||||
|
|
@ -31,8 +31,7 @@
|
|||
|
||||
keybindings = {
|
||||
# screenlock
|
||||
"${mod}+shift+l" = "exec --no-startup-id ~/.config/sway/lock_and_suspend.sh";
|
||||
"${mod}+l" = "exec --no-startup-id ~/.config/sway/lock.sh";
|
||||
"${mod}+shift+l" = "exec --no-startup-id ~/.config/sway/lock.sh";
|
||||
|
||||
# audio control fluff
|
||||
"XF86AudioRaiseVolume" = "exec --no-startup-id wpctl set-volume @DEFAULT_SINK@ 5%+";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue