Skip to content

Commit

Permalink
+gtk2-fix
Browse files Browse the repository at this point in the history
^iriun
^rdx-user-settings
  • Loading branch information
rauldipeas committed Nov 18, 2024
1 parent ee49b09 commit ccb5866
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion scripts/hooks/apt/iriun.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash
set -e
apt install -y -t bookworm-backports iriunwebcam
apt install -y -t bookworm-backports iriunwebcam
sed -i 's|Exec=|Exec=GTK2_RC_FILE=/usr/share/themes/Orchid-Dark-Compact/gtk-2.0/gtkrc|' /usr/share/applications/iriunwebcam.desktop
3 changes: 3 additions & 0 deletions scripts/hooks/rdx-user-settings.d/gtk2-fix.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
set -e
sudo sd 'Exec=' 'Exec=GTK2_RC_FILE=/usr/share/themes/Orchid-Dark-Compact/gtk-2.0/gtkrc' "$@"
4 changes: 3 additions & 1 deletion scripts/hooks/rdx-user-settings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,6 @@ wget -qO- https://github.com/rauldipeas/respin-rdx/raw/main/scripts/hooks/rdx-us
wget -qO /etc/rc.local https://github.com/rauldipeas/respin-rdx/raw/main/scripts/hooks/rdx-user-settings.d/rc.bash
chmod +x /etc/rc.local
wget -qO /usr/local/bin/reset-user-settings https://github.com/rauldipeas/respin-rdx/raw/main/scripts/hooks/rdx-user-settings.d/reset-user-settings.bash
chmod +x /usr/local/bin/reset-user-settings
chmod +x /usr/local/bin/reset-user-settings
wget -qO /usr/local/bin/gtk2-fix https://github.com/rauldipeas/respin-rdx/raw/main/scripts/hooks/rdx-user-settings.d/gtk2-fix.bash
chmod +x /usr/local/bin/gtk2-fix

0 comments on commit ccb5866

Please sign in to comment.