diff options
author | 2024-03-25 16:43:09 +0530 | |
---|---|---|
committer | 2024-03-25 16:43:09 +0530 | |
commit | a62114c91f2070c8c8453d117f3d81dc113e41ff (patch) | |
tree | f266e87af29a08c01f82bc32dd7d463d8ec4441a /eww/scripts/fetch | |
parent | af120ab348f2e1a5a39dec035ed9dcf84189a64e (diff) | |
download | dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.gz dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.bz2 dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.zip |
dotfile update
Diffstat (limited to 'eww/scripts/fetch')
-rwxr-xr-x | eww/scripts/fetch | 34 |
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 -} - -"$@" |