From 5eb3d3cd64c9cb2724c9b1aba36584eb9c75d658 Mon Sep 17 00:00:00 2001 From: L3D Date: Sat, 17 Nov 2018 23:55:54 +0100 Subject: [PATCH] Improve lock --- defaults/main.yml | 3 +++ templates/config.j2 | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index fb55718..976597a 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -25,3 +25,6 @@ i3_applications: [] i3: font_size: 9 focus_follows_mouse: true + +i3lock_options: "--color 5eba5e" + diff --git a/templates/config.j2 b/templates/config.j2 index e83d279..a364fd7 100644 --- a/templates/config.j2 +++ b/templates/config.j2 @@ -83,7 +83,7 @@ bindsym $mod+Shift+r restart bindsym $mod+Shift+e 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'" # Custom Bindings -bindsym $mod+Shift+x exec i3lock +bindsym $mod+Shift+x exec i3lock {{ i3lock_options }} # workspace variables {% for workspace in i3_workspaces %}