Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fish/Bash aliasses #90

Open
boredsquirrel opened this issue Mar 20, 2023 · 2 comments
Open

Fish/Bash aliasses #90

boredsquirrel opened this issue Mar 20, 2023 · 2 comments

Comments

@boredsquirrel
Copy link
Collaborator

boredsquirrel commented Mar 20, 2023

There is this project which includes a lot of snippets for different aliasses. It is currently not finished, Flatpaks and snaps will be separated e.g.

We should include a few too, as the upstream team "wants to do it right" and rename all the functions, which is totally not nessecary.

For now I would just use these:

printf """

# rpm-ostree
alias rpmup='rpm-ostree update'
alias rpmrem='rpm-ostree override remove'
alias rpminst='rpm-ostree update --install'
alias update='flatpak update -y && rpm-ostree update'
alias rpmlist="rpm -qa"
alias rpmfind="rpm -qa | grep"
alias rpmq="distrobox enter -n fedora -- dnf search"
alias upfin="flatpak update -y && rpm-ostree update && poweroff"

# flatpak
alias flatup='flatpak update'
alias flfatinst='flatpak install -y'
alias flatrm='flatpak remove --delete-data'
alias flist="flatpak list"
alias flatfind="flatpak list | grep"

# flatpak apps
alias conf="nano ~/.config/fish/config.fish"
alias maps="flatpak run app.organicmaps.desktop"
alias obs="flatpak run com.obsproject.Studio"
alias bottles="flatpak run com.usebottles.bottles"
alias code="flatpak run com.vscodium.codium"
alias exiftool="flatpak run io.github.hvdwofl.jExifToolGUI"
alias ftpserver="flatpak run eu.ithz.umftpd"
alias filezilla="flatpak run org.filezillaproject.Filezilla"
alias freefilesync="flatpak run org.freefilesync.FreeFileSync"
alias inkscape="flatpak run org.inkscape.Inkscape"
alias soundjuicer="flatpak run org.gnome.SoundJuicer"
alias kfind="flatpak run org.kde.kfind"
alias filelight="flatpak run org.kde.filelight"
alias kamoso="flatpak run org.kde.kamoso"
alias kdenlive="flatpak run org.kde.kdenlive"
alias kleopatra="flatpak run org.kde.kleopara"
alias krdc="flatpak run org.kde.krdc"
alias krita="flatpak run org.kde.krita"
alias konversation="flatpak run org.kde.konversation"
alias keepassxc="flatpak run org.keepassxc.KeePassXC"
alias libreoffice="flatpak run org.libreoffice.LibreOffice"
alias firefox="flatpak run org.mozilla.firefox"
alias octave="flapak run org.octave.Octave"
alias onionshare="flatpak run org.onionshare.OnionShare"
alias tor-browser="flatpak run com.github.micahflee.torbrowser-launcher"
alias torbrowser="flatpak run com.github.micahflee.torbrowser-launcher"
alias betterbird="flatpak run eu.betterbird.Betterbird"
alias element="flatpak run im.riot.Riot"
alias handbrake="flatpak run fr.handbrake.ghb"
alias xnview="flatpak run com.xnview.XnViewMP"
alias xnconvert="flatpak run com.xnview.XnConvert"
alias freetube="flatpak run io.freetubeapp.FreeTube"
alias kdiskmark="io.github.jonmagon.kdiskmark"
alias ytdl="flatpak run me.aandrew.ytdownloader"
alias anki="flatpak run net.ankiweb.Anki"
alias protonup="flatpak run net.davidotek.pupgui2"
alias lutris="flatpak run net.lutris.Lutris"
alias calc="flatpak run org.speedcrunch.SpeedCrunch"
alias gimp="flatpak run org.gimp.GIMP"
alias simplescan="flatpak run org.gnome.SimpleScan"
alias signal="flatpak run org.signal.Signal"
alias qbittorrent="flatpak run org.qbittorrent.qBittorent"
""" > ~/.aliases

cat ~/.aliases >> ~/.bashrc
cat ~/.aliases >> ~/.config/fish/config.fish
rm -f ~/.aliases
@iaacornus
Copy link
Collaborator

i'm not sure about this, since if my aliases were changed without my information or without me knowing what are they being changed into, id be confused and pissed

@boredsquirrel
Copy link
Collaborator Author

boredsquirrel commented Apr 4, 2023

Yes I think this can be included in a list. I make seperate repos for all that.

I would just append them, maybe just to a file in the homedir the user can add themselves. Like

alias update='flatpak update -y && rpm-ostree update && notify-send -a "Updates" "All your apps are up to date"'

Basic things like that, and also aliases for installed flatpaks, could be really useful.

I maybe in the future make a systemd service that aliasses all installed flatpaks to be ran as if they were native. Needs a big dictionary with entries and all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants