home_packages: add wrapper to qcad to use xcb as QT_QPA_PLATFORM
This commit is contained in:
parent
15e60767b6
commit
f7eda08683
@ -14,6 +14,9 @@
|
|||||||
chromium_stackfield = pkgs.writeShellScriptBin "chromium_stackfield" ''
|
chromium_stackfield = pkgs.writeShellScriptBin "chromium_stackfield" ''
|
||||||
${lib.getExe pkgs.ungoogled-chromium} --socket=wayland org.chromium.Chromium --app=https://stackfield.com/
|
${lib.getExe pkgs.ungoogled-chromium} --socket=wayland org.chromium.Chromium --app=https://stackfield.com/
|
||||||
'';
|
'';
|
||||||
|
qcad = pkgs.writeShellScriptBin "qcad" ''
|
||||||
|
QT_QPA_PLATFORM=xcb ${lib.getExe pkgs.qcad} $@
|
||||||
|
'';
|
||||||
ssh_proxy = pkgs.writeShellScriptBin "ssh_proxy" ''
|
ssh_proxy = pkgs.writeShellScriptBin "ssh_proxy" ''
|
||||||
if ${pkgs.coreutils}/bin/test $# -ne 1; then
|
if ${pkgs.coreutils}/bin/test $# -ne 1; then
|
||||||
echo "Usage: $0 <user>@<ssh_host>"
|
echo "Usage: $0 <user>@<ssh_host>"
|
||||||
@ -114,7 +117,6 @@ in {
|
|||||||
pwvucontrol
|
pwvucontrol
|
||||||
python3
|
python3
|
||||||
python3Packages.west
|
python3Packages.west
|
||||||
qcad
|
|
||||||
remmina
|
remmina
|
||||||
river
|
river
|
||||||
rtorrent
|
rtorrent
|
||||||
@ -155,6 +157,7 @@ in {
|
|||||||
chromium_teams
|
chromium_teams
|
||||||
ssh_proxy
|
ssh_proxy
|
||||||
wrap_sh
|
wrap_sh
|
||||||
|
qcad
|
||||||
]
|
]
|
||||||
++ [
|
++ [
|
||||||
inputs.swaysw.packages.${system}.swaysw
|
inputs.swaysw.packages.${system}.swaysw
|
||||||
|
Loading…
Reference in New Issue
Block a user