aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--env/.config/i3blocks/config18
-rwxr-xr-xenv/.local/bin/scripts/urlview.sh (renamed from env/.local/bin/system/url-handler.sh)11
-rwxr-xr-xenv/.zshrc2
-rwxr-xr-xruns-all/get-reqs-arch/misc.sh2
5 files changed, 15 insertions, 19 deletions
diff --git a/README.md b/README.md
index 3186a29..d9a53b5 100644
--- a/README.md
+++ b/README.md
@@ -46,7 +46,6 @@ i liked how primagen did his dev environment and deploying of scripts. so im mak
- wlogout
- for neovim
- packer # (download script in runs/packer.sh)
-- for urlview - urlview
- terminal
- primary wezterm
- secondary rxvt-unicode # less memory usage
diff --git a/env/.config/i3blocks/config b/env/.config/i3blocks/config
index eff5ddb..1be7de4 100644
--- a/env/.config/i3blocks/config
+++ b/env/.config/i3blocks/config
@@ -36,7 +36,7 @@ markup=pango
# See the script for details.
[volume2]
-label= 
+label=
interval=1
signal=10
#STEP=5%
@@ -45,14 +45,14 @@ signal=10
#
# The type defaults to "mem" if the instance is not specified.
[memory]
-label= 
+label=
separator=false
interval=30
[memory]
-label=SWAP
+# label=
instance=swap
-separator=false
+separator=true
interval=30
# Disk usage
@@ -61,7 +61,7 @@ interval=30
# The script may be called with a optional argument to set the alert
# (defaults to 10 for 10%).
[disk]
-label= 
+label=
#DIR=/mnt/data
interval=30
@@ -77,7 +77,7 @@ interval=30
[wifi]
#INTERFACE=wlp3s0
-label=wifi:
+label=󰈀
interval=10
separator=false
@@ -90,13 +90,13 @@ interval=5
# The script may be called with -w and -c switches to specify thresholds,
# see the script for details.
[cpu_usage]
-label= 
+label=
interval=10
-min_width=  100.00%
+min_width= 100.00%
#separator=false
[load_average]
-label=LOAD
+label=
interval=10
# Battery indicator
diff --git a/env/.local/bin/system/url-handler.sh b/env/.local/bin/scripts/urlview.sh
index 5d0e893..c4c38d7 100755
--- a/env/.local/bin/system/url-handler.sh
+++ b/env/.local/bin/scripts/urlview.sh
@@ -1,15 +1,12 @@
#!/bin/sh
-url=$@
-prompt_message="Open with:"
-echo "$url"
+url="$(grep -o -e 'http://[^"]*' -e 'https://[^"]*' <&0 | fzf)"
-choices="
+choices="\
clipboard
-browser/xdg-open
-"
+browser/xdg-open"
-choice=$(echo "$choices" | sed /^$/d | rofi -dmenu "$prompt_message")
+choice=$(echo "$choices" | fzf)
choice=$(echo "$choice" | sed -e 's/browser\/xdg-open/xdg-open/')
if [ "$choice" = "clipboard" ]; then
diff --git a/env/.zshrc b/env/.zshrc
index 9d75855..91eb0ec 100755
--- a/env/.zshrc
+++ b/env/.zshrc
@@ -8,7 +8,7 @@ HISTSIZE=1000
SAVEHIST=1000
# End of lines configured by zsh-newuser-install
-PS1='%B%F{magenta}%n%B%F{yellow}@%B%F{magenta}%M %B%F{cyan}%1~ %B%F{default}∮ '
+PS1='%B%F{magenta}%n%B%F{yellow}@%B%F{magenta}%M %B%F{cyan}%1~ %B%F{default}$ '
tty | grep -q pts && test "$USER" = "iceyrazor" && PS1='%B%F{magenta}アイシライゾ%B%F{yellow}@%B%F{magenta}%M %B%F{cyan}%1~ %B%F{default}∮ '
diff --git a/runs-all/get-reqs-arch/misc.sh b/runs-all/get-reqs-arch/misc.sh
index 7053c12..8c22726 100755
--- a/runs-all/get-reqs-arch/misc.sh
+++ b/runs-all/get-reqs-arch/misc.sh
@@ -1,3 +1,3 @@
#!/bin/sh
$sudo pacman -S --noconfirm v4l2loopback-dkms sddm lxappearance reflector gnome-keyring seahorse yt-dlp grim slurp libnotify
-$aurm -S --noconfirm obs-studio-git gpu-screen-recorder gpu-screen-recorder-gtk urlview
+$aurm -S --noconfirm obs-studio-git gpu-screen-recorder gpu-screen-recorder-gtk \ No newline at end of file