[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
|
# Hint Electron apps to use wayland
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
|
|
||||||
|
ASSETS_DIR = ../../../../assets;
|
||||||
SCRIPT_DIR = ../../../../scripts;
|
SCRIPT_DIR = ../../../../scripts;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -27,7 +28,7 @@ in {
|
||||||
wl-mirror # Mirror an output
|
wl-mirror # Mirror an output
|
||||||
wdisplays # Tool to configure displays
|
wdisplays # Tool to configure displays
|
||||||
|
|
||||||
swaylock-effects
|
swaylock
|
||||||
|
|
||||||
glib
|
glib
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -96,6 +96,7 @@ in {
|
||||||
]);
|
]);
|
||||||
|
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
|
ASSETS_DIR = ../../../../assets;
|
||||||
SCRIPT_DIR = ../../../../scripts;
|
SCRIPT_DIR = ../../../../scripts;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -266,7 +266,7 @@ $right = l
|
||||||
|
|
||||||
$term = foot
|
$term = foot
|
||||||
$menu = j4-dmenu-desktop --dmenu="rofi -dmenu -i" --no-generic --usage-log="/home/tdpeuter/.local/state/dmenu.log" --term=$term
|
$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/input-output.conf
|
||||||
source = /home/tdpeuter/.config/hypr/keybinds.conf
|
source = /home/tdpeuter/.config/hypr/keybinds.conf
|
||||||
|
|
|
||||||
|
|
@ -2,21 +2,23 @@
|
||||||
# .config/swaylock/config
|
# .config/swaylock/config
|
||||||
#
|
#
|
||||||
|
|
||||||
indicator
|
#indicator
|
||||||
indicator-radius=200
|
#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
|
image=${ASSETS_DIR}/bluescreen.png
|
||||||
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
|
|
||||||
|
|
||||||
# Styling
|
# Styling
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -90,21 +90,21 @@
|
||||||
"format": "\uf09c", /* */
|
"format": "\uf09c", /* */
|
||||||
"tooltip": true,
|
"tooltip": true,
|
||||||
"tooltip-format": "Lock device",
|
"tooltip-format": "Lock device",
|
||||||
"on-click": "swaylock -f"
|
"on-click": "swaylock --daemonize"
|
||||||
},
|
},
|
||||||
|
|
||||||
"custom/system-sleep": {
|
"custom/system-sleep": {
|
||||||
"format": "\uf186", /* */
|
"format": "\uf186", /* */
|
||||||
"tooltip": true,
|
"tooltip": true,
|
||||||
"tooltip-format": "Put device to sleep",
|
"tooltip-format": "Put device to sleep",
|
||||||
"on-click": "swaylock -f; systemctl suspend"
|
"on-click": "swaylock --daemonize; systemctl suspend"
|
||||||
},
|
},
|
||||||
|
|
||||||
"custom/system-hibernate": {
|
"custom/system-hibernate": {
|
||||||
"format": "\uf2dc", /* */
|
"format": "\uf2dc", /* */
|
||||||
"tooltip": true,
|
"tooltip": true,
|
||||||
"tooltip-format": "Hibernate device",
|
"tooltip-format": "Hibernate device",
|
||||||
"on-click": "swaylock -f; systemctl hibernate"
|
"on-click": "swaylock --daemonize; systemctl hibernate"
|
||||||
},
|
},
|
||||||
|
|
||||||
"custom/system-reboot": {
|
"custom/system-reboot": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue