def gp [] { sudo gpclient --fix-openssl connect $env.VPN_GATEWAY }
def virt [] { sudo /usr/bin/modprobe v4l2loopback exclusive_caps=1 card_label=OBS Virtual Camera }
-def dsu [] {
- let discord_patch = "DiscordCanary";
- rm -rf $"/opt/($discord_patch)/*";
- wget https://discord.com/api/download/($discord_patch | str replace "Discord" "" | str downcase)?platform=linux&format=tar.gz -O discord.tar.gz;
- tar -xvf discord.tar.gz;
- cp -rf DiscordCanary/* /opt/DiscordDevelopment;
- rm -r *.tar.gz ($discord_patch);
-}
def c [] { cosmic-session }
def g [] { gnome-shell --wayland }
def h [] { dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=hyprland; start-hyprland }