the Sane
bfc2822a35
Rename variable for clarity
2021-01-31 11:11:38 -05:00
the Sane
dfe15f8e78
Improve command line argument processing
2021-01-31 11:10:23 -05:00
Alessandro Toia
28edb3393e
Add short options to arguments
2021-01-30 20:01:06 -08:00
the Sane
978e0adc92
Remove unused variable
2021-01-30 15:00:20 -05:00
the Sane
1ae2d6e4b4
zsh compatibility
2021-01-30 14:45:38 -05:00
the Sane
ae7c407b19
Add referral code
2021-01-30 14:37:41 -05:00
the Sane
5caea10a6b
Add more contributors <3
2021-01-30 14:35:54 -05:00
the Sane
407db0bbcf
Rename function
2021-01-30 14:32:41 -05:00
the Sane
70f282d012
Add command line arguments
2021-01-30 14:32:16 -05:00
the-sane
0018591192
Merge pull request #13 from victort/argumentative
...
added --help, help verbage, and structure for future argument handling.
2021-01-30 13:49:41 -05:00
the-sane
ca2ce556aa
Re-add comment
2021-01-30 13:45:35 -05:00
Alessandro Toia
8e922ae0ef
Remove superfluous if/then statments for XDG base dits
2021-01-28 21:26:17 -08:00
mprov
1d4ff8375e
subtraction of abstraction
2021-01-28 17:50:58 -08:00
mprov
8bd3a165de
added --help, help verbage, and structure for future argument handling.
2021-01-28 17:11:03 -08:00
the-sane
829610b13e
Improve menu description
2021-01-24 18:49:17 -05:00
the-sane
d4c3015a22
Improve runner menu description
2021-01-24 16:21:49 -05:00
the-sane
f6ea8c04c7
Add maintenence and troubleshooting menu
2021-01-24 16:15:35 -05:00
the-sane
b7a36a872b
Improve preflight check + check total ram
2021-01-24 15:37:06 -05:00
the-sane
4a4d8a0f2a
If you find yourself invoking grep and awk in one line, you're doing it wrong.
2021-01-24 15:35:33 -05:00
the-sane
2dd81588b2
Improve message
2021-01-24 14:51:00 -05:00
the-sane
7b7460fa0d
Fallback to sudo where pollkit is unavailable
2021-01-24 14:43:42 -05:00
the-sane
478ff37b8a
Improve messages
2021-01-24 14:37:36 -05:00
the-sane
1840983431
Improve preflight check
...
Run all actions at once to avoid multiple password prompts.
Move followups and results to the preflight_check function.
2021-01-24 12:44:49 -05:00
the-sane
693edd56fa
Clarify menu item
2021-01-24 01:29:46 -05:00
the-sane
9af012eaaf
Improve comments
2021-01-23 22:34:15 -05:00
the-sane
870091faaa
Fix messages
2021-01-23 22:13:28 -05:00
the-sane
2c6cceb60f
Add Preflight Check for all optimization checks
2021-01-23 22:05:23 -05:00
the-sane
7ebaa6d2d2
Additional referral code
2021-01-23 09:31:19 -05:00
the-sane
8bea7dc005
Credit Tatumkhamun
2021-01-23 09:29:42 -05:00
the-sane
5107076b2f
Fallback logo
2021-01-17 16:17:51 -05:00
the-sane
bc39507e48
Use an installed logo if available
2021-01-17 15:58:14 -05:00
the-sane
fe2b9f56c0
Use the lug logo for zenity's taskbar icon
2021-01-17 09:25:18 -05:00
the-sane
7a4de1ad21
Rearrange menu
2021-01-16 22:09:46 -05:00
the-sane
4b924ba068
Improve message
2021-01-16 22:00:06 -05:00
the-sane
b66d1554e9
Improve deletion messages & capital Helper.
2021-01-16 21:55:58 -05:00
the-sane
ec3027bc28
Rearrange menu
2021-01-16 21:52:21 -05:00
the-sane
ec794a0fd2
Add reset_helper feature
2021-01-16 21:51:00 -05:00
the-sane
762c069fb5
Rename to debug_print
2021-01-16 21:33:15 -05:00
the-sane
9689a4a60b
Cleanup
2021-01-16 19:56:56 -05:00
the-sane
3a9b4194e0
Improve debug message
2021-01-16 19:22:37 -05:00
the-sane
9be4f45449
Show which mode we're in
2021-01-16 19:07:50 -05:00
the-sane
7d667343d3
Cleanup
2021-01-16 18:51:32 -05:00
the-sane
1aa6c3f4c2
Use conf directory for keybind backups
2021-01-16 18:50:28 -05:00
the-sane
0c80a1f132
Improve intro comment
2021-01-16 14:31:27 -05:00
the-sane
bc608f7ac4
Reference lutris default install path
2021-01-16 14:20:10 -05:00
the-sane
d2983fa519
Improve debug messages
2021-01-16 14:07:44 -05:00
the-sane
8e6fe1225d
Fix shaders directory
2021-01-16 14:04:36 -05:00
the-sane
41210bfd1c
Check for curl dependency separately from coreutils
2021-01-16 11:54:44 -05:00
the-sane
71df862879
Add curl dependency
2021-01-16 11:33:11 -05:00
the-sane
ee5da5d348
Add notify-send for dependency errors
2021-01-16 09:07:01 -05:00
the-sane
7f9ad04753
printf for portability
2021-01-16 08:51:22 -05:00
the-sane
37762b9075
Output errors to stderr
2021-01-15 20:42:47 -05:00
the-sane
82c5ccbbab
Remove testing oops
2021-01-15 20:21:51 -05:00
the-sane
669ee6eb91
even moar referral codes!
2021-01-15 20:19:31 -05:00
the-sane
7c0fbc65b7
Add contributor pstn
2021-01-15 20:02:48 -05:00
the-sane
62477143f2
Dependency check. Remove tmp_dir on exit.
2021-01-15 20:02:10 -05:00
the-sane
35fd12b672
Add mktemp suffix and fallback
2021-01-15 19:33:10 -05:00
Philipp Steinpaß
ec860270bb
Use mktemp to generate tmp dir.
2021-01-15 18:02:28 +01:00
Philipp Steinpaß
3ea9fb0f35
make shebang fully posix compatible
2021-01-15 18:00:52 +01:00
the-sane
7f7b63caeb
Formatting
2021-01-13 19:07:43 -05:00
the-sane
86604f2b7d
Kill only the curl spawned by the helper. More referral codes.
2021-01-13 19:06:36 -05:00
the-sane
5a00c74ddc
MOAR REFERRAL CODES!
2021-01-12 18:30:20 -05:00
the-sane
089f69ef06
Formatting
2021-01-11 20:13:47 -05:00
the-sane
9e79fd68e0
Fix comment
2021-01-11 20:10:41 -05:00
the-sane
08f8f1e07c
Add Zenity progress bars for runner installation. +More referral codes.
2021-01-11 20:01:47 -05:00
the-sane
707d1ad47d
Improve comments
2021-01-03 13:48:48 -05:00
the-sane
0d7e4ea2b3
Improve comments
2021-01-03 08:49:13 -05:00
the-sane
aaccca1dc9
Clarify instructions
2021-01-02 08:57:01 -05:00
the-sane
b378de0b9e
Add more penguin referral codes
2021-01-02 08:47:03 -05:00
the-sane
61e14ed4de
Improve getdirs: Try to detect the game directory
2021-01-01 14:52:43 -05:00
the-sane
2cdef0f1c4
Begin adding penguin referral code randomzier
2021-01-01 10:41:07 -05:00
the-sane
d20fc859e1
Shorten comments for small terminal windows
2020-12-31 20:55:44 -05:00
the-sane
4cc8e3331c
Only offer to restart lutris if it's running
2020-12-31 20:46:45 -05:00
the-sane
a5d372a43b
Improve debug_echo function
2020-12-31 20:43:10 -05:00
the-sane
48582c3a22
Refactor URL handling for easy future additions
...
Store runner source URLs in an array for easy expansion.
Handle different file extensions automatically.
Detect whether the archive is packaged with a subdirectory or not and handle it automatically.
2020-12-31 20:28:34 -05:00
the-sane
363be810aa
+ <3
2020-12-27 19:08:11 -05:00
the-sane
467e1b7164
Re-order operations in case some shells can't math good
2020-12-27 19:07:17 -05:00
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