Skip to content

Commit

Permalink
Merge branch 'master' into fix-missing-meta
Browse files Browse the repository at this point in the history
  • Loading branch information
Type-Delta committed Jan 6, 2025
2 parents 978d8d4 + b38f667 commit c4df258
Show file tree
Hide file tree
Showing 13 changed files with 219 additions and 209 deletions.
25 changes: 21 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@

</details>


## Installation

![Windows](https://img.shields.io/badge/-Windows_x64-blue.svg?style=for-the-badge&logo=windows)
Expand All @@ -64,6 +63,26 @@ If you have any difficulty consult for help on the [discord channel](https://dis
nix profile install github:Benexl/fastanime
```

### Installation on Arch

![Static Badge](https://img.shields.io/badge/arch-black?style=flat&logo=archlinux)

Install from the AUR using an AUR helper such as [yay](https://github.com/Jguer/yay) or [paru](https://github.com/Morganamilo/paru), either the git version, which uses the latest commit:

![AUR Version](https://img.shields.io/aur/version/fastanime-git?label=git)

```bash
yay -S fastanime-git
```

or the stable version, which uses a tagged release:

![AUR Version](https://img.shields.io/aur/version/fastanime?label=stable)

```bash
yay -S fastanime
```

### Installation using your favourite package manager

Currently the app is only published on [pypi](https://pypi.org/project/fastanime/).
Expand Down Expand Up @@ -190,7 +209,6 @@ The only required external dependency, unless you won't be streaming, is [MPV](h
- [syncplay](https://syncplay.pl/) to enable watch together.
- [feh](https://github.com/derf/feh) used in manga mode


## Usage

The project offers a featureful command-line interface and MPV interface through the use of python-mpv.
Expand Down Expand Up @@ -753,7 +771,7 @@ rofi_theme_input =

rofi_theme_confirm =

notification_duration = 2
notification_duration = 120

sub_lang = eng

Expand Down Expand Up @@ -794,7 +812,6 @@ format = best[height<=1080]/bestvideo[height<=1080]+bestaudio/best
player = mpv
```


## Contributing

pr's are highly welcome
Expand Down
2 changes: 1 addition & 1 deletion fastanime/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
) # noqa: F541


__version__ = "v2.8.6"
__version__ = "v2.8.7"

APP_NAME = "FastAnime"
AUTHOR = "Benexl"
Expand Down
22 changes: 9 additions & 13 deletions fastanime/assets/rofi_theme.rasi
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// https://github.com/Wraient/curd/blob/main/rofi/selectanime.rasi
// Go give there project a star!
// Was too lazy to make my own preview, so I just used theirs


configuration {
font: "Sans 12";
line-margin: 10;
Expand All @@ -20,12 +15,13 @@ configuration {

window {
fullscreen: false;
background-color: rgba(0, 0, 0, 1); /* Solid black background */
background-color: rgba(0, 0, 0, 0.8); /* Solid black transparent background */
border-radius: 50px;
}

mainbox {
padding: 50px 100px;
background-color: rgba(0, 0, 0, 1); /* Ensures black background fills entire main area */
padding: 50px 50px;
background-color: transparent; /* Ensures black background fills entire main area */
children: [inputbar, listview];
spacing: 20px;
}
Expand All @@ -47,7 +43,7 @@ prompt {

entry {
padding: 8px;
background-color: #444444; /* Slightly lighter gray for visibility */
background-color: transparent; /* Slightly lighter gray for visibility */
text-color: #FFFFFF; /* White text to make typing visible */
placeholder: "Search...";
placeholder-color: rgba(255, 255, 255, 0.5);
Expand All @@ -57,19 +53,19 @@ entry {
listview {
layout: vertical;
spacing: 8px;
lines: 10;
background-color: @background; /* Consistent black background for list items */
lines: 9;
background-color: transparent; /* Consistent black background for list items */
}

element {
padding: 12px;
border-radius: 4px;
background-color: @background; /* Uniform color for each list item */
background-color: transparent; /* Uniform color for each list item */
text-color: @foreground;
}

element normal.normal {
background-color: @background; /* Ensures no alternating color */
background-color: transparent; /* Ensures no alternating color */
}

element selected.normal {
Expand Down
10 changes: 5 additions & 5 deletions fastanime/assets/rofi_theme_confirm.rasi
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
// https://github.com/Wraient/curd/blob/main/rofi/userinput.rasi
// Go give there project a star!
// Was too lazy to make my own preview, so I just used theirs

configuration {
font: "Sans 12";
}
Expand All @@ -14,17 +10,19 @@ configuration {
window {
fullscreen: true;
transparency: "real";
background-color: @background-color;
background-color: transparent;
}

mainbox {
children: [ message, listview, inputbar ];
padding: 40% 30%;
background-color: transparent;
}

message {
border: 0;
padding: 10px;
border-radius:20px;
margin: 0 0 20px 0;
font: "Sans Bold 24"; /* Increased font size and made it bold */
}
Expand All @@ -42,6 +40,7 @@ prompt {

entry {
padding: 8px;
background-color: transparent;
}

listview {
Expand All @@ -52,4 +51,5 @@ listview {
textbox {
horizontal-align: 0.5; /* Center the text */
font: "Sans Bold 24"; /* Match message font */
background-color: transparent;
}
10 changes: 5 additions & 5 deletions fastanime/assets/rofi_theme_input.rasi
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
// https://github.com/Wraient/curd/blob/main/rofi/userinput.rasi
// Go give there project a star!
// Was too lazy to make my own preview, so I just used theirs

configuration {
font: "Sans 12";
}
Expand All @@ -14,17 +10,19 @@ configuration {
window {
fullscreen: true;
transparency: "real";
background-color: @background-color;
background-color: transparent;
}

mainbox {
children: [ message, listview, inputbar ];
padding: 40% 30%;
background-color: transparent;
}

message {
border: 0;
padding: 10px;
border-radius:20px;
margin: 0 0 20px 0;
font: "Sans Bold 24"; /* Increased font size and made it bold */
}
Expand All @@ -42,6 +40,7 @@ prompt {

entry {
padding: 8px;
background-color: transparent;
}

listview {
Expand All @@ -52,4 +51,5 @@ listview {
textbox {
horizontal-align: 0.5; /* Center the text */
font: "Sans Bold 24"; /* Match message font */
background-color: transparent;
}
Loading

0 comments on commit c4df258

Please sign in to comment.