From e2324e420f0ef1e365fb5fc160152e62b30d6395 Mon Sep 17 00:00:00 2001
From: Salt <rehashedsalt@cock.li>
Date: Mon, 24 Aug 2020 10:02:14 -0500
Subject: [PATCH 1/3] .profile: Fix naughty words in PS1

---
 .profile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.profile b/.profile
index 587a639d..f0721a68 100755
--- a/.profile
+++ b/.profile
@@ -355,16 +355,16 @@ _ps1bash() {
 	fi
 	# Show read-only status in certain directories
 	if [ "$UID" = 0 ]; then
-		# Fuck you I'm root
+		# Root gets the usual "#" prompt
 		prompt="${fg_red}#${r}"
 	elif ! [ -d "$PWD" ]; then
-		# What the fuck happened to my directory
+		# Something very bad has happened to our PWD, probably got deleted
 		prompt="${bg_red}${fg_black}!${r}"
 	elif ! [ -r "$PWD" ]; then
-		# Can't read is worst case
+		# Guess we lost privileges
 		prompt="${fg_red}"'$'"${r}"
 	elif ! [ -x "$PWD" ]; then
-		# Can read it but can't search it is weird but also bad
+		# Missing execution perms
 		if [ -w "$PWD" ]; then
 			# Fixable
 			prompt="${bg_blue}${fg_black}"'$'"${r}"

From 0e64570501595f0e83ac43aa87cfc09ddfed70bd Mon Sep 17 00:00:00 2001
From: Salt <rehashedsalt@cock.li>
Date: Mon, 24 Aug 2020 18:37:26 -0500
Subject: [PATCH 2/3] Polybar: readd battery module whups

---
 .config/polybar/config | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/.config/polybar/config b/.config/polybar/config
index b60e2199..0468a47e 100644
--- a/.config/polybar/config
+++ b/.config/polybar/config
@@ -66,7 +66,7 @@ border-top-size = ${res/config.border-size}
 tray-position = right
 modules-left = i3 bspwm | date
 modules-center = xwindow
-modules-right = backlight pulse |
+modules-right = backlight pulse battery |
 
 #[bar/primary-2]
 #monitor = ${env:PB_MONITOR:eDP-1}
@@ -106,15 +106,18 @@ full-at = 100
 time-format = %H:%M
 interval = 15
 
-format-charging = <bar-capacity>
+format-charging = <label-charging>
 format-charging-prefix = "Charging: "
 format-charging-prefix-foreground = ${res/colors.green}
-format-discharging = <bar-capacity>
+format-discharging = <label-discharging>
 format-discharging-prefix = "Battery: "
 format-discharging-prefix-foreground = ${res/colors.green}
-format-full = <bar-capacity>
+format-full = <label-full>
 format-full-prefix = "Battery: "
 format-full-prefix-foreground = ${res/colors.green}
+label-charging = %time%
+label-discharging = %time%
+label-full = Full
 bar-capacity-width = ${res/config.bar-width}
 bar-capacity-fill = ${res/config.bar-fill}
 bar-capacity-fill-foreground = ${res/colors.green}

From 21c508f410503720fa338d9bc64127e6686ef86e Mon Sep 17 00:00:00 2001
From: Salt <rehashedsalt@cock.li>
Date: Mon, 24 Aug 2020 18:56:28 -0500
Subject: [PATCH 3/3] Polybar: Use percentage instead of time I actually have a
 battery so large that the time fluctuates too much and is unuseable

---
 .config/polybar/config | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.config/polybar/config b/.config/polybar/config
index 0468a47e..5246d1d4 100644
--- a/.config/polybar/config
+++ b/.config/polybar/config
@@ -115,8 +115,8 @@ format-discharging-prefix-foreground = ${res/colors.green}
 format-full = <label-full>
 format-full-prefix = "Battery: "
 format-full-prefix-foreground = ${res/colors.green}
-label-charging = %time%
-label-discharging = %time%
+label-charging = %percentage%%
+label-discharging = %percentage%%
 label-full = Full
 bar-capacity-width = ${res/config.bar-width}
 bar-capacity-fill = ${res/config.bar-fill}