Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
neofetch
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
neofetch
Commits
565f7142
Unverified
Commit
565f7142
authored
Sep 02, 2018
by
M. Herdiansyah
Committed by
GitHub
Sep 02, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1084 from HolyStephano/master
Updated to fix new kitty bug prior to kitty fixes
parents
495a9fef
0d50468d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
neofetch
neofetch
+2
-2
No files found.
neofetch
View file @
565f7142
...
@@ -3595,7 +3595,7 @@ get_window_size() {
...
@@ -3595,7 +3595,7 @@ get_window_size() {
fi
fi
[[ "$image_backend" == "kitty" ]] && \
[[ "$image_backend" == "kitty" ]] && \
IFS=x read -r term_width term_height < <(kitty icat --print-window-size)
IFS=x read -r term_width term_height < <(kitty
+kitten
icat --print-window-size)
# Get terminal width/height if \e[14t is unsupported.
# Get terminal width/height if \e[14t is unsupported.
if (( "${term_width:-0}" < 50 )) && [[ "$DISPLAY" && "$os" != "Mac OS X" ]]; then
if (( "${term_width:-0}" < 50 )) && [[ "$DISPLAY" && "$os" != "Mac OS X" ]]; then
...
@@ -3774,7 +3774,7 @@ display_image() {
...
@@ -3774,7 +3774,7 @@ display_image() {
;;
;;
"kitty")
"kitty")
kitty icat \
kitty
+kitten
icat \
--align left \
--align left \
--place "$((width/font_width))x$((height/font_height))@${xoffset}x${yoffset}" \
--place "$((width/font_width))x$((height/font_height))@${xoffset}x${yoffset}" \
"$image"
"$image"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment