summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bashrc2
-rw-r--r--.config/aliases3
-rwxr-xr-x.local/bin/aurignored2
-rwxr-xr-x.local/bin/barpos2
-rwxr-xr-x.local/bin/clipclear2
-rwxr-xr-x.local/bin/dock2
-rwxr-xr-x.local/bin/in-git-repo2
-rwxr-xr-x.local/bin/pashare3
-rwxr-xr-x.local/bin/scheme2
-rwxr-xr-x.local/bin/statusbar/sb-forecast2
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)