added: krdc for nixLap, sts for nixMain

This commit is contained in:
Kyattsukuro 2025-11-30 18:56:24 +01:00
parent 2f2629beeb
commit 27932a6ddb
32 changed files with 282 additions and 813 deletions

Binary file not shown.

View File

@ -1,8 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Module1" script:language="StarBasic">REM ***** BASIC *****
Sub Main
End Sub
</script:module>
End Sub</script:module>

View File

@ -2,5 +2,4 @@
<!DOCTYPE library:library PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "library.dtd">
<library:library xmlns:library="http://openoffice.org/2000/library" library:name="Standard" library:readonly="false" library:passwordprotected="false">
<library:element library:name="Module1"/>
<library:element library:name="ConditionalShow"/>
</library:library>
</library:library>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE library:libraries PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "libraries.dtd">
<library:libraries xmlns:library="http://openoffice.org/2000/library" xmlns:xlink="http://www.w3.org/1999/xlink">
<library:library library:name="Standard" xlink:href="$(USER)/basic/Standard/script.xlb/" xlink:type="simple" library:link="false"/>
</library:libraries>
<library:library library:name="Standard" library:link="false"/>
</library:libraries>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

8
eggs/sts/sts.desktop Normal file
View File

@ -0,0 +1,8 @@
[Desktop Entry]
Type=Application
Name=StellwerkSim
Icon=sts
Comment=Simulation von Gleisbildstellwerken
Exec=zsh -c "source ~/.config/zsh/micro_scripts.sh && cd $HOME/.config/yolk/root-conf/apps/sts && nix-shell-cwd"
Terminal=false
Categories=Education;Java;Game

BIN
eggs/sts/sts.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

1
eggs/theme/icons_lc/sts.jpg Symbolic link
View File

@ -0,0 +1 @@
/home/someone/.config/yolk/eggs/sts/sts.jpg

1
eggs/theme/icons_lc/sts.png Symbolic link
View File

@ -0,0 +1 @@
/home/someone/.config/yolk/eggs/sts/sts.png

View File

@ -1,4 +1,4 @@
; Thunar GtkAccelMap rc-file -*- scheme -*-
; thunar GtkAccelMap rc-file -*- scheme -*-
; this file is an automated accelerator map dump
;
; (gtk_accel_path "<Actions>/ThunarDetailsView/expandable-folders" "")

View File

@ -6,7 +6,7 @@
<property name="last-window-maximized" type="bool" value="true"/>
<property name="last-details-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_38_PERCENT"/>
<property name="last-details-view-visible-columns" type="string" value="THUNAR_COLUMN_DATE_CREATED,THUNAR_COLUMN_DATE_MODIFIED,THUNAR_COLUMN_GROUP,THUNAR_COLUMN_MIME_TYPE,THUNAR_COLUMN_NAME,THUNAR_COLUMN_OWNER,THUNAR_COLUMN_PERMISSIONS,THUNAR_COLUMN_SIZE"/>
<property name="last-details-view-column-widths" type="string" value="159,159,159,159,92,512,74,580,514,79,118,81,126,156"/>
<property name="last-details-view-column-widths" type="string" value="159,159,159,159,92,512,74,168,490,79,118,72,126,156"/>
<property name="last-separator-position" type="int" value="289"/>
<property name="last-show-hidden" type="bool" value="true"/>
<property name="misc-single-click" type="bool" value="false"/>
@ -32,7 +32,7 @@
<property name="misc-folder-item-count" type="string" value="THUNAR_FOLDER_ITEM_COUNT_ALWAYS"/>
<property name="last-details-view-column-order" type="string" value="THUNAR_COLUMN_NAME,THUNAR_COLUMN_DATE_MODIFIED,THUNAR_COLUMN_SIZE,THUNAR_COLUMN_SIZE_IN_BYTES,THUNAR_COLUMN_TYPE,THUNAR_COLUMN_LOCATION,THUNAR_COLUMN_MIME_TYPE,THUNAR_COLUMN_DATE_CREATED,THUNAR_COLUMN_PERMISSIONS,THUNAR_COLUMN_OWNER,THUNAR_COLUMN_GROUP,THUNAR_COLUMN_DATE_ACCESSED,THUNAR_COLUMN_RECENCY,THUNAR_COLUMN_DATE_DELETED"/>
<property name="last-tabs-left" type="array">
<value type="string" value="file:///home/someone/Downloads"/>
<value type="string" value="file:///home/someone/Nextcloud/Office/Schule/Mat/abi"/>
</property>
<property name="last-focused-tab-left" type="int" value="0"/>
<property name="last-focused-tab-right" type="int" value="0"/>

View File

@ -1,6 +1,6 @@
[General]
filedialog-path=@Variant(\0\0\0\x11\0\0\0\r/home/someone)
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\f\0\0\0\f\0\0\aD\0\0\x5\x93\0\0\0\f\0\0\0\f\0\0\aD\0\0\x5\x93\0\0\0\0\0\0\0\0\rp\0\0\0\f\0\0\0\f\0\0\aD\0\0\x5\x93)
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\f\0\0\0\f\0\0\a2\0\0\x5\x93\0\0\0\f\0\0\0\f\0\0\a2\0\0\x5\x93\0\0\0\0\0\0\0\0\rp\0\0\0\f\0\0\0\f\0\0\a2\0\0\x5\x93)
[FullScreen]
pos=@Point(0 0)
@ -24,5 +24,5 @@ netMRL="https://www.youtube.com/watch?v=VWiMA6J7Kv0"
size=@Size(526 404)
[RecentsMRL]
list=file:///home/someone/Downloads/tts-tts-1-2025-11-10.wav, "https://www.youtube.com/watch?v=VWiMA6J7Kv0", file:///home/someone/.cache/.fr-55BXD3/video/segments/segment-1.mp4, file:///home/someone/.cache/.fr-Z6IBE3/video/segments/segment-3.mp4, file:///home/someone/.cache/.fr-9YTGE3/video/segments/segment-7.mp4, file:///home/someone/Downloads/KPop%20Demon%20Hunters-4796162205554688.mp4, file:///home/someone/Documents/handbrake/in/1.Crossing%20Japan%20With%20No%20Map.mp4, file:///home/someone/Documents/handbrake/out/1.Crossing%20Japan%20With%20No%20Map.mp4, file:///home/someone/Documents/socialist_lyrics/Abschied%20von%20Spanien%20-%20Ernst%20Busch%20%5B%E2%AD%90%20LYRICS%20GER%E2%A7%B8ENG%5D%20%5BSpanish%20Civil%20War%5D.mp3, file:///home/someone/Documents/socialist_lyrics/Abschied%20von%20Spanien%2C%20Flamingos%20im%20Ebrodelta%20und%20Gasflaschenwechsel.%20%C3%9Cberwintern%20in%20Spanien%202023..mp3, file:///home/someone/Downloads/4.19%20Wichtige%20Anwendungsprotokolle.mp4, file:///home/someone/responcive_review_h264.mp4, file:///home/someone/Downloads/Legefilm-Auswirkung-von-Synonymen-und-Umschreibungen.mp4, file:///home/someone/Videos/Screencasts/Screencast_20241010_182543.webm, file:///home/someone/Nextcloud/Office/Schule/Kun/Vom%20Anfang%20bis%20heute%20-%20Die%20Geschichte%20der%20Fotografie%20Videos%20by%20Arne.mp4
times=0, 0, 0, 0, 0, 623432, 0, 784589, 30309, 0, 146400, 0, 168570, 0, 0
list=file:///home/someone/Documents/bottels/Eu4/drive_c/Program%20Files%20%28x86%29/Europa%20Universalis%20IV%20Winds%20of%20Change/dlc/dlc138_native_america_music_pack/soundtrack/People%20from%20Aztlan.mp3, file:///nix/store/dchly2ad9bdykndfr7njm8c7sv264185-vscode-1.104.1/lib/vscode/resources/app/out/vs/platform/accessibilitySignal/browser/media/error.mp3, file:///nix/store/dchly2ad9bdykndfr7njm8c7sv264185-vscode-1.104.1/lib/vscode/resources/app/out/vs/platform/accessibilitySignal/browser/media/editsUndone.mp3, file:///nix/store/dchly2ad9bdykndfr7njm8c7sv264185-vscode-1.104.1/lib/vscode/resources/app/out/vs/platform/accessibilitySignal/browser/media/editsKept.mp3, file:///nix/store/dchly2ad9bdykndfr7njm8c7sv264185-vscode-1.104.1/lib/vscode/resources/app/out/vs/platform/accessibilitySignal/browser/media/diffLineModified.mp3, file:///nix/store/dchly2ad9bdykndfr7njm8c7sv264185-vscode-1.104.1/lib/vscode/resources/app/out/vs/platform/accessibilitySignal/browser/media/diffLineInserted.mp3, file:///nix/store/dchly2ad9bdykndfr7njm8c7sv264185-vscode-1.104.1/lib/vscode/resources/app/out/vs/platform/accessibilitySignal/browser/media/diffLineDeleted.mp3, file:///nix/store/dchly2ad9bdykndfr7njm8c7sv264185-vscode-1.104.1/lib/vscode/resources/app/out/vs/platform/accessibilitySignal/browser/media/codeActionTriggered.mp3, file:///nix/store/dchly2ad9bdykndfr7njm8c7sv264185-vscode-1.104.1/lib/vscode/resources/app/out/vs/platform/accessibilitySignal/browser/media/codeActionApplied.mp3, file:///nix/store/dchly2ad9bdykndfr7njm8c7sv264185-vscode-1.104.1/lib/vscode/resources/app/out/vs/platform/accessibilitySignal/browser/media/clear.mp3, file:///nix/store/dchly2ad9bdykndfr7njm8c7sv264185-vscode-1.104.1/lib/vscode/resources/app/out/vs/platform/accessibilitySignal/browser/media/chatUserActionRequired.mp3, file:///nix/store/dchly2ad9bdykndfr7njm8c7sv264185-vscode-1.104.1/lib/vscode/resources/app/out/vs/platform/accessibilitySignal/browser/media/chatEditModifiedFile.mp3, file:///nix/store/dchly2ad9bdykndfr7njm8c7sv264185-vscode-1.104.1/lib/vscode/resources/app/out/vs/platform/accessibilitySignal/browser/media/break.mp3, file:///nix/store/dchly2ad9bdykndfr7njm8c7sv264185-vscode-1.104.1/lib/vscode/resources/app/out/vs/platform/accessibilitySignal/browser/media, file:///nix/store/dchly2ad9bdykndfr7njm8c7sv264185-vscode-1.104.1/lib/vscode/resources/app/out/vs/platform/accessibilitySignal/browser/media/quickFixes.mp3, file:///nix/store/n71p521p4gngr8mxrhh00hqrarbfpvar-vscode-1.100.2/lib/vscode/resources/app/out/vs/platform/accessibilitySignal/browser/media/break.mp3, file:///home/someone/Downloads/tts-tts-1-2025-11-10.wav, "https://www.youtube.com/watch?v=VWiMA6J7Kv0", file:///home/someone/.cache/.fr-55BXD3/video/segments/segment-1.mp4, file:///home/someone/.cache/.fr-Z6IBE3/video/segments/segment-3.mp4, file:///home/someone/.cache/.fr-9YTGE3/video/segments/segment-7.mp4, file:///home/someone/Downloads/KPop%20Demon%20Hunters-4796162205554688.mp4, file:///home/someone/Documents/handbrake/in/1.Crossing%20Japan%20With%20No%20Map.mp4, file:///home/someone/Documents/handbrake/out/1.Crossing%20Japan%20With%20No%20Map.mp4, file:///home/someone/Documents/socialist_lyrics/Abschied%20von%20Spanien%20-%20Ernst%20Busch%20%5B%E2%AD%90%20LYRICS%20GER%E2%A7%B8ENG%5D%20%5BSpanish%20Civil%20War%5D.mp3, file:///home/someone/Documents/socialist_lyrics/Abschied%20von%20Spanien%2C%20Flamingos%20im%20Ebrodelta%20und%20Gasflaschenwechsel.%20%C3%9Cberwintern%20in%20Spanien%202023..mp3, file:///home/someone/Downloads/4.19%20Wichtige%20Anwendungsprotokolle.mp4, file:///home/someone/responcive_review_h264.mp4, file:///home/someone/Downloads/Legefilm-Auswirkung-von-Synonymen-und-Umschreibungen.mp4, file:///home/someone/Videos/Screencasts/Screencast_20241010_182543.webm
times=33535, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 623432, 0, 784589, 30309, 0, 146400, 0, 168570, 0

View File

@ -17,7 +17,10 @@ function nix-shell-cwd() {
elif [ -f default.nix ] && [ -z "$IN_NIX_SHELL" ];then
echo "Using default.nix for nix-shell in $(pwd)"
nix-shell -p '(import ./default.nix { pkgs = import <nixpkgs> {}; })'
fi
elif [ -f flake.nix ] && [ -z "$IN_NIX_SHELL" ]; then
# path:. needet to not require git
nix develop path:. --command zsh
fi
}
function nix-list-applications (){

View File

@ -30,5 +30,12 @@ export let base_config = #{
"qt6": "~/.config/qt6ct",
},
enabled: true
}
},
sts: #{
targets: #{
"sts.desktop": "~/.local/share/applications/sts.desktop",
"sts.png": "~/.local/share/icons/sts.png"
},
enabled: true
},
};

25
root-conf/apps/sts/flake.lock generated Normal file
View File

@ -0,0 +1,25 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1764474957,
"narHash": "sha256-RCNYRb7zHt+qycQwfTD/Zxnbd4Sxi2fgvkeAljtLEOs=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "890f57fde071de281cd0e950cd80ea3e1ab55e75",
"type": "github"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

View File

@ -0,0 +1,27 @@
{
description = "Dev shell with adoptopenjdk-icedtea-web and jdk8";
inputs = {
nixpkgs.url = "nixpkgs"; # use the nixpkgs from your flake registry / channel
};
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
overlays = [ ];
};
in {
devShells.${system}.default = pkgs.mkShell {
buildInputs = with pkgs; [
adoptopenjdk-icedtea-web
jdk8
];
shellHook = ''
javaws sts-katze.jnlp
'';
};
};
}

View File

@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="https://www.stellwerksim.de"
href="https://www.stellwerksim.de/download-jnlp.php?token=005f96b29ed192">
<information>
<title>StellwerkSim</title>
<vendor>JS</vendor>
<homepage href="http://www.js-home.org/" />
<description>Stellwerk Simulation</description>
<icon href="/sts1-minicut.jpg"/>
<shortcut online="false">
<desktop/>
<menu submenu="StellwerkSim.de"/>
</shortcut>
</information>
<security>
<all-permissions/>
</security>
<update check="always" policy="always" />
<resources>
<!-- Application Resources -->
<j2se version="1.8.0*" href="http://java.sun.com/products/autodl/j2se" java-vm-args="-Dcom.sun.management.jmxremote" initial-heap-size="500M" />
<j2se version="9+" href="http://java.sun.com/products/autodl/j2se" java-vm-args="--add-modules=java.xml.ws" initial-heap-size="500M" />
<jar href="Loader.jar" download="progress"/>
<jar href="sts.jar" main="true" download="eager"/>
<jar href="js-tools.jar" download="eager"/>
<jar href="STSQuery.jar" download="eager"/>
<jar href="flatlaf.jar" download="eager"/>
<!-- <jar href="flatlaf-themes.jar" download="eager"/> -->
<property name="jnlp.ircserver" value="bespin.stellwerksim.de"/>
<property name="jnlp.timeserver" value="bespin.stellwerksim.de"/>
<property name="jnlp.webserver" value="www.stellwerksim.de"/>
<property name="jnlp.service" value="https://www.stellwerksim.de/soap.php"/>
<property name="jnlp.log" value="www.stellwerksim.de/javalog.php"/>
<property name="jnlp.controlbot" value="sts-control"/>
<property name="jnlp.controlroomPrefix" value="#control"/>
<property name="jnlp.readyroom" value="#readyroom"/>
<property name="jnlp.readyroomchannels" value="#Lobby:Lobby;#quassel:Spielanfragen"/>
<property name="jnlp.mixfilterchannels" value="#Lobby"/>
<property name="jnlp.startchannel" value="#lobby"/>
</resources>
<application-desc
name="StellwerkSim"
main-class="js.java.schaltungen.stsmain"
width="300"
height="300">
<argument>005f96b29ed192</argument>
<argument>53650</argument>
<argument>Katzenkralle</argument>
</application-desc>
</jnlp>

View File

@ -158,6 +158,7 @@ in
#loginBackground = true;
})
pkgs-unstable.gns3-gui
kdePackages.krdc
imagemagick
docker-compose
] ++ optionalPkgs;

View File

@ -113,6 +113,7 @@ in
ciscoPacketTracer8
gimp3
logseq-patch
pdfarranger
libreoffice
hunspell