My configurations for the software I use
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

`thm` now puts its files in XDG_STATE_HOME instead of XDG_CACHE_HOME

yemou 0e0cbf48 45eef76c

+8 -8
+1 -1
config/foot/foot.ini
··· 1 1 # Alternatively I could create a wrapper script that uses an environment variable 2 - include=~/.cache/thm/foot-colors.ini 2 + include=~/.local/state/thm/foot-colors.ini 3 3 4 4 font=monospace:size=10 5 5 pad=8x8 center
+1 -1
config/kak/kakrc
··· 114 114 printf '%s\n' "decl str theme_type none" 115 115 return 0 116 116 } 117 - . $(cat "${XDG_CACHE_HOME:-$HOME/.cache}/thm/current_thm") 117 + . $(cat "${XDG_STATE_HOME:-$HOME/.local/state}/thm/current_thm") 118 118 case $theme_type in 119 119 light ) printf '%s\n' "decl str theme_type light" ;; 120 120 dark ) printf '%s\n' "decl str theme_type dark" ;;
+1 -1
config/loksh/rc
··· 19 19 PS2="\[\033[1;36m\]>\[\033[m\] " 20 20 } || { 21 21 # Try and get OSC-133;A working 22 - case $(. "$(<"${XDG_CACHE_HOME:-$HOME/.cache}/thm/current_thm")"; printf '%s' "$theme_type") in 22 + case $(. "$(<"${XDG_STATE_HOME:-$HOME/.local/state}/thm/current_thm")"; printf '%s' "$theme_type") in 23 23 dark ) PS1="\[\033[1;91m\]\u\[\033[92m\]@\[\033[93m\]\h \[\033[94m\]\W\[\033[m\] " 24 24 PS2="\[\033[1;96m\]>\[\033[m\] " ;; 25 25 * ) PS1="\[\033[1;31m\]\u\[\033[32m\]@\[\033[33m\]\h \[\033[34m\]\W\[\033[m\] "
+1 -1
config/sway/config
··· 1 1 include /etc/sway/config.d/* 2 - include ${XDG_CACHE_HOME}/thm/sway-appearance 2 + include ${XDG_STATE_HOME}/thm/sway-appearance 3 3 4 4 output "LG Electronics LG HDR WFHD 0x0000B11B" { 5 5 mode 2560x1080@74.991Hz
+1 -1
config/thm/templates/dark/foot-colors.ini.template
··· 1 - include=~/.cache/thm/foot-colors-base.ini 1 + include=~/.local/state/thm/foot-colors-base.ini 2 2 3 3 [csd] 4 4 color=ff{fg_color}
+1 -1
config/thm/templates/light/foot-colors.ini.template
··· 1 - include=~/.cache/thm/foot-colors-base.ini 1 + include=~/.local/state/thm/foot-colors-base.ini 2 2 3 3 [csd] 4 4 color=ff{bg_color}
+1 -1
local/bin/bemenu
··· 1 1 #!/bin/sh 2 2 # shellcheck source=/dev/null 3 - . "${XDG_CACHE_HOME:-$HOME/.cache}/thm/colors.sh" 3 + . "${XDG_STATE_HOME:-$HOME/.local/state}/thm/colors.sh" 4 4 5 5 # shellcheck disable=SC2154 6 6 exec /usr/bin/bemenu -i \
+1 -1
local/bin/bemenu-run
··· 1 1 #!/bin/sh 2 2 # shellcheck source=/dev/null 3 - . "${XDG_CACHE_HOME:-$HOME/.cache}/thm/colors.sh" 3 + . "${XDG_STATE_HOME:-$HOME/.local/state}/thm/colors.sh" 4 4 5 5 # shellcheck disable=SC2154 6 6 exec /usr/bin/bemenu-run -i \