Compress Video Updates, Attempt To Customize Cinnamon (#42)

* Using $1 does not work well with options.

* Add timestamp to compressed file. Format code.

* Add a wildcard catch for getopts.

* Add a usage line to the usage.

* Add m, v, and x options. Refactor a few areas.

* Add missing options to usage.

* Change verbose to be V so that video-bitrate stays v.

* Set the same values as GNOME for Cinnamon DE.

* Add note on what the change really did to Cinnamon.

* Enhancements to multiple options.

* Process the files/folders in a recognizable order.

* Update comment, no longer using a hard-coded codec.
This commit is contained in:
2023-07-04 16:07:54 +00:00
committed by GitHub
parent b47183af76
commit 84844715a6
2 changed files with 96 additions and 32 deletions

View File

@ -164,9 +164,9 @@
ignore_errors: yes
- name: Workstation | Account Management | GNOME | Favorites (Linux)
- name: Workstation | Account Management | GNOME + Cinnamon | Favorites (Linux)
dconf:
key: /org/gnome/shell/favorite-apps
key: "{{ item }}"
value: "[ 'org.gnome.Terminal.desktop', 'gnome-system-monitor.desktop'
, 'org.gnome.Nautilus.desktop'
, 'io.gitlab.librewolf-community.desktop', '{{ browser }}'
@ -180,6 +180,14 @@
state: present
become_user: "{{ user }}"
when: ansible_system == "Linux"
loop:
- /org/gnome/shell/favorite-apps
- /org/cinnamon/favorite-apps
# As of 2023-07-01 this only sets the Menu Favorites on Cinnamon, not the
# Panel Pins. Cannot find any details online of where the pinned application
# data lives. Cloned and searched the linuxmint/cinnamon project too and
# couldn't find which function handles it. Leaving the loop for it but it's
# not what was hoped for and is sort of a TBD/TODO.
- name: Workstation | Account Management | GNOME | Favorites (FreeBSD)
dconf: