updates to flake

This commit is contained in:
Chris Cochrun 2023-04-25 09:22:38 -05:00
parent c121332f9b
commit 496a3e15b5
6 changed files with 43 additions and 4 deletions

View file

@ -10,8 +10,8 @@ workspaces() {
if [[ ${1:0:12} == "activewindow" ]]; then #set focused workspace
line=$(hyprctl activewindow | rg Window | cut -f 4- -d ' ' | sed 's/://')
class=$(hyprctl activewindow | rg class | awk '{print $2}')
export iconpath=$(geticons "$class" -s 16 -c 1 -t "$icontheme" | head -n 1)
class=$(hyprctl activewindow | rg "class:" | awk '{print $2}')
export iconpath=$(geticons "$class" -s 32 -c 1 -t "$icontheme" | head -n 1)
export title=$line
fi
}