christos

joined 2 years ago
[–] christos 2 points 1 year ago

Fear not, there are no scary commands in this script.

[–] christos 2 points 1 year ago

There is, if you like fzf, or if you are not comfortable with vim keybindings. Still, Ranger is awesome.

[–] christos 3 points 1 year ago (1 children)

Well, after a quick search, from that source, I found that :

...A .theme file is a .ini text file that is divided into sections, which specify visual elements that appear on a Windows desktop. Section names are wrapped in brackets ([]) in the .ini file.

I believe that the themes.txt file has not much to do with the above, furthermore, confusion between the two does not sound a good idea. What is more, one can say that file names such as themes.txt and current_theme.txt are quite descriptive and leave no doubts about their function. However, I think I understand your point of view. Perhaps I would consider renaming these in the future.

[–] christos 4 points 1 year ago (4 children)

Well, there is just one themes.txt file, created inside .config/basht/ directory. There is no particular reason why it should not be a .txt. Would you suggest another solution?

[–] christos 4 points 1 year ago (1 children)

This is a bash script I wrote:

https://gitlab.com/christosangel/magic-tape

As far as searches go:

  • s option: Search using a keyword/phrase
  • h option: Watch history
  • j option: Search history

If I understand correctly, in your case: let's say you search for a term , i.e. vanillaOS. You will be able to select from a list of videos, with a preview image and other data ( data, views, channel etc). If on a later date you wish to search again for this term, by selecting the j option, you can easily repeat the same search, with any new videos available included.

[–] christos 1 points 1 year ago

Hey let me know how it goes, any feedback is welcome!

[–] christos 2 points 1 year ago

Thank you, I am glad you like it. I have been trying to improve it, adding functionalities, improving the selection mechanism with cursor and scrolling etc.

[–] christos 4 points 1 year ago

Thanks, any feedback would be welcome!

[–] christos 1 points 1 year ago

This may come as a shock as well, but here's the same script, in python: radion.py

[–] christos 2 points 1 year ago (1 children)

Percentage, it's percentage that is recorded, percentage.

[–] christos 3 points 1 year ago (3 children)

Oh my bad, I misunderstood the concept of percentage.

10
Nord theme for rofi (lemmy.world)
submitted 2 years ago* (last edited 2 years ago) by christos to c/unixporn
 

cross-posted from: https://lemmy.world/post/1921766

Hello, I have just seen a post here about a tokyonight rofi theme and thought I might do something similar with nord.

Any feedback is welcome.

31
Nord theme for rofi (lemmy.world)
submitted 2 years ago* (last edited 2 years ago) by christos to c/[email protected]
 

Hello, I have just seen a post here about a tokyonight rofi theme and thought I might do something similar with nord.

Any feedback is welcome.

43
ascii-matrix (gitlab.com)
submitted 2 years ago by christos to c/unixporn
 

cross-posted from: https://lemmy.world/post/901138

cross-posted from: https://lemmy.world/post/551155

This script written in the C language, will render the matrix effect in the terminal, while rendering ascii art loaded from a txt file, at the center of the terminal window.

https://gitlab.com/christosangel/ascii-matrix

42
lemmy-matrix (gitlab.com)
submitted 2 years ago* (last edited 2 years ago) by christos to c/unixporn
 

cross-posted from: https://lemmy.world/post/1015398

cross-posted from: https://lemmy.world/post/1001168

Created with ascii-matrix

353
GitLab is down (lemmy.world)
submitted 2 years ago by christos to c/linuxmemes
 
10
mastodon-matrix (gitlab.com)
submitted 2 years ago* (last edited 2 years ago) by christos to c/mastodon
 

Just a mastodon matrix gif.

Effect created with ascii-matrix for linux

 

cross-posted from: https://lemmy.world/post/1027203

cross-posted from: https://lemmy.world/post/961924

A script in bash in combination with a script in C can help you solve a sudoku puzzle in a png file.

https://gitlab.com/christosangel/sudoku-solver-ocr

You can see the script in action in this video.

The main dependency is tesseract OCR, responsible for the oprical character recognition.

Another important dependency is imagemagick, responsible for the necessary image manipulation.

The file selection of the png image is done with zenity.

Feel free to give your feedback.

59
submitted 2 years ago* (last edited 11 months ago) by christos to c/[email protected]
 

cross-posted from: https://lemmy.world/post/530920

Magic-tape is an image supporting fuzzy finder command line interface YouTube client.

https://gitlab.com/christosangel/magic-tape

Image rendering can be done with the use of ueberzugpp, ueberzug, kitty terminal or chafa.

With magic-tape, through the main menu, the user can:

  • Browse videos from subscriptions.

  • Browse through trending video feed.

  • make a video search, using keywords or phrases.

  • Watch a previously watched video (watch history).

  • Browse videos from a subcsribed channel.

  • Watch a liked video.

  • Repeat the previous selection.

  • Repeat a previous search (search history).

  • Watch/download video/audio content, in various formats.

Through the miscellaneous menu the user can

  • Set up Preferences (configuration).

  • Like / Unlike a video.

  • Synchronize the above actions with their YouTube account.

  • Import subscriptions from YouTube.

  • Subscribe to/ Unsubscribe from a channel.

  • Clear their watch/search history, liked videos, thumbnail cache.

spoiler


 

cross-posted from: https://lemmy.world/post/961924

A script in bash in combination with a script in C can help you solve a sudoku puzzle in a png file.

https://gitlab.com/christosangel/sudoku-solver-ocr

You can see the script in action in this video.

The main dependency is tesseract OCR, responsible for the oprical character recognition.

Another important dependency is imagemagick, responsible for the necessary image manipulation.

The file selection of the png image is done with zenity.

Feel free to give your feedback.

134
lemmy-matrix (gitlab.com)
 

cross-posted from: https://lemmy.world/post/1001168

Created with ascii-matrix

52
lemmy-matrix (gitlab.com)
 

cross-posted from: https://lemmy.world/post/1001168

Created with ascii-matrix

33
lemmy-matrix (gitlab.com)
 

cross-posted from: https://lemmy.world/post/1001168

Created with ascii-matrix

view more: ‹ prev next ›