aboutsummaryrefslogtreecommitdiff
path: root/scripts/scripts
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-07-22 03:34:08 +0100
committerAkshay <[email protected]>2020-07-22 03:34:08 +0100
commit51810b5c07e20982ebdf66f0bfb384c4bf55ad7d (patch)
treeb5120bfc9b0ca72c9293afb9ed6e2e632a811deb /scripts/scripts
squash again
Diffstat (limited to 'scripts/scripts')
-rwxr-xr-xscripts/scripts/2bws.sh40
-rwxr-xr-xscripts/scripts/bar.sh75
-rwxr-xr-xscripts/scripts/bat56
-rwxr-xr-xscripts/scripts/bluetooth.sh14
-rwxr-xr-xscripts/scripts/blur.sh25
-rwxr-xr-xscripts/scripts/cmusnp.sh45
-rwxr-xr-xscripts/scripts/date.sh4
-rwxr-xr-xscripts/scripts/doot53
-rwxr-xr-xscripts/scripts/draw.sh11
-rwxr-xr-xscripts/scripts/get_xres3
-rwxr-xr-xscripts/scripts/hidebars.sh23
-rwxr-xr-xscripts/scripts/img.sh32
-rwxr-xr-xscripts/scripts/music.sh16
-rwxr-xr-xscripts/scripts/netwrk.sh10
-rwxr-xr-xscripts/scripts/playpause.sh17
-rwxr-xr-xscripts/scripts/popups/cover.sh14
-rwxr-xr-xscripts/scripts/record23
-rwxr-xr-xscripts/scripts/restartbars.sh6
-rwxr-xr-xscripts/scripts/time.sh6
-rwxr-xr-xscripts/scripts/tmux-fzf.sh15
-rwxr-xr-xscripts/scripts/up20
-rwxr-xr-xscripts/scripts/url.sh4
-rwxr-xr-xscripts/scripts/vol21
-rwxr-xr-xscripts/scripts/wscycle.sh30
-rwxr-xr-xscripts/scripts/zatheme.sh37
25 files changed, 600 insertions, 0 deletions
diff --git a/scripts/scripts/2bws.sh b/scripts/scripts/2bws.sh
new file mode 100755
index 0000000..6f81baa
--- /dev/null
+++ b/scripts/scripts/2bws.sh
@@ -0,0 +1,40 @@
1#!/usr/bin/env bash
2# display workspace status
3# requires wmctrl
4
5# get the current workspace
6ws=$( xprop -root _NET_CURRENT_DESKTOP | sed -e 's/_NET_CURRENT_DESKTOP(CARDINAL) = //' )
7
8# icons
9CURRENT=●
10OCCUPIED=●
11UNOCCUPIED=·
12
13# colors
14current="$( ~/scripts/get_xres color5 )"
15occupied="$( ~/scripts/get_xres color8 )"
16unoccupied="$( ~/scripts/get_xres color8 )"
17
18# print workspaces to stdout
19draw() {
20 for i in {0..5}; do
21 # get the number of windows in each workspace
22 windows=$( wmctrl -l | cut -d ' ' -f3 | grep $i | wc -l )
23
24
25 if [[ $i -eq $ws ]]
26 then
27 # current workspace
28 echo -ne "%{F$current} $CURRENT "
29 else
30 if [[ $windows -eq 0 ]]
31 then
32 echo -ne "%{F$unoccupied} $UNOCCUPIED "
33 else
34 echo -ne "%{F$occupied} $OCCUPIED "
35 fi
36 fi
37 done
38}
39
40draw
diff --git a/scripts/scripts/bar.sh b/scripts/scripts/bar.sh
new file mode 100755
index 0000000..1903462
--- /dev/null
+++ b/scripts/scripts/bar.sh
@@ -0,0 +1,75 @@
1#! /usr/bin/env bash
2
3
4fg="$(get_xres color15)"
5fg_light="$(get_xres color10)"
6bg="$(get_xres color0)"
7# %{F$fg} $(date +%d/%m) %{F$fg_light} $(date +%Y)
8
9(while true; do echo -e "\n$(date +%H)\n$(date +%M)\n"; sleep 10; done) | dzen2 \
10 -e "onstart=uncollapse;" \
11 -fg "$fg" \
12 -bg "$fg_light" \
13 -tw 0 \
14 -l 3 \
15 -x 20 \
16 -y 600 \
17 -w 70 \
18 -h 30 \
19 -sa c \
20 -p &
21
22(echo -e "\n"; while true; do echo -e "$(bat -i)"; sleep 1; done )| dzen2 \
23 -e "onstart=uncollapse;" \
24 -fg "$fg" \
25 -bg "$fg_light" \
26 -tw 70 \
27 -l 4 \
28 -x 20 \
29 -y 500 \
30 -w 70 \
31 -h 15 \
32 -sa c \
33 -p &
34
35ws=$( xprop -root _NET_CURRENT_DESKTOP | sed -e 's/_NET_CURRENT_DESKTOP(CARDINAL) = //' )
36
37# colors
38current="$( ~/scripts/get_xres color5 )"
39occupied="$( ~/scripts/get_xres color8 )"
40unoccupied="$( ~/scripts/get_xres color8 )"
41
42# print workspaces to stdout
43draw() {
44 for i in {0..5}; do
45 # get the number of windows in each workspace
46 windows=$( wmctrl -l | cut -d ' ' -f3 | grep $i | wc -l )
47
48
49 if [[ $i -eq $ws ]]
50 then
51 # current workspace
52 echo -ne "^($current)O"
53 else
54 if [[ $windows -eq 0 ]]
55 then
56 echo -ne "^($unoccupied)o"
57 else
58 echo -ne "^($occupied)x"
59 fi
60 fi
61 done
62}
63
64# echo -e "\n\n$(draw)\n" | dzen2 \
65# -e "onstart=uncollapse;" \
66# -fg "$fg" \
67# -bg "$fg_light" \
68# -tw 70 \
69# -l 4 \
70# -x 20 \
71# -y 500 \
72# -w 70 \
73# -h 15 \
74# -sa c \
75# -p &
diff --git a/scripts/scripts/bat b/scripts/scripts/bat
new file mode 100755
index 0000000..6746d82
--- /dev/null
+++ b/scripts/scripts/bat
@@ -0,0 +1,56 @@
1#!/usr/bin/env bash
2
3red="\e[31m"
4grn="\e[32m"
5ylw="\e[33m"
6cyn="\e[36m"
7blu="\e[34m"
8prp="\e[35m"
9bprp="\e[35;1m"
10rst="\e[0m"
11
12icon="$( ~/scripts/get_xres color4 )"
13fg="$( ~/scripts/get_xres color8 )"
14
15bat_status=""
16bat_status=$( cat /sys/class/power_supply/BAT0/capacity )
17charging_status=$( cat /sys/class/power_supply/BAT0/status )
18
19health() {
20 for i in {0..4}
21 do
22 if [[ $i -le $(( $bat_status/20 )) ]]; then
23 echo -ne "#[fg=colour1]• "
24 else
25 echo -ne "#[fg=colour8]• "
26 fi
27 done
28 echo
29}
30
31bat_status_small() {
32 if [[ "$charging_status" = *Charging* ]]; then
33 echo -ne "+$bat_status%"
34 else
35 echo -ne "$bat_status%"
36 fi
37}
38
39[ -z "$1" ] && {
40 bat_status_small
41}
42
43while getopts qi options
44do
45 case $options in
46 i)
47 bat_status_small
48 ;;
49 q)
50 if [[ "$charging_status" = *Charging* ]]; then
51 echo -ne "+ $(health)"
52 else
53 health
54 fi
55 esac
56done
diff --git a/scripts/scripts/bluetooth.sh b/scripts/scripts/bluetooth.sh
new file mode 100755
index 0000000..85b7f08
--- /dev/null
+++ b/scripts/scripts/bluetooth.sh
@@ -0,0 +1,14 @@
1#!/usr/bin/env bash
2
3connections=$( hcitool con )
4devices=$( hcitool dev | wc -l )
5
6if [ $devices = 1 ]
7then
8 echo -n ""
9elif [[ $devices > 1 && $connections = "Connections:" ]]
10then
11 echo -n ""
12else
13 echo -n ""
14fi
diff --git a/scripts/scripts/blur.sh b/scripts/scripts/blur.sh
new file mode 100755
index 0000000..9349b03
--- /dev/null
+++ b/scripts/scripts/blur.sh
@@ -0,0 +1,25 @@
1#! /usr/bin/env bash
2
3state="unblurred"
4while :; do
5 current_workspace="$(xprop -root _NET_CURRENT_DESKTOP | awk '{print $3}')"
6 if [[ -n "$current_workspace" ]]; then
7 num_windows="$(echo "$(wmctrl -l)" | awk -F" " '{print $2}' | grep ^$current_workspace)"
8 if [ -n "$num_windows" ]; then
9 if [ "$state" != "blurred" ]; then
10 for i in {0..6}; do
11 feh --bg-fill ~/pics/blurs/busy"$i".jpg
12 done
13 fi
14 state="blurred"
15 else
16 if [ "$state" != "unblurred" ]; then
17 for i in $(seq 5 -1 0); do
18 feh --bg-fill ~/pics/blurs/busy"$i".jpg
19 done
20 feh --bg-fill ~/pics/blurs/busy.jpg
21 fi
22 state="unblurred"
23 fi
24 fi
25done
diff --git a/scripts/scripts/cmusnp.sh b/scripts/scripts/cmusnp.sh
new file mode 100755
index 0000000..b43c7e8
--- /dev/null
+++ b/scripts/scripts/cmusnp.sh
@@ -0,0 +1,45 @@
1#!/usr/bin/env bash
2# Display currently playing song from cmus
3# Requires cmus
4
5# colors
6active="$( ~/scripts/get_xres color7 )"
7inactive="$( ~/scripts/get_xres color7 )"
8
9np_string=""
10
11trunc() {
12 max_length=$1
13 text=$2
14 length=${#text}
15 (( length > max_length )) &&
16 text=${text::$(( max_length ))}...
17 echo "$text"
18}
19
20if pgrep -x "cmus" > /dev/null
21then
22 status=$( cmus-remote -Q | grep status\ | sed 's/status //' )
23 artist=$( cmus-remote -Q | grep tag\ artist\ | sed 's/tag artist //' )
24 title=$( cmus-remote -Q | grep tag\ title\ | sed 's/tag title //' )
25
26 np_string="$title - $artist"
27 np_string=$( trunc 35 "$np_string" )
28
29 spc=$(( $(( 32 - ${#np_string} ))/2 ))
30 spc="$( printf "%${spc}s" )"
31
32 if [[ "$status" = *playing* ]]
33 then
34 echo -ne "%{F#FF0000}%{F#FFFFFF}PAUSE"
35 elif [[ "$status" = *paused* ]]
36 then
37 echo -ne "PLAY"
38 elif [[ "$status" = *stopped* ]]
39 then
40 echo -ne "START"
41 fi
42
43else
44 echo
45fi
diff --git a/scripts/scripts/date.sh b/scripts/scripts/date.sh
new file mode 100755
index 0000000..f97bdc9
--- /dev/null
+++ b/scripts/scripts/date.sh
@@ -0,0 +1,4 @@
1#! /usr/bin/env bash
2
3month="$(date +%B)"
4printf "%s $(date +%e) $(date +%Y)" "${month^^}"
diff --git a/scripts/scripts/doot b/scripts/scripts/doot
new file mode 100755
index 0000000..defb363
--- /dev/null
+++ b/scripts/scripts/doot
@@ -0,0 +1,53 @@
1#!/usr/bin/env bash
2red="\e[31m"
3grn="\e[32m"
4ylw="\e[33m"
5cyn="\e[36m"
6blu="\e[34m"
7prp="\e[35m"
8bprp="\e[35;1m"
9gry="\e[94m"
10rst="\e[0m"
11
12COL=$(tput cols)
13ROW=$(tput lines)
14((PADY = ROW / 2 - 1 - ${#ENTS[@]} / 2))
15((PADX = COL / 2 - LEN / 2))
16
17for ((i = 0; i < PADX; ++i)); do
18 PADC="$PADC "
19done
20
21for ((i = 0; i < PADY; ++i)); do
22 PADR="$PADR\n"
23done
24clear
25printf "%b" "$PADR"
26
27echo -ne "$ylw$PADC"
28echo -e ' _/_'
29echo -n "$PADC"
30echo -n '/'
31echo -ne "$rst"
32echo -n '`▅_▅'\'''
33echo -ne "$ylw"
34echo '\'
35echo -n "$PADC"
36echo -n '\'
37echo -ne "$prp"
38echo -ne ' vwv '
39echo -ne "$ylw"
40echo -e '/'
41echo -n "$PADC"
42echo -n ' `---'\'''
43
44echo -e "$rst"
45
46for ((i = 0; i < PADX - 5; ++i)); do
47 PADT="$PADT "
48done
49
50echo "$PADT$USER @ $HOSTNAME"
51echo "$PADT$(uptime -p)"
52
53read x
diff --git a/scripts/scripts/draw.sh b/scripts/scripts/draw.sh
new file mode 100755
index 0000000..8e34904
--- /dev/null
+++ b/scripts/scripts/draw.sh
@@ -0,0 +1,11 @@
1#!/usr/bin/env bash
2# Spawn terminals interactively
3# Requires slop, urxvt
4
5read -r X Y W H < <(slop -f "%x %y %w %h" -b 4 -c 0.8,0.8,0.8,0.8 -t 0 )
6(( W /= 14 ))
7(( H /= 25 ))
8
9g=${W}x${H}+${X}+${Y}
10
11urxvtc -geometry $g
diff --git a/scripts/scripts/get_xres b/scripts/scripts/get_xres
new file mode 100755
index 0000000..9276ef4
--- /dev/null
+++ b/scripts/scripts/get_xres
@@ -0,0 +1,3 @@
1#!/usr/bin/env bash
2
3xrdb -query | grep -w $1 | awk '{print $2}'
diff --git a/scripts/scripts/hidebars.sh b/scripts/scripts/hidebars.sh
new file mode 100755
index 0000000..6f449d6
--- /dev/null
+++ b/scripts/scripts/hidebars.sh
@@ -0,0 +1,23 @@
1#!/usr/bin/env bash
2
3pkill n30f
4while getopts hs options
5do
6 case $options in
7 h) # hide
8 pkill -f polybar\ artist
9 pkill -f polybar\ track
10 pkill -f polybar\ album
11 ;;
12 s) # show
13 if pgrep -f polybar\ artist > /dev/null; then
14 ~/scripts/popups/cover.sh
15 else
16 polybar artist &
17 polybar track &
18 polybar album &
19 ~/scripts/popups/cover.sh
20 fi
21 ;;
22 esac
23done
diff --git a/scripts/scripts/img.sh b/scripts/scripts/img.sh
new file mode 100755
index 0000000..baea386
--- /dev/null
+++ b/scripts/scripts/img.sh
@@ -0,0 +1,32 @@
1#!/bin/bash
2
3# z3bra -- 2014-01-21
4# http://blog.z3bra.org/2014/01/images-in-terminal.html
5
6test -z "$1" && exit
7
8W3MIMGDISPLAY="/usr/lib/w3m/w3mimgdisplay"
9FILENAME=$1
10FONTH=14 # Size of one terminal row
11FONTW=8 # Size of one terminal column
12COLUMNS=`tput cols`
13LINES=`tput lines`
14
15read width height <<< `echo -e "5;$FILENAME" | $W3MIMGDISPLAY`
16
17max_width=$(($FONTW * $COLUMNS))
18max_height=$(($FONTH * $(($LINES - 2)))) # substract one line for prompt
19
20if test $width -gt $max_width; then
21height=$(($height * $max_width / $width))
22width=$max_width
23fi
24if test $height -gt $max_height; then
25width=$(($width * $max_height / $height))
26height=$max_height
27fi
28
29w3m_command="0;1;0;0;$width;$height;;;;;$FILENAME\n4;\n3;"
30
31tput cup $(($height/$FONTH)) 0
32echo -e $w3m_command|$W3MIMGDISPLAY
diff --git a/scripts/scripts/music.sh b/scripts/scripts/music.sh
new file mode 100755
index 0000000..1de3bc0
--- /dev/null
+++ b/scripts/scripts/music.sh
@@ -0,0 +1,16 @@
1#!/usr/bin/env bash
2
3while getopts abt options
4do
5 case $options in
6 a)
7 cmus-remote -Q | grep tag\ artist\ | sed 's/tag artist //'
8 ;;
9 b)
10 cmus-remote -Q | grep tag\ album\ | sed 's/tag album //'
11 ;;
12 t)
13 cmus-remote -Q | grep tag\ title\ | sed 's/tag title //'
14 ;;
15 esac
16done
diff --git a/scripts/scripts/netwrk.sh b/scripts/scripts/netwrk.sh
new file mode 100755
index 0000000..4fec3a5
--- /dev/null
+++ b/scripts/scripts/netwrk.sh
@@ -0,0 +1,10 @@
1#!/usr/bin/env bash
2
3status=$( nmcli | sed -n 1p | awk '{print $2}' )
4
5if [ $status = "connected" ]
6then
7 echo -n ''
8else
9 echo -n ''
10fi
diff --git a/scripts/scripts/playpause.sh b/scripts/scripts/playpause.sh
new file mode 100755
index 0000000..72ba0fb
--- /dev/null
+++ b/scripts/scripts/playpause.sh
@@ -0,0 +1,17 @@
1#!/usr/bin/env bash
2# Interactive polybar icon for music controls
3# Requires cmus
4
5if pgrep -x "cmus" > /dev/null
6then
7 status=$( cmus-remote -Q | grep status\ | sed 's/status //' )
8 if [[ "$status" == *playing* ]]; then
9 echo -ne " %{F$(get_xres color2)} "
10 elif [[ "$status" == *paused* ]]; then
11 echo -ne " %{F$(get_xres color2)} "
12 elif [[ "$status" == *stopped* ]]; then
13 echo -ne " %{F$(get_xres color2)} "
14 fi
15else
16 echo -ne "  "
17fi
diff --git a/scripts/scripts/popups/cover.sh b/scripts/scripts/popups/cover.sh
new file mode 100755
index 0000000..356e5ba
--- /dev/null
+++ b/scripts/scripts/popups/cover.sh
@@ -0,0 +1,14 @@
1#!/usr/bin/env bash
2
3folder=$( cmus-remote -Q | grep -w file | sed 's/file //' )
4cover=${folder%/*}/cover.png
5
6convert "$cover" -resize 200x200 ~/tmp/cover.png
7
8if pgrep n30f > /dev/null
9then
10 pkill n30f
11 n30f -x 20 -y 700 ~/tmp/cover.png -c "hidebars.sh -h" -d
12else
13 n30f -x 20 -y 700 ~/tmp/cover.png -c "hidebars.sh -h" -d
14fi
diff --git a/scripts/scripts/record b/scripts/scripts/record
new file mode 100755
index 0000000..bc59fb7
--- /dev/null
+++ b/scripts/scripts/record
@@ -0,0 +1,23 @@
1#!/bin/bash
2slop=$(slop -f "%x %y %w %h %g %i") || exit 1
3read -r X Y W H G ID < <(echo $slop)
4ffmpeg \
5 -f x11grab \
6 -s "$W"x"$H" \
7 -i :0.0+$X,$Y \
8 -f alsa \
9 -thread_queue_size 512 \
10 -ac 2 \
11 -ar 48000 \
12 -i hw:0 \
13 -framerate 60 \
14 -vcodec libx264 \
15 -threads 4 \
16 -y \
17 "$HOME"/tmp/x.mkv
18
19ffmpeg \
20 -i "$HOME"/tmp/x.mkv \
21 -pix_fmt yuv420p \
22 -vf scale=-2:1080 \
23 "/home/np/vids/rec/$1"
diff --git a/scripts/scripts/restartbars.sh b/scripts/scripts/restartbars.sh
new file mode 100755
index 0000000..44d339f
--- /dev/null
+++ b/scripts/scripts/restartbars.sh
@@ -0,0 +1,6 @@
1#!/usr/bin/env bash
2
3pkill polybar
4polybar time &
5polybar date &
6polybar music &
diff --git a/scripts/scripts/time.sh b/scripts/scripts/time.sh
new file mode 100755
index 0000000..66b0fbe
--- /dev/null
+++ b/scripts/scripts/time.sh
@@ -0,0 +1,6 @@
1#!/usr/bin/env bash
2
3fg="$(get_xres color15)"
4fg_light="$(get_xres color8)"
5# %{F$fg} $(date +%d/%m) %{F$fg_light} $(date +%Y)
6echo -ne "$(date +%p) $(date +%I:%M)"
diff --git a/scripts/scripts/tmux-fzf.sh b/scripts/scripts/tmux-fzf.sh
new file mode 100755
index 0000000..9caa7ea
--- /dev/null
+++ b/scripts/scripts/tmux-fzf.sh
@@ -0,0 +1,15 @@
1#! /usr/bin/env bash
2
3function __fzf() {
4 fzf --cycle --height 7 --reverse
5}
6
7function __list_to_fzf() {
8 tmux ls -F "#{session_name}" | __fzf
9}
10
11if [ -n "$TMUX" ]; then
12 tmux switch-client -t "$(__list_to_fzf)"
13else
14 tmux a -dt "$(tmux ls -F "#{session_name}" | __fzf)"
15fi
diff --git a/scripts/scripts/up b/scripts/scripts/up
new file mode 100755
index 0000000..6b9ece4
--- /dev/null
+++ b/scripts/scripts/up
@@ -0,0 +1,20 @@
1#!/usr/bin/env bash
2
3id=$( cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 2 | head -n 1 )
4
5if [ $# != 1 ]; then
6 echo "needs an arg"
7else
8 if [ -f "$1" ]; then
9 ext="${1##*.}"
10 id="$id.$ext"
11 scp -P 22222 "$1" ferrn:~/www/nerd/uploads/"$id"
12 echo "https://u.peppe.rs/$id"
13 if hash xclip 2> /dev/null; then
14 echo "https://u.peppe.rs/$id" | xclip -selection clipboard
15 echo "https://u.peppe.rs/$id" | xclip -i
16 fi
17 else
18 echo "file does not exist"
19 fi
20fi
diff --git a/scripts/scripts/url.sh b/scripts/scripts/url.sh
new file mode 100755
index 0000000..6b3264d
--- /dev/null
+++ b/scripts/scripts/url.sh
@@ -0,0 +1,4 @@
1#! /usr/bin/env bash
2
3echo "$1" | xclip -i
4echo "$1" | xclip -sel c
diff --git a/scripts/scripts/vol b/scripts/scripts/vol
new file mode 100755
index 0000000..8ed96da
--- /dev/null
+++ b/scripts/scripts/vol
@@ -0,0 +1,21 @@
1#!/usr/bin/env bash
2
3fg="$( ~/scripts/get_xres color7 )"
4icon="$( ~/scripts/get_xres color2 )"
5
6while getopts idq options
7do
8 case $options in
9 i)
10 amixer sset Master 2%+
11 ;;
12
13 d)
14 amixer sset Master 2%-
15 ;;
16 q)
17 cur_vol=$( amixer sget Master | awk -F"[][]" '/dB/ { print $2 }' )
18 echo " %{F$fg}$cur_vol"
19 ;;
20 esac
21done
diff --git a/scripts/scripts/wscycle.sh b/scripts/scripts/wscycle.sh
new file mode 100755
index 0000000..7ea608d
--- /dev/null
+++ b/scripts/scripts/wscycle.sh
@@ -0,0 +1,30 @@
1#!/usr/bin/env bash
2# cycle through workspaces
3
4# get the current ws
5ws=$( xprop -root _NET_CURRENT_DESKTOP | sed -e 's/_NET_CURRENT_DESKTOP(CARDINAL) = //' )
6total=5
7
8while getopts fr options
9do
10 case $options in
11 f)
12 if [[ $ws -eq $total ]]
13 then
14 wmctrl -s 0
15 else
16 ws=$(( $ws + 1 ))
17 wmctrl -s $ws
18 fi
19 ;;
20 r)
21 if [[ $ws -eq 0 ]]
22 then
23 wmctrl -s $total
24 else
25 ws=$(( $ws - 1 ))
26 wmctrl -s $ws
27 fi
28 ;;
29 esac
30done
diff --git a/scripts/scripts/zatheme.sh b/scripts/scripts/zatheme.sh
new file mode 100755
index 0000000..4cda119
--- /dev/null
+++ b/scripts/scripts/zatheme.sh
@@ -0,0 +1,37 @@
1#!/usr/bin/env bash
2
3
4echo 'set incremental-search true
5
6set recolor "true"
7
8set default-bg "'$( get_xres color0 )'"
9set default-fg "'$( get_xres color7 )'"
10
11set completion-bg "'$( get_xres color0 )'"
12set completion-fg "'$( get_xres color7 )'"
13set completion-highlight-bg "'$( get_xres color5 )'"
14set completion-highlight-fg "'$( get_xres color7 )'"
15
16set statusbar-bg "'$( get_xres color0 )'"
17set statusbar-fg "'$( get_xres color7 )'"
18
19set inputbar-bg "'$( get_xres color0 )'"
20set inputbar-fg "'$( get_xres color7 )'"
21
22set recolor-darkcolor "'$( get_xres color7 )'"
23set recolor-lightcolor "'$( get_xres color0 )'"
24
25set window-height "800"
26set window-width "600"
27
28set adjust-open "width"
29set smooth-scroll true
30set statusbar-home-tilde "true"
31set statusbar-h-padding "50"
32set statusbar-v-padding "50"
33set guioptions "s"
34
35set font "Input 10"
36
37' > ~/.config/zathura/zathurarc