Browse Source

smyck, nova themes. Fix xbps-src completers. randfile reimplemented in dotutils.

master
SolitudeSF 5 months ago
parent
commit
f319c253dc
No known key found for this signature in database
8 changed files with 76 additions and 21 deletions
  1. 0
    12
      bin/randfile
  2. 2
    2
      elvish/lib/completers.elv
  3. 2
    2
      kitty/kitty.conf
  4. 5
    2
      neofetch.sh
  5. 33
    0
      ntr/contexts/nova
  6. 33
    0
      ntr/contexts/smyck
  7. 0
    2
      ntr/contexts/sweetlove
  8. 1
    1
      ntr/templates/dunst

+ 0
- 12
bin/randfile View File

@@ -1,12 +0,0 @@
#!/bin/sh
n=1
for arg; do
if [ -z "$n" ]; then
n=$arg
else case $arg in
-n) n="";;
*) dir=$arg;;
esac
fi
done
fd -I -d 1 -t f -t l . "${dir:-}" | shuf -n "$n"

+ 2
- 2
elvish/lib/completers.elv View File

@@ -185,8 +185,8 @@ xbps-src-arch = []

edit:completion:arg-completer[xbps-src] = [@cmd]{
if (== (count $xbps-src-cmds) 0) {
@xbps-src-cmds = (xbps-src -h | take 122 | drop 4 | each [x]{ put (re:find &max=1 '^\w+(\-\w+)*' $x)[text] })
@xbps-src-arch = (xbps-src -h | take 155 | drop 129)[1:]
@xbps-src-cmds = (xbps-src -h | take 129 | drop 4 | each [x]{ put (re:find &max=1 '^\w+(\-\w+)*' $x)[text] })
@xbps-src-arch = (xbps-src -h | take 162 | drop 136)[1:]
}
if (eq $cmd[-2] '-a') {
explode $xbps-src-arch

+ 2
- 2
kitty/kitty.conf View File

@@ -1,9 +1,9 @@
include colors.conf

font_family Iosevka Term SS04
italic_font Iosevka Term SS04 Oblique
italic_font Iosevka Term SS04 Italic
bold_font Iosevka Term SS04 Bold
bold_italic_font Iosevka Term SS04 Bold Oblique
bold_italic_font Iosevka Term SS04 Bold Italic
font_size 12.0

adjust_line_height 0

+ 5
- 2
neofetch.sh View File

@@ -72,12 +72,15 @@ ascii_colors=(distro)
ascii_bold=on

image_backend=kitty
crop_mode=none
image_source=$(getmpdalbumart)
[ -z "$image_source" ] && image_source=$(randfile "$(xdg-user-dir PICTURES)/anzu")
if [ -z "$image_source" ]; then
image_source=$(randfile "$(xdg-user-dir PICTURES)/anzu")
crop_mode=fill
fi
image_loop=off
thumbnail_dir="${XDG_CACHE_HOME:-$HOME/.cache}/thumbnails/neofetch"
# none fit fill *
crop_mode=fill
# northwest north northeast west center
# east southwest south southeast
crop_offset=center

+ 33
- 0
ntr/contexts/nova View File

@@ -0,0 +1,33 @@
meta
name*: nova
author: trevordmiller
source: https://trevordmiller.com/projects/nova

color
bg: #3c4c55
fg: #c5d4dd
cursor: #c5d4dd

color0: #3c4c55
color8: #899ba6

color1: #df8c8c
color9: #f2c38f

color2: #a8ce93
color10: #a8ce93

color3: #dada93
color11: #dada93

color4: #83afe5
color12: #83afe5

color5: #9a93e1
color13: #d18ec2

color6: #7fc1ca
color14: #7fc1ca

color7: #c5d4dd
color15: #e6eef3

+ 33
- 0
ntr/contexts/smyck View File

@@ -0,0 +1,33 @@
meta
name*: Smyck
author: hukl
source: http://color.smyck.org/

color
bg: #1d1f21
fg: #c5c8c6
cursor: #c5c8c6

color0: #282a2e
color8: #373b41

color1: #a54242
color9: #cc6666

color2: #8c9440
color10: #b5bd68

color3: #de935f
color11: #f0c674

color4: #5f819d
color12: #81a2be

color5: #85678f
color13: #b294bb

color6: #5e8d87
color14: #8abeb7

color7: #707880
color15: #c5c8c6

+ 0
- 2
ntr/contexts/sweetlove View File

@@ -30,5 +30,3 @@ color14: #585c49

color7: #c0b18b
color15: #978965

wallpaper*: <{$HOME}>/pic/paintings/T6qdJcW.jpg

+ 1
- 1
ntr/templates/dunst View File

@@ -45,7 +45,7 @@ show_indicators = yes

icon_position = left
max_icon_size = 32
icon_path = /home/solitude/.icons/Paper/32x32/status/:/home/solitude/.icons/Paper/32x32/devices/:/home/solitude/.icons/Paper/32x32/apps/:/home/solitude/.icons/Paper/32x32/actions
icon_path = <{$HOME}>/.icons/Paper/32x32/status/:<{$HOME}>/.icons/Paper/32x32/devices/:<{$HOME}>/.icons/Paper/32x32/apps/:<{$HOME}>/.icons/Paper/32x32/actions

### History ###


Loading…
Cancel
Save