summaryrefslogtreecommitdiffstats
path: root/eww/scripts/fetch
diff options
context:
space:
mode:
Diffstat (limited to 'eww/scripts/fetch')
-rwxr-xr-xeww/scripts/fetch34
1 files changed, 0 insertions, 34 deletions
diff --git a/eww/scripts/fetch b/eww/scripts/fetch
deleted file mode 100755
index 931bf30..0000000
--- a/eww/scripts/fetch
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/bash
-
-os() {
- source /etc/os-release
- echo $PRETTY_NAME | awk '{print $1;}'
-
-}
-
-wm() {
- wm=$XDG_CURRENT_DESKTOP
- [ "$wm" ] || wm=$DESKTOP_SESSION
-
- ## WM/DE
- [ ! "$wm" ] &&
- # loop over all processes and check the binary name
- for i in /proc/*/comm; do
- read -r c <"$i"
- case $c in
- *bar*) ;;
- awesome | xmonad* | qtile | sway | i3 | [bfo]*box | *wm*)
- wm=${c%%-*}
- break
- ;;
- esac
- done
-
- echo $wm
-}
-
-shell() {
- basename $SHELL
-}
-
-"$@"