diff --git a/desktopenvs/hyprland/hypr-usr/binds.conf b/desktopenvs/hyprland/hypr-usr/binds.conf index 0e4c96f..1e6d39d 100644 --- a/desktopenvs/hyprland/hypr-usr/binds.conf +++ b/desktopenvs/hyprland/hypr-usr/binds.conf @@ -231,3 +231,5 @@ bindle=, XF86MonBrightnessUp, exec, bri --up bindle=, XF86MonBrightnessDown, exec, bri --down bindl=, XF86AudioPlay, exec, playerctl play-pause -p spotify, vlc + +bind= $mainMod SHIFT, I, exec, ~/Dotfiles/desktopenvs/hyprland/scripts/getispeed.sh diff --git a/desktopenvs/hyprland/scripts/getispeed.sh b/desktopenvs/hyprland/scripts/getispeed.sh new file mode 100755 index 0000000..1fbf383 --- /dev/null +++ b/desktopenvs/hyprland/scripts/getispeed.sh @@ -0,0 +1,3 @@ +#!/bin/bash +speedvar=$(~/.config/python-script/bin/python ~/Dotfiles/desktopenvs/hyprland/scripts/python/ispeedtest.py b) +notify-send -t20000 $speedvar diff --git a/desktopenvs/hyprland/scripts/ispeedtest.py b/desktopenvs/hyprland/scripts/python/ispeedtest.py similarity index 100% rename from desktopenvs/hyprland/scripts/ispeedtest.py rename to desktopenvs/hyprland/scripts/python/ispeedtest.py diff --git a/setup/modules/Desktop-Enviroments/hyprland.sh b/setup/modules/Desktop-Enviroments/hyprland.sh index aa15a9f..66a3b0f 100644 --- a/setup/modules/Desktop-Enviroments/hyprland.sh +++ b/setup/modules/Desktop-Enviroments/hyprland.sh @@ -1,7 +1,7 @@ #!/bin/bash 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" yay -Syu --answerdiff None --answerclean All hyprland-workspaces bluetuith @@ -78,3 +78,6 @@ case $doit in *) echo "enter a valid decision" ;; esac +python -m venv ~/.config/python-script +~/.config/python-script/bin/pip install speedtest-cli +