updating a lot of hyprland config pieces
This commit is contained in:
parent
28645f7175
commit
d9cf8e32a7
9 changed files with 245 additions and 172 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue