-
-
Save dardo82/294af8e06d222d6893b0fa0cc27d046b to your computer and use it in GitHub Desktop.
XFCE4 apps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
NAWW="_NET_ACTIVE_WINDOW(WINDOW):" | |
ICON_DIR="/usr/share/icons/hicolor/128x128/apps" | |
spiral () { | |
local AWL=$(xprop -root | awk "/${(q)NAWW}/"'{print $5}') | |
xseticon -id "${AWL/,}" "$1" | |
} | |
xfce4 () { | |
eval "xfce4-$1" & | |
{ | |
sleep 1 | |
spiral "$ICON_DIR/org.xfce.$1.png" | |
} | |
} | |
xfce4 filemanager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
NAWW="_NET_ACTIVE_WINDOW(WINDOW):" | |
ICON_DIR="/usr/share/icons/hicolor/128x128/apps" | |
spiral () { | |
local AWL=$(xprop -root | awk "/${(q)NAWW}/"'{print $5}') | |
xseticon -id "${AWL/,}" "$1" | |
} | |
xfce4 () { | |
eval "xfce4-$1" & | |
{ | |
sleep 1 | |
spiral "$ICON_DIR/org.xfce.$1.png" | |
} | |
} | |
xfce4 terminal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
NAWW="_NET_ACTIVE_WINDOW(WINDOW):" | |
ICON_DIR="/usr/share/icons/hicolor/128x128/apps" | |
spiral () { | |
local AWL=$(xprop -root | awk "/${(q)NAWW}/"'{print $5}') | |
xseticon -id "${AWL/,}" "$1" | |
} | |
xfce4 () { | |
eval "xfce4-$1" & | |
{ | |
sleep 1 | |
spiral "$ICON_DIR/org.xfce.$1.png" | |
} | |
} | |
xfce4 webbrowser | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment