#!/bin/bash logout(){ loginctl terminate-session "${XDG_SESSION_ID-}" } screenshot() { swaync-client -cp hyprctl dispatch -- exec hyprland-interactive-screenshot } wifi() { swaync-client -cp hyprctl dispatch -- exec wofi-wifi-menu } bluetooth() { swaync-client -cp hyprctl dispatch -- exec wofi-bluetooth } nwglook() { swaync-client -cp nwg-look } files() { swaync-client -cp thunar } update() { swaync-client -cp kitty -e fpf -U } browser() { swaync-client -cp firefox } for opt in "$@"; do case $opt in -l|--logout) logout ;; -s|--screenshot) screenshot ;; -w|--wifi) wifi ;; -b|--bluetooth) bluetooth ;; -n|--nwglook) nwglook ;; -f|--files) files ;; -u|--update) update ;; -ff|--firefox) browser ;; -*) echo "Invalid Usage" ;; esac done