diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-02-09 11:14:54 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-02-09 11:14:54 +0900 |
| commit | 4cd33a03503496a6cb276ef600e3a2f2abfe13fd (patch) | |
| tree | 1f19ea0dd92ad22bc44fea3e494a29f768be6e68 | |
| parent | da41110493a89042cce569f839c9674c4fc8b0b8 (diff) | |
modified bin/extractkeys, modified statusbar/sb-music
| -rwxr-xr-x | ar/.local/bin/extractkeys | 6 | ||||
| -rwxr-xr-x | ar/.local/bin/statusbar/sb-music | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ar/.local/bin/extractkeys b/ar/.local/bin/extractkeys index 4a8d82d..60c4748 100755 --- a/ar/.local/bin/extractkeys +++ b/ar/.local/bin/extractkeys @@ -6,7 +6,7 @@ readme_file="${XDG_DATA_HOME:-${HOME}/.local/share}/thesiah/thesiah.mom" output_file="$path.mom" temp_file_before="$path.tmp.before" temp_file_after="$path.tmp.after" -start_phrase="When config.h in DWM and ST is saved, key bindings will be extracted and updated below." +start_phrase="When config.def.h in DWM and ST is saved, key bindings will be extracted and updated below." end_phrase=".HEADING 2 \"Other buttons\"" [ -f "$path.mom" ] && source_file="$path.mom" || source_file="$path-default.mom" @@ -28,8 +28,8 @@ echo "$start_phrase" >>"$temp_file_before" # Define your configuration files mapfile -t config_files <<EOF -${XDG_SOURCES_HOME:-${HOME}/.local/src}/suckless/dwm/config.h -${XDG_SOURCES_HOME:-${HOME}/.local/src}/suckless/st/config.h +${XDG_SOURCES_HOME:-${HOME}/.local/src}/suckless/dwm/config.def.h +${XDG_SOURCES_HOME:-${HOME}/.local/src}/suckless/st/config.def.h EOF # Process each configuration file and append content diff --git a/ar/.local/bin/statusbar/sb-music b/ar/.local/bin/statusbar/sb-music index e47fb06..674202a 100755 --- a/ar/.local/bin/statusbar/sb-music +++ b/ar/.local/bin/statusbar/sb-music @@ -36,7 +36,7 @@ filter() { [ "$(mpc status %random%)" = "on" ] && indicators="${indicators}🔂" [ "$(mpc status %repeat%)" = "on" ] && indicators="${indicators}🔁" - sig=$(grep "${0##*/}" "${XDG_SOURCES_HOME:-${HOME}/.local/src}/suckless/dwmblocks/config.h" | awk -F',' '{print $3}') + sig=$(grep "${0##*/}" "${XDG_SOURCES_HOME:-${HOME}/.local/src}/suckless/dwmblocks/config.def.h" | awk -F',' '{print $3}') case $sig in *0*) echo "$prefix$artist - $title$([ -n "$indicators" ] && echo "$indicators")" |
