mirror of
https://github.com/alrayyes/dotfiles/
synced 2023-11-14 15:56:30 +00:00
Compare commits
No commits in common. "dff2f6cd171f91c40d7e2a5ec7b54330c9451c12" and "40e59fa6b3d19d6984972c6fda3d74f67ce154e5" have entirely different histories.
dff2f6cd17
...
40e59fa6b3
@ -58,7 +58,6 @@ A repository of my personal configuration files.
|
||||
- [[https://github.com/dylanaraps/pywal][pywal]]
|
||||
- [[http://www.gnu.org/software/stow/][stow]]
|
||||
- [[https://github.com/muennich/sxiv][sxiv]]
|
||||
- [[https://github.com/tldr-pages/tldr][tldr]]
|
||||
- [[https://www.freedesktop.org/wiki/Software/udisks/][udisks]]
|
||||
- [[https://github.com/stoeckmann/xwallpaper][xwallpaper]]
|
||||
- [[https://pwmt.org/projects/zathura/][zathura]]
|
||||
|
@ -1,6 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
. ~/.cache/wal/colors.sh
|
||||
command=$(curl --silent "https://github.com/tldr-pages/tldr/tree/master/pages/linux" | grep -o "[1-zA-Z0-9\-]*.md" | cut -f 1 -d '.' | uniq | sort | dmenu -p "tldr" -i -nb "$color0" -nf "$color15" -sb "$color1" -sf "$color15")
|
||||
|
||||
test ! -z "$command" && alacritty --class float,float -e ~/.config/polybar/bin/tldr-and-wait "$command"
|
@ -2,15 +2,13 @@
|
||||
|
||||
. $HOME/.cache/wal/colors.sh
|
||||
|
||||
cachedUrls=$(cat ~/.cache/audit-urls 2>/dev/null)
|
||||
localServices=$(netstat -ltpn 2>/dev/null | grep "node" | awk '{ print "http://"$4 }')
|
||||
url="$(echo -e "$localServices\nOther" | dmenu -i -nb "$color0" -nf "$color15" -sb "$color1" -sf "$color15" "$@")"
|
||||
|
||||
test -n "$localServices" && dmenUrls+="$localServices"
|
||||
test -n "$cachedUrls" && dmenuUrls+="$cachedUrls"
|
||||
if [ "$url" == "Other" ]; then
|
||||
read -r -p "Url: " url
|
||||
fi
|
||||
|
||||
url="$(echo -e "$dmenuUrls" | uniq | sort | dmenu -i -nb "$color0" -nf "$color15" -sb "$color1" -sf "$color15" "$@")"
|
||||
|
||||
if [[ -n "$url" && "$url" != "http://" && "$url" != "https://" ]]; then
|
||||
rm -f "$HOME"/Downloads/lighthouse.html
|
||||
env CHROME_PATH=/usr/local/bin/brave lighthouse --output-path="$HOME"/Downloads/lighthouse.html "$url"
|
||||
|
||||
@ -19,10 +17,3 @@ if [[ -n "$url" && "$url" != "http://" && "$url" != "https://" ]]; then
|
||||
else
|
||||
read -r -n 1 -p "Something went wrong. Press any key to exit."
|
||||
fi
|
||||
|
||||
# Cache list of audit urls used with dmenu
|
||||
if [[ ! $(grep "$url" ~/.cache/audit-urls) ]]; then
|
||||
echo "$url" >>~/.cache/audit-urls
|
||||
fi
|
||||
|
||||
fi
|
||||
|
@ -1,4 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
tldr "$@"
|
||||
read -n 1 -r -p ""
|
@ -83,8 +83,6 @@ ctrl + alt + {l, n, r, w, s, p, v, k, a}
|
||||
alacritty --class float,float -e {lf, neomutt, /usr/bin/newsboat, ~/.config/polybar/bin/wttr-and-wait, spt, castero, nvim, ~/.local/bin/calendar-and-wait, ~/.local/bin/audit}
|
||||
ctrl + alt + {b, e, S}
|
||||
{brave, emacs, spotify}
|
||||
ctrl + alt + {t}
|
||||
~/.local/bin/tldr-dmenu
|
||||
|
||||
#-----------------------------------------------------------Bspwm--------------------------------------------------------------
|
||||
# quit/restart bspwm
|
||||
|
Loading…
Reference in New Issue
Block a user