added internet speed check cmd shift I

main
Your Name 2025-05-12 11:50:58 +02:00
parent e728248498
commit 8ebc7538cf
4 changed files with 9 additions and 1 deletions

View File

@ -231,3 +231,5 @@ bindle=, XF86MonBrightnessUp, exec, bri --up
bindle=, XF86MonBrightnessDown, exec, bri --down bindle=, XF86MonBrightnessDown, exec, bri --down
bindl=, XF86AudioPlay, exec, playerctl play-pause -p spotify, vlc bindl=, XF86AudioPlay, exec, playerctl play-pause -p spotify, vlc
bind= $mainMod SHIFT, I, exec, ~/Dotfiles/desktopenvs/hyprland/scripts/getispeed.sh

View File

@ -0,0 +1,3 @@
#!/bin/bash
speedvar=$(~/.config/python-script/bin/python ~/Dotfiles/desktopenvs/hyprland/scripts/python/ispeedtest.py b)
notify-send -t20000 $speedvar

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
echo "Installing required Packages" echo "Installing required Packages"
sudo pacman -Syu --noconfirm hyprland hyprcursor hyprpaper hyprlock kitty alacritty dunst nwg-dock-hyprland nwg-drawer nwg-menu nwg-look sudo pacman -Syu --noconfirm hyprland hyprcursor hyprpaper hyprlock kitty alacritty dunst nwg-dock-hyprland nwg-drawer nwg-menu nwg-look python
echo "Installing AUR packages" echo "Installing AUR packages"
yay -Syu --answerdiff None --answerclean All hyprland-workspaces bluetuith yay -Syu --answerdiff None --answerclean All hyprland-workspaces bluetuith
@ -78,3 +78,6 @@ case $doit in
*) echo "enter a valid decision" ;; *) echo "enter a valid decision" ;;
esac esac
python -m venv ~/.config/python-script
~/.config/python-script/bin/pip install speedtest-cli