sleep
This commit is contained in:
@@ -10,6 +10,33 @@ font pango:monospace 8
|
|||||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
||||||
#font pango:DejaVu Sans Mono 8
|
#font pango:DejaVu Sans Mono 8
|
||||||
|
|
||||||
|
set $lock xss-lock --transfer-sleep-lock -- i3lock-color --nofork \
|
||||||
|
--insidever-color=$CLEAR \
|
||||||
|
--ringver-color=$VERIFYING \
|
||||||
|
\
|
||||||
|
--insidewrong-color=$CLEAR \
|
||||||
|
--ringwrong-color=$WRONG \
|
||||||
|
\
|
||||||
|
--inside-color=$BLANK \
|
||||||
|
--ring-color=$DEFAULT \
|
||||||
|
--line-color=$BLANK \
|
||||||
|
--separator-color=$DEFAULT \
|
||||||
|
\
|
||||||
|
--verif-color=$TEXT \
|
||||||
|
--wrong-color=$TEXT \
|
||||||
|
--time-color=$TEXT \
|
||||||
|
--date-color=$TEXT \
|
||||||
|
--layout-color=$TEXT \
|
||||||
|
--keyhl-color=$WRONG \
|
||||||
|
--bshl-color=$WRONG \
|
||||||
|
--fill \
|
||||||
|
-i ~/.config/wallpapers/yuyukowallpaper.png \
|
||||||
|
--clock \
|
||||||
|
--indicator \
|
||||||
|
--time-str="%H:%M:%S" \
|
||||||
|
--date-str="%A, %Y-%m-%d" \
|
||||||
|
--keylayout 1 \
|
||||||
|
|
||||||
# Use pactl to adjust volume in PulseAudio.
|
# Use pactl to adjust volume in PulseAudio.
|
||||||
set $refresh_i3status killall -SIGUSR1 i3status
|
set $refresh_i3status killall -SIGUSR1 i3status
|
||||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && $refresh_i3status
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && $refresh_i3status
|
||||||
@@ -158,6 +185,8 @@ bindsym $mod+Shift+r restart
|
|||||||
# exit i3 (logs you out of your X session)
|
# exit i3 (logs you out of your X session)
|
||||||
bindsym $mod+Shift+q exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
|
bindsym $mod+Shift+q exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
|
||||||
|
|
||||||
|
bindsym $mod+Shift+p $lock && sleep 1 && pm-suspend
|
||||||
|
|
||||||
# resize window (you can also use the mouse for that)
|
# resize window (you can also use the mouse for that)
|
||||||
mode "resize" {
|
mode "resize" {
|
||||||
# These bindings trigger as soon as you enter the resize mode
|
# These bindings trigger as soon as you enter the resize mode
|
||||||
@@ -264,32 +293,8 @@ set $DEFAULT #ff00ffcc
|
|||||||
set $TEXT #ee00eeee
|
set $TEXT #ee00eeee
|
||||||
set $WRONG #880000bb
|
set $WRONG #880000bb
|
||||||
set $VERIFYING #bb00bbbb
|
set $VERIFYING #bb00bbbb
|
||||||
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock-color --nofork \
|
|
||||||
--insidever-color=$CLEAR \
|
exec --no-startup-id $lock
|
||||||
--ringver-color=$VERIFYING \
|
|
||||||
\
|
|
||||||
--insidewrong-color=$CLEAR \
|
|
||||||
--ringwrong-color=$WRONG \
|
|
||||||
\
|
|
||||||
--inside-color=$BLANK \
|
|
||||||
--ring-color=$DEFAULT \
|
|
||||||
--line-color=$BLANK \
|
|
||||||
--separator-color=$DEFAULT \
|
|
||||||
\
|
|
||||||
--verif-color=$TEXT \
|
|
||||||
--wrong-color=$TEXT \
|
|
||||||
--time-color=$TEXT \
|
|
||||||
--date-color=$TEXT \
|
|
||||||
--layout-color=$TEXT \
|
|
||||||
--keyhl-color=$WRONG \
|
|
||||||
--bshl-color=$WRONG \
|
|
||||||
--fill \
|
|
||||||
-i ~/.config/wallpapers/yuyukowallpaper.png \
|
|
||||||
--clock \
|
|
||||||
--indicator \
|
|
||||||
--time-str="%H:%M:%S" \
|
|
||||||
--date-str="%A, %Y-%m-%d" \
|
|
||||||
--keylayout 1 \
|
|
||||||
|
|
||||||
|
|
||||||
# NetworkManager is the most popular way to manage wireless networks on Linux,
|
# NetworkManager is the most popular way to manage wireless networks on Linux,
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ in {
|
|||||||
brightnessctl
|
brightnessctl
|
||||||
i3blocks
|
i3blocks
|
||||||
autotiling
|
autotiling
|
||||||
|
pmutils # suspend with pm-suspend
|
||||||
lm_sensors # for cpu in polybar
|
lm_sensors # for cpu in polybar
|
||||||
feh # sets the wallpaper
|
feh # sets the wallpaper
|
||||||
nm-tray # NetworkManager tray icon
|
nm-tray # NetworkManager tray icon
|
||||||
|
|||||||
Reference in New Issue
Block a user