feat: enhance autostart configurations and add executable permissions for desktop entries
Some checks failed
Ansible Lint Check / check-ansible (push) Failing after 28s
Nix Format Check / check-format (push) Failing after 1m26s
Python Lint Check / check-python (push) Failing after 19s

This commit is contained in:
Menno van Leeuwen 2025-05-20 21:06:49 +02:00
parent 9752355685
commit 0c186365cd
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE
15 changed files with 42 additions and 4 deletions

View File

@ -15,6 +15,7 @@ if [ -f /etc/os-release ]; then
# Set GCC 13 as default compiler
export CC=/usr/bin/gcc-13
export CXX=/usr/bin/g++-13
export CGO_CFLAGS="-I/usr/include"
# Point to GCC 13 headers (fixed path)
export CPLUS_INCLUDE_PATH="/usr/include/c++/13:/usr/include/x86_64-linux-gnu/c++/13"

View File

@ -16,7 +16,6 @@
- { src: "$DOTFILES_PATH/config/ssh/config.d", dest: "~/.ssh/config.d" }
- { src: "$DOTFILES_PATH/config/starship.toml", dest: "~/.config/starship.toml" }
- { src: "$DOTFILES_PATH/.bashrc", dest: "~/.bashrc.extra" }
- { src: "$DOTFILES_PATH/config/autostart", dest: "~/.config/autostart" }
- name: Create gitconfig symlink
ansible.builtin.file:

View File

@ -0,0 +1,6 @@
# Mark all files under the real autostart source as executable
- name: Mark all files under dotfiles autostart as executable
ansible.builtin.file:
path: "{{ lookup('env', 'DOTFILES_PATH') }}/config/autostart"
mode: "u+x,g+x,o+x"
recurse: true

View File

@ -12,3 +12,4 @@
follow: false
loop:
- { src: "$DOTFILES_PATH/vscode/settings.json", dest: "~/.config/Code/User/settings.json" }
- { src: "$DOTFILES_PATH/config/autostart", dest: "~/.config/autostart" }

View File

@ -37,6 +37,9 @@
- name: Include purge LibreOffice tasks
ansible.builtin.import_tasks: tasks/workstations/purge-libreoffice.yml
- name: Include autostart tasks
ansible.builtin.import_tasks: tasks/workstations/autostart.yml
- name: Ensure workstation common packages are installed
ansible.builtin.package:
name:

1
config/autostart/1password.desktop Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Name=1Password
Exec=/home/menno/.config/autostart/1password.ignition_delay.sh

0
config/autostart/com.rtosta.zapzap.desktop Normal file → Executable file
View File

0
config/autostart/com.spotify.Client.desktop Normal file → Executable file
View File

0
config/autostart/io.github.equicord.equibop.desktop Normal file → Executable file
View File

View File

@ -0,0 +1,15 @@
[Desktop Entry]
Icon=/home/menno/.local/share/JetBrains/Toolbox/toolbox.svg
Exec=/home/menno/.local/share/JetBrains/Toolbox/bin/jetbrains-toolbox --minimize
Version=1.0
Type=Application
Categories=Development
Name=JetBrains Toolbox
StartupWMClass=jetbrains-toolbox
Terminal=false
MimeType=x-scheme-handler/jetbrains;
X-GNOME-Autostart-enabled=true
StartupNotify=false
X-GNOME-Autostart-Delay=10
X-MATE-Autostart-Delay=10
X-KDE-autostart-after=panel

11
config/autostart/mimeinfo.cache Executable file
View File

@ -0,0 +1,11 @@
[MIME Cache]
x-scheme-handler/discord=io.github.equicord.equibop.desktop;
x-scheme-handler/jetbrains=jetbrains-toolbox.desktop;
x-scheme-handler/onepassword=1password.desktop;
x-scheme-handler/onepassword8=1password.desktop;
x-scheme-handler/sgnl=org.signal.Signal.desktop;
x-scheme-handler/signalcaptcha=org.signal.Signal.desktop;
x-scheme-handler/spotify=com.spotify.Client.desktop;
x-scheme-handler/tg=org.telegram.desktop.desktop;
x-scheme-handler/tonsite=org.telegram.desktop.desktop;
x-scheme-handler/whatsapp=com.rtosta.zapzap.desktop;

0
config/autostart/org.fkoehler.KTailctl.desktop Normal file → Executable file
View File

1
config/autostart/org.signal.Signal.desktop Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Name=Signal
Exec=/home/menno/.config/autostart/org.signal.Signal.ignition_delay.sh

0
config/autostart/org.telegram.desktop.desktop Normal file → Executable file
View File

View File

@ -23,11 +23,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1747485343,
"narHash": "sha256-YbsZyuRE1tobO9sv0PUwg81QryYo3L1F3R3rF9bcG38=",
"lastModified": 1747676747,
"narHash": "sha256-LXkWBVqilgx7Pohwqu/ABxDVw+Cmi5/Mj2S2mpUH0Fw=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "9b5ac7ad45298d58640540d0323ca217f32a6762",
"rev": "72841a4a8761d1aed92ef6169a636872c986c76d",
"type": "github"
},
"original": {