[swaylock] Bluescreen
This commit is contained in:
parent
d6801e0679
commit
9e215b6df9
6 changed files with 23 additions and 19 deletions
BIN
assets/bluescreen.png
Normal file
BIN
assets/bluescreen.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 112 KiB |
|
|
@ -11,6 +11,7 @@ in {
|
|||
# Hint Electron apps to use wayland
|
||||
NIXOS_OZONE_WL = "1";
|
||||
|
||||
ASSETS_DIR = ../../../../assets;
|
||||
SCRIPT_DIR = ../../../../scripts;
|
||||
};
|
||||
|
||||
|
|
@ -27,7 +28,7 @@ in {
|
|||
wl-mirror # Mirror an output
|
||||
wdisplays # Tool to configure displays
|
||||
|
||||
swaylock-effects
|
||||
swaylock
|
||||
|
||||
glib
|
||||
|
||||
|
|
|
|||
|
|
@ -96,6 +96,7 @@ in {
|
|||
]);
|
||||
|
||||
environment.sessionVariables = {
|
||||
ASSETS_DIR = ../../../../assets;
|
||||
SCRIPT_DIR = ../../../../scripts;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -266,7 +266,7 @@ $right = l
|
|||
|
||||
$term = foot
|
||||
$menu = j4-dmenu-desktop --dmenu="rofi -dmenu -i" --no-generic --usage-log="/home/tdpeuter/.local/state/dmenu.log" --term=$term
|
||||
$lock = swaylock
|
||||
$lock = swaylock --daemonize
|
||||
|
||||
source = /home/tdpeuter/.config/hypr/input-output.conf
|
||||
source = /home/tdpeuter/.config/hypr/keybinds.conf
|
||||
|
|
|
|||
|
|
@ -2,21 +2,23 @@
|
|||
# .config/swaylock/config
|
||||
#
|
||||
|
||||
indicator
|
||||
indicator-radius=200
|
||||
#indicator
|
||||
#indicator-radius=200
|
||||
#
|
||||
#clock
|
||||
#datestr=%A, %B %d %Y
|
||||
#
|
||||
#show-failed-attempts
|
||||
#
|
||||
#screenshots
|
||||
#effect-pixelate=10
|
||||
#effect-vignette=0.75:0 # Darken the whole screen.
|
||||
#fade-in=0.25
|
||||
#
|
||||
#grace=7 # Allow to unlock without password for duration
|
||||
#grace-no-mouse
|
||||
|
||||
clock
|
||||
datestr=%A, %B %d %Y
|
||||
|
||||
show-failed-attempts
|
||||
|
||||
screenshots
|
||||
effect-pixelate=10
|
||||
effect-vignette=0.75:0 # Darken the whole screen.
|
||||
fade-in=0.25
|
||||
|
||||
grace=7 # Allow to unlock without password for duration
|
||||
grace-no-mouse
|
||||
image=${ASSETS_DIR}/bluescreen.png
|
||||
|
||||
# Styling
|
||||
|
||||
|
|
|
|||
|
|
@ -90,21 +90,21 @@
|
|||
"format": "\uf09c", /* */
|
||||
"tooltip": true,
|
||||
"tooltip-format": "Lock device",
|
||||
"on-click": "swaylock -f"
|
||||
"on-click": "swaylock --daemonize"
|
||||
},
|
||||
|
||||
"custom/system-sleep": {
|
||||
"format": "\uf186", /* */
|
||||
"tooltip": true,
|
||||
"tooltip-format": "Put device to sleep",
|
||||
"on-click": "swaylock -f; systemctl suspend"
|
||||
"on-click": "swaylock --daemonize; systemctl suspend"
|
||||
},
|
||||
|
||||
"custom/system-hibernate": {
|
||||
"format": "\uf2dc", /* */
|
||||
"tooltip": true,
|
||||
"tooltip-format": "Hibernate device",
|
||||
"on-click": "swaylock -f; systemctl hibernate"
|
||||
"on-click": "swaylock --daemonize; systemctl hibernate"
|
||||
},
|
||||
|
||||
"custom/system-reboot": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue