xiwrap

slightly higher-level container setup utility
git clone https://git.ce9e.org/xiwrap.git

commit
bb756a06d4de305e375cb4ba79f6ee55a91d099a
parent
6529937cb9c1bfea249919264f4d721c5ed798c8
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2024-06-16 00:50
rules: inline graphics in gui

Diffstat

D rules/graphics 4 ----
M rules/gui 13 ++++++++-----

2 files changed, 8 insertions, 9 deletions


diff --git a/rules/graphics b/rules/graphics

@@ -1,4 +0,0 @@
    1    -1 env WAYLAND_DISPLAY
    2    -1 env XDG_RUNTIME_DIR
    3    -1 env XDG_CURRENT_DESKTOP
    4    -1 ro-bind $XDG_RUNTIME_DIR/$WAYLAND_DISPLAY

diff --git a/rules/gui b/rules/gui

@@ -1,7 +1,10 @@
    1    -1 import graphics
   -1     1 setenv HOME
   -1     2 setenv XDG_RUNTIME_DIR
    2     3 
    3    -1 env HOME
    4    -1 env GTK_USE_PORTAL 1
   -1     4 setenv DISPLAY
   -1     5 setenv WAYLAND_DISPLAY
   -1     6 setenv XDG_CURRENT_DESKTOP
   -1     7 ro-bind $XDG_RUNTIME_DIR/$WAYLAND_DISPLAY
    5     8 
    6     9 ro-bind /etc/fonts
    7    10 ro-bind /usr/share/fonts
@@ -13,8 +16,8 @@ ro-bind $HOME/.local/share/themes
   13    16 bind $HOME/.cache/fontconfig
   14    17 bind $HOME/.cache/thumbnails
   15    18 
   16    -1 ro-bind $HOME/.config/dconf/user
   17    -1 
   18    19 dbus-talk org.a11y.Bus
   -1    20 
   -1    21 setenv GTK_USE_PORTAL 1
   19    22 dbus-talk org.freedesktop.portal.Desktop
   20    23 dbus-talk org.freedesktop.portal.Documents