add docker oops

This commit is contained in:
Kopatz
2024-06-06 15:23:21 +02:00
parent 310727a5a1
commit 9d6709629e
4 changed files with 37 additions and 38 deletions

View File

@@ -10,33 +10,6 @@ font pango:monospace 8
# text rendering and scalability on retina/hidpi displays (thanks to pango).
#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.
set $refresh_i3status killall -SIGUSR1 i3status
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && $refresh_i3status
@@ -185,8 +158,7 @@ bindsym $mod+Shift+r restart
# 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+p $lock && sleep 1 && pm-suspend
bindsym $mod+Shift+p exec --no-startup-id systemctl suspend
# resize window (you can also use the mouse for that)
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
@@ -280,6 +252,9 @@ exec --no-startup-id picom --config ~/.config/picom/picom.conf
#status bar
exec --no-startup-id ~/.config/i3/scripts/launch-polybar.sh
# network manager applet
exec --no-startup-id nm-applet
# The combination of xss-lock, nm-applet and pactl is a popular choice, so
# they are included here as an example. Modify as you see fit.
@@ -287,14 +262,7 @@ exec --no-startup-id ~/.config/i3/scripts/launch-polybar.sh
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
# screen before suspend. Use loginctl lock-session to lock your screen.
set $BLANK #00000000
set $CLEAR #ffffff22
set $DEFAULT #ff00ffcc
set $TEXT #ee00eeee
set $WRONG #880000bb
set $VERIFYING #bb00bbbb
exec --no-startup-id $lock
exec --no-startup-id xss-lock --transfer-sleep-lock -- ~/.config/i3/scripts/lock.sh
# NetworkManager is the most popular way to manage wireless networks on Linux,

30
.config/i3/scripts/lock.sh Executable file
View File

@@ -0,0 +1,30 @@
#!/usr/bin/env bash
BLANK=#00000000
CLEAR=#ffffff22
DEFAULT=#ff00ffcc
TEXT=#ee00eeee
WRONG=#880000bb
VERIFYING=#bb00bbbb
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