commit 41daf33
chld
·
2026-08-21 00:17:21 +0000 UTC
parent 41daf33
GO!
63 files changed,
+1644,
-0
+63,
-0
1@@ -0,0 +1,63 @@
2+! *font: xft:Fixed:size=8
3+xterm.*.font: xft:Tamsynmod:size=9
4+*.metaSendsEscape: true
5+! *local: true
6+URxvt.rewrapMode: never
7+URxvt.colorBDMode: false
8+URxvt.intensityStyles: false
9+*scrollBar: true
10+*scrollstyle: xterm
11+*resizeByPixel: true
12+*scrollbar*background: #1d2021
13+*scrollbar*foreground: #282828
14+*scrollbar*thumb: /mastergooner/t.xbm
15+*scrollBarBorder: 0
16+*internalBorder: 0
17+*keysym.Button2: builtin-string:""
18+
19+URxvt.iso14755: false
20+URxvt.iso14755_52: false
21+URxvt.keysym.Shift-Control-C: eval:selection_to_clipboard
22+URxvt.keysym.Shift-Control-V: eval:paste_clipboard
23+
24+! -----------------------------------------------------------------------------
25+! File: gruvbox-dark.xresources
26+! Description: Retro groove colorscheme generalized
27+! Author: morhetz <morhetz@gmail.com>
28+! Source: https://github.com/morhetz/gruvbox-generalized
29+! Last Modified: 6 Sep 2014
30+! -----------------------------------------------------------------------------
31+
32+! hard contrast: *background: #1d2021
33+*background: #282828
34+! soft contrast: *background: #32302f
35+*foreground: #ebdbb2
36+! Black + DarkGrey
37+*color0: #282828
38+*color8: #928374
39+! DarkRed + Red
40+*color1: #cc241d
41+*color9: #fb4934
42+! DarkGreen + Green
43+*color2: #98971a
44+*color10: #b8bb26
45+! DarkYellow + Yellow
46+*color3: #d79921
47+*color11: #fabd2f
48+! DarkBlue + Blue
49+*color4: #458588
50+*color12: #83a598
51+! DarkMagenta + Magenta
52+*color5: #b16286
53+*color13: #d3869b
54+! DarkCyan + Cyan
55+*color6: #689d6a
56+*color14: #8ec07c
57+! LightGrey + White
58+*color7: #a89984
59+*color15: #ebdbb2
60+
61+*VT100.Translations: #override \
62+ Shift Ctrl<Key>V: insert-selection(CLIPBOARD) \n\
63+ Shift Ctrl<Key>C: copy-selection(CLIPBOARD)
64+
+22,
-0
1@@ -0,0 +1,22 @@
2+#!/bin/bash
3+
4+
5+# Set decoration geometry
6+berryc border_width 1
7+berryc inner_border_width 9
8+berryc title_height 0
9+berryc top_gap 0
10+
11+# Set decoration colors
12+berryc focus_color 333333
13+berryc unfocus_color 333333
14+berryc inner_focus_color 000000
15+berryc inner_unfocus_color 111111
16+berryc text_focus_color ffffff
17+berryc text_unfocus_color eeeeee
18+
19+# Other options
20+berryc smart_place "true"
21+berryc draw_text "true"
22+berryc edge_lock "false"
23+berryc set_font "Dina-9"
+55,
-0
1@@ -0,0 +1,55 @@
2+#
3+# wm independent hotkeys
4+#
5+
6+# terminal emulator
7+super + shift + r
8+ sh $HOME/.config/berry/autostart
9+
10+# program launcher
11+super + d
12+ xl_run
13+
14+super + r
15+ rofi -theme config.rasi -show run
16+
17+# make sxhkd reload its configuration files:
18+super + Escape
19+ pkill -USR1 -x sxhkd
20+
21+#
22+# berry hotkeys
23+#
24+
25+super + {h, j, k, l}
26+ berryc window_move {-50 0, 0 50, 0 -50, 50 0}
27+
28+super + shift + {h, j, k, l}
29+ berryc window_resize {-50 0, 0 50, 0 -50, 50 0}
30+
31+super + {1-9}
32+ berryc switch_workspace {0-9}
33+
34+super + shift + {1-9}
35+ berryc send_to_workspace {0-9}
36+
37+super + m
38+ berryc window_monocle
39+
40+super + f
41+ berryc fullscreen
42+
43+super + p
44+ berryc snap_right
45+
46+super + o
47+ berryc snap_left
48+
49+super + n
50+ berryc toggle_decorations
51+
52+super + Tab
53+ berryc cycle_focus
54+
55+~button1
56+ berryc pointer_focus
A
bin/0x0
+72,
-0
1@@ -0,0 +1,72 @@
2+#!/bin/sh -e
3+
4+storefile="${XDG_CACHE_HOME:-"$HOME/.cache"}/0x0"
5+host="https://f.9larp.net/"
6+cr="$(printf '\r')"
7+
8+usage() {
9+ cat >&2 <<-EOF
10+ usage: 0x0 [-s] [-e expire] file|url
11+ 0x0 [-d|-e expire|-t token] url
12+ 0x0 -h url
13+ 0x0
14+ EOF
15+ exit "${1:-0}"
16+}
17+
18+while getopts de:t:hs arg; do case $arg in
19+ d) delete=1 ;;
20+ e) expire="$OPTARG" ;;
21+ t) token="$OPTARG" ;;
22+ h) shorten=1 ;;
23+ s) secret=1 ;;
24+ ?) usage 1 ;;
25+ *) usage ;;
26+esac; done
27+shift "$((OPTIND-1))"
28+
29+[ "$#" = "1" ] || { cat "$storefile"; exit 0; }
30+
31+case "$1" in
32+ "$host"*)
33+ if [ "$shorten" ]; then
34+ shorten="$1"
35+ elif [ "$delete" ] || [ "$expire" ]; then
36+ host="$1"
37+ else
38+ url="$1"
39+ fi
40+ ;;
41+ http[s]://*) url="$1" ;;
42+ *) file="$1" ;;
43+esac
44+
45+# To read the 0x0 output and the debug output
46+# together requires hacks such as line prefixes to
47+# indicate which line is debug and output.
48+# Temporary files are unfortunately used for this cause.
49+dbg="$(mktemp)"
50+trap 'rm -f -- "$dbg"' INT TERM HUP EXIT
51+
52+resp="$(
53+ curl "$host" -f# -D"$dbg" \
54+ ${file:+-F"file=@$file"} \
55+ ${url:+-F"url=$url"} \
56+ ${shorten:+-Fshorten="$shorten"} \
57+ ${secret:+-Fsecret=""} \
58+ ${delete:+-Fdelete=""} \
59+ ${token:+-Ftoken="$token"} \
60+ ${expire:+-Fexpires="$expire"}
61+)"
62+
63+while IFS=': ' read -r k v; do case "$k" in
64+ "X-Token"|"x-token") resp_token="${v%%"$cr"}" ;;
65+ "X-Expires"|"x-expires") resp_expires="${v%%"$cr"}" ;;
66+esac; done < "$dbg"
67+
68+[ "$resp_token" ] &&
69+ echo "$resp_expires $resp_token $file $resp" >> "$storefile"
70+[ "$delete" ] && exit 0
71+
72+echo "$resp"|wl-copy
73+
+4,
-0
1@@ -0,0 +1,4 @@
2+#!/bin/sh -u
3+
4+/sbin/sysctl -w hw.acpi.acpiout15.brightness=$1
5+#echo $1 > /sys/class/backlight/acpi_video0/brightness
A
bin/bar
+6,
-0
1@@ -0,0 +1,6 @@
2+#!/bin/sh
3+
4+while true; do
5+ date '+%H:%M %Y-%m-%d'
6+ sleep 60
7+done | lemonbar -g 130x16 -f "PxPlus IBM VGA 8x16" -B '#f0f0f0' -F '#000000'
A
bin/bar2
+5,
-0
1@@ -0,0 +1,5 @@
2+#!/bin/sh
3+
4+while true; do
5+ sleep 120
6+done | lemonbar -g 134x20 -f "PxPlus IBM VGA 8x16" -B '#9eeeee'
A
bin/bt
+3,
-0
1@@ -0,0 +1,3 @@
2+#!/bin/sh
3+#envstat -d acpibat0|grep 'charge:'|rs 7|grep ')'|sed 's/)//'|sed 's/(//'
4+cat /sys/class/power_supply/BAT1/status|tr -d '\n';printf ' '; cat /sys/class/power_supply/BAT1/capacity|tr -d '\n';printf '%%\n'
+0,
-0
+3,
-0
1@@ -0,0 +1,3 @@
2+#!/bin/sh
3+token='MTQ0MjYwNjgyMzc1MTU0OTA1MA.GkhkrX.c7QcEQeLosZ8P6-vD0Mv4cEPBZgPpiPjJmWE74'
4+DISCORDO_TOKEN=$token discordo
A
bin/fcg
+37,
-0
1@@ -0,0 +1,37 @@
2+#!/usr/bin/env -S guile --no-auto-compile
3+!#
4+(use-modules (ice-9 popen)
5+ (ice-9 rdelim)
6+ (srfi srfi-1))
7+
8+(define str
9+ (if (> (length (command-line)) 1)
10+ (cadr (command-line))
11+ "pwn"
12+ ))
13+
14+(define (system-output . a)
15+ (let* ((p (apply open-pipe* OPEN_READ a))
16+ (s (read-string p)))
17+ (close-pipe p)s))
18+
19+(define f (string-split (system-output "fc-list") #\newline))
20+(let main ((i 0))
21+ (when (< i (length f))
22+ (when (>= (length (string-split (list-ref f i) #\:)) 3)
23+ (begin
24+ (let parse ((o 0))
25+ (when (not (= o (string-length str)))
26+ (case (string-ref str o)
27+ ((#\p) (format #t "~a" (cadr (string-split (list-ref f i) #\:)))
28+ (when (and (< (+ o 1) (string-length str))
29+ (char=? (string-ref str (+ o 1)) #\w)
30+ )
31+ (format #t " ")
32+ ))
33+ ((#\w) (format #t "(~a)"
34+ (last (string-split (car (string-split (list-ref f i) #\:)) #\.)))
35+ )
36+ ((#\n) (newline))
37+ ) (parse (+ o 1)))
38+ ))) (main (+ i 1))))
A
bin/fehs
+2,
-0
1@@ -0,0 +1,2 @@
2+#!/bin/sh -eu
3+wget $1 -O -|swayimg -
+2,
-0
1@@ -0,0 +1,2 @@
2+#!/bin/sh -eu
3+ffmpeg -i $1 -i "$2" -map 0:v:0 -map 1:a:0 -c:v copy -c:a aac -shortest $3
+10,
-0
1@@ -0,0 +1,10 @@
2+#!/bin/sh
3+
4+ffmpeg \
5+ -y \
6+ -i $1 \
7+ -crf 25 \
8+ -preset slow \
9+ -b:a 128k \
10+ Comp$1
11+
+9,
-0
1@@ -0,0 +1,9 @@
2+#!/bin/sh -eu
3+
4+{
5+ffmpeg \
6+ -y \
7+ -i $1 \
8+ -vf hue=s=0 \
9+ -i New$1
10+} && mv -f New$1 $1
+23,
-0
1@@ -0,0 +1,23 @@
2+#!/bin/sh
3+
4+ffmpeg -i "$1" -filter_complex "
5+color=c=#282828:s=1x1:d=1[p0];
6+color=c=#3c3836:s=1x1:d=1[p1];
7+color=c=#504945:s=1x1:d=1[p2];
8+color=c=#665c54:s=1x1:d=1[p3];
9+color=c=#fbf1c7:s=1x1:d=1[p4];
10+color=c=#ebdbb2:s=1x1:d=1[p5];
11+color=c=#d5c4a1:s=1x1:d=1[p6];
12+color=c=#bdae93:s=1x1:d=1[p7];
13+color=c=#cc241d:s=1x1:d=1[p8];
14+color=c=#98971a:s=1x1:d=1[p9];
15+color=c=#d79921:s=1x1:d=1[p10];
16+color=c=#458588:s=1x1:d=1[p11];
17+color=c=#b16286:s=1x1:d=1[p12];
18+color=c=#689d6a:s=1x1:d=1[p13];
19+color=c=#d65d0e:s=1x1:d=1[p14];
20+color=c=#928374:s=1x1:d=1[p15];
21+[p0][p1][p2][p3][p4][p5][p6][p7][p8][p9][p10][p11][p12][p13][p14][p15]
22+hstack=inputs=16[palette];
23+[0:v][palette]paletteuse=dither=sierra2_4a
24+" $2
+34,
-0
1@@ -0,0 +1,34 @@
2+#!/bin/sh -eu
3+set -x
4+
5+python3 - <<'PY'
6+colors = [
7+ (40, 40, 40), # bg0 #282828
8+ (60, 56, 54), # bg1 #3c3836
9+ (80, 73, 69), # bg2 #504945
10+ (102, 92, 84), # bg3 #665c54
11+ (251, 241, 199), # fg0 #fbf1c7
12+ (235, 219, 178), # fg1 #ebdbb2
13+ (213, 196, 161), # fg2 #d5c4a1
14+ (189, 174, 147), # fg3 #bdae93
15+ (204, 36, 29), # red
16+ (152, 151, 26), # green
17+ (215, 153, 33), # yellow
18+ (69, 133, 136), # blue
19+ (177, 98, 134), # purple
20+ (104, 157, 106), # aqua
21+ (214, 93, 14), # orange
22+ (146, 131, 116), # gray
23+]
24+
25+with open("/mastergooner/t/gruvbox.ppm", "wb") as f:
26+ f.write(b"P6\n16 16\n255\n")
27+ for color in colors:
28+ f.write(bytes(color) * 16)
29+PY
30+
31+ffmpeg -y \
32+ -i "$1" \
33+ -i "$HOME/t/gruvbox.ppm" \
34+ -filter_complex "[0:v][1:v]paletteuse=dither=sierra2_4a" \
35+ "$2"
+5,
-0
1@@ -0,0 +1,5 @@
2+#!/bin/sh
3+
4+for i in "$@";do
5+ ffplay8 $F -autoexit -showmode 1 "$i"
6+done
+10,
-0
1@@ -0,0 +1,10 @@
2+#!/bin/sh -eu
3+
4+# posterize a image
5+
6+{
7+ffmpeg -y \
8+ -i $1 \
9+ -vf elbg=l=$2 \
10+ New$1
11+} && mv New$1 $1
+16,
-0
1@@ -0,0 +1,16 @@
2+#!/bin/sh
3+
4+# convert raw videos to mp4
5+
6+ffmpeg \
7+ -y \
8+ -f rawvideo \
9+ -video_size 1366x768 \
10+ -framerate 60 \
11+ -pix_fmt bgra \
12+ -i $1 \
13+ -crf 18 \
14+ -preset slow \
15+ -pix_fmt bgra \
16+ -c:v libx264 \
17+ "${1%.*}.mp4"
+10,
-0
1@@ -0,0 +1,10 @@
2+#!/bin/sh -eu
3+
4+# scale a image
5+
6+{
7+ffmpeg -y \
8+ -i $1 \
9+ -vf scale=1366:768 \
10+ New$1
11+} && mv New$1 $1
+11,
-0
1@@ -0,0 +1,11 @@
2+#!/bin/sh -u
3+set -x
4+o=$HOME/vid
5+
6+ffmpeg8 \
7+ -y \
8+-f x11grab -i $DISPLAY \
9+-vf 'format=nv12,hwupload' \
10+-vaapi_device '/dev/dri/renderD128' \
11+-c:v h264_vaapi \
12+$o/$1
+1,
-0
1@@ -0,0 +1 @@
2+librewolf $@
A
bin/gark
+71,
-0
1@@ -0,0 +1,71 @@
2+#!/usr/bin/env -S guile --no-auto-compile
3+!#
4+(use-modules (ice-9 hash-table)
5+ (ice-9 rdelim)
6+ (srfi srfi-1)
7+ (srfi srfi-13))
8+
9+(set! *random-state* (random-state-from-platform))
10+
11+(define c (make-hash-table))
12+(define (learn l)
13+ (let k (
14+ (w (string-split l #\space))
15+ )
16+ (when (>= (length w) 3)
17+ (hash-set! c (string-append (car w) " " (cadr w))
18+ (cons (caddr w) (hash-ref c (string-append (car w) " " (cadr w)) '())
19+ ))
20+ (k (cdr w))
21+ )
22+ ))
23+
24+(call-with-input-file (cadr (command-line))
25+ (lambda (p) (let r ()
26+ (let ((l (read-line p))) (unless (eof-object? l)(learn l)
27+ (r))))
28+ )
29+ )
30+
31+(define (say)
32+ (let*
33+ (
34+ (k (hash-map->list (lambda (k v) k) c))
35+ (s (list-ref k (random (length k))))
36+ (w (string-split s #\space))
37+ )
38+ (let sy (
39+ (p w)
40+ (r w)
41+ (n 0)
42+ )
43+ (if (> n (random 100))
44+ (string-join r " ")
45+ (let (
46+ (C (hash-ref c (string-join p " ") #f))
47+ )
48+ (if (not C)
49+ (string-join r " ")
50+ (let (
51+ (N (list-ref C (random (length C))))
52+ )
53+ (sy (list (cadr p) N)
54+ (append r (list N))
55+ (1+ n))
56+ )
57+ )
58+ )
59+ )
60+ )
61+ )
62+ )
63+
64+(define r (random 100))
65+(let main (
66+ (i 0)
67+ )
68+ (when (not (= i r))
69+ (format #t "~a~%" (say))
70+ (main (+ i 1))
71+ )
72+ )
+10,
-0
1@@ -0,0 +1,10 @@
2+#!/bin/sh -eu
3+
4+out="${out:-$HOME/s}"
5+
6+[ -z $1 ] && exit 1
7+mkdir -p $out
8+
9+grim \
10+ -g "$(slurp)" \
11+ "${out}/$1.png"
A
bin/grm
+3,
-0
1@@ -0,0 +1,3 @@
2+#!/bin/sh -eu
3+export FILTER_BRANCH_SQUELCH_WARNING=1
4+git filter-branch --force --index-filter "git rm --cached --ignore-unmatch $@" --prune-empty --tag-name-filter cat -- --all
A
bin/gt
+4,
-0
1@@ -0,0 +1,4 @@
2+#!/bin/sh
3+
4+git add .
5+git commit -m "$1"
A
bin/gtem
+6,
-0
1@@ -0,0 +1,6 @@
2+#!/bin/sh
3+
4+git \
5+ send-email \
6+ --no-cc-cover \
7+ -$1
A
bin/gtt
+5,
-0
1@@ -0,0 +1,5 @@
2+#!/bin/sh
3+
4+git add .
5+git commit -m "$1"
6+git push
A
bin/hrgb
+28,
-0
1@@ -0,0 +1,28 @@
2+#!/usr/bin/env -S guile --no-auto-compile
3+!#
4+(use-modules (ice-9 format))
5+
6+(define str
7+ (if (> (length (command-line)) 1)
8+ (cadr (command-line))
9+ "888822"
10+ ))
11+
12+(let main (
13+ (i 0)
14+ )
15+ (format #t "\x1b[48;2;~a;~a;~am"
16+
17+ (string->number (substring str 0 2)16)
18+ (string->number (substring str 2 4)16)
19+ (string->number (substring str 4 6)16)
20+ )
21+ (when (not (= i 6))
22+ (format #t "~d"
23+ (string->number (substring str i (+ i 2))16)
24+ )
25+ (when (not (= i 4)) (format #t " "))
26+ (main (+ i 2))
27+ )
28+ )
29+(format #t "\x1b[m~%")
+0,
-0
A
bin/loc
+14,
-0
1@@ -0,0 +1,14 @@
2+#!/bin/sh -u
3+
4+# remove comments, trailing comments, empty newlines and count loc
5+
6+line=$(
7+ cat $1 \
8+ | sed -E '/^[[:space:]]*\/\/.*$/d' \
9+ | sed 's|//.*||' \
10+ | sed '/^$/d' \
11+ | grep -v '//' \
12+ | wc -l
13+)
14+
15+echo "$1 is $line LOC"
A
bin/mc
+6,
-0
1@@ -0,0 +1,6 @@
2+#!/bin/sh -eu
3+set -x
4+a=$HOME/.local/share/FreesmLauncher/instances/1.8.9/
5+
6+mkdir -p $a/natives
7+cp $HOME/cde/lwjgl-netbsd/libs/netbsd/liblwjgl64.so $a/natives/
+20,
-0
1@@ -0,0 +1,20 @@
2+#!/usr/bin/env -S guile --no-auto-compile
3+!#
4+(do ((n 0 (+ n 1)))
5+ ((>= n 8))
6+ (begin (format #t " \x1b[m\x1b[~am \x1b[m " (+ n 100)))
7+ )(newline)
8+
9+(do ((n 0 (+ n 1)))
10+ ((>= n 2))
11+ (do ((m 0 (+ m 1)))
12+ ((>= m 8))
13+ (format #t " \x1b[m\x1b[~am \x1b[m\x1b[~am \x1b[m"
14+ (+ m 100) (+ m 40))
15+ )(newline))
16+
17+(do ((n 0 (+ n 1)))
18+ ((>= n 8))
19+ (begin (format #t " \x1b[m\x1b[~am \x1b[m" (+ n 40)))
20+ )(newline)
21+
A
bin/pick
+4,
-0
1@@ -0,0 +1,4 @@
2+#!/bin/sh
3+#xcolor|tr -d '\n'|xclip -selection copy
4+hyprpicker|tr -d '\n'|wl-copy
5+
+2,
-0
1@@ -0,0 +1,2 @@
2+#!/bin/sh
3+xcolor -f rgb|sed 's/rgb(//'|tr -d ')\n'|tr -d '\n'|xclip -selection copy
+31,
-0
1@@ -0,0 +1,31 @@
2+#!/usr/bin/env -S guile --no-auto-compile
3+!#
4+(use-modules (ice-9 popen)
5+ (ice-9 rdelim)
6+ (ice-9 string-fun)
7+ (ice-9 regex)
8+ (srfi srfi-1))
9+
10+(define (system-output . a)
11+ (let* ((p (apply open-pipe* OPEN_READ a))
12+ (s (read-string p)))
13+ (close-pipe p)s))
14+
15+(let* (
16+ (o (format #f "~a/s" (getenv "HOME")))
17+ (nn (system-output "ls" "-1" o))
18+ (nl '())
19+ (n 0)
20+ )
21+ (set! n (string-split (string-replace-substring nn ".png" "") #\newline))
22+ (set! nl
23+ (filter (lambda (s)
24+ (string-match "^[0-9]+$" s))
25+ n)
26+ )
27+ (system* "grim" "-o" (format #f "~a/~a.png" o (+ (last nl) 1)))
28+
29+;; sort -n | last
30+;; n=`echo ${nn%%.*}+1|bc`
31+;; /mastergooner/.guix-profile/bin/scrot $@ -f $o/$n.png
32+)
+24,
-0
1@@ -0,0 +1,24 @@
2+#!/usr/bin/env -S guile --no-auto-compile
3+!#
4+;; from pascalecu
5+(set! *random-state* (random-state-from-platform))
6+
7+(use-modules (ice-9 popen)
8+ (ice-9 rdelim)
9+ (srfi srfi-1))
10+
11+(define (system-output . a)
12+ (let* ((p (apply open-pipe* OPEN_READ a))
13+ (s (read-string p)))
14+ (close-pipe p)s))
15+
16+(let main (
17+ (s (system-output "ls" "-1" (format #f "~a/m/w/" (getenv "HOME"))))
18+ (sl '())
19+ )
20+ (set! sl (string-split s #\newline))
21+
22+ (format #t "~a/m/w/~a~%" (getenv "HOME") (list-ref sl (random
23+ (- (length sl) 1)
24+ )))
25+ )
A
bin/spec
+3,
-0
1@@ -0,0 +1,3 @@
2+#!/bin/sh
3+for f in *\ *; do mv "$f" "`echo $f|sed 's/ /_/g'`"; done
4+
A
bin/sss
+1,
-0
1@@ -0,0 +1 @@
2+xload& sleep 0.1; berryc window_move_absolute 0 204; berryc window_resize_absolute 134 200
A
bin/swin
+2,
-0
1@@ -0,0 +1,2 @@
2+#!/bin/sh
3+$HOME/bin/scrot -a `slop -f '%x,%y,%w,%h'`
+10,
-0
1@@ -0,0 +1,10 @@
2+#!/bin/sh -eu
3+
4+[ -z $1 ] && exit 1
5+
6+out=$HOME/v
7+
8+wf-recorder \
9+ -r 60 \
10+ -D \
11+ -f "${out}/$1.mp4"
+17,
-0
1@@ -0,0 +1,17 @@
2+#!/bin/sh
3+set -x
4+svcadm disable svc:/network/physical:nwam
5+
6+# disconnect all
7+ipadm delete-addr arn0/v4
8+ipadm delete-addr arn0/v6
9+ipadm delete-ip arn0
10+dladm disconnect-wifi arn0
11+
12+# credentials
13+dladm create-secobj -c wpa 832
14+
15+# connect all
16+dladm connect-wifi -e 'Nikky25@' -k 832 -s wpa arn0
17+ipadm create-ip arn0
18+ipadm create-addr -T dhcp arn0/v4
A
bin/wl
+7,
-0
1@@ -0,0 +1,7 @@
2+#!/bin/sh
3+i=big.jpg
4+
5+{
6+ sleep 1
7+ swaybg -i $HOME/m/$i
8+}& swc-launch mot
A
bin/ww
+1,
-0
1@@ -0,0 +1 @@
2+9 winwatch& sleep 0.1; berryc window_move_absolute 0 20; berryc window_resize_absolute 134 200
+2,
-0
1@@ -0,0 +1,2 @@
2+#!/bin/sh
3+xclip -selection copy
+2,
-0
1@@ -0,0 +1,2 @@
2+#!/bin/sh
3+xclip -selection clipboard -o
A
bin/xl
+3,
-0
1@@ -0,0 +1,3 @@
2+#!/bin/sh
3+~/Bin/xl -g 60x115 -f -bolkhov-vga-medium-r-normal--16-160-75-75-c-80-iso10646-1
4+
+3,
-0
1@@ -0,0 +1,3 @@
2+#!/bin/sh
3+
4+xl -g 125x250|sh
+4,
-0
1@@ -0,0 +1,4 @@
2+#!/bin/sh
3+xcolor|tr -d '\n'|xclip -selection copy
4+#hyprpicker|tr -d '\n'|wl-copy
5+
+2,
-0
1@@ -0,0 +1,2 @@
2+#!/bin/sh
3+xtr|sh
+84,
-0
1@@ -0,0 +1,84 @@
2+* {
3+ bg: #282828;
4+ bg-alt: @bg;
5+ fg: #aaa;
6+ fg-alt: #ebdbb2;
7+ mg: @fg;
8+
9+ background-color: @bg;
10+ text-color: @fg;
11+}
12+
13+configuration {
14+ font: 'PxPlus IBM VGA 8x16 12';
15+}
16+
17+window {
18+ width: 35%;
19+ height: 20%;
20+ border: 1px;
21+ border-radius: 0px;
22+ border-color: @fg-alt;
23+ background-color: @bg;
24+}
25+
26+mainbox {
27+ border: 1px;
28+ border-radius: 0px;
29+ border-color: @fg;
30+ padding: 0px;
31+ background-color: @bg;
32+}
33+
34+inputbar {
35+ background-color: @bg-alt;
36+ padding: 6px;
37+ children: [ entry ];
38+}
39+
40+prompt {
41+ text-color: @fg;
42+ padding: 0 6px 0 0;
43+}
44+
45+entry {
46+ text-color: @mg;
47+ cursor-color: transparent;
48+ cursor-width: 0px;
49+}
50+
51+listview {
52+ margin: 0px 0 0;
53+ scrollbar: false;
54+ background-color: @bg;
55+}
56+
57+element {
58+ padding: 0px;
59+ border-radius: 0px;
60+ background-color: @bg;
61+ text-color: @fg;
62+}
63+
64+element normal.normal {
65+ background-color: @bg;
66+ text-color: @fg;
67+}
68+
69+element selected.normal {
70+ background-color: @bg-alt;
71+ text-color: @fg-alt;
72+}
73+
74+element active.normal,
75+element urgent.normal {
76+ background-color: @bg-alt;
77+ text-color: @fg;
78+}
79+
80+element-text {
81+ text-color: inherit;
82+ highlight: none;
83+ horizontal-align: 0.5;
84+}
85+
A
emacs
+116,
-0
1@@ -0,0 +1,116 @@
2+;; chld's
3+;; .emacs
4+;;
5+;; enjoy ;)
6+
7+;;; -*- lexical-binding: t -*-
8+(custom-set-variables
9+ ;; custom-set-variables was added by Custom.
10+ ;; If you edit it by hand, you could mess it up, so be careful.
11+ ;; Your init file should contain only one such instance.
12+ ;; If there is more than one, they won't work right.
13+ '(custom-enabled-themes nil)
14+ '(custom-safe-themes
15+ '("d8d8127c6fb4f394051c499b76ff0850ad2668b6636124a82691e1d49ebd0a86"
16+ "efcecf09905ff85a7c80025551c657299a4d18c5fcfedd3b2f2b6287e4edd659"
17+ "57a29645c35ae5ce1660d5987d3da5869b048477a7801ce7ab57bfb25ce12d3e"
18+ "d89e15a34261019eec9072575d8a924185c27d3da64899905f8548cbd9491a36"
19+ default))
20+ '(display-line-numbers-type nil)
21+ '(fringe-mode 0 nil (fringe))
22+ '(global-display-line-numbers-mode t)
23+ '(line-number-mode t)
24+ '(menu-bar-mode nil)
25+ '(package-selected-packages
26+ '(basic-mode circe gnu-elpa-keyring-update go-mode gruvbox-theme
27+ markdown-mode vterm whitespace-cleanup-mode windresize
28+ miasma-theme
29+ zig-mode))
30+ '(scroll-bar-mode nil)
31+ '(tool-bar-mode nil)
32+ '(tooltip-mode nil)
33+ '(warning-suppress-types '((native-compiler))))
34+
35+
36+(require 'package)
37+(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
38+(package-initialize)
39+
40+;; ________________________
41+;; VIEW VIEW VIEW VIEW VIEW
42+
43+(defface my-paren-face
44+ '((t (:foreground "#3f3f3f")))
45+ "Face for parentheses.")
46+
47+(font-lock-add-keywords
48+ 'scheme-mode
49+ '(("(\\|)" 0 'my-paren-face prepend)))
50+
51+(load-theme 'miasma :no-confirm)
52+(setq inhibit-startup-screen t)
53+(set-face-attribute 'default nil :family "Go Mono")
54+(set-face-attribute 'default nil :height 90)
55+
56+(show-paren-mode 1)
57+
58+(set-face-attribute 'show-paren-match nil
59+ :foreground "#fabd2f"
60+ :background "#3c3836"
61+ :weight 'bold)
62+
63+(set-face-attribute 'show-paren-mismatch nil
64+ :foreground "#fb4934"
65+ :background "#3c3836"
66+ :weight 'bold)
67+
68+;; ________________________
69+;; FEATURES FEATURES FEATURES
70+
71+(setq make-backup-files nil) ;; disable backup files
72+(setq backup-inhibited t)
73+(setq create-lockfiles nil)
74+
75+(setq auto-save-default nil)
76+(setq auto-save-list-file-prefix nil)
77+(setq auto-save-interval 0)
78+(setq auto-save-timeout 0)
79+
80+(setq auto-save-visited-mode nil)
81+(setq auto-save-visited-interval 0)
82+
83+(setq delete-auto-save-files t)
84+
85+(setq vc-make-backup-files nil) ;; disable backup files
86+
87+(setq-default mode-line-format nil) ;; no modeline
88+
89+(setq display-line-numbers-type 'relative)
90+(global-display-line-numbers-mode 0) ;; relative line numbers
91+
92+;; ________________________
93+;; KEYBINDS KEYBINDS KEYBINDS
94+
95+(setq kill-buffer-query-functions ;; no-confirm kill a buffer (1)
96+ (delq 'process-kill-buffer-query-function kill-buffer-query-functions))
97+(defun kill-no-confirm ()
98+ (interactive) ;; (1)
99+ (let (kill-buffer-query-functions)
100+ (kill-this-buffer)))
101+(global-set-key (kbd "C-x k") #'kill-no-confirm) ;; kill a buffer no-confirm
102+
103+
104+(global-set-key (kbd "C-c m") 'compile)
105+(global-set-key (kbd "C-c e") 'eval-buffer)
106+(global-set-key (kbd "C-c t") 'vterm)
107+(global-set-key (kbd "C-c M-d") 'windresize)
108+(global-set-key (kbd "C-c r") 'revert-buffer-quick)
109+
110+
111+(message "loaded config")
112+(custom-set-faces
113+ ;; custom-set-faces was added by Custom.
114+ ;; If you edit it by hand, you could mess it up, so be careful.
115+ ;; Your init file should contain only one such instance.
116+ ;; If there is more than one, they won't work right.
117+ )
A
emacs~
+117,
-0
1@@ -0,0 +1,117 @@
2+;; chld's
3+;; .emacs
4+;;
5+;; enjoy ;)
6+
7+;;; -*- lexical-binding: t -*-
8+(custom-set-variables
9+ ;; custom-set-variables was added by Custom.
10+ ;; If you edit it by hand, you could mess it up, so be careful.
11+ ;; Your init file should contain only one such instance.
12+ ;; If there is more than one, they won't work right.
13+ '(custom-enabled-themes nil)
14+ '(custom-safe-themes
15+ '("d8d8127c6fb4f394051c499b76ff0850ad2668b6636124a82691e1d49ebd0a86"
16+ "efcecf09905ff85a7c80025551c657299a4d18c5fcfedd3b2f2b6287e4edd659"
17+ "57a29645c35ae5ce1660d5987d3da5869b048477a7801ce7ab57bfb25ce12d3e"
18+ "d89e15a34261019eec9072575d8a924185c27d3da64899905f8548cbd9491a36"
19+ default))
20+ '(display-line-numbers-type nil)
21+ '(fringe-mode 0 nil (fringe))
22+ '(global-display-line-numbers-mode t)
23+ '(line-number-mode t)
24+ '(menu-bar-mode nil)
25+ '(package-selected-packages
26+ '(basic-mode circe gnu-elpa-keyring-update go-mode gruvbox-theme
27+ markdown-mode vterm whitespace-cleanup-mode windresize
28+ zig-mode))
29+ '(scroll-bar-mode nil)
30+ '(tool-bar-mode nil)
31+ '(tooltip-mode nil)
32+ '(warning-suppress-types '((native-compiler))))
33+
34+
35+(require 'package)
36+(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
37+(package-initialize)
38+
39+;; ________________________
40+;; VIEW VIEW VIEW VIEW VIEW
41+
42+(load-theme 'gruvbox-dark-medium :no-confirm)
43+(setq inhibit-startup-screen t)
44+(set-face-attribute 'default nil :family "Iosevka")
45+(set-face-attribute 'default nil :height 250)
46+
47+;; ________________________
48+;; FEATURES FEATURES FEATURES
49+
50+(setq make-backup-files nil) ;; disable backup files
51+(setq backup-inhibited t)
52+(setq create-lockfiles nil)
53+
54+(setq auto-save-default nil)
55+(setq auto-save-list-file-prefix nil)
56+(setq auto-save-interval 0)
57+(setq auto-save-timeout 0)
58+
59+(setq auto-save-visited-mode nil)
60+(setq auto-save-visited-interval 0)
61+
62+(setq delete-auto-save-files t)
63+
64+(setq vc-make-backup-files nil) ;; disable backup files
65+
66+(setq-default mode-line-format t) ;; no modeline
67+
68+(setq display-line-numbers-type 'relative)
69+(global-display-line-numbers-mode 1) ;; relative line numbers
70+(global-whitespace-mode 1)
71+
72+;; ________________________
73+;; KEYBINDS KEYBINDS KEYBINDS
74+
75+(setq kill-buffer-query-functions ;; no-confirm kill a buffer (1)
76+ (delq 'process-kill-buffer-query-function kill-buffer-query-functions))
77+(defun kill-no-confirm ()
78+ (interactive) ;; (1)
79+ (let (kill-buffer-query-functions)
80+ (kill-this-buffer)))
81+(global-set-key (kbd "C-x k") #'kill-no-confirm) ;; kill a buffer no-confirm
82+
83+;; IRC
84+
85+;; cicre
86+(setq circe-network-options
87+ '(("ergo"
88+ :host "irc.dalem.foo"
89+ :port 6697
90+ :tls t
91+ :nick "chld"
92+ :sasl-username "chld/ergo"
93+ :sasl-password "zku7ZU1Z28CDO")))
94+
95+;; erc
96+(defun run-erc ()
97+ (interactive)
98+ (erc-tls :server "irc.dalem.foo"
99+ :port 6697
100+ :nick "chld"
101+ :user "chld/ergo"
102+ :password "zku7ZU1Z28CDO" ))
103+
104+
105+(global-set-key (kbd "C-c m") 'compile)
106+(global-set-key (kbd "C-c e") 'eval-buffer)
107+(global-set-key (kbd "C-c t") 'vterm)
108+(global-set-key (kbd "C-c M-d") 'windresize)
109+(global-set-key (kbd "C-c r") 'revert-buffer-quick)
110+
111+
112+(message "loaded config")
113+(custom-set-faces
114+ ;; custom-set-faces was added by Custom.
115+ ;; If you edit it by hand, you could mess it up, so be careful.
116+ ;; Your init file should contain only one such instance.
117+ ;; If there is more than one, they won't work right.
118+ )
+9,
-0
1@@ -0,0 +1,9 @@
2+<?xml version="1.0"?>
3+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
4+<fontconfig>
5+ <match target="font">
6+ <edit name="antialias" mode="assign">
7+ <bool>false</bool>
8+ </edit>
9+ </match>
10+</fontconfig>
A
foot.ini
+25,
-0
1@@ -0,0 +1,25 @@
2+[main]
3+font=PxPlus IBM VGA 8x16:size=12:style=Regular
4+initial-window-size-pixels=400x300
5+resize-by-cells=no
6+
7+[colors-dark]
8+background=282828
9+foreground=ebdbb2
10+regular0=282828
11+regular1=cc241d
12+regular2=98971a
13+regular3=d79921
14+regular4=458588
15+regular5=b16286
16+regular6=689d6a
17+regular7=a89984
18+bright0=928374
19+bright1=fb4934
20+bright2=b8bb26
21+bright3=fabd2f
22+bright4=83a598
23+bright5=d3869b
24+bright6=8ec07c
25+bright7=ebdbb2
26+
+4,
-0
1@@ -0,0 +1,4 @@
2+#!/bin/sh
3+
4+# swaybg -i $($HOME/bin/setwall) -m fill
5+swaybg -c 928374
1@@ -0,0 +1,96 @@
2+<openbox_menu>
3+<!-- Note: for localization support of menu items "client-menu" has to be removed here -->
4+<menu id="client-menu">
5+ <item label="mini">
6+ <action name="Iconify" />
7+ </item>
8+ <item label="max">
9+ <action name="ToggleMaximize" />
10+ </item>
11+ <item label="full">
12+ <action name="ToggleFullscreen" />
13+ </item>
14+ <item label="roll">
15+ <action name="ToggleShade" />
16+ </item>
17+ <item label="decor">
18+ <action name="ToggleDecorations" />
19+ </item>
20+ <item label="top">
21+ <action name="ToggleAlwaysOnTop" />
22+ </item>
23+ <!--
24+ Any menu with the id "workspaces" will be hidden
25+ if there is only a single workspace available.
26+ -->
27+ <menu id="client-send-to-menu" />
28+ <!--
29+ openbox default workspace selector
30+ to use replace above workspace menu with the example below
31+ the label is required, but you can change the text.
32+
33+ <menu id="client-send-to-menu" label="Send to..." />
34+ -->
35+ <item label="close">
36+ <action name="Close" />
37+ </item>
38+</menu>
39+
40+<menu id="art" label="internet">
41+ <item label="librewolf"><action name="Execute" command="librewolf" /></item>
42+ <item label="dillo"><action name="Execute" command="dillo" /></item>
43+</menu>
44+
45+<menu id="web" label="arts">
46+ <item label="krita"><action name="Execute" command="krita" /></item>
47+ <item label="picker"><action name="Execute" command="pick" /></item>
48+</menu>
49+
50+<menu id="root-menu">
51+ <!-- Make client-list-combined-menu a submenu of root-menu
52+ You must supply a label or it will not appear in root-menu -->
53+ <!--
54+ <menu id="client-list-combined-menu" label="Running..." />
55+ -->
56+ <item label="term"><action name="Execute" command="foot" />
57+ </item>
58+ <item label="emacs"><action name="Execute" command="emacs" />
59+ </item>
60+ <menu id="art"/>
61+ <menu id="web"/>
62+ <separator />
63+ <item label="reconfigure">
64+ <action name="Reconfigure" />
65+ </item>
66+ <item label="quit">
67+ <action name="Exit" />
68+ </item>
69+ <!--
70+ # A prompt can be used as follows:
71+ <item label="Exit">
72+ <action name="If">
73+ <prompt message="Do you really want to exit the compositor?" />
74+ <then>
75+ <action name="Exit" />
76+ </then>
77+ </action>
78+ </item>
79+ -->
80+</menu>
81+
82+<menu id="some-custom-menu">
83+ <!--
84+ Creates menu title.
85+ To create an empty header with no text,
86+ set label=" ", not label=""
87+ -->
88+ <separator label="custom menu" />
89+ <item label="reconfigure">
90+ <action name="Reconfigure" />
91+ </item>
92+ <item label="quit">
93+ <action name="Exit" />
94+ </item>
95+</menu>
96+
97+</openbox_menu>
+58,
-0
1@@ -0,0 +1,58 @@
2+<?xml version="1.0"?>
3+<labwc_config>
4+
5+ <libinput>
6+ <device category="touch">
7+ <calibrationMatrix>1.02811 0 -0.0205823 0 1.03411 -0.00426391</calibrationMatrix>
8+ </device>
9+ </libinput>
10+
11+ <core>
12+ <decoration>server</decoration>
13+ <gap>5</gap>
14+ </core>
15+
16+ <keyboard>
17+ <keybind key="A-W-x"><action name="GoToDesktop" to="right"/></keybind>
18+
19+ <keybind key="W-d">
20+ <action name="Execute" command="rofi -theme config.rasi -show run" />
21+ </keybind>
22+
23+ <keybind key="W-e">
24+ <action name="Close" />
25+ </keybind>
26+ </keyboard>
27+
28+ <resize>
29+ <drawContents>no</drawContents>
30+ </resize>
31+
32+<mouse><default /><context name="Frame">
33+ <mousebind button="A-Left" action="Drag">
34+ <action name="Resize"/>
35+ </mousebind>
36+ <mousebind button="W-Right" action="Drag" />
37+
38+ <mousebind button="Up" action="Scroll" />
39+ <mousebind button="Down" action="Scroll" />
40+</context></mouse>
41+
42+<theme>
43+ <cornerRadius>0</cornerRadius>
44+ <keepBorder>no</keepBorder>
45+ <dropShadows>no</dropShadows>
46+ <font place="ActiveWindow"><name>Helvetica</name><size>8</size><weight>bold</weight></font>
47+ <font place="InactiveWindow"><name>Helvetica</name><size>8</size></font>
48+ <font place="MenuHeader"><name>Helvetica</name><size>8</size><weight>bold</weight></font>
49+ <font place="MenuItem"><name>Helvetica</name><size>8</size></font>
50+ <titlebar><layout>:</layout></titlebar>
51+</theme>
52+
53+<desktops number="2"/>
54+
55+<theme>
56+ <name>MyLabwc</name>
57+</theme>
58+
59+</labwc_config>
+13,
-0
1@@ -0,0 +1,13 @@
2+# Vertical gradient
3+border.width: 0
4+*.border.width: 0
5+window.active.title.bg: Solid
6+*.border.color: #a89984
7+*.separator.color: #a89984
8+window.*.title.bg.color: #282828
9+menu.items*.bg.color: #282828
10+menu.items.text.color: #ebdbb2
11+menu.items.active.text.color: #a89984
12+window.inactive.label.text.color: #282828
13+window.active.label.text.color: #a89984
14+window.*.button.*.image.color: #a89984
+9,
-0
1@@ -0,0 +1,9 @@
2+address "irc+insecure://10.0.0.236:6667"
3+nickname "chlds"
4+password "Zov"
5+
6+
7+pane-widths {
8+ channels 0
9+ members 0
10+}
+414,
-0
1@@ -0,0 +1,414 @@
2+* {
3+ border-radius: 0px !important;
4+}
5+
6+:root {
7+ --tab-active-bg-color: #282828;
8+ --tab-inactive-bg-color: var(--tab-active-bg-color);
9+ --tab-active-fg-fallback-color: #ebdbb2; /* color of text in an active tab without a container */
10+ --tab-inactive-fg-fallback-color: #aaa; /* color of text in an inactive tab without a container */
11+ --urlbar-focused-bg-color: var(--tab-active-bg-color);
12+ --urlbar-not-focused-bg-color: var(--urlbar-focused-bg-color);
13+ --toolbar-bgcolor: var(--tab-active-bg-color) !important;
14+ --tab-font: 'Screen';
15+ --urlbar-font: 'Screen';
16+
17+ /* try increasing if you encounter problems */
18+ --urlbar-height-setting: 22px;
19+ --tab-min-height: 22px !important;
20+
21+ /* I don't recommend you touch this unless you know what you're doing */
22+ --arrowpanel-menuitem-padding: 2px !important;
23+ --arrowpanel-border-radius: 0px !important;
24+ --arrowpanel-menuitem-border-radius: 0px !important;
25+ --toolbarbutton-border-radius: 0px !important;
26+ --toolbarbutton-inner-padding: 0px 2px !important;
27+ --toolbar-field-focus-background-color: var(--urlbar-focused-bg-color) !important;
28+ --toolbar-field-background-color: var(--urlbar-not-focused-bg-color) !important;
29+ --toolbar-field-focus-border-color: transparent !important;
30+}
31+
32+/* --- GENERAL DEBLOAT ---------------------------------- */
33+
34+/* Bottom left page loading status or url preview */
35+#statuspanel { display: none !important; }
36+
37+/* remove radius from right-click popup */
38+menupopup, panel { --panel-border-radius: 0px !important; }
39+menu, menuitem, menucaption { border-radius: 0px !important; }
40+
41+/* no stupid large buttons in right-click menu */
42+menupopup > #context-navigation { display: none !important; }
43+menupopup > #context-sep-navigation { display: none !important; }
44+
45+/* --- DEBLOAT NAVBAR ----------------------------------- */
46+
47+#back-button { display: none; } #forward-button { display: none; }
48+#identity-box { display: none; }
49+#tracking-protection-icon-container { display: none !important; }
50+#tracking-protection-icon-box { display: none !important; }
51+#reader-mode-button { display: none; }
52+#star-button { display: none; }
53+#reload-button { display: none; }
54+#stop-button { display: none; }
55+#home-button { display: none; }
56+#library-button { display: none; }
57+/* #fxa-toolbar-menu-button { display: none; } */
58+/* empty space before and after the url bar */
59+#customizableui-special-spring1, #customizableui-special-spring2 { display: none; }
60+.private-browsing-indicator-with-label { display: none; }
61+
62+/* --- STYLE NAVBAR ------------------------------------ */
63+
64+/* remove padding between toolbar buttons */
65+toolbar .toolbarbutton-1 { padding: 0 0 !important; }
66+
67+/* add it back to the downloads button, otherwise it's too close to the urlbar */
68+#downloads-button {
69+ margin-left: 2px !important;
70+}
71+
72+/* add padding to the right of the last button so that it doesn't touch the edge of the window */
73+#PanelUI-menu-button {
74+ padding: 0px 4px 0px 0px !important;
75+}
76+
77+#urlbar-container {
78+ --urlbar-container-height: var(--urlbar-height-setting) !important;
79+ margin-left: 0 !important;
80+ margin-right: 0 !important;
81+ padding-top: 0 !important;
82+ padding-bottom: 0 !important;
83+ font-family: var(--urlbar-font, 'monospace');
84+ font-size: 11px;
85+}
86+
87+#urlbar {
88+ --urlbar-height: var(--urlbar-height-setting) !important;
89+ --urlbar-toolbar-height: var(--urlbar-height-setting) !important;
90+ min-height: var(--urlbar-height-setting) !important;
91+}
92+
93+#urlbar-input {
94+ margin-left: 0.4em !important;
95+ margin-right: 0.4em !important;
96+}
97+#urlbar > .urlbar-input-container {
98+ padding: 0 !important;
99+}
100+
101+#navigator-toolbox {
102+ border: none !important;
103+}
104+
105+/* keep pop-up menus from overlapping with navbar */
106+#widget-overflow { margin: 3px !important; }
107+#customizationui-widget-panel { margin: 3px !important; }
108+#unified-extensions-panel { margin-top: 3px !important; }
109+#appMenu-popup { margin-top: 3px !important; }
110+
111+/* --- UNIFIED EXTENSIONS BUTTON ------------------------ */
112+
113+/* make extension icons smaller */
114+#unified-extensions-view {
115+ --uei-icon-size: 16px;
116+}
117+
118+/* hide bloat */
119+.unified-extensions-item-message-deck,
120+#unified-extensions-view > .panel-header,
121+#unified-extensions-view > toolbarseparator,
122+#unified-extensions-manage-extensions {
123+ display: none !important;
124+}
125+
126+/* add 3px padding on the top and the bottom of the box */
127+.panel-subview-body {
128+ padding: 3px 0px !important;
129+}
130+
131+#unified-extensions-view .toolbarbutton-icon {
132+ padding: 0 !important;
133+}
134+
135+.unified-extensions-item-contents {
136+ line-height: 1 !important;
137+ white-space: nowrap !important;
138+}
139+
140+#unified-extensions-panel .unified-extensions-item {
141+ margin-block: 0 !important;
142+}
143+
144+.toolbar-menupopup :is(menu, menuitem), .subview-subheader, panelview
145+.toolbarbutton-1, .subviewbutton, .widget-overflow-list .toolbarbutton-1 {
146+ padding: 4px !important;
147+}
148+
149+/* --- QUICK BOOKMARK POPUP ----------------------------- */
150+
151+menupopup, panel { &::part(content) { height: auto !important; } }
152+
153+#editBMPanel_folderTree, #editBMPanel_tagsSelector {
154+ height: 40vh !important;
155+}
156+
157+#editBMPanel_folderMenuList {
158+ display: none !important;
159+}
160+
161+/* --- DEBLOAT URLBAR ----------------------------------- */
162+
163+#pageActionButton { display: none; }
164+#pocket-button { display: none; }
165+#urlbar-zoom-button { display: none; }
166+#tracking-protection-icon-container { display: none !important; }
167+/* #reader-mode-button{ display: none !important; } */
168+/* #star-button { display: none; } */
169+/* #star-button-box:hover { background: inherit !important; } */
170+#urlbar-searchmode-switcher { display: none; }
171+#searchmode-switcher-chicklet { display: none !important; }
172+
173+/* hide container indicators; we indicate container by changing tab title text color */
174+#identity-icon-box {
175+ margin-inline-end: 0 !important;
176+ padding: 0 4px !important;
177+}
178+.tabbrowser-tab[usercontextid] > .tab-stack > .tab-background > .tab-context-line {
179+ display: none !important;
180+}
181+
182+/* Go to arrow button at the end of the urlbar when searching */
183+#urlbar-go-button { display: none; }
184+
185+/* remove container indicator from urlbar */
186+#userContext-label, #userContext-indicator { display: none !important;}
187+
188+/* --- STYLE TAB TOOLBAR -------------------------------- */
189+
190+#titlebar {
191+ --proton-tab-block-margin: 0px !important;
192+ --tab-block-margin: 0px !important;
193+}
194+
195+#TabsToolbar, .tabbrowser-tab {
196+ max-height: var(--tab-min-height) !important;
197+ font-size: 11px !important;
198+}
199+
200+/* Change color of normal tabs */
201+tab:not([selected="true"]) {
202+ background-color: var(--tab-inactive-bg-color) !important;
203+ color: var(--identity-icon-color, var(--tab-inactive-fg-fallback-color)) !important;
204+}
205+
206+tab {
207+ font-family: var(--tab-font, monospace);
208+ font-weight: bold;
209+ border: none !important;
210+ padding-top: 0 !important;
211+}
212+
213+.tab-content {
214+ padding: 0 0 0 var(--tab-inline-padding);
215+}
216+
217+.tab-background {
218+ margin-block: 0 !important;
219+ min-height: var(--tab-min-height);
220+ outline-offset: 0 !important;
221+}
222+
223+/* safari style tab width */
224+.tabbrowser-tab[fadein] {
225+ max-width: 100vw !important;
226+ border: none
227+}
228+
229+/* Hide close button on tabs
230+#tabbrowser-tabs .tabbrowser-tab .tab-close-button { display: none !important; }
231+*/
232+
233+/* disable favicons in tab */
234+.tab-icon-stack:not([pinned]):not([busy]) { display: none !important; }
235+
236+.tabbrowser-tab {
237+ /* remove border between tabs */
238+ padding-inline: 0px !important;
239+ /* reduce fade effect of tab text */
240+ --tab-label-mask-size: 1em !important;
241+ /* fix pinned tab behaviour on overflow */
242+ overflow-clip-margin: 0px !important;
243+}
244+
245+/* Tab: selected colors */
246+#tabbrowser-tabs .tabbrowser-tab[selected] .tab-content {
247+ background: var(--tab-active-bg-color) !important;
248+ color: var(--identity-icon-color, var(--tab-active-fg-fallback-color)) !important;
249+}
250+
251+/* Tab: hovered colors */
252+#tabbrowser-tabs .tabbrowser-tab:hover:not([selected]) .tab-content {
253+ background: var(--tab-active-bg-color) !important;
254+ color: var(--tab-inactive-bg-color) !important;
255+}
256+
257+/* hide window controls */
258+.titlebar-buttonbox-container { display: none; }
259+
260+/* remove titlebar spacers */
261+.titlebar-spacer { display: none !important; }
262+
263+/* disable tab shadow */
264+#tabbrowser-tabs:not([noshadowfortests]) .tab-background:is([selected], [multiselected]) {
265+ box-shadow: none !important;
266+}
267+
268+/* remove dark space between pinned tab and first non-pinned tab */
269+#pinned-tabs-container {
270+ margin-inline-end: 0 !important;
271+}
272+
273+/* remove dropdown menu button which displays all tabs on overflow */
274+#alltabs-button { display: none !important }
275+
276+/* fix displaying of pinned tabs on overflow */
277+#tabbrowser-tabs:not([secondarytext-unsupported]) .tab-label-container {
278+ height: var(--tab-min-height) !important;
279+}
280+
281+#tabbrowser-tabs {
282+ min-height: var(--tab-min-height) !important;
283+}
284+
285+/* remove overflow scroll buttons */
286+#scrollbutton-up, #scrollbutton-down { display: none !important; }
287+
288+/* remove new tab button */
289+#tabs-newtab-button {
290+ display: none !important;
291+}
292+
293+/* hide private browsing indicator */
294+#private-browsing-indicator-with-label {
295+ display: none;
296+}
297+
298+/* numbering tabs
299+#tabbrowser-tabs { counter-reset: tab-counter; }
300+.tabbrowser-tab { counter-increment: tab-counter; }
301+.tabbrowser-tab .tab-content {
302+ padding-left: 0 !important;
303+}
304+.tabbrowser-tab .tab-content::before {
305+ content: counter(tab-counter);
306+ margin-right: 0.5em;
307+ padding: var(--tab-min-height) 0.4em;
308+ color: #a38e5d;
309+ background-color: #151312;
310+}
311+
312+:root[inFullscreen] > body > #browser {
313+ margin-top: 0 !important;
314+}
315+*/
316+
317+/* --- AUTOHIDE NAVBAR ---------------------------------- */
318+
319+/* :root { */
320+/* --uc-navbar-transform: calc(0px - var(--urlbar-height-setting)); */
321+/* } */
322+
323+/* #navigator-toolbox > div { */
324+/* display: contents; */
325+/* } */
326+
327+/* :root[sessionrestored] :where( */
328+/* #nav-bar, */
329+/* #PersonalToolbar, */
330+/* #tab-notification-deck, */
331+/* .global-notificationbox */
332+/* ) { */
333+/* transform: translateY(var(--uc-navbar-transform)); */
334+/* } */
335+
336+/* :root:is([customizing], [chromehidden*="toolbar"]) :where( */
337+/* #nav-bar, */
338+/* #PersonalToolbar, */
339+/* #tab-notification-deck, */
340+/* .global-notificationbox */
341+/* ) { */
342+/* transform: none !important; */
343+/* opacity: 1 !important; */
344+/* } */
345+
346+/* #nav-bar:not([customizing]) { */
347+/* opacity: 0; */
348+/* position: relative; */
349+/* z-index: 2; */
350+/* } */
351+
352+/* #titlebar { */
353+/* position: relative; */
354+/* z-index: 3; */
355+/* } */
356+
357+/* #navigator-toolbox, */
358+/* #sidebar-box, */
359+/* #sidebar-main, */
360+/* #sidebar-splitter, */
361+/* #tabbrowser-tabbox { */
362+/* z-index: auto !important; */
363+/* } */
364+
365+/* /1* Show when toolbox is focused, like when urlbar has received focus *1/ */
366+/* #navigator-toolbox:focus-within > .browser-toolbar { */
367+/* transform: translateY(0); */
368+/* opacity: 1; */
369+/* } */
370+
371+/* /1* Show when toolbox is hovered *1/ */
372+/* #titlebar:hover ~ .browser-toolbar, */
373+/* .browser-titlebar:hover ~ :is(#nav-bar, #PersonalToolbar), */
374+/* #nav-bar:hover, */
375+/* #nav-bar:hover + #PersonalToolbar { */
376+/* transform: translateY(0); */
377+/* opacity: 1; */
378+/* } */
379+
380+/* :root[sessionrestored] #urlbar[popover] { */
381+/* opacity: 0; */
382+/* pointer-events: none; */
383+/* transform: translateY(var(--uc-navbar-transform)); */
384+/* } */
385+
386+/* #mainPopupSet:has(> [panelopen]:not( */
387+/* #ask-chat-shortcuts, */
388+/* #selection-shortcut-action-panel, */
389+/* #chat-shortcuts-options-panel, */
390+/* #tab-preview-panel */
391+/* )) ~ toolbox #urlbar[popover], */
392+/* .browser-titlebar:is(:hover, :focus-within) ~ #nav-bar #urlbar[popover], */
393+/* #nav-bar:is(:hover, :focus-within) #urlbar[popover], */
394+/* #urlbar-container > #urlbar[popover]:is([focused], [open]) { */
395+/* opacity: 1; */
396+/* pointer-events: auto; */
397+/* transform: translateY(0); */
398+/* } */
399+
400+/* /1* This ruleset is separate, because not having :has support breaks other selectors as well *1/ */
401+/* #mainPopupSet:has(> [panelopen]:not( */
402+/* #ask-chat-shortcuts, */
403+/* #selection-shortcut-action-panel, */
404+/* #chat-shortcuts-options-panel, */
405+/* #tab-preview-panel */
406+/* )) ~ #navigator-toolbox > .browser-toolbar { */
407+/* transform: translateY(0); */
408+/* opacity: 1; */
409+/* } */
410+
411+/* /1* Move up the content view *1/ */
412+/* :root[sessionrestored]:not([chromehidden~="toolbar"]) > body > #browser { */
413+/* margin-top: var(--uc-navbar-transform); */
414+/* } */
415+
A
xinitrc
+11,
-0
1@@ -0,0 +1,11 @@
2+#!/bin/sh
3+
4+#xinput set-prop "$tp" "Device Accel Constant Deceleration" 0.07
5+xrdb $HOME/.Xresources
6+xset fp+ ~/.pcf
7+xset fp rehash
8+
9+xsetroot -solid '#773333'
10+sxhkd -c $HOME/.config/berry/sxhkdrc &
11+
12+exec berry