aboutsummaryrefslogtreecommitdiffstats
path: root/.config/init
diff options
context:
space:
mode:
Diffstat (limited to '.config/init')
-rwxr-xr-x.config/init/funcs/srcopen4
-rw-r--r--.config/init/gen/cava.sh14
-rw-r--r--.config/init/gen/dunstrc.sh2
3 files changed, 18 insertions, 2 deletions
diff --git a/.config/init/funcs/srcopen b/.config/init/funcs/srcopen
index f4bd773..46fec5f 100755
--- a/.config/init/funcs/srcopen
+++ b/.config/init/funcs/srcopen
@@ -21,9 +21,11 @@ search_map=(
"elixir" "\.(ex|exs)"
"go" "\.go"
"html" "\.(html|xhtml)"
+ "lua" "\.lua"
"markdown" "\.md"
"ocaml" "\.(ml|mli)"
- "js" "\.js"
+ "js" "\.(js|jsx)"
+ "shell" "\.sh"
"tex" "\.tex"
"vim" "\.vim"
)
diff --git a/.config/init/gen/cava.sh b/.config/init/gen/cava.sh
new file mode 100644
index 0000000..42efe1b
--- /dev/null
+++ b/.config/init/gen/cava.sh
@@ -0,0 +1,14 @@
+echo "\
+[input]
+method = pulse
+source = auto
+
+[color]
+gradient = 1
+gradient_color_1 = '$std_blue'
+gradient_color_2 = '$std_cyan'
+gradient_color_3 = '$std_green'
+gradient_color_4 = '$std_yellow'
+gradient_color_5 = '$std_red'
+gradient_color_6 = '$std_magenta'
+" > $tmpdir/cava
diff --git a/.config/init/gen/dunstrc.sh b/.config/init/gen/dunstrc.sh
index 99a7993..d436954 100644
--- a/.config/init/gen/dunstrc.sh
+++ b/.config/init/gen/dunstrc.sh
@@ -5,7 +5,7 @@ echo "\
width = (0, 1000)
# height = 300
origin = top-right
- offset = 4x$(($bheight + 4))
+ offset = (4, $(($bheight + 4)))
scale = 0
notification_limit = 0
progress_bar = true