Enhancements + Fixes (#41)

* Signal does seem good after all.

* Add alias `here` which shows details of everything in the current location.

* Move instant messengers to consistently be at the end of the favorites bar.

* Change to single quotes so that the pwd is per-call instead of per-source.

* Specify the video codec so that the command works on openSUSE.

* Refactor so that there is a shared/common fact list.

* Add ffmpeg as a package variable.

* Reformat long comment.

* New file for installing package manager apps for workstations.

* Call the workstation package manager tasks.

* Change to parenthesis to look better.

* Explicitly add a video flag, add recursive searching, fix a bug with -f ignoring input.

* Add ability to "force" the compression, deletes old files and regenerates them. Input is now passed with i rather than f for file/folder. f is now used for force.

* Fix skipping the file if it's already compressed. Enhance readability of log text.
This commit is contained in:
2023-06-26 06:58:09 -07:00
committed by GitHub
parent 6d2b20aafe
commit b47183af76
9 changed files with 77 additions and 38 deletions

View File

@ -279,6 +279,7 @@
echo "ERROR: Something went wrong while removing Flatpak apps!"
}
alias_vim: alias vi=vim
alias_here: alias here='ls -lh `pwd`/*'
- name: General | Account Management | Users | Files | Common Variable
set_fact:
@ -305,6 +306,7 @@
{{ function_flatpak_usage }}
{{ function_flatpak_purge }}
{{ alias_vim }}
{{ alias_here }}
- name: General | Account Management | Users | Files | .bashrc
blockinfile:

View File

@ -19,8 +19,8 @@
shell: exit 1
when: ansible_distribution == "Parrot OS" and parrotos_zypper_removed is defined and not parrotos_zypper_removed.failed
# More Parrot OS junk. They have a command called update in /usr/bin. Doesn't have sudo or anything in it either.
# Hide it in preference for .bashrc update function.
# More Parrot OS junk. They have a command called update in /usr/bin. Doesn't
# have sudo or anything in it. Hide it in preference for .bashrc update function.
- name: General | Software | Packages | Fix Parrot OS 2 (update)
shell: "mv `which update` `which update`.zz.`date +%Y%m%d`"
ignore_errors: yes

View File

@ -39,6 +39,7 @@
- { app: "io.lbry.lbry-app", name: "lbry", extra: "dbus-launch" }
- { app: "io.gitlab.librewolf-community", name: "librewolf", extra: "" }
- { app: "chat.delta.desktop", name: "deltachat", extra: "" }
- { app: "org.signal.Signal", name: "signal", extra: "" }
flatpaks_coding:
- { app: "com.vscodium.codium", name: "codium", extra: "" }
- { app: "com.google.AndroidStudio", name: "android-studio", extra: "" }
@ -63,7 +64,6 @@
- { app: "com.discordapp.Discord", name: "discord", extra: "" } # Stopped working, just spins and says Starting.
# 2022-11-20 No longer using any of these and they're taking up a lot of space. #
- { app: "im.riot.Riot", name: "element", extra: "" }
- { app: "org.signal.Signal", name: "signal", extra: "" }
- { app: "org.telegram.desktop", name: "telegram", extra: "" }
- { app: "com.jetbrains.PyCharm-Community", name: "pycharm", extra: "" }
# End 2022-11-20 #

View File

@ -0,0 +1,9 @@
---
# Packages specific to workstations.
- name: Workstation | Software | Packages | Install Software (Editing)
package:
name:
- "{{ ffmpeg }}"
state: present
when: editing == true

View File

@ -171,11 +171,10 @@
, 'org.gnome.Nautilus.desktop'
, 'io.gitlab.librewolf-community.desktop', '{{ browser }}'
, 'org.gnome.Evolution.desktop', 'chat.delta.desktop.desktop'
, 'org.signal.Signal.desktop'
, 'com.vscodium.codium.desktop', 'org.shotcut.Shotcut.desktop'
, 'org.telegram.desktop.desktop', 'com.discordapp.Discord.desktop'
, 'im.riot.Riot.desktop'
, 'io.lbry.lbry-app.desktop'
, 'org.signal.Signal.desktop', 'im.riot.Riot.desktop'
, 'org.telegram.desktop.desktop', 'com.discordapp.Discord.desktop'
, 'com.valvesoftware.Steam.desktop'
]"
state: present