updating a lot of hyprland config pieces

This commit is contained in:
Chris Cochrun 2022-12-21 09:13:28 -06:00
parent 28645f7175
commit d9cf8e32a7
9 changed files with 245 additions and 172 deletions

View file

@ -7,8 +7,9 @@ icontheme=$(grep "gtk-icon-theme-name" "$HOME"/.config/gtk-3.0/settings.ini | cu
workspaces() {
if [[ ${1:0:12} == "activewindow" ]]; then #set focused workspace
string=${1:14}
export title=$(echo $string | sed 's/.*,//')
class="${string/,*/}"
export title=${string/,/, }
# export title=${string/,/, }
[[ $title == ", " ]] && unset title
export iconpath=$(geticons "$class" -s 16 -c 1 -t "$icontheme" | head -n 1)
fi