Compare commits

...

3 Commits

Author SHA1 Message Date
2mal3 880725a105 chore: nix dev shell support 2025-12-19 13:53:58 +01:00
2mal3 6a6c13018e chore(control): clearer view zoom button icons 2025-12-14 13:41:52 +01:00
2mal3 9ea4e31863 fix(nixos): screen blank after inactivity 2025-12-06 14:10:21 +01:00
7 changed files with 98 additions and 8 deletions
@@ -20,7 +20,7 @@
import Button from './Button.svelte'; import Button from './Button.svelte';
import OnlineState from './OnlineState.svelte'; import OnlineState from './OnlineState.svelte';
import { cubicOut } from 'svelte/easing'; import { cubicOut } from 'svelte/easing';
import { Menu, Minus, Pencil, PinOff, Plus, Settings, Trash2, VideoOff } from 'lucide-svelte'; import { Menu, Pencil, PinOff, Settings, Trash2, VideoOff, ZoomIn, ZoomOut } from 'lucide-svelte';
import { selected_display_ids } from '../ts/stores/select'; import { selected_display_ids } from '../ts/stores/select';
import { dragHandleZone } from 'svelte-dnd-action'; import { dragHandleZone } from 'svelte-dnd-action';
import { flip } from 'svelte/animate'; import { flip } from 'svelte/animate';
@@ -214,7 +214,7 @@
change_height('display', 1); change_height('display', 1);
}} }}
> >
<Plus /> <ZoomIn />
</Button> </Button>
<Button <Button
title="Bildschirme kleiner darstellen" title="Bildschirme kleiner darstellen"
@@ -225,7 +225,7 @@
change_height('display', -1); change_height('display', -1);
}} }}
> >
<Minus /> <ZoomOut />
</Button> </Button>
</div> </div>
</div> </div>
@@ -4,13 +4,13 @@
Download, Download,
FolderPlus, FolderPlus,
Info, Info,
Minus,
Pen, Pen,
Plus,
RefreshCcw, RefreshCcw,
Scissors, Scissors,
Trash2, Trash2,
Upload Upload,
ZoomIn,
ZoomOut,
} from 'lucide-svelte'; } from 'lucide-svelte';
import { change_height, current_height, next_height_step_size } from '../ts/stores/ui_behavior'; import { change_height, current_height, next_height_step_size } from '../ts/stores/ui_behavior';
import Button from './Button.svelte'; import Button from './Button.svelte';
@@ -258,7 +258,7 @@
change_height('file', 1); change_height('file', 1);
}} }}
> >
<Plus /> <ZoomIn />
</Button> </Button>
<Button <Button
title="Dateien kleiner darstellen" title="Dateien kleiner darstellen"
@@ -269,7 +269,7 @@
change_height('file', -1); change_height('file', -1);
}} }}
> >
<Minus /> <ZoomOut />
</Button> </Button>
</div> </div>
</div> </div>
Generated
+27
View File
@@ -0,0 +1,27 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1765779637,
"narHash": "sha256-KJ2wa/BLSrTqDjbfyNx70ov/HdgNBCBBSQP3BIzKnv4=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "1306659b587dc277866c7b69eb97e5f07864d8c4",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}
+24
View File
@@ -0,0 +1,24 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = {
self,
nixpkgs,
}: let
pkgs = nixpkgs.legacyPackages."x86_64-linux";
in {
devShells."x86_64-linux".default = pkgs.mkShell {
packages = with pkgs; [
libreoffice
ungoogled-chromium
xreader
imagemagick
ffmpeg
ghostscript
gnome-screenshot
];
};
};
}
+11
View File
@@ -1,9 +1,11 @@
{ {
inputs,
config, config,
pkgs, pkgs,
... ...
}: { }: {
imports = [ imports = [
inputs.home-manager.nixosModules.default
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
@@ -99,6 +101,15 @@
ghostscript ghostscript
]; ];
home-manager.users.mudics = {
xfconf.settings = {
xfce4-power-manager."xfce4-power-manager/dpms-enabled" = false;
xfce4-screensaver."saver/enabled" = false;
};
home.stateVersion = "25.05";
};
systemd.services.update-mudics = { systemd.services.update-mudics = {
wantedBy = ["multi-user.target"]; wantedBy = ["multi-user.target"];
after = ["network-online.target"]; after = ["network-online.target"];
+22
View File
@@ -1,5 +1,26 @@
{ {
"nodes": { "nodes": {
"home-manager": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1763992789,
"narHash": "sha256-WHkdBlw6oyxXIra/vQPYLtqY+3G8dUVZM8bEXk0t8x4=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "44831a7eaba4360fb81f2acc5ea6de5fde90aaa3",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "release-25.05",
"repo": "home-manager",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1761999846, "lastModified": 1761999846,
@@ -18,6 +39,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"home-manager": "home-manager",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
} }
} }
+6
View File
@@ -1,6 +1,11 @@
{ {
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
home-manager = {
url = "github:nix-community/home-manager/release-25.05";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = { outputs = {
@@ -15,6 +20,7 @@
}; };
modules = [ modules = [
./configuration.nix ./configuration.nix
inputs.home-manager.nixosModules.default
]; ];
}; };
}; };