From cec1881959e9a6bf16a7ce9a8e91f536c27767a5 Mon Sep 17 00:00:00 2001 From: Julian Mutter Date: Sat, 11 Sep 2021 14:22:10 +0200 Subject: [PATCH] i3: change i3lock color, add background image --- i3/.config/i3/config | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/i3/.config/i3/config b/i3/.config/i3/config index b8a6e4a..9ceafe9 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -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