aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCori Barker <coribarker2@gmail.com>2026-02-02 16:40:53 +0000
committerCori Barker <coribarker2@gmail.com>2026-02-02 16:40:53 +0000
commit854714671f40d4350fbba84b0561b3042e6e0919 (patch)
tree78f4797fbbaac35f23a06b9baa656fa915721c9c
Add patched suckless build (dwm, st, dmenu)
-rw-r--r--.xinitrc16
-rw-r--r--README6
m---------dmenu0
m---------dwm0
m---------st0
5 files changed, 22 insertions, 0 deletions
diff --git a/.xinitrc b/.xinitrc
new file mode 100644
index 0000000..abd1e9e
--- /dev/null
+++ b/.xinitrc
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+while true
+do
+ # Get the current date, uptime, and battery percentage
+ battery_level=$(upower -i $(upower -e | grep BAT) | grep -i "percentage" | awk '{print $2}')
+ status_name="`date` `uptime | sed 's/.*,//'` Battery: $battery_level"
+
+ # Set the status
+ xsetroot -name "$status_name"
+
+ sleep 1
+done &
+
+exec dwm
+
diff --git a/README b/README
new file mode 100644
index 0000000..c2f17d1
--- /dev/null
+++ b/README
@@ -0,0 +1,6 @@
+My suckless configuration
+
+- DWM
+- ST
+- DMENU
+- XINITRC
diff --git a/dmenu b/dmenu
new file mode 160000
+Subproject 7175c4880bac3d2a2d4a6262b59193f0a38e2fd
diff --git a/dwm b/dwm
new file mode 160000
+Subproject f63cde9354504ee9cfecc07517c03736d0f90c2
diff --git a/st b/st
new file mode 160000
+Subproject 688f70add0d1da8a416bf7df763328d694a24a3