i3: change i3lock color, add background image

This commit is contained in:
Julian Mutter 2021-09-11 14:22:10 +02:00
parent 640eca56f4
commit cec1881959

View File

@ -11,6 +11,7 @@
set $mod Mod4
set $scripts ~/.config/i3/scripts
set $lock "i3lock --ignore-empty-password --color=000000"
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
@ -23,9 +24,9 @@ font pango:monospace 12
# 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.
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
# xss-lock grabs a logind suspend inhibit lock and will use $lock to lock the
# screen before suspend. Use loginctl lock-session to lock your screen.
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
exec --no-startup-id xss-lock --transfer-sleep-lock -- $lock --nofork
# NetworkManager is the most popular way to manage wireless networks on Linux,
# and nm-applet is a desktop environment-independent system tray GUI for it.
@ -204,7 +205,7 @@ bar {
set $mode_system System (l) lock, (e) logout, (r) reboot, (s) shutdown
mode "$mode_system" {
bindsym l exec --no-startup-id i3lock, mode "default"
bindsym l exec --no-startup-id $lock, mode "default"
bindsym e exec --no-startup-id i3exit logout, mode "default"
bindsym r exec --no-startup-id i3exit reboot, mode "default"
bindsym s exec --no-startup-id i3exit shutdown, mode "default"
@ -280,7 +281,12 @@ for_window [class="Pamac-updater"] floating enable
#
for_window [window_role=floating] floating enable
for_window [class="Viewnior"] border normal
########## Autostart applications ##########
# Fixes Aurora screen not finding hdmi
exec_always ~/.screenlayout/one-screen.sh
#exec --no-startup-id "i3-msg 'workspace 9; append_layout ~/.config/i3/workspace-chat.json'"
#exec firefox
@ -302,7 +308,7 @@ exec --no-startup-id msm_notifier
exec --no-startup-id start-pulseaudio-x11
# Background
#exec --no-startup-id feh --randomize --bg-fill /home/julian/Pictures/Hintergrundbilder/*
exec --no-startup-id feh --bg-fill /home/julian/Pictures/Hintergrundbilder/space.jpg
exec --no-startup-id feh --bg-fill /home/julian/Bilder/background.jpg
# Notifications
exec --no-startup-id dunst -config /home/julian/.config/dunst/dunstrc