Browse Source

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

master
SolitudeSF 3 months ago
parent
commit
f319c253dc
Signed by: SolitudeSF <solitudesf@protonmail.com> GPG Key ID: 789B06817C385387
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 @@
1
-#!/bin/sh
2
-n=1
3
-for arg; do
4
-	if [ -z "$n" ]; then
5
-		n=$arg
6
-	else case $arg in
7
-		-n) n="";;
8
-		*) dir=$arg;;
9
-	esac
10
-	fi
11
-done
12
-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 = []
185 185
 
186 186
 edit:completion:arg-completer[xbps-src] = [@cmd]{
187 187
   if (== (count $xbps-src-cmds) 0) {
188
-    @xbps-src-cmds = (xbps-src -h | take 122 | drop 4 | each [x]{ put (re:find &max=1 '^\w+(\-\w+)*' $x)[text] })
189
-    @xbps-src-arch = (xbps-src -h | take 155 | drop 129)[1:]
188
+    @xbps-src-cmds = (xbps-src -h | take 129 | drop 4 | each [x]{ put (re:find &max=1 '^\w+(\-\w+)*' $x)[text] })
189
+    @xbps-src-arch = (xbps-src -h | take 162 | drop 136)[1:]
190 190
   }
191 191
   if (eq $cmd[-2] '-a') {
192 192
     explode $xbps-src-arch

+ 2
- 2
kitty/kitty.conf View File

@@ -1,9 +1,9 @@
1 1
 include colors.conf
2 2
 
3 3
 font_family      Iosevka Term SS04
4
-italic_font      Iosevka Term SS04 Oblique
4
+italic_font      Iosevka Term SS04 Italic
5 5
 bold_font        Iosevka Term SS04 Bold
6
-bold_italic_font Iosevka Term SS04 Bold Oblique
6
+bold_italic_font Iosevka Term SS04 Bold Italic
7 7
 font_size 12.0
8 8
 
9 9
 adjust_line_height 0

+ 5
- 2
neofetch.sh View File

@@ -72,12 +72,15 @@ ascii_colors=(distro)
72 72
 ascii_bold=on
73 73
 
74 74
 image_backend=kitty
75
+crop_mode=none
75 76
 image_source=$(getmpdalbumart)
76
-[ -z "$image_source" ] && image_source=$(randfile "$(xdg-user-dir PICTURES)/anzu")
77
+if [ -z "$image_source" ]; then
78
+	image_source=$(randfile "$(xdg-user-dir PICTURES)/anzu")
79
+        crop_mode=fill
80
+fi
77 81
 image_loop=off
78 82
 thumbnail_dir="${XDG_CACHE_HOME:-$HOME/.cache}/thumbnails/neofetch"
79 83
 # none fit fill *
80
-crop_mode=fill
81 84
 # northwest north northeast west center
82 85
 # east southwest south southeast
83 86
 crop_offset=center

+ 33
- 0
ntr/contexts/nova View File

@@ -0,0 +1,33 @@
1
+meta
2
+  name*:  nova
3
+  author: trevordmiller
4
+  source: https://trevordmiller.com/projects/nova
5
+
6
+color
7
+  bg:     #3c4c55
8
+  fg:     #c5d4dd
9
+  cursor: #c5d4dd
10
+
11
+color0:   #3c4c55
12
+color8:   #899ba6
13
+
14
+color1:   #df8c8c
15
+color9:   #f2c38f
16
+
17
+color2:   #a8ce93
18
+color10:  #a8ce93
19
+
20
+color3:   #dada93
21
+color11:  #dada93
22
+
23
+color4:   #83afe5
24
+color12:  #83afe5
25
+
26
+color5:   #9a93e1
27
+color13:  #d18ec2
28
+
29
+color6:   #7fc1ca
30
+color14:  #7fc1ca
31
+
32
+color7:   #c5d4dd
33
+color15:  #e6eef3

+ 33
- 0
ntr/contexts/smyck View File

@@ -0,0 +1,33 @@
1
+meta
2
+  name*:  Smyck
3
+  author: hukl
4
+  source: http://color.smyck.org/
5
+
6
+color
7
+  bg:     #1d1f21
8
+  fg:     #c5c8c6
9
+  cursor: #c5c8c6
10
+
11
+color0:   #282a2e
12
+color8:   #373b41
13
+
14
+color1:   #a54242
15
+color9:   #cc6666
16
+
17
+color2:   #8c9440
18
+color10:  #b5bd68
19
+
20
+color3:   #de935f
21
+color11:  #f0c674
22
+
23
+color4:   #5f819d
24
+color12:  #81a2be
25
+
26
+color5:   #85678f
27
+color13:  #b294bb
28
+
29
+color6:   #5e8d87
30
+color14:  #8abeb7
31
+
32
+color7:   #707880
33
+color15:  #c5c8c6

+ 0
- 2
ntr/contexts/sweetlove View File

@@ -30,5 +30,3 @@ color14:  #585c49
30 30
 
31 31
 color7:   #c0b18b
32 32
 color15:  #978965
33
-
34
-wallpaper*: <{$HOME}>/pic/paintings/T6qdJcW.jpg

+ 1
- 1
ntr/templates/dunst View File

@@ -45,7 +45,7 @@ show_indicators = yes
45 45
 
46 46
 icon_position = left
47 47
 max_icon_size = 32
48
-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
48
+icon_path = <{$HOME}>/.icons/Paper/32x32/status/:<{$HOME}>/.icons/Paper/32x32/devices/:<{$HOME}>/.icons/Paper/32x32/apps/:<{$HOME}>/.icons/Paper/32x32/actions
49 49
 
50 50
 ### History ###
51 51
 

Loading…
Cancel
Save