blob: 11e2c1bae92eac0dad6e346558bae4718e99691a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
#!/bin/sh
greet() {
hour=$(date +%H)
case $hour in
0[6-9]|1[01])
echo "Bonjour" ;;
12)
echo "Bon appétit" ;;
1[3-8])
echo "Bonne après-midi" ;;
19|2[0-3])
echo "Bonsoir" ;;
*)
echo "Bonne nuit" ;;
esac
}
i3lock --image=/home/marcellus/img/lockscreen.png\
--force-clock\
--greeter-text="$(greet)"\
--date-str="%A %d %B %Y"\
--greeter-color=6A9589FF\
--time-color=6A9589FF\
--date-color=6A9589FF\
--keyhl-color=6A9589DF\
--bshl-color=7E9CD8DF\
--greeter-font=tintin\
--time-font=tintin\
--date-font=tintin\
--ind-pos="w/2:((3*h) / 4) - 40"\
--time-pos="w/2:40+h/4"\
--date-pos="tx:ty+40"\
--time-size=80\
--date-size=30\
--custom-key-commands\
--cmd-brightness-up "bright up"\
--cmd-brightness-down "bright down"\
--cmd-audio-mute "pamixer -t"\
--cmd-volume-up "pamixer -i 5"\
--cmd-volume-down "pamixer -d 5"\
--bar-indicator\
--bar-cava-style\
--bar-cava-decay 0.6\
--bar-orientation=horizontal\
--bar-direction=1\
--bar-count 70\
--bar-max-height 350\
--bar-pos="y:h"\
--bar-periodic-step 20\
--bar-base-width 10\
--bar-step 5
|