initial commit

This commit is contained in:
2024-04-06 19:31:51 -05:00
commit 8ff9cb0e98
32 changed files with 1229 additions and 0 deletions

17
hypr/scripts/powermenu.sh Executable file
View File

@ -0,0 +1,17 @@
#!/usr/bin/env bash
op=$( echo -e " Shutdown\n Reboot\n Suspend\n Lock" | wofi --dmenu | awk '{print tolower($2)}' )
case $op in
shutdown)
shutdown now
;;
reboot)
;&
suspend)
systemctl $op
;;
lock)
hyprlock
;;
esac

13
hypr/scripts/quotes.py Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env python
import requests
res = requests.get('https://zenquotes.io/api/random')
if not res:
exit(1)
json = res.json()
data = json[0]
print(f"{data['q']}\n -- {data['a']}")

View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
sleep 1
killall xdg-desktop-portal-hyprland
killall xdg-desktop-portal-wlr
killall xdg-desktop-portal
/usr/lib/xdg-desktop-portal-hyprland &
sleep 2
/usr/lib/xdg-desktop-portal &