From 8b1fbc103083b7c31a0e00491d5163188c4292a8 Mon Sep 17 00:00:00 2001
From: Salt <rehashedsalt@cock.li>
Date: Fri, 4 Aug 2017 21:29:16 -0500
Subject: [PATCH] More minor tweaks Forgot to commit and now I have no clue
 what I did

---
 .config/i3/config      |  6 +++---
 .config/polybar/config | 16 +++++++++++++++-
 2 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/.config/i3/config b/.config/i3/config
index 36c2e363..55064c0c 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -50,7 +50,7 @@ font pango:Overpass 10
 # Use in case of NODM/autlogin and .xinitrc -- If we're just starting the system, we need to lock it up.
 exec --no-startup-id "i3lock -c1d2021"
 
-exec_always --no-startup-id $HOME/.config/polybar/launch.sh
+exec_always --no-startup-id ~/.config/polybar/launch.sh
 exec --no-startup-id redshift -l 38.627003:-90.199402
 exec_always --no-startup-id compton -bc --config ~/.config/compton.conf
 exec_always --no-startup-id dunst
@@ -207,10 +207,10 @@ bindsym $mod+$shift+r restart
 
 # exit i3 (logs you out of your X session)
 #bindsym $mod+$shift+e exec "i3-nagbar -t warning -m 'Really exit i3wm? This will close all running applications and end your X session.' -b 'Exit' 'i3-msg exit'"
-bindsym $mod+$shift+e exec "i3-salt-logout-dunst"
+bindsym $mod+$shift+e exec "~/.bin/i3-salt-logout-dunst"
 
 # lock the screen
-bindsym $sup+l exec "bash i3-salt-lock"
+bindsym $sup+l exec "~/.bin/i3-salt-lock"
 
 # resize window (you can also use the mouse for that)
 mode "resize" {
diff --git a/.config/polybar/config b/.config/polybar/config
index bd44e69c..d3578ea4 100644
--- a/.config/polybar/config
+++ b/.config/polybar/config
@@ -67,7 +67,7 @@ tray-padding = 2
 
 modules-left = i3 | xwindow
 modules-center = date
-modules-right = wlan-up wlan-down | temperature
+modules-right = xkeyboard | wlan-up wlan-down | temperature
 
 ; LOWER
 ;====================
@@ -345,6 +345,20 @@ inherit = template/module/bar
 label = BRI
 bar-fill-foreground = ${template/module/bar.bar-fill-foreground-setting}
 
+[module/xkeyboard]
+type = internal/xkeyboard
+format = <label-indicator> <label-layout>
+
+label-layout = %name%
+label-layout-padding = 0
+label-layout-background = ${res/colors.background}
+label-layout-foreground = ${res/colors.foreground}
+
+label-indicator = %name%
+label-indicator-padding = 1
+label-indicator-background = ${self.label-layout-background}
+label-indicator-foreground = ${res/colors.accent-blue}
+
 [module/xwindow]
 type = internal/xwindow
 label = %title%