Add swaylock configuration and update lock command
This commit is contained in:
parent
2a42be5580
commit
ac58c12a19
64
README.org
64
README.org
@ -46,6 +46,7 @@
|
|||||||
- [[#lock-screen][Lock Screen]]
|
- [[#lock-screen][Lock Screen]]
|
||||||
- [[#wayland-monitor-setup][Wayland Monitor Setup]]
|
- [[#wayland-monitor-setup][Wayland Monitor Setup]]
|
||||||
- [[#shikane][Shikane]]
|
- [[#shikane][Shikane]]
|
||||||
|
- [[#lock-screen-1][Lock Screen]]
|
||||||
- [[#command-line-interface][Command Line Interface]]
|
- [[#command-line-interface][Command Line Interface]]
|
||||||
- [[#multiplexer][Multiplexer]]
|
- [[#multiplexer][Multiplexer]]
|
||||||
- [[#tmux][Tmux]]
|
- [[#tmux][Tmux]]
|
||||||
@ -3861,6 +3862,64 @@ transform = "normal"
|
|||||||
adaptive_sync = false
|
adaptive_sync = false
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
*** Lock Screen
|
||||||
|
|
||||||
|
**** Swaylock
|
||||||
|
|
||||||
|
#+BEGIN_SRC conf :tangle swaylock/.config/swaylock/config
|
||||||
|
ignore-empty-password
|
||||||
|
font=Ubuntu
|
||||||
|
|
||||||
|
clock
|
||||||
|
timestr=%T
|
||||||
|
datestr=%a, %x
|
||||||
|
|
||||||
|
screenshots
|
||||||
|
|
||||||
|
fade-in=0
|
||||||
|
|
||||||
|
effect-blur=20x3
|
||||||
|
effect-scale=1.0
|
||||||
|
|
||||||
|
indicator
|
||||||
|
indicator-radius=240
|
||||||
|
indicator-thickness=20
|
||||||
|
indicator-caps-lock
|
||||||
|
|
||||||
|
key-hl-color=bd93f9
|
||||||
|
|
||||||
|
separator-color=00000000
|
||||||
|
|
||||||
|
inside-color=44475aff
|
||||||
|
inside-clear-color=ffd20400
|
||||||
|
inside-caps-lock-color=009ddc00
|
||||||
|
inside-ver-color=d9d8d800
|
||||||
|
inside-wrong-color=ee2e2400
|
||||||
|
|
||||||
|
ring-color=282a36ff
|
||||||
|
ring-clear-color=231f20D9
|
||||||
|
ring-caps-lock-color=231f20D9
|
||||||
|
ring-ver-color=50fa7bff
|
||||||
|
ring-wrong-color=ff5555ff
|
||||||
|
|
||||||
|
line-color=282a36ff
|
||||||
|
line-clear-color=ffd204FF
|
||||||
|
line-caps-lock-color=009ddcFF
|
||||||
|
line-ver-color=50fa7bff
|
||||||
|
line-wrong-color=ff5555ff
|
||||||
|
|
||||||
|
text-color=8be9fdff
|
||||||
|
text-clear-color=ffd20400
|
||||||
|
text-ver-color=50fa7bff
|
||||||
|
text-wrong-color=ff5555ff
|
||||||
|
|
||||||
|
bs-hl-color=ee2e24FF
|
||||||
|
caps-lock-key-hl-color=ffd204FF
|
||||||
|
caps-lock-bs-hl-color=ee2e24FF
|
||||||
|
disable-caps-lock-text
|
||||||
|
text-caps-lock-color=009ddc
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
* Command Line Interface
|
* Command Line Interface
|
||||||
|
|
||||||
** Multiplexer
|
** Multiplexer
|
||||||
@ -9027,6 +9086,7 @@ stow-create:
|
|||||||
-S ssh \
|
-S ssh \
|
||||||
-S starship \
|
-S starship \
|
||||||
-S swappy \
|
-S swappy \
|
||||||
|
-S swaylock \
|
||||||
-S swaync \
|
-S swaync \
|
||||||
-S swhkd \
|
-S swhkd \
|
||||||
-S syncthing \
|
-S syncthing \
|
||||||
@ -9087,6 +9147,7 @@ stow-delete:
|
|||||||
-D ssh \
|
-D ssh \
|
||||||
-D starship \
|
-D starship \
|
||||||
-D swappy \
|
-D swappy \
|
||||||
|
-D swaylock \
|
||||||
-D swaync \
|
-D swaync \
|
||||||
-D swhkd \
|
-D swhkd \
|
||||||
-D syncthing \
|
-D syncthing \
|
||||||
@ -9147,6 +9208,7 @@ stow-recreate:
|
|||||||
-R ssh \
|
-R ssh \
|
||||||
-R starship \
|
-R starship \
|
||||||
-R swappy \
|
-R swappy \
|
||||||
|
-R swaylock \
|
||||||
-R swaync \
|
-R swaync \
|
||||||
-R swhkd \
|
-R swhkd \
|
||||||
-R syncthing \
|
-R syncthing \
|
||||||
@ -9674,7 +9736,7 @@ main() {
|
|||||||
;;
|
;;
|
||||||
--lock)
|
--lock)
|
||||||
notify-send "Session Control" "Locking Session"
|
notify-send "Session Control" "Locking Session"
|
||||||
loginctl lock-session
|
swaylock
|
||||||
;;
|
;;
|
||||||
--sleep)
|
--sleep)
|
||||||
notify-send "Session Control" "Going to Sleep"
|
notify-send "Session Control" "Going to Sleep"
|
||||||
|
@ -46,7 +46,7 @@ main() {
|
|||||||
;;
|
;;
|
||||||
--lock)
|
--lock)
|
||||||
notify-send "Session Control" "Locking Session"
|
notify-send "Session Control" "Locking Session"
|
||||||
loginctl lock-session
|
swaylock
|
||||||
;;
|
;;
|
||||||
--sleep)
|
--sleep)
|
||||||
notify-send "Session Control" "Going to Sleep"
|
notify-send "Session Control" "Going to Sleep"
|
||||||
|
3
justfile
3
justfile
@ -61,6 +61,7 @@ stow-create:
|
|||||||
-S ssh \
|
-S ssh \
|
||||||
-S starship \
|
-S starship \
|
||||||
-S swappy \
|
-S swappy \
|
||||||
|
-S swaylock \
|
||||||
-S swaync \
|
-S swaync \
|
||||||
-S swhkd \
|
-S swhkd \
|
||||||
-S syncthing \
|
-S syncthing \
|
||||||
@ -121,6 +122,7 @@ stow-delete:
|
|||||||
-D ssh \
|
-D ssh \
|
||||||
-D starship \
|
-D starship \
|
||||||
-D swappy \
|
-D swappy \
|
||||||
|
-D swaylock \
|
||||||
-D swaync \
|
-D swaync \
|
||||||
-D swhkd \
|
-D swhkd \
|
||||||
-D syncthing \
|
-D syncthing \
|
||||||
@ -181,6 +183,7 @@ stow-recreate:
|
|||||||
-R ssh \
|
-R ssh \
|
||||||
-R starship \
|
-R starship \
|
||||||
-R swappy \
|
-R swappy \
|
||||||
|
-R swaylock \
|
||||||
-R swaync \
|
-R swaync \
|
||||||
-R swhkd \
|
-R swhkd \
|
||||||
-R syncthing \
|
-R syncthing \
|
||||||
|
51
swaylock/.config/swaylock/config
Normal file
51
swaylock/.config/swaylock/config
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
ignore-empty-password
|
||||||
|
font=Ubuntu
|
||||||
|
|
||||||
|
clock
|
||||||
|
timestr=%T
|
||||||
|
datestr=%a, %x
|
||||||
|
|
||||||
|
screenshots
|
||||||
|
|
||||||
|
fade-in=0
|
||||||
|
|
||||||
|
effect-blur=20x3
|
||||||
|
effect-scale=1.0
|
||||||
|
|
||||||
|
indicator
|
||||||
|
indicator-radius=240
|
||||||
|
indicator-thickness=20
|
||||||
|
indicator-caps-lock
|
||||||
|
|
||||||
|
key-hl-color=bd93f9
|
||||||
|
|
||||||
|
separator-color=00000000
|
||||||
|
|
||||||
|
inside-color=44475aff
|
||||||
|
inside-clear-color=ffd20400
|
||||||
|
inside-caps-lock-color=009ddc00
|
||||||
|
inside-ver-color=d9d8d800
|
||||||
|
inside-wrong-color=ee2e2400
|
||||||
|
|
||||||
|
ring-color=282a36ff
|
||||||
|
ring-clear-color=231f20D9
|
||||||
|
ring-caps-lock-color=231f20D9
|
||||||
|
ring-ver-color=50fa7bff
|
||||||
|
ring-wrong-color=ff5555ff
|
||||||
|
|
||||||
|
line-color=282a36ff
|
||||||
|
line-clear-color=ffd204FF
|
||||||
|
line-caps-lock-color=009ddcFF
|
||||||
|
line-ver-color=50fa7bff
|
||||||
|
line-wrong-color=ff5555ff
|
||||||
|
|
||||||
|
text-color=8be9fdff
|
||||||
|
text-clear-color=ffd20400
|
||||||
|
text-ver-color=50fa7bff
|
||||||
|
text-wrong-color=ff5555ff
|
||||||
|
|
||||||
|
bs-hl-color=ee2e24FF
|
||||||
|
caps-lock-key-hl-color=ffd204FF
|
||||||
|
caps-lock-bs-hl-color=ee2e24FF
|
||||||
|
disable-caps-lock-text
|
||||||
|
text-caps-lock-color=009ddc
|
Loading…
x
Reference in New Issue
Block a user