Commit Graph

1034 Commits

Author SHA1 Message Date
Liam
aca42f2411
fix: Respect shebangs in scripts (#606)
* Cargo will rebuild if anything changes in src/, recursively. E.g src/commands/ is also checked

* No need to make a generic, we only use 1 backend

* Delete the imports that are no longer needed

* Replace the weird struct hack with an enum

* Delete a useless line

* The None should be explicit

* Support for non-english keyboard input

* Commit Linutil

* refactor: Improve conciseness of char passthrough

* fix: Respect shebang in script files

* refactor: More efficiently handle shebangs

* refactor: Remove unnecessary error handling

If 2 characters can be read from the file, a line must exist

* fix: Drop accidentally added file

* fix: Ensure that executable exists before displaying entry

* fix: Explicitly check if the executable is a file

* refactor: Replace unnecessary import

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>

* fix: Check whether the file is directly executable

* fix: Comply with rustfmt

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>

---------

Co-authored-by: Andrii Dokhniak <adokhniak@gmail.com>
Co-authored-by: JustLinuxUser <JustLinuxUser@users.noreply.github.com>
Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
2024-09-22 11:50:43 -05:00
Adam Perkowski
c0a9820c32
Add package installation instructions to the docs and README (#605)
* Added Arch Linux

* Added cargo

* update & add to README

* fixed typos

Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>

---------

Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
2024-09-22 11:38:32 -05:00
Nyx
bda712188c
forgot about fedora (#604)
Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
2024-09-22 11:13:39 -05:00
Liam
446d52ce7c
fix: Correctly enter up directories (..) (#598) 2024-09-22 11:11:43 -05:00
Adam Perkowski
f6748caab7
feat: short disclaimer-like script descriptions (#593)
* names updated

Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>

* idea

* Added missing tasks

* Added a title

---------

Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
2024-09-22 11:10:05 -05:00
Guru Swarupa
03ffe59b70
added adb setup + uad setup (#592)
* added dev tools

* added adb setup and uad setup

* fix

* Update core/tabs/applications-setup/android-debloat.sh

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>

* Update core/tabs/applications-setup/android-debloat.sh

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>

* Update core/tabs/applications-setup/android-debloat.sh

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>

* Update core/tabs/applications-setup/android-debloat.sh

Co-authored-by: Nyx <144965845+nnyyxxxx@users.noreply.github.com>

* Update core/tabs/applications-setup/android-debloat.sh

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>

* Update android-debloat.sh

* Update android-debloat.sh

---------

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
Co-authored-by: Nyx <144965845+nnyyxxxx@users.noreply.github.com>
2024-09-22 11:09:05 -05:00
Nyx
72eb865c63
Add colors to d2r-loot-filters (#591)
* add colors to d2r-loot-filters

* remove redunancy

Co-authored-by: Liam <33645555+lj3954@users.noreply.github.com>

---------

Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
Co-authored-by: Liam <33645555+lj3954@users.noreply.github.com>
Co-authored-by: Chris Titus <contact@christitus.com>
2024-09-22 11:08:16 -05:00
Nyx
3fb4876d9e
Fix issues with fedora (#589)
Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
2024-09-22 11:05:23 -05:00
Adam Perkowski
3c8adcf370
Changed the CI to only run when .sh files are changed (#588) 2024-09-22 11:04:58 -05:00
Nyx
6c877b15fa
fix capped letter (#587)
Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
2024-09-22 11:04:34 -05:00
Adam Perkowski
2ab6c1670b
Add nvim version check berfore installing (#586)
* Added nvim version check

* Moved the check to a func

Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>

---------

Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
2024-09-22 11:04:12 -05:00
Nyx
e82fd82850
add waydroid (#585)
Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
2024-09-22 11:03:43 -05:00
Nyx
cca2660c3b
fix every issue related to printf (#596)
* increase synergy between scripts

* Fix newlines Fix packagers etc

* fix an issue with no new line being created

* fix formatting

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>

* fix extra comma

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>

* change to ()

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>

* change to ()

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>

* change to ()

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>

* change to ()

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>

* remove extra comma

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>

* remove "please"

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>

* add support for caps

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>

* add support for caps

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>

* add support for caps

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>

* remove \n and make the default option "N"

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>

* add an extra quote

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>

* add extra quotes

* fix remaining sn

* fix remaining new lines

---------

Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
2024-09-22 11:01:10 -05:00
cartercanedy
76a4ffc70e
feat: implement syntax highlighting for preview text (#568)
* implement syntax highlighting for preview text

* remove errant lifetimes

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>

* remove errant lifetimes

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>

* update Cargo.lock

* only iterate over visible lines

* break lines up on init

* implement side scrolling

* Remove unnecessary #![soft_unstable]

This was accidentally left in from benching

---------

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
2024-09-22 10:56:30 -05:00
Nyx
006326afa9
update docs (#601)
Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
2024-09-21 17:58:55 -05:00
Nyx
9bc28b621c
Fix archtitus issues (#560)
* Fix archtitus

* Fix keymap

* Attempt to fix subvolume issues

---------

Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
2024-09-21 09:27:03 -05:00
Guru Swarupa
3a06f75142
added dev tools (#582) 2024-09-21 09:26:32 -05:00
Nyx
995a51a665
Use more colors in common-script (#574)
Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
2024-09-21 09:20:50 -05:00
Nyx
43464d1f03
Fix general inconsistencies and unnecessary updating (#584)
Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
2024-09-21 09:19:41 -05:00
Nyx
b21ae519fb
fix problems with debian 12 (#571)
* fix problems with debian 12

* Add support for uptodate releases

---------

Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
2024-09-21 09:18:54 -05:00
Adam Perkowski
4955e94690
Allow reopening issues and closing as not planned through the CI (#572)
* Added closing as not planned

* Added reopening
2024-09-21 09:14:39 -05:00
Adam Perkowski
f2332a7da2
Fixed some Rust code structure and modified the workflow to fail if clippy returns warnings (#569)
* Fixed someone else's mistakes

* workflow now fails if clippy returns warnings

* refactor: Make base title variable constant

---------

Co-authored-by: Liam <lj3954@users.noreply.github.com>
2024-09-21 09:08:24 -05:00
Nyx
59744e89de
fix dwm titus (#583)
Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
2024-09-21 09:06:52 -05:00
Liam
1d5807ad51
Refactor tips (#575)
* refactor: Move all get_random_tip functionality to its own function

* fix: Only depend on rand when building the tips feature
2024-09-20 19:12:26 -05:00
JEEVITHA KANNAN K S
f46d3137b7
fix: Add missing nala (#544)
* Add missing nala

* Update 5-samba-ssh-setup.sh

---------

Co-authored-by: Chris Titus <contact@christitus.com>
2024-09-20 11:44:49 -05:00
Adam Perkowski
ed15610daa
Fixed alphabetical sorting (#567) 2024-09-20 11:40:44 -05:00
Adam Perkowski
1a21753831
Moved tips to a feature (#566) 2024-09-20 10:48:09 -05:00
Guru Swarupa
4d6d1b22f0
added tips. (#565)
Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
2024-09-20 10:09:08 -05:00
Guru Swarupa
ad03095f9d
fix browser setup script (#561) 2024-09-20 09:43:08 -05:00
Nyx
2662aa03c4
small refactor (#563)
* small refactor

* Fix formatting

---------

Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
2024-09-20 09:27:31 -05:00
Guru Swarupa
7946000007
added office suite setup script (#559) 2024-09-20 09:14:56 -05:00
Dhruv Mistry
b10dfa4bd6
Adding "valids user" argument in share section (#558) 2024-09-20 09:14:15 -05:00
Chris Titus
72ebf08811 Merge branch 'main' of https://github.com/ChrisTitusTech/linutil 2024-09-19 23:20:09 -05:00
Chris Titus
d10c4f1c36 Update release-drafter.yml 2024-09-19 23:20:07 -05:00
Adam Perkowski
8385e38a0d
Add a Linutil package installation & update script (#526)
* AUR Installation

* Finished the scripts

* Forgot about $RC

* Fixed func name

* oopsie 2

* Replaced `jq` with `grep`
2024-09-19 23:01:43 -05:00
Nyx
6a1df3c3a9
Fix (#556)
Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
2024-09-19 23:00:11 -05:00
Adam Perkowski
0378410187
Fixed the spellcheck workflow (#557)
* Shellcheck.yml rewritten

* dir

* dir
2024-09-19 22:59:47 -05:00
Adam Perkowski
77f8085e2c
Fixed the CI to only check files that exist (#554) 2024-09-19 21:17:55 -05:00
Nyx
ef9307dd83
Fix account manager (#553)
* Fix account manager

* Fix missing escalation tools and checkenv

---------

Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
2024-09-19 21:17:18 -05:00
Nyx
28533b9f38
Always use printf with %b\n unless a different var is needed (#547)
* Always use printf with %b\n unless a different var is needed

* fix some conflicts

* fix conflicts

* Update ssh.sh

---------

Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
Co-authored-by: Chris Titus <contact@christitus.com>
2024-09-19 20:13:04 -05:00
Adam Perkowski
d6d27980de
Added crates.io badge (#552) 2024-09-19 19:32:02 -05:00
Chris Titus
dbcf396e73
Update README.md 2024-09-19 19:28:45 -05:00
Chris Titus
01df47fa02
Update README.md 2024-09-19 19:28:13 -05:00
Adam Perkowski
216f1a4836
Restructure the crates (#549)
* BIG CHANGES

* core metadata

* Added readme.md to the package

* Moved the crate back to tui

Co-authored-by: Liam <lj3954@users.noreply.github.com>

---------

Co-authored-by: Liam <lj3954@users.noreply.github.com>
2024-09-19 19:09:53 -05:00
Nyx
07e754b3f2
Fix local vars bashisms that are not defined in posix (#548)
Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
2024-09-19 16:48:01 -05:00
Nyx
56233e436d
Fix read problems (#546)
Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
2024-09-19 16:47:08 -05:00
JEEVITHA KANNAN K S
de98efbb8b
Rename system-setup scripts (#542) 2024-09-19 16:45:05 -05:00
JEEVITHA KANNAN K S
16c4275784
Disable multi select (#541) 2024-09-19 16:44:33 -05:00
Chris Titus
f0e8861d25 fix shellcheck errors 2024-09-19 14:08:41 -05:00
Chris Titus
4405670c19 Update shellcheck.yml 2024-09-19 14:04:25 -05:00