Commit Graph

435 Commits

Author SHA1 Message Date
the-sane
85c1f62c22
Update phrasing 2020-12-27 18:04:45 -05:00
the-sane
758f106efd
Add debug_echo function
Easy formatting of debug messages
2020-12-27 17:47:57 -05:00
the-sane
43d2b467e8
Dynamically calculate zenity menu heights 2020-12-27 17:27:00 -05:00
the-sane
aa60600807
Throw out zenity errors
Cleans up the terminal output
2020-12-27 16:56:41 -05:00
the-sane
a2594c3af3
Add contributors and function sections 2020-12-27 16:45:31 -05:00
the-sane
8f3efd0b9c
Fix url parsing
Be more specific for when grep returns multiple matches
2020-12-27 16:32:55 -05:00
the-sane
6d7c84c8b6
Loop runner_manage menu until the user cancels 2020-12-27 15:40:54 -05:00
the-sane
c12509bc0c
Fix string compare 2020-12-27 14:59:41 -05:00
the-sane
224c531d64
Offer Lutris restart only if changes were made 2020-12-27 14:57:57 -05:00
the-sane
32fdc04ec7
Improve runner_delete
Sanity check and rename variable
2020-12-27 14:48:38 -05:00
the-sane
20eb8e984a
Rename functions with "runner_" prefix
Consistency with other function names
2020-12-27 14:43:05 -05:00
the-sane
0df2659e54
Don't manage lutris runners if lutris isn't installed 2020-12-27 14:34:09 -05:00
the-sane
4a0b053a68
Restart after deleting a runner 2020-12-27 14:30:22 -05:00
the-sane
26030a6c82
Use XDG_DATA_HOME 2020-12-27 14:29:00 -05:00
the-sane
9c44505d27
Improve install_runner 2020-12-27 14:12:20 -05:00
the-sane
7f0f12e61b
Add sanity check for function argument 2020-12-27 11:11:20 -05:00
the-sane
da8c63fdcf
Improve choose_runner_version()
Fix bash formatting and improve code consistency, add sanity check to catch github API errors
2020-12-27 10:58:00 -05:00
the-sane
6e27ae8449
Refactor choose_runner_to_delete(). Untabify. 2020-12-25 11:24:10 -05:00
Termuellinator
be533e842b
Update lug-helper.sh
quoted the variables
2020-12-22 20:06:39 +01:00
Termuellinator
dfc2b4f573
Added option to download and delete runners
finally :D
2020-12-22 13:02:18 +01:00
the-sane
5d3e8bf554
Fix calling function and arguments from array 2020-12-21 11:56:17 -05:00
the-sane
176533a404
Improve comments + handle newlines automatically for menu_text_terminal 2020-12-20 19:34:34 -05:00
the-sane
36fe89dd0b
Improve comments 2020-12-19 09:34:53 -05:00
the-sane
05ccd4bbfb
Better messaging 2020-11-29 08:34:10 -05:00
the-sane
608d581588
Fix paths 2020-11-26 08:46:54 -05:00
the-sane
168f9341c6
Better location check for backup path 2020-11-21 09:29:30 -05:00
the-sane
2f31e88f62
Rename/refactor some variables & POSIX compliance 2020-11-21 08:59:10 -05:00
the-sane
5bad74bfa6
Better backup directory prompts 2020-11-21 08:42:07 -05:00
the-sane
2fda35d5cb
Allow “StarCitizen” without spaces as gamedir 2020-11-20 09:46:54 -05:00
the-sane
12fcc9e057
Correctly reload files from /etc/sysctl.d/* 2020-11-07 12:17:54 -05:00
the-sane
14f8a8a822
Rename functions for consistency 2020-09-07 21:59:34 -04:00
the-sane
24b81ffa26
Use bulletproof vulcan logic, not dumb human logic 2020-09-07 21:34:21 -04:00
the-sane
2b15bb771f
Use words for message types instead of numbers 2020-09-07 20:38:39 -04:00
the-sane
632ce7f506
Sanity check message function arguments 2020-09-07 20:36:26 -04:00
the-sane
e3f3a64fe5
Use words for message types instead of numbers 2020-09-07 20:30:28 -04:00
the-sane
37223e0d8b
More menu refactoring 2020-09-07 19:42:18 -04:00
the-sane
6b17322d9e
Rename mapcount functions for consistency 2020-09-07 18:54:30 -04:00
the-sane
3953622498
Refactor menu code 2020-09-07 18:51:19 -04:00
the-sane
de1e06b32c
Increase friendliness 2020-09-05 08:56:41 -04:00
the-sane
afb1cde2d2
Fix typo 2020-09-05 08:12:11 -04:00
the-sane
6b74615697
End quote 2020-09-05 08:03:23 -04:00
the-sane
a81035accc
Verify after the prompt 2020-09-03 21:20:06 -04:00
the-sane
50e1e838d9
Set hard file limit 2020-09-03 20:56:53 -04:00
the-sane
2b5cdbb56b
Add instructions for setting the file limit 2020-08-23 21:25:49 -04:00
the-sane
7aa701a69d
Change file limit message 2020-08-23 14:21:51 -04:00
the-sane
26351b50c0
Prompt before delete 2020-08-23 10:01:38 -04:00
the-sane
7effc04a68
First iteration of open file descriptors checker 2020-08-23 09:27:46 -04:00
the-sane
07750d831d
Require bash 2020-08-22 08:18:05 -04:00
the-sane
deed3cb734
Improve messages 2020-08-21 21:43:50 -04:00
the-sane
81ba3eddff
Improve comments 2020-08-21 21:24:26 -04:00
the-sane
913e6a693c
Extra sanity checks, fix variables 2020-08-21 21:02:16 -04:00
the-sane
745bf715d2
DXVK cache only 2020-08-21 18:49:28 -04:00
the-sane
3bc2958e9c
Cleanup & consistency 2020-08-18 21:19:26 -04:00
the-sane
1a9544bc63
Quit menu option isn't needed, just click the cancel button 2020-08-17 22:05:34 -04:00
the-sane
fa5993be8d
Toggle between LIVE and PTU 2020-08-17 21:57:24 -04:00
the-sane
6a113e00ab
WIP delete caches and shaders 2020-08-17 17:53:25 -04:00
the-sane
b5cb3bcf74 chmod +x 2020-08-16 20:59:40 -04:00
the-sane
24cba9717b
tidy up message 2020-08-16 20:10:31 -04:00
the-sane
b42b87582f
Store sysctl messages in variables 2020-08-15 12:23:25 -04:00
the-sane
c6c5cc8c45
Use switch statements. Add message documentation comments. 2020-08-15 11:22:44 -04:00
the-sane
d5b361b790
Remove trap exit; call function directly. Update messages for clarity. 2020-08-15 11:01:54 -04:00
the-sane
b978c99e78
Move clear commands into message function 2020-08-14 22:41:35 -04:00
the-sane
cc2e9d6c84
Return to main menu instead of exiting 2020-08-14 22:33:04 -04:00
the-sane
095e18ef53
Loop main menu until user quits. Beautify dialogs 2020-08-14 22:11:31 -04:00
the-sane
8e4a6f00fe
Remove unnecessary message
If we cancel the dialog, just going to the EXIT trap is sufficient.
2020-08-13 18:23:32 -04:00
the-sane
92b4ecd0e9
Pretty up some dialogs 2020-08-11 23:13:12 -04:00
the-sane
8aa68034af
Pretty up some dialogs 2020-08-11 23:10:16 -04:00
the-sane
8ef8fba876
Remove unnecessary mkdirs 2020-08-11 23:01:08 -04:00
the-sane
589621f43e
Additional sanity checks 2020-08-11 22:46:05 -04:00
the-sane
54202fc5ba
Fix moving user folder & restoring keybinds 2020-08-11 22:25:25 -04:00
the-sane
0b735a1882
Fixes and remove debug code 2020-08-11 22:02:44 -04:00
the-sane
c45b974f43
Syntax fixes 2020-08-11 20:42:44 -04:00
the-sane
4772265c99
Save directories to config files 2020-08-10 16:03:11 -04:00
the-sane
5ee3f967bd
Testing interactive path menus, WIP 2020-08-09 21:30:10 -04:00
the-sane
5b9d5056e8
Use sh-supported argument shift for portability 2020-08-04 18:07:50 -04:00
the-sane
617313ff05
Fix formatting 2020-08-03 22:08:19 -04:00
the-sane
3f91a77fb6
Be more specific in the menu choices 2020-08-03 22:04:27 -04:00
the-sane
e3116dae4f
Zenity fixes 2020-08-03 21:32:00 -04:00
the-sane
2389f48b8c
add debug 2020-08-03 19:49:56 -04:00
the-sane
289e60b0b9
Update lug-helper.sh 2020-08-03 18:18:27 -04:00
the-sane
94dc48f52c
Fixes, formatting 2020-08-03 18:15:38 -04:00
the-sane
7002579c3c
Add support for text and zenity menus throughout.
Not yet tested. Likely broken.
2020-08-03 15:49:19 -04:00
the-sane
7cbe197991
Temporary Zenity check in mem_check() function 2020-08-02 21:06:46 -04:00
the-sane
d7dd89a630
Zenity dialog when vm.max_map_count is already set 2020-08-02 16:05:38 -04:00
the-sane
f36523335e
Create lug-helper.sh 2020-08-02 14:12:02 -04:00