From edecb040d826daee023b382ac7aecff88fd8a8cf Mon Sep 17 00:00:00 2001 From: adam <56338480+adastx@users.noreply.github.com> Date: Sun, 30 Oct 2022 19:41:24 +0100 Subject: minor --- .bashrc | 2 +- .config/aliases | 3 ++- .local/bin/aurignored | 2 +- .local/bin/barpos | 2 +- .local/bin/clipclear | 2 +- .local/bin/dock | 2 +- .local/bin/in-git-repo | 2 +- .local/bin/pashare | 3 +-- .local/bin/scheme | 2 +- .local/bin/statusbar/sb-forecast | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.bashrc b/.bashrc index a060e18..0626d61 100644 --- a/.bashrc +++ b/.bashrc @@ -24,4 +24,4 @@ source $XDG_CONFIG_HOME/aliases eval "$(zoxide init bash)" eval "$(starship init bash)" -pfetch +# pfetch diff --git a/.config/aliases b/.config/aliases index 0f15070..5952fd2 100644 --- a/.config/aliases +++ b/.config/aliases @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh alias ..="cd .." alias ...="cd ../../" @@ -42,6 +42,7 @@ alias barconf="nvim $XDG_CONFIG_HOME/polybar/config.ini" alias aliases="nvim $XDG_CONFIG_HOME/aliases" alias mixer="pulsemixer" +alias weather="curl wttr.in/$(<.config/forecast/location)" _completion_loader git _completion_loader exa diff --git a/.local/bin/aurignored b/.local/bin/aurignored index 2eaabd8..0db9148 100755 --- a/.local/bin/aurignored +++ b/.local/bin/aurignored @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # Get list of ignored pkgs function ignored() { diff --git a/.local/bin/barpos b/.local/bin/barpos index 29e2512..16626a3 100755 --- a/.local/bin/barpos +++ b/.local/bin/barpos @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh BAR_CFG=$XDG_CONFIG_HOME/polybar/config.ini diff --git a/.local/bin/clipclear b/.local/bin/clipclear index 2a53e42..2395cc3 100755 --- a/.local/bin/clipclear +++ b/.local/bin/clipclear @@ -1,3 +1,3 @@ -#!/bin/bash +#!/bin/sh clipdel -d ".*" diff --git a/.local/bin/dock b/.local/bin/dock index 3d0c06f..c4ffb01 100755 --- a/.local/bin/dock +++ b/.local/bin/dock @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh main () { case "$1" in diff --git a/.local/bin/in-git-repo b/.local/bin/in-git-repo index e155bc8..56e2e33 100755 --- a/.local/bin/in-git-repo +++ b/.local/bin/in-git-repo @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh res=$(git rev-parse --is-inside-work-tree 2>/dev/null) diff --git a/.local/bin/pashare b/.local/bin/pashare index 6fe8f25..a13c25e 100755 --- a/.local/bin/pashare +++ b/.local/bin/pashare @@ -10,8 +10,7 @@ main () { stop) stop ;; *) - echo "usage: pashare [start|stop]" - ;; + echo "usage: pashare [start|stop]" ;; esac } diff --git a/.local/bin/scheme b/.local/bin/scheme index 205d0ca..a4b9b38 100755 --- a/.local/bin/scheme +++ b/.local/bin/scheme @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh main () { case "$1" in diff --git a/.local/bin/statusbar/sb-forecast b/.local/bin/statusbar/sb-forecast index ec3e590..c70f671 100755 --- a/.local/bin/statusbar/sb-forecast +++ b/.local/bin/statusbar/sb-forecast @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh LOCATION=$(<$XDG_CONFIG_HOME/forecast/location) -- cgit v1.2.3-70-g09d2