Commit Graph

163 Commits

Author SHA1 Message Date
Siddharth Dushantha 4dd9bb7650
added todo 2020-03-25 21:06:48 +01:00
Siddharth Dushantha 3a18fde47c
fixed typo 2020-03-25 20:34:35 +01:00
Siddharth Dushantha 51cd567d7f
tell users to save script to ~/.local/bin 2020-03-23 11:16:01 +01:00
Siddharth Dushantha 804a440fd9
version bump 1.2.5 --> 1.2.6 2020-03-20 16:11:09 +01:00
Siddharth Dushantha 01dbabf5a1
use -z to check if a string is empty or not
Previously I used:
    [[ $STRING == "" ]] && do_something
To check if a string was empty or not, but this can be simplified a lot by writing:
    [ -z $STRING ] && do_something
2020-03-20 16:10:40 +01:00
Siddharth Dushantha 791f26fe54
made many of the if statements into a oneliner
These if statements would check before echoing some info if the user had used the --silent flag. If they did, it would not echo anything. These if statements have now been made into a oneliner because it is easier to read, and the file size is smaller.
2020-03-20 16:02:28 +01:00
Siddharth Dushantha 03e858fafd
Merge pull request #34 from Seirdy/chore/formatting
Chore: format using `shfmt`
2020-03-06 16:33:13 +01:00
Rohan Kumar 37069dc6a9
Chore: format using `shfmt`
Use [`shfmt`](https://github.com/mvdan/sh) to format kunst. Fixes the
remaining issues in #14.

No flags/customizations are needed; all have been added to
.editorconfig.
2020-03-06 07:27:30 -08:00
Siddharth Dushantha e03b872d27
version bump 1.2.4 --> 1.2.5 2020-03-04 21:11:26 +01:00
Siddharth Dushantha e5d047affe
Merge pull request #33 from Seirdy/fix/better-cover-file-discovery
Use better regex to find cover art
2020-03-01 12:38:20 +01:00
Rohan Kumar e3a60593cb
Cover file regex: file extension should be at EOL
File extensions (.png, .jpg, etc) should come at the end of the line.
mpDris2 also includes an EOL in its regex pattern: see line 108 in
491588a476/src/mpDris2.in.py (L108)
2020-03-01 01:45:14 -08:00
Rohan Kumar ebf47b8075
Use better regex to find cover art
Allow the cover filename to be preceeded by a track number, which
sometimes happens with certain programs and ripping setups.
2020-03-01 01:37:46 -08:00
Siddharth Dushantha 32a60f8d07
Merge pull request #32 from Seirdy/improvement/drop-imagemagick
Remove imagemagick dependency
2020-02-29 14:46:17 +01:00
Rohan Kumar 020aec34b0
Remove imagemagick dependency
Use FFmpeg to convert images, removing the need for imagemagick. FFmpeg
was already needed for cover art extraction.
2020-02-29 01:25:33 -08:00
Siddharth Dushantha a207ee23a5
Merge pull request #30 from Seirdy/fix/better-cover-file-discovery
Find more types of cover art files
2020-02-29 09:22:59 +01:00
Siddharth Dushantha 50be2ebeb7
Merge pull request #29 from Seirdy/feat/imv-on-wayland
Support imv image viewer
2020-02-29 09:22:32 +01:00
Siddharth Dushantha dc98871400
Merge pull request #31 from Seirdy/fix/https
Use HTTPS to fetch images
2020-02-29 09:21:32 +01:00
Rohan Kumar f9e929387e
Fix: don't call imv-msg if we're not using imv
Only call imv-msg to update the image if the image viewer is imv, not
sxiv.
2020-02-28 19:06:46 -08:00
Rohan Kumar b5c9811d3b
Use HTTPS to fetch images 2020-02-28 18:13:20 -08:00
Rohan Kumar 1dc2b932a1
Find more types of cover art files
Find cover art files with different names/extensions by matching the
same files as mpDris2.
2020-02-28 17:57:10 -08:00
Rohan Kumar 9258513fa9
Support imv image viewer
- Allow the user to tell kunst to use imv instead of sxiv via new flag
  `--viewer`
- If `--viewer` is not passed, prefer imv over sxiv in wayland sessions
- In sway sessions, use `swaymsg` to resize imv to preferred dimensions
2020-02-28 14:05:08 -08:00
Siddharth Dushantha d0477c0fcb minor changes 2020-01-29 15:02:24 +01:00
Siddharth Dushantha 26c1d1a2b6 replaced old gif with new one 2020-01-29 12:19:17 +01:00
Siddharth Dushantha 059102265c added better demo gif 2020-01-29 12:18:12 +01:00
Siddharth Dushantha b419c2d793
Removed AUR installation proccess
The AUR version has been outdated for a long time and I dont think the maintainer is going to
update it because their GitHub account does not exist anymore.
2020-01-25 12:56:11 +01:00
Siddharth Dushantha 1634755649
Merge pull request #28 from sdushantha/imgbot
[ImgBot] Optimize images
2020-01-22 07:03:13 +01:00
ImgBotApp 3f8a91e6ca
[ImgBot] Optimize images
/extra/kunst_logo.png -- 1.20kb -> 0.94kb (21.46%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-01-22 05:24:41 +00:00
Siddharth Dushantha 473427ead1
added mpd to dependencies 2019-12-27 12:03:21 +00:00
Siddharth Dushantha 051222148d
added mpd as dependency 2019-12-27 12:02:42 +00:00
Siddharth Dushantha 0f3e6ccb02
updated demo gif 2019-12-26 10:29:50 +01:00
Siddharth Dushantha 6f4949d72e
moved quote to bottom 2019-12-26 09:44:18 +01:00
Siddharth Dushantha c8a1c9fac9
The --> the 2019-10-16 11:40:21 +02:00
Siddharth Dushantha df51619bf3
Merge pull request #24 from TravonteD/position
Add the ability to set the windows position
2019-10-16 11:39:52 +02:00
TravonteD 3da911a6a0 add position to the top level help line 2019-10-15 07:01:37 -04:00
TravonteD a8a70a7eb9 add position to the README and phrase what it does better 2019-10-15 07:00:01 -04:00
TravonteD 7e09c522df add help for the position argument 2019-10-15 06:56:19 -04:00
TravonteD f584b99fb0 pass the position to sxiv on initialization 2019-10-14 08:28:04 -04:00
TravonteD eacde3a340 add "position to the command line argurments and environment variables 2019-10-14 08:27:37 -04:00
TravonteD 81879cf9ed set the default position to the what the window manager decides 2019-10-14 08:27:05 -04:00
Siddharth Dushantha 82346b178e
Merge pull request #23 from elenapan/fix_mpc_idle
only wake up when mpd is playing and not on other mpd events
2019-08-01 15:04:02 +02:00
elenapan a33beabe90 only wake up when mpd is playing and not on other mpd events 2019-08-01 13:35:07 +03:00
Siddharth Dushantha 35545ff025 removed some code that was used during debuging 2019-08-01 10:00:04 +02:00
Siddharth Dushantha c0521b045d added config into readme 2019-08-01 08:58:54 +02:00
Siddharth Dushantha f1ba66939b config through environment variables 2019-08-01 08:54:40 +02:00
Siddharth Dushantha 8e198f885e version bump 2019-07-31 19:40:51 +02:00
Siddharth Dushantha 175f5b011d dont show errors from imagemagick 2019-07-31 19:40:10 +02:00
Siddharth Dushantha e484693014
removed eyeD3 2019-06-02 15:28:11 +02:00
Siddharth Dushantha 79e81a4a0a
removed tagging files 2019-06-02 15:27:45 +02:00
Siddharth Dushantha 007c9eca20
Merge pull request #20 from DragonGhost7/master
fixed issue #19 caused by unproper music folder reference
2019-06-02 13:57:38 +02:00
DragonGhost7 88be88db75 fixed issue #19 caused by unproper music folder reference 2019-06-02 07:31:29 -04:00