updates to flake
This commit is contained in:
parent
c121332f9b
commit
496a3e15b5
6 changed files with 43 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue