1
1
Fork 0

Compare commits

..

4 commits

Author SHA1 Message Date
7f34e497a2
remote.sh: fix semantics
Signed-off-by: Myned <dev@bjork.tech>
2024-11-17 14:15:19 -06:00
af4ace6146
remmina: initial program
Signed-off-by: Myned <dev@bjork.tech>
2024-11-17 14:14:57 -06:00
7e47ef95ef
custom: add sync directory option
Signed-off-by: Myned <dev@bjork.tech>
2024-11-17 14:14:42 -06:00
927a0a054d
hyprland: explicitly float overrides
Signed-off-by: Myned <dev@bjork.tech>
2024-11-17 14:14:23 -06:00
8 changed files with 29 additions and 11 deletions

View file

@ -18,6 +18,7 @@ in {
hostname = mkOption {};
realname = mkOption {default = "Myned";};
username = mkOption {default = "myned";};
sync = mkOption {default = "/home/myned/SYNC";};
### Hardware
width = mkOption {default = 1920;};

View file

@ -245,6 +245,7 @@ in {
];
vm = rules: [
(class "(sdl-|wl|x)freerdp" (rules ++ ["nomaxsize" "tile"]))
(class "org\\.remmina\\.Remmina" (rules ++ ["tile"]))
(class "virt-manager" rules)
];
wine = rules: [
@ -289,7 +290,7 @@ in {
(fields {
class = "^com\\.github\\.wwmm\\.easyeffects$";
title = "^Easy Effects$"; # Main window
} ["center" "size 50% 50%"])
} ["center" "float" "size 50% 50%"])
(fields {
class = "^discord$";
title = "^Discord Updater$"; # Update dialog
@ -297,19 +298,19 @@ in {
(fields {
class = "^lutris$";
title = "^Lutris$"; # Main window
} ["center" "size 1000 500"])
} ["center" "float" "size 1000 500"])
(fields {
class = "^org\\.gnome\\.Loupe$";
title = "^wallpaper.png$";
} ["tile" "workspace special:wallpaper"])
(fields {
class = "^org\\.remmina\\.Remmina$";
title = "^Remmina Remote Desktop Client$"; # Main window
} ["center" "size 1000 500"])
title = "^Remmina.*$"; # Main windows
} ["center" "float" "size 1000 500"])
(fields {
class = "^steam$";
title = "^notificationtoasts$"; # Steam notifications
} ["nofocus" "pin"])
} ["float" "nofocus" "pin"])
(fields {
class = "^steam$";
title = "^Steam$"; # Main window

View file

@ -64,6 +64,7 @@ with lib; {
#// onedrive.enable = true;
path-of-building.enable = true;
rbw.enable = true;
remmina.enable = true;
rofi-rbw.enable = true;
rofi.enable = true;
seahorse.enable = true;

View file

@ -546,9 +546,7 @@ in {
# Imperative symlinks intended to be synced
"Downloads/stg" = mkIf config.custom.full {
source =
config.home-manager.users.${config.custom.username}.lib.file.mkOutOfStoreSymlink
"/home/myned/SYNC/common/config/extensions/Simple Tab Groups";
source = config.home-manager.users.${config.custom.username}.lib.file.mkOutOfStoreSymlink "${config.custom.sync}/common/config/extensions/Simple Tab Groups";
};
# Work around icon dissociation due to missing --name flag in actions

View file

@ -0,0 +1,17 @@
{
config,
lib,
...
}:
with lib; let
cfg = config.custom.programs.remmina;
in {
options.custom.programs.remmina.enable = mkOption {default = false;};
config = mkIf cfg.enable {
home-manager.users.${config.custom.username} = {
#!! Imperative configuration
home.file.".config/remmina/remmina.pref".source = config.home-manager.users.${config.custom.username}.lib.file.mkOutOfStoreSymlink "${config.custom.sync}/linux/config/remmina/remmina.pref";
};
};
}

View file

@ -5,7 +5,7 @@
# https://github.com/sigoden/argc
# @meta combine-shorts
# @option -C --client=remmina Remote desktop client to connect with (remmina or <x|w|sdl>-freerdp)
# @option -C --client=remmina Remote desktop client to connect with (remmina or <sdl-|x|w>freerdp)
# @option -P --password Password to connect with
# @option -S --scale=100 Set FreeRDP resolution scale
# @option -U --username! Username to connect with

View file

@ -21,7 +21,7 @@ in {
wantedBy = ["default.target"];
serviceConfig = {
WorkingDirectory = ["/home/myned/.git/modufur"];
WorkingDirectory = ["/home/${config.custom.username}/.git/modufur"];
ExecStart = ["${poetry}/bin/poetry run python -OO run.py >&2"];
};
};

View file

@ -143,7 +143,7 @@ in {
#!! Must be downloaded manually due to licensing
# (ciscoPacketTracer8.overrideAttrs {
# src = /home/myned/SYNC/linux/config/cisco/CiscoPacketTracer822_amd64_signed.deb;
# src = ${config.custom.sync}/linux/config/cisco/CiscoPacketTracer822_amd64_signed.deb;
# })
### CLI applications