diff --git a/.config/suckless/dwm/config.h b/.config/suckless/dwm/config.h
index 4ee3fbc..9e75c73 100644
--- a/.config/suckless/dwm/config.h
+++ b/.config/suckless/dwm/config.h
@@ -15,6 +15,7 @@ static const Rule rules[] = {
{ "librewolf", NULL, NULL, 1 << 1, 0, -1 },
{ "steam", NULL, NULL, 1 << 2, 0, -1 },
{ "PrismLauncher", NULL, NULL, 1 << 2, 0, -1 },
+ { "Hello World", NULL, NULL, 1, 1, -1 },
};
static const float mfact = 0.55;
@@ -37,7 +38,7 @@ static const Layout layouts[] = {
#include "X11/XF86keysym.h"
static const Key keys[] = {
- { MODKEY, XK_Return, spawn, SHCMD("ghostty") },
+ { MODKEY, XK_Return, spawn, SHCMD("ghostty -e tmux a") },
{ MODKEY, XK_space, spawn, SHCMD("dmenu_run -l 6") },
{ MODKEY, XK_f, spawn, SHCMD("librewolf") },
{ MODKEY|ShiftMask, XK_s, spawn, SHCMD("steam") },
diff --git a/.local/bin/myfetch.sh b/.local/bin/myfetch.sh
index 66357cd..7901465 100755
--- a/.local/bin/myfetch.sh
+++ b/.local/bin/myfetch.sh
@@ -26,19 +26,6 @@ else
fi
logical_threads=$(nproc --all)
-# CPU usage (quick sample)
-cpu_usage() {
- read -r _ u n s i _ < <(grep '^cpu ' /proc/stat)
- prev=$((u+n+s+i)); prev_idle=$i
- sleep 0.1
- read -r _ u n s i _ < <(grep '^cpu ' /proc/stat)
- cur=$((u+n+s+i)); idle=$i
- dt=$((cur - prev)); di=$((idle - prev_idle))
- ((dt>0)) && printf "%.1f%%" "$(bc -l <<< "100*($dt-$di)/$dt")" || echo "0.0%"
-}
-
-cpu_use=$(cpu_usage)
-
# Memory
mem_usage=$(free -h | awk '/Mem:/ {print $3 "/" $2}')
@@ -50,7 +37,7 @@ pkg_count=$(find /var/db/pkg -mindepth 2 -maxdepth 2 -type d 2>/dev/null | wc -l
# --- Define lines (easy to add new ones) ---
lines=(
- "${cyan}CPU${reset}: ${physical_cores}c/${logical_threads}t/${cpu_use}"
+ "${cyan}CPU${reset}: ${physical_cores}c/${logical_threads}t"
"${green}Memory${reset}: ${mem_usage}"
"${red}Age${reset}: ${sys_age} days"
"${blue}Pkgs${reset}: ${pkg_count}"
diff --git a/.local/bin/test.sh b/.local/bin/test.sh
deleted file mode 100755
index a7a2ced..0000000
--- a/.local/bin/test.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/usr/bin/env bash
-if [[ -f ~/.last_world_update ]]; then
- last_epoch=$(stat -c %Y ~/.last_world_update)
- days_since_update=$(( ( $(date +%s) - last_epoch ) / 86400 ))
-else
- days_since_update=0
-fi
diff --git a/README.md b/README.md
index 3f1d504..25fd471 100644
--- a/README.md
+++ b/README.md
@@ -8,11 +8,12 @@
Uses Everforest and DWM
- Packages Needed:
- Libs:
- - libXinerama, libXft, libX11
+ - libXft, libX11
- X11:
- xwallpaper, xrandr, xinput
- Software:
- ghostty, tmux, neovim, dunst, pipewire + wireplumber, picom (Pijulius's Picom for animations)
```
-
-
+
+
+
diff --git a/env.sh b/env.sh
index f4153f6..736f527 100755
--- a/env.sh
+++ b/env.sh
@@ -8,9 +8,9 @@ DOTFILES_HOME="/home/andrew/personal/dotfiles/"
DOTFILES_CONFIG="${DOTFILES_HOME}.config/"
DOTFILES_LOCAL="${DOTFILES_HOME}.local/"
-PERSONAL_HOME="/home/andrew/"
-CONFIG="${PERSONAL_HOME}.config/"
-LOCAL="${PERSONAL_HOME}.local/"
+HOME="/home/andrew/"
+CONFIG="${HOME}.config/"
+LOCAL="${HOME}.local/"
ORIGINAL_DOTS=(
"${DOTFILES_CONFIG}nvim/"
@@ -34,9 +34,9 @@ COPY_DOTS=(
"${CONFIG}picom.conf"
"${LOCAL}share/fonts/"
"${LOCAL}bin/"
- "${PERSONAL_HOME}.xinitrc"
- "${PERSONAL_HOME}.bashrc"
- "${PERSONAL_HOME}.bash_profile"
+ "${HOME}.xinitrc"
+ "${HOME}.bashrc"
+ "${HOME}.bash_profile"
)
for x in "${!ORIGINAL_DOTS[@]}"; do
@@ -54,11 +54,5 @@ for x in "${!ORIGINAL_DOTS[@]}"; do
fi
done
-echo -e "${GREEN}Rebuilding Suckless Software${RESET}"
-for x in "${CONFIG}suckless"/*/; do
- [[ -d "${x}" ]] || continue
- cd "${x}" && make && doas make install && make clean && pkill dwm
-done
-
echo -e "${GREEN}Re-caching fonts${RESET}"
fc-cache -f