feat!: added configs + restructuring

This commit is contained in:
2024-04-06 21:13:16 -05:00
parent 8ff9cb0e98
commit fd2111b692
35 changed files with 1298 additions and 0 deletions

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
config/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 &