"Angle brackets will rotate it by 50 degrees" ~ Luke Smith, 2019 "I haven't thought of a particular use for this yet, but I just know it's very useful" ~ Also Luke Smith, 2019
@@heartlessalice5801 Good idea, we should also create a dmenu script with the most famous Luke Smith quotes and make a pull request to the larbs repo 😂
So many years .. so many good videos. Luke Motivated me but you actually taught me how to use bash. Still so underrated. Make some cool high quality videos.. YOU deserve more. You are one of the best linux youtuber according to me.
@@surajkushwah3221 Wait till you learn about speedy more-posix-compliant-dash (jk, I too only realized how powerful pipes are when he introduced me to dmenu and suckless in general and other good-at-one-thing minimal programs)
I think I just found my new best image viewer. it's got a lot of features I need, but expected to be labeled as Bloat by suckless. I like how if you just specify a folder, it only takes files in that folder, but if you put the * at the end, it works recursively. Perfect for the kind of folders I'm going to be using it for.
If you are already in sxiv opened with multiple images, you can press for example 3s to start the slideshow with 3 seconds of delay between images (or any other number of course)
Been using it since gobletu's video. Edit: Forgot to mention, you can't set background with sxiv but you can do it with imagemagic and the key handler e.g.: display -size 1920x1200 -window root ~/images/wallpapers/Logh.jpg I use sxiv with surf browser inside emacs to preview heavy weight sites.
@@bitnatures Yeah, with "-e" although is not great. That´s another option if one doesn´t want a third party application to set the wallpaper or use something like imlibsetroot or hsetroot.
10:00 one use for the "dmenu-like" mode would perhaps be to "embed" images from your editor. the first case that comes to mind is email w/ mutt. the default attachment UI is perfectly fine for regular files but it isn't ideal for images. it defaults to creating a MIME attachment, but for html email you'd often want an inline embed. also, sxiv's interface for selecting/previewing images is probably better than your default file manager's (especially if you use a tui file manager, and especially especially if you don't have terminal framebuffer rendering set up). this isn't limited to email though, something like this could help any time you're writing some markup language in vim: LaTeX, markdown, html/xml.. in the latter case you could even automatically base64 encode the image so that it's truly embedded in the file instead of being a reference to another file.
Thank you for posting this. I immediately installed sxiv and started using. Right now I in the middle of a project that requires manual cropping of many images and feh was starting to drive me a little nuts. The keybindings of sxiv seems so natural and easy. Again thank you.
5 ปีที่แล้ว +5
Allow to select images from the current directory (in this example, though it can be other directory name than ".", for sure) and create a tar.bz2 archive from the selected images in command line: sxiv -to . | tar cfvj /tmp/pictures.tar.bz2 -T - Note: I prefer "sxiv ." over "sxiv *.jpg" for example. The second one only considers files matching the *.jpg shell pattern, whole giving a directory name seems to allow sxiv to consider all kind of file names can be an image. And indeed, I can have different kind of images, like *.png, *.jpg, *.gif ....
Only now I've started to understand the whole let's say vim conception in ranger, now in sxiv. I really love that! TVM Luke! You do a fantastic useful and powerful vids. And sorry for my English)
Using this "very useful feature" maybe you can create a script that will let you select images and then you will by prompted for example by dmenu that will ask for image-magick command that will be applied to every image, if don't what to specify raw command you can make dmenu to display some often used options for resizing, changing colors
Luke start make suckless programs dance together. NOW I know why unix philosophy is awesome, and why suckless people make their programs like that.... I'm looking for luke use dwm in future, even if he do it on one of his old un-used thinkpad
I see you are using vifm. I've switched over to vifm as well. A great file manager. There are even a couple of hacks that will get you icons in vifm similar to ranger, and a hack that will get w3m image previews to work.
Yeah I've played around with the w3m image previews, but they don't work very well at all on my terminal build. One of the reasons I started using sxiv is specifically to get the thumbnail view to replace the ranger functionality. I don't know if you've tried using tabbed or another tab manager (I haven't gotten it working to my specifications), but you can have an instance of sxiv pop up in your vifm window, etc.
This is amazing. precisely what I needed for managing my wallpapers/memes, been stuck using bloated gui file explorers for far too long. Thanks for this!
At Derek Taylor's mention, I also have switched from ranger to vifm and as a result discovered sxiv. I have a custom command in vifm to open a selected set of image files in thumbnail mode. I like this just fine, although the ranger preview is pretty great.
if the selected picture is 'tree.png' in the home folder, $file will be './tree.png', and $fullpath in your implementation will be '~/./tree.png', which is a kinda useless string. I'd recommend to use ${file#./} when piping it to xclip, and fullpath to be $(pwd)/${file#./}
U could make a couple of manipulations on an input image with imagemagick, display the results in sxiv and then save the selected images. Experimenting with images is going to be a lot more productive😍
For the key-handeler script use 'read -r file' instead of 'read file'. Otherwise the script will not work as intended for any file with a backslash in it. Hello\.png will be treated as Hello.png Also some shell autism: consider replacing $fullpath with "$PWD/$file". Running $(pwd) is somewhat expensive compared to $PWD.
Due to lockdown, I have all of my exams online. And I have a usecase. I'm a CS student and I have to go through a bunch of exams where I have to write down math formulas. So, using convert and sxiv i can easily build PDF from images I want. Noice, thanks
You can run sxiv and select some images, and then have names of the selected images output to stdout and | pipe them to pywal to set the background image.
If anybody is looking for an easier name for this thing, you could interpret the name as a number in roman numerals. If you do that, you could refer to this image viewer simply as "7" if you wanted, because in roman numerals S is used as 1/2 (particularly in a pharmaceutical context) and XIV = 14, so 1/2 of 14 is 7. Of course, you could just use this idea for inspiration if the number 7 isn't unique enough for a name, you could call it "Half 14", or whatever.
In i3, or perhaps also in other WMs/DEs, the desktop wallpaper is just a root window of Xorg. There is a utility called "xsetbg" which can set the root window picture - set a wallpaper.
To set background you can use nitrogen or one of the *setroot programs. I think that you can even set any window as the root window, so you could just use a fullscreen fit-to sxiv instance, but I don't remeber the name of the utility that does that
A bit of a late comment, but one idea that I have for scripting with sxiv is a game menu. Have a folder with only pictures of the games, a file that keeps track of what commands to use to launch the game, and a folder containing the games themselves. You could then tell sxiv to pick an image, pipe the output to grep or something to find the matching name in the file, then pipe that as a command to start the game.
@@AhmedKhaled-sj1zx use dmenu to enter text to search for using youtube-dl getting the videos thumbnails and viewing them in sxiv. The user picks one and view it in youtube-viewer. You know, stuff like that. I think that one can build an entire youtube program in bash using dmenu, sxiv, youtube-dl, and youtube-viewer. Personally, I feel too lazy to do so but if someone does then I'll probably enjoy using it!
@@0xstev3 i think i remember reading something like that in the manual or it's just my imagination? If it's not there i remember using the TH-cam api and I'm pretty sure you can give it a search query and it will generate a nice json
Just thumbnails aren't that useful for "unknown" videos (like a sub feed or Recommended playlist). It would be nice if the thumbnail mode could display filenames underneath. Can it do that?
For the "dmenu" feature, for a slideshow wallpaper one could create a cronjob that sets the wallpaper to one of the files listed in a file, and then the user can select which images to put in that file using sxiv.
If you have a folder full of images you want to sort out and organize into other folders, you can have a custom command mvpics, and select the images with sxiv.
I think that "dmenu-style" behavior would be useful for a graphical launcher on, say, a touchscreen device. Read off the *.desktop files in the user's home directory to find the list of "icons", show by sxiv, and use the results to exec.
sxiv as some sort of menu? Sounds like a perfect opportunity to use it with pywal or something. The thumbnail mode is way more comfy than a dmenu or rofi prompt.
I think I'm just going to call it "S-Fourteen" to make it easier to pronounce. I know they're not roman numerals, but it makes it easier to remember regardless.
I am not too familiar with the terminal based image stacking program (for doing astrophotography) but I am sure that -tio option would be very useful for that. Does it handle raw image format, or would that have to be added?
You can run scripts on feh by using the action flag. Here is how I do it. ... setsid feh -F -A "setBg %f" -B "black" -d --edit --keep-zoom-vp --start-at ... Notice how I run my setBg script after the Action flag. This lets me set a picture I like as my wallpaper by pressing 0/Enter as I am browsing through a directory of pictures.
Hey Luke. I'm rewatching this video and it let me to think. Is there a patch to make the background of the viewer transparent? An alpha patch as it exists for st and dwm. I'm not talking about the checkerboard for transparent areas on the pic, but the windows itself. Would be very cool! Thanks for the content and stay safe!
Suckless software is really good because it doesn't try to be Unix. No. It tries to remedy the shitpile that is neo-unix by writing minimal and clean software that is inspired by the plan9 and unix ideas but it adds a bit of conveniency on top. They are of course minimal and pleasant to use because they ARE made to be used in the way Luke does in this video (unlike most programs)
You can do a script who uses the standard output with feh, xsetroot or anything similar to change the background by sending the filename and file path as arguments.
And no, sxiv is not able to set the wallpaper on its own, but you could always use nitrogen and do the following: # nitrogen --save --set-zoom-fill "/path/to/file.png"
9:55 rather than piping the files into something boring like ls, you could pipe a bunch of files into GIMP or some other image editor. I hate trying to find all the images I need in the floating filesystem window with no previews.
that's great but another really good program that binds me to xorg. have you ever tried wayland btw? there are things like swaywm which is basically i3 for wayland.
I don't think sxiv is able to set X11 background. I don't think it would take that long to implement if someone had the time and skill. But I think its good to have a different program to set the background, It makes the image viewer that little bit less bloated, it is already much lighter than feh
sxiv doesn't come with a xinerama USE flag, so even if it does handle setting wallpapers I imagine it won't play nice with setting dual monitor wallpapers
sxiv can't change the root window. The creator of sxiv also alluded that he has no interest in adding that functionality either (which is perfectly in line with the quirky nature of the suckless people). So I guess you're stuck with feh. Although I could recommend using either imlibsetroot or esetroot which are really light and also can set your wallpaper.
in the arch wiki on sxiv wiki.archlinux.org/index.php/sxiv there is a guide to bind sxiv to make it generate a wallpaper with nitrogen, could easily do something similar
I used your your wallpaper repo to play with sxiv, and after some xclipping I have a question. Why do you pipe the filename to the clipboard buffer, why not to the primary (default) one? You have a lot of spaces in the filenames.
EDIT: Nevermind, you explained it in the end, I just gotta learn how to insert each line of the output as a variable. Great stuff! Do you know if there's any way to do stuff like appending two files together? I can see only $file in the config, so I assume the usage of $file is limited (you can't just use convert +append $file $file output.jpg, can you?). Would be nice if you could use $fileX, first file being whatever is shown first in thumbnail mode or something.
highly extensible is just an euphemism for 'supports bloating'
The true way
so bloated .. awokwowkowk
Like emacs
b l o a t
although st is very minimalistic, you can bloat it
"Angle brackets will rotate it by 50 degrees"
~ Luke Smith, 2019
"I haven't thought of a particular use for this yet, but I just know it's very useful"
~ Also Luke Smith, 2019
Do you guys have the full list of Luke Smith quote ?!
@@AhmedKhaled-sj1zx We should create one
@@alessandroceloria yess
Let's open a git repository ^^
@@heartlessalice5801 Good idea, we should also create a dmenu script with the most famous Luke Smith quotes and make a pull request to the larbs repo 😂
I never though I was going one day to watch a 11mn video about a basic image viewer, but this one is absolutely awesome.
2:01 "for example angled brackets will rotate it by 50 degrees"
My apologies, I think in base 18.
@@LukeSmithxyz flawless comeback :D
@@DetectiveAndrey Yes.
@@DetectiveAndrey 5 times X = 90... Solve for X and there's your mistic base
Base 18 is twice base 9, luke is human cirno confirmed
Hmm, .
You got emacs'd.
It's default, and unfortunately can't be changed to a different, shorter .
@D M Fuck emacs, vim master race
@@miyalys you can edit the config.h
“This will eternally switch it”
*4 secs later, back as it was before*
I use to spend time looking for programs like this, now I have you Luke, so I don't have to search any more.
So many years .. so many good videos. Luke Motivated me but you actually taught me how to use bash. Still so underrated. Make some cool high quality videos.. YOU deserve more. You are one of the best linux youtuber according to me.
@@surajkushwah3221 Wait till you learn about speedy more-posix-compliant-dash (jk, I too only realized how powerful pipes are when he introduced me to dmenu and suckless in general and other good-at-one-thing minimal programs)
I think I just found my new best image viewer. it's got a lot of features I need, but expected to be labeled as Bloat by suckless. I like how if you just specify a folder, it only takes files in that folder, but if you put the * at the end, it works recursively. Perfect for the kind of folders I'm going to be using it for.
I always pronounce it "six-four", since we have sx (six) and iv (four).
Or like 'excessive' without the 'e' at the beginning.
M. Otto more like esexcive.
sexyV sounds better.
Yes, but the question is... can i slideshow my favorite anime girls with this?
Slideshow mode with -S:
sxiv -f -S 3 waifus/*
The argument 3 is the seconds on each slide.
Remember: he doesn't condone anime. :^)
If you are already in sxiv opened with multiple images, you can press for example 3s to start the slideshow with 3 seconds of delay between images (or any other number of course)
sxiv -to waifus/* | sxiv -fi -S 3
If you're feeling picky that day
joke: watching luke smith to learn stuff
woke: watch luke smith for the meme surprises
I've been looking for essentially dmenu for images and when you said exactly that I cannot tell you how happy I was
Been using it since gobletu's video. Edit: Forgot to mention, you can't set background with sxiv but you can do it with imagemagic and the key handler e.g.:
display -size 1920x1200 -window root ~/images/wallpapers/Logh.jpg
I use sxiv with surf browser inside emacs to preview heavy weight sites.
I thought sxiv supported WID so you could set it as the root window on startup. This is what I did for mpv for a video wallpaper.
@@bitnatures Yeah, with "-e" although is not great. That´s another option if one doesn´t want a third party application to set the wallpaper or use something like imlibsetroot or hsetroot.
Thank you m8.
10:00 one use for the "dmenu-like" mode would perhaps be to "embed" images from your editor. the first case that comes to mind is email w/ mutt. the default attachment UI is perfectly fine for regular files but it isn't ideal for images. it defaults to creating a MIME attachment, but for html email you'd often want an inline embed. also, sxiv's interface for selecting/previewing images is probably better than your default file manager's (especially if you use a tui file manager, and especially especially if you don't have terminal framebuffer rendering set up). this isn't limited to email though, something like this could help any time you're writing some markup language in vim: LaTeX, markdown, html/xml.. in the latter case you could even automatically base64 encode the image so that it's truly embedded in the file instead of being a reference to another file.
Thanks, Luke! Been looking for a good alternative to feh for a while now, since it's kind of tedious to configure.
Hello Hello, Fake Linux user is here XD
Thank you for posting this. I immediately installed sxiv and started using. Right now I in the middle of a project that requires manual cropping of many images and feh was starting to drive me a little nuts. The keybindings of sxiv seems so natural and easy. Again thank you.
Allow to select images from the current directory (in this example, though it can be other directory name than ".", for sure) and create a tar.bz2 archive from the selected images in command line: sxiv -to . | tar cfvj /tmp/pictures.tar.bz2 -T - Note: I prefer "sxiv ." over "sxiv *.jpg" for example. The second one only considers files matching the *.jpg shell pattern, whole giving a directory name seems to allow sxiv to consider all kind of file names can be an image. And indeed, I can have different kind of images, like *.png, *.jpg, *.gif ....
This was exactly what I wanted: Vim key bindings, multiple images view and being able to pipe the file names. The other features are great too.
Only now I've started to understand the whole let's say vim conception in ranger, now in sxiv. I really love that! TVM Luke! You do a fantastic useful and powerful vids. And sorry for my English)
"50 degrees" - Luke Smith - Talking about rotating images 90 degrees
This is a great image viewer and your new monitor is amazing :DD
When you're in front of an audience your IQ drops by at least 30 points.
@@LukeSmithxyz 100% ture
@@LukeSmithxyz You meant 40. 😉
@@Echo-te1sf big brain 🧠 ✊
Using this "very useful feature" maybe you can create a script that will let you select images and then you will by prompted for example by dmenu that will ask for image-magick command that will be applied to every image, if don't what to specify raw command you can make dmenu to display some often used options for resizing, changing colors
Luke start make suckless programs dance together.
NOW I know why unix philosophy is awesome, and why suckless people make their programs like that....
I'm looking for luke use dwm in future, even if he do it on one of his old un-used thinkpad
well well well
@yarn rav hell yeah.
I see you are using vifm. I've switched over to vifm as well. A great file manager. There are even a couple of hacks that will get you icons in vifm similar to ranger, and a hack that will get w3m image previews to work.
Yeah I've played around with the w3m image previews, but they don't work very well at all on my terminal build. One of the reasons I started using sxiv is specifically to get the thumbnail view to replace the ranger functionality.
I don't know if you've tried using tabbed or another tab manager (I haven't gotten it working to my specifications), but you can have an instance of sxiv pop up in your vifm window, etc.
@@LukeSmithxyz use uberzug github.com/seebye/ueberzug . I always had problems with w3m image preview with ranger in st, but it works flawlessly now.
@@sharktamer Holly crap, what kind of sorcery is this one? nice.
@@sharktamer please explain how uberzug allows improved image previews in ranger via st
@@eklebanow nah
This is amazing. precisely what I needed for managing my wallpapers/memes, been stuck using bloated gui file explorers for far too long. Thanks for this!
Who needs images when we have text???
^ This guy gets it!
But why have text when we have Morse code!
Who needs text when we have raw binary?
@@pigboiii Who needs raw binary when we hav- oh wait
@@alessandroceloria raw electrical signals applied directly to your brain
At Derek Taylor's mention, I also have switched from ranger to vifm and as a result discovered sxiv. I have a custom command in vifm to open a selected set of image files in thumbnail mode. I like this just fine, although the ranger preview is pretty great.
if the selected picture is 'tree.png' in the home folder, $file will be './tree.png', and $fullpath in your implementation will be '~/./tree.png', which is a kinda useless string. I'd recommend to use ${file#./} when piping it to xclip, and fullpath to be $(pwd)/${file#./}
Been using sxiv for a while. Informative video, I didn't even know about the ctrl+x commands!
U could make a couple of manipulations on an input image with imagemagick, display the results in sxiv and then save the selected images. Experimenting with images is going to be a lot more productive😍
Have been using this for quite a while. Good image viewer.
9:55 that's really interesting.
2:00 "Angle brackets will rotate it by *fifty degrees* "
feh has those options too.
feh --montage will give you a thumbnail view
feh -A "command %f" for running commands on images
it's not even close to what you can do with sxiv
For the key-handeler script use 'read -r file' instead of 'read file'. Otherwise the script will not work as intended for any file with a backslash in it. Hello\.png will be treated as Hello.png
Also some shell autism: consider replacing $fullpath with "$PWD/$file". Running $(pwd) is somewhat expensive compared to $PWD.
Oh yeah I guess you're right about PWD. Although anyone who puts slashes in filenames seriously deserves the errors.
Due to lockdown, I have all of my exams online. And I have a usecase. I'm a CS student and I have to go through a bunch of exams where I have to write down math formulas.
So, using convert and sxiv i can easily build PDF from images I want.
Noice, thanks
Been using this since forever, surprised you just now started using it. Great program.
thanks luke. this is a great recommendation. now i can use this to convert image files to webp and move them to appropriate folder.
Select all images containing traffic lights...
7:43 is this the new best file manager - vifm? how is it compared to nnn and ranger?
Mouse: *exists*
Luke: We don't do that here
That is a very cool video. I'm very motivated right now to start rising my i3 config. Thank you, Luke!
A very badass way to view pictures.
It's that simple you gotta remember all the keyboard bindings and terminal commands.
Just git gud lol
You can run sxiv and select some images, and then have names of the selected images output to stdout and | pipe them to pywal to set the background image.
Image glass is also an open sourve lightweight image viewer comes with helping utilities
2:54 "Automate automatically" i guess animate
been using sxiv for a year, and i am very happy with it.
If anybody is looking for an easier name for this thing, you could interpret the name as a number in roman numerals. If you do that, you could refer to this image viewer simply as "7" if you wanted, because in roman numerals S is used as 1/2 (particularly in a pharmaceutical context) and XIV = 14, so 1/2 of 14 is 7. Of course, you could just use this idea for inspiration if the number 7 isn't unique enough for a name, you could call it "Half 14", or whatever.
In i3, or perhaps also in other WMs/DEs, the desktop wallpaper is just a root window of Xorg. There is a utility called "xsetbg" which can set the root window picture - set a wallpaper.
To set background you can use nitrogen or one of the *setroot programs.
I think that you can even set any window as the root window, so you could just use a fullscreen fit-to sxiv instance, but I don't remeber the name of the utility that does that
what is the difference between set background and set wallpaper?
A bit of a late comment, but one idea that I have for scripting with sxiv is a game menu.
Have a folder with only pictures of the games, a file that keeps track of what commands to use to launch the game, and a folder containing the games themselves.
You could then tell sxiv to pick an image, pipe the output to grep or something to find the matching name in the file, then pipe that as a command to start the game.
that would be great with youtube-dl.
there you go! a free idea!
how ?!
@@AhmedKhaled-sj1zx use dmenu to enter text to search for using youtube-dl getting the videos thumbnails and viewing them in sxiv. The user picks one and view it in youtube-viewer. You know, stuff like that. I think that one can build an entire youtube program in bash using dmenu, sxiv, youtube-dl, and youtube-viewer. Personally, I feel too lazy to do so but if someone does then I'll probably enjoy using it!
@@0xstev3 i think i remember reading something like that in the manual or it's just my imagination? If it's not there i remember using the TH-cam api and I'm pretty sure you can give it a search query and it will generate a nice json
Just thumbnails aren't that useful for "unknown" videos (like a sub feed or Recommended playlist). It would be nice if the thumbnail mode could display filenames underneath. Can it do that?
@@leves777 that is what imagemagick is used for
For the "dmenu" feature, for a slideshow wallpaper one could create a cronjob that sets the wallpaper to one of the files listed in a file, and then the user can select which images to put in that file using sxiv.
If you have a folder full of images you want to sort out and organize into other folders, you can have a custom command mvpics, and select the images with sxiv.
Looks good, I'll have to look into setting up a keybinding to open the current image in GIMP.
EDIT: found it in your key-handler file.
5:59 "Let's sed-eleven-queue it"
Haha!!
I'm going to borrow that.
Happy New Year, Luke 👍
yes that sxiv as a dmenu for images is awesome.
I think that "dmenu-style" behavior would be useful for a graphical launcher on, say, a touchscreen device. Read off the *.desktop files in the user's home directory to find the list of "icons", show by sxiv, and use the results to exec.
If anyone comes across this comment, use xwallpaper if you need a wallpaper and don't want feh. It's like a couple KB and it's in the Arch repos
your i3 setup is very clean and beautiful
"dab_pepe_nyan.gif"
anyway, dwm when?
Use esetroot for wallpaper. Comes in at 40k - uses imlib2 which is quite big but is the same library that sxiv uses.
sxiv as some sort of menu? Sounds like a perfect opportunity to use it with pywal or something. The thumbnail mode is way more comfy than a dmenu or rofi prompt.
I think I'm just going to call it "S-Fourteen" to make it easier to pronounce. I know they're not roman numerals, but it makes it easier to remember regardless.
After 4:30 I'm already convinced to use this now instead.
My previous image viewer didn't have this preview mode.
I am not too familiar with the terminal based image stacking program (for doing astrophotography) but I am sure that -tio option would be very useful for that. Does it handle raw image format, or would that have to be added?
You can run scripts on feh by using the action flag. Here is how I do it.
...
setsid feh -F -A "setBg %f" -B "black" -d --edit --keep-zoom-vp --start-at
...
Notice how I run my setBg script after the Action flag.
This lets me set a picture I like as my wallpaper by pressing 0/Enter as I am browsing through a directory of pictures.
Saying "eternally" instead of "permanently" is saying something about a man.
Or maybe it's just a Varg subscriber thing to do.
Hey Luke. I'm rewatching this video and it let me to think. Is there a patch to make the background of the viewer transparent? An alpha patch as it exists for st and dwm.
I'm not talking about the checkerboard for transparent areas on the pic, but the windows itself. Would be very cool!
Thanks for the content and stay safe!
try hsetroot is smaller then feh and just a background setter thats it
Luke, what do you think of stacking mode and tabbed mode on i3? I've never seen you use them on your videos.
Suckless software is really good because it doesn't try to be Unix. No. It tries to remedy the shitpile that is neo-unix by writing minimal and clean software that is inspired by the plan9 and unix ideas but it adds a bit of conveniency on top. They are of course minimal and pleasant to use because they ARE made to be used in the way Luke does in this video (unlike most programs)
You can do a script who uses the standard output with feh, xsetroot or anything similar to change the background by sending the filename and file path as arguments.
>dab_pepe_nyan.gif
Luke the type of niqqa to carefully name and catalog all his memes
Use for -tio function: Select thumbnail of a movie and play the associated movie. Like netflix only local.
What is the command to the greplike tool to use both the preview and the tree??? or how do u get sxiv with the tree???
And no, sxiv is not able to set the wallpaper on its own, but you could always use nitrogen and do the following:
# nitrogen --save --set-zoom-fill "/path/to/file.png"
I love the fit to heighth option
I am sure I saw your name in Casey Neistat note 9 giveaway.
Was it other Luke Smith? Or you declined it 😂
when u titled suckless, i thought this is one of the suckless.org project.
Luke, how many of the email you get during your videos are from India?
This is the one I switch to as well. Even works great in ranger.
Man you need to push your wallpapers folder
its on his github
@@DGener4ti0nX I know but he hasn't updated it since last year
@@jdegreefCrap. What I meant to say was year 2017. :)
Thanks again Luke!
9:55 rather than piping the files into something boring like ls, you could pipe a bunch of files into GIMP or some other image editor. I hate trying to find all the images I need in the floating filesystem window with no previews.
@Luke Smith why don't we just pronounce it as "S Fourteen" since XIV is 14? :)
that's great but another really good program that binds me to xorg. have you ever tried wayland btw? there are things like swaywm which is basically i3 for wayland.
automate automatically -Luke Smith
Oh, and also: alias o="xdg-open"
And of course, the correct mime types need to be assigned, but that's no biggie.
$ o *.jpg
Bam.
"The previoius one is copying, this one is moving" .. nope, both copying :D. I am your saviour, you may never noticed till your harddrive explodes
I'm sure you could hook thumbnail selection into ranger's file selection (and vice versa?).
I don't think sxiv is able to set X11 background. I don't think it would take that long to implement if someone had the time and skill. But I think its good to have a different program to set the background, It makes the image viewer that little bit less bloated, it is already much lighter than feh
Excellant video... btw what is the name of the wallpaper at the start of the video?
Do you share your amazing wallpapers anywhere?
The word "tío" means "dude" in Spanish, and hence I find the command in 9:21 hilarious
tio = uncle in portuguese
@@renatod.o.2930 In Spanish means "uncle" as well
sxiv doesn't come with a xinerama USE flag, so even if it does handle setting wallpapers I imagine it won't play nice with setting dual monitor wallpapers
sxiv can't change the root window. The creator of sxiv also alluded that he has no interest in adding that functionality either (which is perfectly in line with the quirky nature of the suckless people). So I guess you're stuck with feh. Although I could recommend using either imlibsetroot or esetroot which are really light and also can set your wallpaper.
in the arch wiki on sxiv wiki.archlinux.org/index.php/sxiv there is a guide to bind sxiv to make it generate a wallpaper with nitrogen, could easily do something similar
I used your your wallpaper repo to play with sxiv, and after some xclipping I have a question.
Why do you pipe the filename to the clipboard buffer, why not to the primary (default) one?
You have a lot of spaces in the filenames.
EDIT: Nevermind, you explained it in the end, I just gotta learn how to insert each line of the output as a variable. Great stuff!
Do you know if there's any way to do stuff like appending two files together? I can see only $file in the config, so I assume the usage of $file is limited (you can't just use convert +append $file $file output.jpg, can you?). Would be nice if you could use $fileX, first file being whatever is shown first in thumbnail mode or something.