commit f9e459847610ae2f250a05399cf58a44a588ec12
parent 2e1968a2babaa50b1fa7563b757de9cc12de0690
Author: Jake Koroman <jakekoroman@gmail.com>
Date: Sun, 31 Mar 2024 20:53:30 -0400
script cleanup and env changes
Diffstat:
5 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc
@@ -7,8 +7,8 @@ alias ll='ls -la'
alias v='nvim'
alias vv='doas nvim'
-alias nt='firefox --new-tab'
-alias nw='firefox --new-window'
+alias nt='$BROWSER --new-tab'
+alias nw='$BROWSER --new-window'
alias e='doas emerge'
alias eu='equery uses'
diff --git a/.zprofile b/.zprofile
@@ -21,7 +21,7 @@ export MENULAUNCHER_DIR="$XDG_DATA_HOME/menulaunchers"
export MBSYNCRC="$XDG_CONFIG_HOME/mbsync/config"
export EDITOR=nvim
-export BROWSER=firefox
+export BROWSER=librewolf
export TERMINAL=foot
export TERM=xterm-256color # some programs don't recognise foot and revert back to ascii-term
diff --git a/scripts/bookmarks b/scripts/bookmarks
@@ -2,6 +2,6 @@
readarray -t bookmarks < $MENULAUNCHER_DIR/bookmarks
-url=$(printf '%s\n' "${bookmarks[@]}" | wmenu -p "Bookmark" -i -l 4 | sed 's/^.*: //g')
+url=$(printf '%s\n' "${bookmarks[@]}" | bemenu -p "Bookmark" -w -i -l 8 | sed 's/^.*: //g')
-[[ ! -z "$url" ]] && firefox --new-tab $url
+[[ ! -z "$url" ]] && $BROWSER --new-tab $url
diff --git a/scripts/rdpmenu b/scripts/rdpmenu
@@ -2,7 +2,7 @@
readarray -t servers < $MENULAUNCHER_DIR/rdpmenu
-# server=$(printf '%s\n' "${servers[@]}" | wmenu -p "Server" -i -l 4)
-server=$(printf '%s\n' "${servers[@]}" | wofi --show dmenu -p "Server" -i)
+server=$(printf '%s\n' "${servers[@]}" | bemenu -p "Server" -w -i -l 8)
+# server=$(printf '%s\n' "${servers[@]}" | wofi --show dmenu -p "Server" -i)
[[ ! -z "$server" ]] && rdp "$server.miltonhydro.com"
diff --git a/scripts/sshmenu b/scripts/sshmenu
@@ -2,6 +2,6 @@
readarray -t servers < $MENULAUNCHER_DIR/sshmenu
-server=$(printf '%s\n' "${servers[@]}" | wmenu -p "Server" -i -l 4 | sed 's/^.*: //g')
+server=$(printf '%s\n' "${servers[@]}" | bemenu -p "Server" -w -i -l 8 | sed 's/^.*: //g')
[[ ! -z "$server" ]] && foot -e ssh -Y -X $server