Commit d94f960
Changed files (8)
.config
tmux
.wraith
.config/tmux/tmux.conf
@@ -83,7 +83,7 @@ run '~/.config/tmux/plugins/tpm/tpm'
set -g status-left-length 100
set -g status-right-length 100
set -g status-left ""
-set -ag status-left "#{?client_prefix,#[bg=#1e1e2e]#[fg=#cdd6f] ⌨ ,}"
+set -ag status-left "#{?client_prefix,#[bg=#1e1e2e]#[fg=#cdd6f4] ⌨ ,}"
set -ag status-left "#{?#{==:#{pane_mode},copy-mode},#[bg=#1e1e2e]#[fg=#cdd6f4] ,}"
set -g status-right "#(~/.wraith/scripts/tmux-git-status.sh '#{pane_current_path}') "
set -ag status-right "#{E:@catppuccin_status_date_time}
.wraith/scripts/arch-spring-cleanup.sh
@@ -156,8 +156,8 @@ else
echo "$ORPHANS" | gum_safe format
if gum_safe confirm "Remove orphaned packages?"; then
- ORPHON_LIST=$(echo "$ORPHANS" | tr '\n' ' ')
- run_task "Removing orphaned packages" "sudo pacman -Rns --noconfirm $ORPHON_LIST"
+ ORPHAN_LIST=$(echo "$ORPHANS" | tr '\n' ' ')
+ run_task "Removing orphaned packages" "sudo pacman -Rns --noconfirm $ORPHAN_LIST"
else
sub_text "Skipped orphan removal."
fi
.wraith/scripts/brightness.sh
@@ -134,7 +134,7 @@ set_brightness() {
current=$(cat "$STATE_FILE" 2>/dev/null)
if ! validate_brightness "$current"; then
- current= $DEFAULT_FALLBACK
+ current=$DEFAULT_FALLBACK
echo "Warning: Invalid state file, using fallback value: $DEFAULT_FALLBACK%" >&2
fi
.wraith/scripts/mimetypes.sh
@@ -1,3 +1,4 @@
+#!/usr/bin/env bash
update-desktop-database ~/.local/share/applications
# Open all images with imv
.wraith/scripts/packages.sh
@@ -75,7 +75,8 @@ packages_installed_explicitly() {
pkg_update(){
- updates=$(checkupdates | wc -l)
+ update_list=$(checkupdates 2>/dev/null)
+ updates=$(echo "$update_list" | wc -l)
if [ "$updates" -lt 10 ]; then
packages_installed_explicitly
@@ -87,11 +88,11 @@ pkg_update(){
--width=600 --height=400 \
--ok-label="Update" \
--cancel-label="Ignore" \
- --text="The following updates are available:
+ --text="The following $updates updates are available:
- $updates
+$update_list
- Do you want to update now?"
+Do you want to update now?"
if [ $? -eq 0 ]; then
(
.wraith/scripts/waybar-swaync.sh
@@ -1,7 +1,7 @@
#!/bin/zsh
-killall -9 waybar
-killall -9 swaync
+killall waybar
+killall swaync
waybar &
-swaync &
\ No newline at end of file
+swaync &
.gitconfig
@@ -9,3 +9,9 @@
editor = nvim
[fetch]
prune = true
+[pull]
+ rebase = true
+[push]
+ autoSetupRemote = true
+[diff]
+ algorithm = histogram
.gitignore
@@ -1,3 +1,4 @@
states/
.config/tmux/plugins/
+.local/state/
*.cache