Compare commits

...

3 Commits

Author SHA1 Message Date
Lennart J. Kurzweg (Nx2)
42685cce35 fix refactor for north 2026-01-15 16:09:56 +01:00
Lennart J. Kurzweg (Nx2)
bb754e99f7 fix termfilechooser 2026-01-15 16:09:11 +01:00
Lennart J. Kurzweg (Nx2)
4f57d39171 caldav-event 1line 2026-01-15 16:08:03 +01:00
4 changed files with 20 additions and 4 deletions

View File

@@ -24,5 +24,18 @@
"special": "#8888ff",
"weird": "#88ff66"
}
},
"NxNORTH": {
"base": {
"foreground": "#dddddd",
"background": "#111111"
},
"to_alter": {
"accent": "#ff6666",
"secondary": "#ff8866",
"tertiary": "#ff6688",
"special": "#8888ff",
"weird": "#88ff66"
}
}
}

View File

@@ -16,7 +16,10 @@ let hyper-base = rec {
prime = false;
};
}; in host: if host == "NxNORTH" then hyper-base // { inherit host;
nvidia.enable = true;
nvidia = {
enable = true;
prime = false;
};
isPersonal = true;
isWorkstation = true;
} else if host == "NxXPS" then hyper-base // { inherit host;

View File

@@ -75,7 +75,7 @@ def get_ongoing_or_next_event(url, username, password):
return next_event_dict
except Exception as e:
print(f"Error accessing {url}: {str(e)[:30]}...")
print(f"Error accessing {url}: {str(e)}".splitlines()[0])
return None
def is_expired(event_dict: dict):
@@ -122,7 +122,7 @@ if __name__ == "__main__":
else:
time_string = "in " + hour_string + "and " + minu_string
print(f"\'{event_dict['event_name']}\' {action_string} {time_string}")
print(f"\'{event_dict['event_name']}\' {action_string} {time_string}".splitlines()[0])
'')
];
}

View File

@@ -422,7 +422,7 @@ in {
force = true;
text = ''
[filechooser]
cmd=${tfc}/share/xdg-desktop-portal-termfilechooser/yazi-wrapper.sh
cmd=/home/nx2/wrapper.sh
default_dir=$HOME
env=TERMCMD=ghostty --title="terminal-file-picker -e"
open_mode=suggested