Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MTeaHead/niri-session-manager
/ functions
Functions
15 in github.com/MTeaHead/niri-session-manager
⨍
Functions
15
◇
Types & classes
5
↓ 14 callers
Function
log
Update log function to handle format strings
src/main.rs:440
↓ 3 callers
Function
get_niri_windows
Fetch the windows list
src/main.rs:21
↓ 2 callers
Function
save_session
Save the session to a file
src/main.rs:53
↓ 1 callers
Function
cleanup_old_backups
Clean up old backup files, keeping only the most recent N backups
src/main.rs:372
↓ 1 callers
Function
create_backup
Create a timestamped backup of the file
src/main.rs:355
↓ 1 callers
Function
get_session_file_path
fetch the session file path
src/main.rs:35
↓ 1 callers
Function
handle_shutdown_signals
Handle shutdown signals and notify the main function.
src/main.rs:287
↓ 1 callers
Function
load_app_config
Load app configuration from TOML file
src/main.rs:128
↓ 1 callers
Function
log_error
Update error logging
src/main.rs:446
↓ 1 callers
Function
periodic_save_session
Periodically save the session based on configured interval
src/main.rs:309
↓ 1 callers
Function
restore_session
Restore saved session with retry logic
src/main.rs:77
↓ 1 callers
Function
restore_session_internal
Update restore_session_internal to use app mappings
src/main.rs:177
Method
default
()
src/main.rs:118
Function
main
()
src/main.rs:452
Function
save_session_with_backup
(file_path: &PathBuf, config: &Config)
src/main.rs:343