More config
This commit is contained in:
12
.local/bin/station-lock-screen
Executable file
12
.local/bin/station-lock-screen
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Locks the system using hyprlock, but not before ensuring the screensaver stopped.
|
||||
|
||||
# Lock the screen
|
||||
pidof hyprlock || hyprlock &
|
||||
|
||||
# Set keyboard layout to default (first layout)
|
||||
hyprctl switchxkblayout all 0 > /dev/null 2>&1
|
||||
|
||||
# Avoid running screensaver when locked
|
||||
pkill -f org.station.screensaver
|
||||
Reference in New Issue
Block a user