update_0.4
This commit is contained in:
@@ -75,4 +75,16 @@ bindsym $mod+r mode "Resize"
|
||||
bindsym $mod+v exec --no-startup-id bash -c "rofi -modi 'clipboard:greenclip print' -show clipboard && xclip -selection clipboard -o | ~/.config/i3/scripts/i3-sc-clipboard.sh"
|
||||
bindsym Shift+Print exec --no-startup-id ~/.config/i3/scripts/i3-sc-area.sh
|
||||
bindsym Ctrl+Print exec --no-startup-id ~/.config/i3/scripts/i3-sc-window.sh
|
||||
bindsym Print exec --no-startup-id ~/.config/i3/scripts/i3-sc-full.shv
|
||||
bindsym Print exec --no-startup-id ~/.config/i3/scripts/i3-sc-full.sh
|
||||
mode "Lock? [y/n]" {
|
||||
bindsym y mode "default" exec --no-startup-id ~/.config/i3/scripts/i3-lock.sh
|
||||
bindsym n mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
bindsym $mod+x mode "Lock? [y/n]"
|
||||
mode "Suspend? [y/n]" {
|
||||
bindsym y mode "default" exec --no-startup-id "~/.config/i3/scripts/i3-lock.sh & sleep 1 && systemctl suspend"
|
||||
bindsym n mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
bindsym $mod+Ctrl+x mode "Suspend? [y/n]"
|
||||
@@ -4,6 +4,7 @@ exec --no-startup-id nm-applet
|
||||
exec --no-startup-id picom
|
||||
exec --no-startup-id clipmenud
|
||||
exec --no-startup-id greenclip daemon
|
||||
exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer 60 "~/.config/i3/scripts/i3-lock.sh" "" --timer 900 "systemctl suspend" ""
|
||||
exec_always --no-startup-id bash ~/.config/i3/scripts/i3-lang-layout.sh
|
||||
exec_always --no-startup-id killall -q dunst; dunst -config ~/.config/dunst/dunstrc
|
||||
exec_always --no-startup-id setxkbmap -layout "us,ru" -option "grp:win_space_toggle"
|
||||
|
||||
Executable
+51
@@ -0,0 +1,51 @@
|
||||
#!/bin/bash
|
||||
|
||||
pgrep -x i3lock > /dev/null && exit
|
||||
|
||||
bgcolor='#2d2d2dcc'
|
||||
ubgcolor='#00afff'
|
||||
textcolor='#ffffff'
|
||||
alertcolor='#ff5555'
|
||||
insidecolor='#2d2d2d88'
|
||||
|
||||
i3lock -n \
|
||||
--blur 5 \
|
||||
--indicator \
|
||||
--clock \
|
||||
--refresh-rate 60 \
|
||||
--ind-pos="x+w/2:y+h/2" \
|
||||
--time-pos="ix:iy-20" \
|
||||
--date-pos="ix:iy+20" \
|
||||
--radius=100 \
|
||||
--ring-width=8 \
|
||||
\
|
||||
--color=$bgcolor \
|
||||
--inside-color=$insidecolor \
|
||||
--ring-color=$ubgcolor \
|
||||
--separator-color=$bgcolor \
|
||||
\
|
||||
--insidever-color=$insidecolor \
|
||||
--ringver-color=$ubgcolor \
|
||||
\
|
||||
--insidewrong-color=$insidecolor \
|
||||
--ringwrong-color=$alertcolor \
|
||||
\
|
||||
--keyhl-color=$textcolor \
|
||||
--bshl-color=$alertcolor \
|
||||
\
|
||||
--time-color=$textcolor \
|
||||
--date-color=$textcolor \
|
||||
--layout-color=$textcolor \
|
||||
--verif-color=$textcolor \
|
||||
--wrong-color=$textcolor \
|
||||
--greeter-color=$textcolor \
|
||||
\
|
||||
--time-str="%H:%M" \
|
||||
--date-str="%A, %d %b" \
|
||||
--keylayout 0 \
|
||||
\
|
||||
--time-font="Noto Sans Mono" \
|
||||
--date-font="Noto Sans Mono" \
|
||||
--layout-font="Noto Sans Mono" \
|
||||
--verif-font="Noto Sans Mono" \
|
||||
--wrong-font="Noto Sans Mono"
|
||||
Reference in New Issue
Block a user