Skip to content

Commit

Permalink
fix: thunar requires xfce helpers to find terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-grande committed Jan 31, 2024
1 parent 41c48d9 commit 9de8b2b
Show file tree
Hide file tree
Showing 13 changed files with 68 additions and 4 deletions.
3 changes: 2 additions & 1 deletion salt/browser/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Firefox-ESR, W3M or Lynx.
- Top
```sh
qubesctl top.enable browser
qubesctl --targets=tpl-browser state.apply
qubesctl --targets=tpl-browser,dvm-browser state.apply
qubesctl top.disable browser
qubesctl state.apply browser.appmenus
```
Expand All @@ -34,6 +34,7 @@ qubesctl state.apply browser.appmenus
```sh
qubesctl state.apply browser.create
qubesctl --skip-dom0 --targets=tpl-browser state.apply browser.install
qubesctl --skip-dom0 --targets=dvm-browser state.apply browser.configure
qubesctl state.apply browser.appmenus
```
<!-- pkg:end:post-install -->
Expand Down
14 changes: 14 additions & 0 deletions salt/browser/configure.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{#
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <[email protected]>

SPDX-License-Identifier: AGPL-3.0-or-later
#}

{% if grains['nodename'] != 'dom0' -%}

include:
- dotfiles.copy-sh
- dotfiles.copy-x11
- dotfiles.copy-xfce

{% endif -%}
10 changes: 10 additions & 0 deletions salt/browser/configure.top
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{#
SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. <[email protected]>

SPDX-License-Identifier: AGPL-3.0-or-later
#}

base:
'dom0':
- match: nodegroup
- browser.configure
2 changes: 2 additions & 0 deletions salt/browser/init.top
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ base:
- browser.create
'tpl-browser':
- browser.install
'dvm-browser':
- browser.configure
2 changes: 1 addition & 1 deletion salt/dotfiles
3 changes: 2 additions & 1 deletion salt/reader/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ necessary packages will be installed in the template.
- Top:
```sh
qubesctl top.enable reader
qubesctl --targets=tpl-reader state.apply
qubesctl --targets=tpl-reader,dvm-reader state.apply
qubesctl top.disable reader
qubesctl state.apply reader.appmenus
```
Expand All @@ -31,6 +31,7 @@ qubesctl state.apply reader.appmenus
```sh
qubesctl state.apply reader.create
qubesctl --skip-dom0 --targets=tpl-reader state.apply reader.install
qubesctl --skip-dom0 --targets=dvm-reader state.apply reader.configure
qubesctl state.apply reader.appmenus
```
<!-- pkg:end:post-install -->
Expand Down
14 changes: 14 additions & 0 deletions salt/reader/configure.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{#
SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. <[email protected]>

SPDX-License-Identifier: AGPL-3.0-or-later
#}

{% if grains['nodename'] != 'dom0' -%}

include:
- dotfiles.copy-sh
- dotfiles.copy-x11
- dotfiles.copy-xfce

{% endif -%}
10 changes: 10 additions & 0 deletions salt/reader/configure.top
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{#
SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <[email protected]>

SPDX-License-Identifier: AGPL-3.0-or-later
#}

base:
'dom0':
- match: nodegroup
- reader.configure
2 changes: 2 additions & 0 deletions salt/reader/init.top
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ base:
- reader.create
'tpl-reader':
- reader.install
'dvm-reader':
- reader.configure
1 change: 1 addition & 0 deletions salt/signal/configure.sls
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later

include:
- dotfiles.copy-x11
- dotfiles.copy-xfce

"{{ slsdotpath }}-desktop-autostart":
file.symlink:
Expand Down
3 changes: 3 additions & 0 deletions salt/sys-cacher/configure-browser.sls
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ SPDX-License-Identifier: AGPL-3.0-or-later

{% if grains['nodename'] != 'dom0' %}

include:
- browser.configure

"{{ slsdotpath }}-browser-rc.local":
file.managed:
- name: /rw/config/rc.local.d/50-sys-cacher.rc
Expand Down
3 changes: 3 additions & 0 deletions salt/sys-syncthing/configure-browser.sls
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ SPDX-License-Identifier: AGPL-3.0-or-later

{% if grains['nodename'] != 'dom0' %}

include:
- browser.configure

"{{ slsdotpath }}-browser-rc.local":
file.managed:
- name: /rw/config/rc.local.d/50-sys-syncthing.rc
Expand Down
5 changes: 4 additions & 1 deletion salt/sys-syncthing/configure.sls
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{#
SPDX-FileCopyrightText: 2022 unman <[email protected]>
SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <[email protected]>
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <[email protected]>

SPDX-License-Identifier: AGPL-3.0-or-later
#}

include:
- dotfiles.copy-xfce

"{{ slsdotpath }}-rc.local":
file.managed:
- name: /rw/config/rc.local.d/50-sys-syncthing.rc
Expand Down

0 comments on commit 9de8b2b

Please sign in to comment.