Browse Source

Update arch pc files

arch-desktop
Andrew Zah 9 months ago
parent
commit
701233ba1d
Signed by: Andrew Zah <zah@andrewzah.com> GPG Key ID: 0AE942445EB70FAA

+ 12
- 0
.config/i3/blocks/mpd.sh View File

@@ -0,0 +1,12 @@
1
+#!/bin/bash 
2
+NCMP=$(mpc -h ~/.config/mpd/socket | grep "^\[playing\]" | awk '{print $1}')
3
+NUM_NCMP=$(mpc -h ~/.config/mpd/socket | head -1 | wc -c )
4
+S_NCMP=$(mpc -h ~/.config/mpd/socket | head -1 | head -c 100)
5
+
6
+if [ "$NCMP" = "[playing]" ]; then 
7
+    if [ "$NUM_NCMP" -lt 100 ]; then 
8
+        echo -e ": $(mpc -h ~/.config/mpd/socket current)"
9
+    else
10
+        echo -e ": $S_NCMP..."
11
+    fi
12
+fi

+ 181
- 0
.config/i3/blocks/volume-pulseaudio View File

@@ -0,0 +1,181 @@
1
+#!/bin/bash
2
+# Displays the default device, volume, and mute status for i3blocks
3
+
4
+AUDIO_HIGH_SYMBOL='  '
5
+
6
+AUDIO_MED_THRESH=50
7
+AUDIO_MED_SYMBOL='  '
8
+
9
+AUDIO_LOW_THRESH=0
10
+AUDIO_LOW_SYMBOL='  '
11
+
12
+AUDIO_MUTED_SYMBOL='  '
13
+
14
+AUDIO_INTERVAL=5
15
+
16
+DEFAULT_COLOR="#ffffff"
17
+MUTED_COLOR="#a0a0a0"
18
+
19
+LONG_FORMAT=0
20
+SHORT_FORMAT=2
21
+USE_PERCENT=1
22
+USE_ALSA_NAME=0
23
+USE_DESCRIPTION=0
24
+
25
+SUBSCRIBE=0
26
+
27
+while getopts F:Sf:padH:M:L:X:T:t:C:c:i:m:s:h opt; do
28
+    case "$opt" in
29
+        S) SUBSCRIBE=1 ;;
30
+        F) LONG_FORMAT="$OPTARG" ;;
31
+        f) SHORT_FORMAT="$OPTARG" ;;
32
+        p) USE_PERCENT=0 ;;
33
+        a) USE_ALSA_NAME=1 ;;
34
+        d) USE_DESCRIPTION=1 ;;
35
+        H) AUDIO_HIGH_SYMBOL="$OPTARG" ;;
36
+        M) AUDIO_MED_SYMBOL="$OPTARG" ;;
37
+        L) AUDIO_LOW_SYMBOL="$OPTARG" ;;
38
+        X) AUDIO_MUTED_SYMBOL="$OPTARG" ;;
39
+        T) AUDIO_MED_THRESH="$OPTARG" ;;
40
+        t) AUDIO_LOW_THRESH="$OPTARG" ;;
41
+        C) DEFAULT_COLOR="$OPTARG" ;;
42
+        c) MUTED_COLOR="$OPTARG" ;;
43
+        i) AUDIO_INTERVAL="$OPTARG" ;;
44
+        m) MIXER="$OPTARG" ;;
45
+        s) SCONTROL="$OPTARG" ;;
46
+        h) printf \
47
+"Usage: volume-pulseaudio [-S] [-F format] [-f format] [-p] [-a|-d] [-H symb] [-M symb]
48
+        [-L symb] [-X symb] [-T thresh] [-t thresh] [-C color] [-c color] [-i inter] 
49
+        [-m mixer] [-s scontrol] [-h]
50
+Options:
51
+-F, -f\tOutput format (-F long format, -f short format) to use, amongst:
52
+\t0\t symb vol [index:name]\t (default long)
53
+\t1\t symb vol [name]
54
+\t2\t symb vol [index]\t (default short)
55
+\t3\t symb vol
56
+-S\tSubscribe to volume events (requires persistent block, always uses long format)
57
+-p\tOmit the percent sign (%%) in volume
58
+-a\tUse ALSA name if possible
59
+-d\tUse device description instead of name if possible
60
+-H\tSymbol to use when audio level is high. Default: '$AUDIO_HIGH_SYMBOL'
61
+-M\tSymbol to use when audio level is medium. Default: '$AUDIO_MED_SYMBOL'
62
+-L\tSymbol to use when audio level is low. Default: '$AUDIO_LOW_SYMBOL'
63
+-X\tSymbol to use when audio is muted. Default: '$AUDIO_MUTED_SYMBOL'
64
+-T\tThreshold for medium audio level. Default: $AUDIO_MED_THRESH
65
+-t\tThreshold for low audio level. Default: $AUDIO_LOW_THRESH
66
+-C\tColor for non-muted audio. Default: $DEFAULT_COLOR
67
+-c\tColor for muted audio. Default: $MUTED_COLOR
68
+-i\tInterval size of volume increase/decrease. Default: $AUDIO_INTERVAL
69
+-m\tUse the given mixer.
70
+-s\tUse the given scontrol.
71
+-h\tShow this help text
72
+" && exit 0;;
73
+    esac
74
+done
75
+
76
+if [[ -z "$MIXER" ]] ; then
77
+    MIXER="default"
78
+    if amixer -D pulse info >/dev/null 2>&1 ; then
79
+        MIXER="pulse"
80
+    fi
81
+fi
82
+
83
+if [[ -z "$SCONTROL" ]] ; then
84
+    SCONTROL=$(amixer -D "$MIXER" scontrols | sed -n "s/Simple mixer control '\([^']*\)',0/\1/p" | head -n1)
85
+fi
86
+
87
+CAPABILITY=$(amixer -D $MIXER get $SCONTROL | sed -n "s/  Capabilities:.*cvolume.*/Capture/p")
88
+
89
+
90
+function move_sinks_to_new_default {
91
+    DEFAULT_SINK=$1
92
+    pacmd list-sink-inputs | grep index: | grep -o '[0-9]\+' | while read SINK
93
+    do
94
+        pacmd move-sink-input $SINK $DEFAULT_SINK
95
+    done
96
+}
97
+
98
+function set_default_playback_device_next {
99
+    inc=${1:-1}
100
+    num_devices=$(pacmd list-sinks | grep -c index:)
101
+    sink_arr=($(pacmd list-sinks | grep index: | grep -o '[0-9]\+'))
102
+    default_sink_index=$(( $(pacmd list-sinks | grep index: | grep -no '*' | grep -o '^[0-9]\+') - 1 ))
103
+    default_sink_index=$(( ($default_sink_index + $num_devices + $inc) % $num_devices ))
104
+    default_sink=${sink_arr[$default_sink_index]}
105
+    pacmd set-default-sink $default_sink
106
+    move_sinks_to_new_default $default_sink
107
+}
108
+
109
+case "$BLOCK_BUTTON" in
110
+    1) set_default_playback_device_next ;;
111
+    2) amixer -q -D $MIXER sset $SCONTROL $CAPABILITY toggle ;;
112
+    3) set_default_playback_device_next -1 ;;
113
+    4) amixer -q -D $MIXER sset $SCONTROL $CAPABILITY $AUDIO_INTERVAL%+ ;;
114
+    5) amixer -q -D $MIXER sset $SCONTROL $CAPABILITY $AUDIO_INTERVAL%- ;;
115
+esac
116
+
117
+function print_format {
118
+    PERCENT="%"
119
+    [[ $USE_PERCENT == 0 ]] && PERCENT=""
120
+    case "$1" in
121
+        1) echo "$SYMBOL$VOL$PERCENT [$NAME]" ;;
122
+        2) echo "$SYMBOL$VOL$PERCENT [$INDEX]";;
123
+        3) echo "$SYMBOL$VOL$PERCENT" ;;
124
+        *) echo "$SYMBOL$VOL$PERCENT [$INDEX:$NAME]" ;;
125
+    esac
126
+}
127
+
128
+function print_block {
129
+    for name in INDEX NAME VOL MUTED; do
130
+        read $name
131
+    done < <(pacmd list-sinks | grep "index:\|name:\|volume: front\|muted:" | grep -A3 '*')
132
+    INDEX=$(echo "$INDEX" | grep -o '[0-9]\+')
133
+    VOL=$(echo "$VOL" | grep -o "[0-9]*%" | head -1 )
134
+    VOL="${VOL%?}"
135
+
136
+    NAME=$(echo "$NAME" | sed \
137
+'s/.*<.*\.\(.*\)>.*/\1/; t;'\
138
+'s/.*<\(.*\)>.*/\1/; t;'\
139
+'s/.*/unknown/')
140
+
141
+    if [[ $USE_ALSA_NAME == 1 ]] ; then
142
+        ALSA_NAME=$(pacmd list-sinks |\
143
+awk '/^\s*\*/{f=1}/^\s*index:/{f=0}f' |\
144
+grep "alsa.name\|alsa.mixer_name" |\
145
+head -n1 |\
146
+sed 's/.*= "\(.*\)".*/\1/')
147
+        NAME=${ALSA_NAME:-$NAME}
148
+    elif [[ $USE_DESCRIPTION == 1 ]] ; then
149
+        DESCRIPTION=$(pacmd list-sinks |\
150
+awk '/^\s*\*/{f=1}/^\s*index:/{f=0}f' |\
151
+grep "device.description" |\
152
+head -n1 |\
153
+sed 's/.*= "\(.*\)".*/\1/')
154
+        NAME=${DESCRIPTION:-$NAME}
155
+    fi
156
+
157
+    if [[ $MUTED =~ "no" ]] ; then
158
+        SYMBOL=$AUDIO_HIGH_SYMBOL
159
+        [[ $VOL -le $AUDIO_MED_THRESH ]] && SYMBOL=$AUDIO_MED_SYMBOL
160
+        [[ $VOL -le $AUDIO_LOW_THRESH ]] && SYMBOL=$AUDIO_LOW_SYMBOL
161
+        COLOR=$DEFAULT_COLOR
162
+    else
163
+        SYMBOL=$AUDIO_MUTED_SYMBOL
164
+        COLOR=$MUTED_COLOR
165
+    fi
166
+
167
+    if [[ $SUBSCRIBE == 1 ]] ; then
168
+        print_format "$LONG_FORMAT"
169
+    else
170
+        print_format "$LONG_FORMAT"
171
+        print_format "$SHORT_FORMAT"
172
+        echo "$COLOR"
173
+    fi
174
+}
175
+
176
+print_block
177
+if [[ $SUBSCRIBE == 1 ]] ; then
178
+    while read -r EVENT; do
179
+        print_block
180
+    done < <(pactl subscribe | stdbuf -oL grep change)
181
+fi

+ 97
- 0
.config/i3/config View File

@@ -0,0 +1,97 @@
1
+## font
2
+font pango:DejaVu Sans Mono 10
3
+
4
+## i3 ModKeys
5
+set $mod Mod4
6
+set $cmod Mod1
7
+
8
+gaps inner 10
9
+set $work1 "Neptune"
10
+set $work2 "Saturn"
11
+set $work3 "Titan"
12
+set $work4 "Venus"
13
+set $work5 "Jupiter"
14
+set $work6 "Mars"
15
+
16
+# default workspaces to each monitor
17
+workspace $work1 output DVI-I-1
18
+workspace $work2 output HDMI-0
19
+
20
+# startup applications
21
+exec_always --no-startup-id ~/.config/i3/polybar.sh &
22
+exec_always feh --bg-scale ~/Pictures/Wallpapers/deoksugung2_right.jpg ~/Pictures/Wallpapers/deoksugung2_left.jpg
23
+
24
+## i3 Opts
25
+hide_edge_borders both
26
+new_window pixel 2
27
+
28
+# Floating mode
29
+#floating_modifer $mod
30
+
31
+# Focus keys
32
+bindsym $mod+Left focus left
33
+bindsym $mod+Down focus down
34
+bindsym $mod+Up focus up
35
+bindsym $mod+Right focus right
36
+
37
+# Move keys
38
+bindsym $mod+Shift+Left move left
39
+bindsym $mod+Shift+Down move down
40
+bindsym $mod+Shift+Up move up
41
+bindsym $mod+Shift+Right move right
42
+
43
+# Move workspaces
44
+bindsym $mod+1 workspace $work1
45
+bindsym $mod+2 workspace $work2
46
+bindsym $mod+3 workspace $work3
47
+bindsym $mod+4 workspace $work4
48
+bindsym $mod+5 workspace $work5
49
+bindsym $mod+6 workspace $work6
50
+
51
+# resize windows
52
+bindsym $mod+Ctrl+Shift+Right resize shrink width 10 px or 10 ppt
53
+bindsym $mod+Ctrl+Shift+Up resize grow height 10 px or 10 ppt
54
+bindsym $mod+Ctrl+Shift+Down resize shrink height 10 px or 10 ppt
55
+bindsym $mod+Ctrl+Shift+Left resize grow width 10 px or 10 ppt
56
+
57
+# move focused container to workspace
58
+bindsym $mod+Shift+1 move container to workspace $work1
59
+bindsym $mod+Shift+2 move container to workspace $work2
60
+bindsym $mod+Shift+3 move container to workspace $work3
61
+bindsym $mod+Shift+4 move container to workspace $work4
62
+bindsym $mod+Shift+5 move container to workspace $work5
63
+bindsym $mod+Shift+6 move container to workspace $work6
64
+
65
+# assign programs to workspaces
66
+assign [class="Discord"] $work2
67
+assign [class="Thunderbird"] $work3
68
+
69
+# splits
70
+bindsym $mod+h split h
71
+bindsym $mod+v split v
72
+
73
+# toggling view types
74
+bindsym $mod+s layout stacking
75
+bindsym $mod+l layout toggle split
76
+bindsym $mod+f fullscreen toggle
77
+bindsym $mod+g floating toggle
78
+
79
+
80
+## i3 Session keys
81
+bindsym $mod+Shift+c reload
82
+bindsym $mod+Shift+r restart
83
+bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3?' -b 'Yes, exit i3' 'i3-msg exit'"
84
+
85
+# General
86
+bindsym $mod+Return exec kitty
87
+bindsym $mod+d exec rofi -show run -config /home/andrei/.config/rofi/config
88
+bindsym $mod+w exec rofi -show window -config /home/andrei/.config/rofi/config
89
+bindsym $mod+Shift+w kill
90
+
91
+# Floating windows
92
+for_window [class="Peek"] floating enable
93
+
94
+client.focused          #5F875F #285577 #ffffff #97b597   #5F875F
95
+client.focused_inactive #333333 #5f676a #ffffff #484e50   #5f676a
96
+client.unfocused        #333333 #222222 #888888 #292d2e   #222222
97
+client.urgent           #2f343a #900000 #ffffff #900000   #900000

+ 11
- 0
.config/i3/polybar.sh View File

@@ -0,0 +1,11 @@
1
+#!/usr/bin/env sh
2
+
3
+# Terminate already running bar instances
4
+killall -q polybar
5
+
6
+# Wait until the processes have been shut down
7
+while pgrep -x polybar >/dev/null; do sleep 1; done
8
+
9
+# Launch polybar
10
+polybar zah &
11
+polybar zah-left &

+ 48
- 0
.config/i3/workspaces/neptune.json View File

@@ -0,0 +1,48 @@
1
+// vim:ts=4:sw=4:et
2
+{
3
+    "border": "pixel",
4
+    "current_border_width": 2,
5
+    "floating": "auto_off",
6
+    "geometry": {
7
+       "height": 1390,
8
+       "width": 1261,
9
+       "x": 0,
10
+       "y": 0
11
+    },
12
+    "name": "i3-save-tree --workspace Neptune > ~/.config/i3/workspaces/neptune.json",
13
+    "percent": 0.5,
14
+    "swallows": [
15
+       {
16
+       // "class": "^kitty$",
17
+       // "instance": "^kitty$",
18
+       // "title": "^i3\\-save\\-tree\\ \\-\\-workspace\\ Neptune\\ \\>\\ \\~\\/\\.config\\/i3\\/workspaces\\/neptune\\.json$",
19
+       // "transient_for": "^$"
20
+       }
21
+    ],
22
+    "type": "con"
23
+}
24
+
25
+{
26
+    "border": "pixel",
27
+    "current_border_width": 2,
28
+    "floating": "auto_off",
29
+    "geometry": {
30
+       "height": 1390,
31
+       "width": 1261,
32
+       "x": 0,
33
+       "y": 0
34
+    },
35
+    "name": "i3: Layout saving in i3 - Mozilla Firefox",
36
+    "percent": 0.5,
37
+    "swallows": [
38
+       {
39
+       // "class": "^Firefox$",
40
+       // "instance": "^Navigator$",
41
+       // "title": "^i3\\:\\ Layout\\ saving\\ in\\ i3\\ \\-\\ Mozilla\\ Firefox$",
42
+       // "transient_for": "^$",
43
+       // "window_role": "^browser$"
44
+       }
45
+    ],
46
+    "type": "con"
47
+}
48
+

+ 48
- 0
.config/i3/workspaces/saturn.json View File

@@ -0,0 +1,48 @@
1
+// vim:ts=4:sw=4:et
2
+{
3
+    "border": "pixel",
4
+    "current_border_width": 2,
5
+    "floating": "auto_off",
6
+    "geometry": {
7
+       "height": 835,
8
+       "width": 1416,
9
+       "x": 12,
10
+       "y": 12
11
+    },
12
+    "name": "#get_schwifty - Discord",
13
+    "percent": 0.5,
14
+    "swallows": [
15
+       {
16
+       // "class": "^discord$",
17
+       // "instance": "^discord$",
18
+       // "title": "^\\#get_schwifty\\ \\-\\ Discord$",
19
+       // "transient_for": "^$",
20
+       // "window_role": "^browser\\-window$"
21
+       }
22
+    ],
23
+    "type": "con"
24
+}
25
+
26
+{
27
+    "border": "pixel",
28
+    "current_border_width": 2,
29
+    "floating": "auto_off",
30
+    "geometry": {
31
+       "height": 600,
32
+       "width": 800,
33
+       "x": 0,
34
+       "y": 0
35
+    },
36
+    "name": "Spotify",
37
+    "percent": 0.5,
38
+    "swallows": [
39
+       {
40
+       // "class": "^Spotify$",
41
+       // "instance": "^spotify$",
42
+       // "title": "^Spotify$",
43
+       // "transient_for": "^$"
44
+       }
45
+    ],
46
+    "type": "con"
47
+}
48
+

+ 25
- 0
.config/i3/workspaces/titan.json View File

@@ -0,0 +1,25 @@
1
+// vim:ts=4:sw=4:et
2
+{
3
+    "border": "pixel",
4
+    "current_border_width": 2,
5
+    "floating": "auto_off",
6
+    "geometry": {
7
+       "height": 1390,
8
+       "width": 1261,
9
+       "x": 0,
10
+       "y": 0
11
+    },
12
+    "name": "Inbox - zah.andrew@gmail.com - Mozilla Thunderbird",
13
+    "percent": 1,
14
+    "swallows": [
15
+       {
16
+       // "class": "^Thunderbird$",
17
+       // "instance": "^Mail$",
18
+       // "title": "^Inbox\\ \\-\\ zah\\.andrew\\@gmail\\.com\\ \\-\\ Mozilla\\ Thunderbird$",
19
+       // "transient_for": "^$",
20
+       // "window_role": "^3pane$"
21
+       }
22
+    ],
23
+    "type": "con"
24
+}
25
+

+ 48
- 0
.config/i3/workspaces/venus.json View File

@@ -0,0 +1,48 @@
1
+// vim:ts=4:sw=4:et
2
+{
3
+    "border": "pixel",
4
+    "current_border_width": 2,
5
+    "floating": "auto_off",
6
+    "geometry": {
7
+       "height": 1390,
8
+       "width": 2536,
9
+       "x": 1452,
10
+       "y": 598
11
+    },
12
+    "name": "Signal",
13
+    "percent": 0.5,
14
+    "swallows": [
15
+       {
16
+       // "class": "^Signal$",
17
+       // "instance": "^signal$",
18
+       // "title": "^Signal$",
19
+       // "transient_for": "^$",
20
+       // "window_role": "^browser\\-window$"
21
+       }
22
+    ],
23
+    "type": "con"
24
+}
25
+
26
+{
27
+    "border": "pixel",
28
+    "current_border_width": 2,
29
+    "floating": "auto_off",
30
+    "geometry": {
31
+       "height": 1390,
32
+       "width": 1261,
33
+       "x": 0,
34
+       "y": 0
35
+    },
36
+    "name": "WeeChat 2.1",
37
+    "percent": 0.5,
38
+    "swallows": [
39
+       {
40
+       // "class": "^kitty$",
41
+       // "instance": "^kitty$",
42
+       // "title": "^WeeChat\\ 2\\.1$",
43
+       // "transient_for": "^$"
44
+       }
45
+    ],
46
+    "type": "con"
47
+}
48
+

.config/.kitty/kitty.conf → .config/kitty/kitty.conf View File

@@ -22,7 +22,7 @@ font_size        10.0
22 22
 # the font size in a running terminal.
23 23
 font_size_delta 2
24 24
 
25
-
25
+allow_remote_control yes
26 26
 # Adjust the cell dimensions.
27 27
 # You can use either numbers, which are interpreted as pixels or percentages
28 28
 # (number followed by %), which are interpreted as percentages of the

.config/.mpd/mpd.conf → .config/mpd/mpd.conf View File


+ 3
- 0
.config/nvim/.netrwhist View File

@@ -0,0 +1,3 @@
1
+let g:netrw_dirhistmax  =10
2
+let g:netrw_dirhist_cnt =1
3
+let g:netrw_dirhist_1='/home/andrei/Sync/_work/stars-dod'

+ 3
- 0
.config/nvim/after/compiler/tardyscript.vim View File

@@ -0,0 +1,3 @@
1
+let current_compiler = "tardyscript"
2
+CompilerSet makeprg=sleep\ 5;tsc\ $*\ --outDir\ build\ %
3
+CompilerSet errorformat=%+A\ %#%f\ %#(%l\\\,%c):\ %m,%C%m

+ 3
- 0
.config/nvim/after/compiler/tsconfig.vim View File

@@ -0,0 +1,3 @@
1
+let current_compiler = "tsconfig"
2
+CompilerSet makeprg=tsc
3
+CompilerSet errorformat=%+A\ %#%f\ %#(%l\\\,%c):\ %m,%C%m

+ 10
- 0
.config/nvim/after/compiler/tslint.vim View File

@@ -0,0 +1,10 @@
1
+let current_compiler = "tslint"
2
+let s:cpo_save = &cpo
3
+set cpo-=C
4
+CompilerSet makeprg=tslint\ $*\ -t\ prose\ -c\ tslint.json\ 'src/**/*.ts'
5
+CompilerSet errorformat=
6
+    \%EERROR:\ %f[%l\\\,\ %c]:\ %m,
7
+    \%WWARNING:\ %f[%l\\\,\ %c]:\ %m,
8
+    \%E%f[%l\\\,\ %c]:\ %m
9
+let &cpo = s:cpo_save
10
+unlet s:cpo_save

+ 3
- 0
.config/nvim/after/compiler/typescript.vim View File

@@ -0,0 +1,3 @@
1
+let current_compiler = "typescript"
2
+CompilerSet makeprg=tsc\ $*\ --outDir\ build\ %
3
+CompilerSet errorformat=%+A\ %#%f\ %#(%l\\\,%c):\ %m,%C%m

nvim/after/syntax/clojure.vim → .config/nvim/after/syntax/clojure.vim View File


+ 5
- 0
.config/nvim/after/syntax/crystal.vim View File

@@ -0,0 +1,5 @@
1
+syntax keyword crystalClassAttribute class_getter class_setter class_property
2
+syntax keyword crystalHTMLMethodBlock get put post patch delete
3
+
4
+hi link crystalClassAttribute crystalAttribute
5
+hi link crystalHTMLMethodBlock crystalBlock

+ 0
- 0
.config/nvim/after/syntax/elixir.vim View File


nvim/after/syntax/elm.vim → .config/nvim/after/syntax/elm.vim View File


+ 12
- 0
.config/nvim/after/syntax/ruby.vim View File

@@ -0,0 +1,12 @@
1
+if !has('conceal')
2
+  finish
3
+endif
4
+
5
+syntax keyword rubyNiceOperator lambda conceal cchar=λ
6
+
7
+autocmd User ProjectionistDetect
8
+\ call projectionist#append(getcwd(),
9
+\ {
10
+\   "app/*.rb": { "alternate": "spec/{}_spec.rb" },
11
+\   "spec/*_spec.rb": { "alternate": "app/{}.rb" }
12
+\ })

+ 2504
- 0
.config/nvim/autoload/plug.vim
File diff suppressed because it is too large
View File


+ 2504
- 0
.config/nvim/autoload/plug.vim.old
File diff suppressed because it is too large
View File


.nvimrc → .config/nvim/init.vim View File

@@ -8,12 +8,12 @@ call plug#begin('~/.vim/plugged')
8 8
 
9 9
 Plug 'AndrewRadev/sideways.vim'
10 10
 Plug 'ElmCast/elm-vim', { 'for': 'elm' }
11
+Plug 'Yggdroot/indentLine', { 'for': ['yaml', 'python'] }
11 12
 Plug 'bhurlow/vim-parinfer', {'for': 'clojure' }
12
-Plug 'c-brenn/phoenix.vim', { 'for': ['elixir'] }
13 13
 Plug 'cespare/vim-toml', { 'for': 'toml' }
14 14
 Plug 'chrisbra/NrrwRgn'
15 15
 Plug 'chrisbra/csv.vim'
16
-Plug 'elixir-editors/vim-elixir', { 'for': ['elixir'] }
16
+Plug 'elixir-editors/vim-elixir'
17 17
 Plug 'elorest/vim-slang', { 'for': 'slang' }
18 18
 Plug 'fisadev/FixedTaskList.vim'
19 19
 Plug 'gcmt/wildfire.vim'
@@ -21,21 +21,30 @@ Plug 'gerw/vim-HiLinkTrace'
21 21
 Plug 'godlygeek/tabular'
22 22
 Plug 'haya14busa/vim-signjk-motion'
23 23
 Plug 'iamcco/markdown-preview.vim', { 'for': 'markdown' }
24
+Plug 'isobit/vim-caddyfile', { 'for': 'caddyfile' }
25
+Plug 'janko-m/vim-test'
24 26
 Plug 'junegunn/fzf'
25 27
 Plug 'junegunn/fzf.vim'
28
+Plug 'kchmck/vim-coffee-script', { 'for': 'coffee' }
26 29
 Plug 'ledger/vim-ledger'
27
-Plug 'luochen1990/rainbow'
30
+Plug 'luochen1990/rainbow', { 'for': ['clojure'] }
28 31
 Plug 'machakann/vim-sandwich'
32
+Plug 'mattn/emmet-vim'
33
+Plug 'mhinz/vim-grepper'
29 34
 Plug 'morhetz/gruvbox'
30
-Plug 'nathanaelkane/vim-indent-guides'
35
+Plug 'nathanaelkane/vim-indent-guides', { 'for': ['yaml', 'python', 'haml', 'slim', 'slang'] }
36
+Plug 'radenling/vim-dispatch-neovim'
31 37
 Plug 'rhysd/vim-crystal', { 'for': 'crystal' }
32 38
 Plug 'rust-lang/rust.vim', { 'for': 'rust' }
33 39
 Plug 'scrooloose/nerdcommenter'
34 40
 Plug 'soramugi/auto-ctags.vim'
41
+Plug 'tpope/vim-dispatch'
35 42
 Plug 'tpope/vim-fireplace', { 'for': 'clojure' }
36 43
 Plug 'tpope/vim-fugitive'
44
+Plug 'tpope/vim-projectionist'
37 45
 Plug 'venantius/vim-eastwood', { 'for': 'clojure' }
38 46
 Plug 'vim-scripts/ReplaceWithRegister'
47
+Plug 'w0rp/ale'
39 48
 Plug 'yuttie/comfortable-motion.vim'
40 49
 
41 50
 call plug#end()
@@ -150,6 +159,21 @@ let g:wildfire_objects = {
150 159
 \ }
151 160
 "for appending types to * rather than excluding: https://github.com/gcmt/wildfire.vim
152 161
 
162
+let g:indentLine_char = '|'
163
+
164
+let g:ale_lint_on_text_changed = 'never'
165
+let g:ale_lint_on_enter = 0
166
+let g:ale_lint_on_filetype_changed = 0
167
+let g:ale_lint_on_save = 1
168
+let g:ale_linters = {
169
+  \ 'javascript': ['eslint'],
170
+\ }
171
+
172
+let g:grepper = {}
173
+let g:grepper.tools = ['rg', 'git', 'grep']
174
+
175
+let test#strategy = "dispatch"
176
+
153 177
 """
154 178
 """ Key remapping
155 179
 """
@@ -226,6 +250,15 @@ nnoremap <leader>sl :call LoadSession()<cr>
226 250
 " Highlight syntax for word under cursor
227 251
 nnoremap <leader>pr :HLT!<cr>
228 252
 
253
+" In order to traverse ALE warnings
254
+nnoremap <silent> [w <Plug>(ale_previous_wrap)
255
+nnoremap <silent> ]w <Plug>(ale_next_wrap)
256
+
257
+" Grepper
258
+nnoremap <Leader>* :Grepper -cword -noprompt<CR>
259
+nnoremap gs <Plug>(GrepperOperator)
260
+xnoremap gs <Plug>(GrepperOperator)
261
+
229 262
 """ Syntaxes """
230 263
 
231 264
 " Autoset slang syntax highlighting

+ 434
- 0
.config/polybar/config View File

@@ -0,0 +1,434 @@
1
+;==========================================================
2
+;
3
+;
4
+;   ██████╗  ██████╗ ██╗  ██╗   ██╗██████╗  █████╗ ██████╗
5
+;   ██╔══██╗██╔═══██╗██║  ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
6
+;   ██████╔╝██║   ██║██║   ╚████╔╝ ██████╔╝███████║██████╔╝
7
+;   ██╔═══╝ ██║   ██║██║    ╚██╔╝  ██╔══██╗██╔══██║██╔══██╗
8
+;   ██║     ╚██████╔╝███████╗██║   ██████╔╝██║  ██║██║  ██║
9
+;   ╚═╝      ╚═════╝ ╚══════╝╚═╝   ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═╝
10
+;
11
+;
12
+;   To learn more about how to configure Polybar
13
+;   go to https://github.com/jaagr/polybar
14
+;
15
+;   The README contains alot of information
16
+;
17
+;==========================================================
18
+
19
+[colors]
20
+;background = ${xrdb:color0:#222}
21
+background = #222
22
+background-alt = #444
23
+;foreground = ${xrdb:color7:#222}
24
+foreground = #dfdfdf
25
+foreground-alt = #555
26
+primary = #ffb52a
27
+secondary = #e60053
28
+alert = #bd2c40
29
+
30
+[bar/zah-left]
31
+font-0 = "DejaVu Sans:style=Regular:pixelsize=10;0"
32
+monitor = ${env:MONITOR:HDMI-0}
33
+width = 100%
34
+height = 27
35
+radius = 6.0
36
+
37
+background = ${colors.background}
38
+foreground = ${colors.foreground}
39
+
40
+line-size = 3
41
+line-color = #f00
42
+
43
+border-size = 4
44
+border-color = #00000000
45
+
46
+padding-left = 0
47
+padding-right = 2
48
+
49
+module-margin-left = 1
50
+module-margin-right = 2
51
+
52
+modules-left = i3
53
+modules-center = 
54
+modules-right =
55
+
56
+; focused = Active workspace on focused monitor
57
+label-focused = %name%
58
+label-focused-background = ${module/bspwm.label-focused-background}
59
+label-focused-underline = ${module/bspwm.label-focused-underline}
60
+label-focused-padding = ${module/bspwm.label-focused-padding}
61
+
62
+; unfocused = Inactive workspace on any monitor
63
+label-unfocused = %name%
64
+label-unfocused-padding = ${module/bspwm.label-occupied-padding}
65
+
66
+; visible = Active workspace on unfocused monitor
67
+label-visible = %index%
68
+label-visible-background = ${self.label-focused-background}
69
+label-visible-underline = ${self.label-focused-underline}
70
+label-visible-padding = ${self.label-focused-padding}
71
+
72
+; urgent = Workspace with urgency hint set
73
+label-urgent = %index%
74
+label-urgent-background = ${module/bspwm.label-urgent-background}
75
+label-urgent-padding = ${module/bspwm.label-urgent-padding}
76
+
77
+; Separator in between workspaces
78
+; label-separator = |
79
+
80
+[bar/zah]
81
+font-0 = "DejaVu Sans:style=Regular:pixelsize=10;0"
82
+font-1 = "FontAwesome:pixelsize=10;0"
83
+font-2 = siji:pixelsize=10;1
84
+font-3 = unifont:fontformat=truetype:size=8:antialias=false;0
85
+monitor = ${env:MONITOR:DVI-I-1}
86
+width = 100%
87
+height = 27
88
+;offset-x = 1%
89
+;offset-y = 1%
90
+radius = 6.0
91
+fixed-center = false
92
+
93
+background = ${colors.background}
94
+foreground = ${colors.foreground}
95
+
96
+line-size = 3
97
+line-color = #f00
98
+
99
+border-size = 4
100
+border-color = #00000000
101
+
102
+padding-left = 0
103
+padding-right = 2
104
+
105
+module-margin-left = 1
106
+module-margin-right = 2
107
+
108
+modules-left = i3
109
+modules-center = 
110
+modules-right = mpd filesystem eth xkeyboard memory cpu temperature date powermenu
111
+
112
+tray-position = right
113
+tray-padding = 2
114
+;tray-transparent = true
115
+;tray-background = #0063ff
116
+
117
+;wm-restack = bspwm
118
+;wm-restack = i3
119
+
120
+;override-redirect = true
121
+
122
+;scroll-up = bspwm-desknext
123
+;scroll-down = bspwm-deskprev
124
+
125
+;scroll-up = i3wm-wsnext
126
+;scroll-down = i3wm-wsprev
127
+
128
+cursor-click = pointer
129
+cursor-scroll = ns-resize
130
+
131
+[module/xkeyboard]
132
+type = internal/xkeyboard
133
+blacklist-0 = num lock
134
+
135
+format-prefix = " "
136
+format-prefix-foreground = ${colors.foreground-alt}
137
+format-prefix-underline = ${colors.secondary}
138
+
139
+label-layout =  %layout%
140
+label-layout-underline = ${colors.secondary}
141
+
142
+label-indicator-padding = 2
143
+label-indicator-margin = 1
144
+label-indicator-background = ${colors.secondary}
145
+label-indicator-underline = ${colors.secondary}
146
+
147
+[module/filesystem]
148
+type = internal/fs
149
+interval = 25
150
+
151
+mount-0 = /
152
+
153
+label-mounted =  %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
154
+label-unmounted = %mountpoint% not mounted
155
+label-unmounted-foreground = ${colors.foreground-alt}
156
+
157
+format-label-underline = ${colors.secondary}
158
+
159
+[module/bspwm]
160
+type = internal/bspwm
161
+
162
+label-focused = %name%
163
+label-focused-background = ${colors.background-alt}
164
+label-focused-underline= ${colors.primary}
165
+label-focused-padding = 2
166
+
167
+label-occupied = %index%
168
+label-occupied-padding = 2
169
+
170
+label-urgent = %index%!
171
+label-urgent-background = ${colors.alert}
172
+label-urgent-padding = 2
173
+
174
+label-empty = %index%
175
+label-empty-foreground = ${colors.foreground-alt}
176
+label-empty-padding = 2
177
+
178
+pin-workspaces = true
179
+
180
+; Separator in between workspaces
181
+; label-separator = |
182
+
183
+[module/i3]
184
+type = internal/i3
185
+format = <label-state> <label-mode>
186
+index-sort = true
187
+wrapping-scroll = false
188
+
189
+ws-icon-0 = 1:Neptune;
190
+ws-icon-1 = 2:Saturn;
191
+ws-icon-2 = 3;Titan;
192
+ws-icon-3 = 4;
193
+ws-icon-4 = 5;
194
+ws-icon-default = 
195
+
196
+; Only show workspaces on the same output as the bar
197
+pin-workspaces = true
198
+
199
+label-mode-padding = 2
200
+label-mode-foreground = #000
201
+label-mode-background = ${colors.primary}
202
+
203
+; focused = Active workspace on focused monitor
204
+label-focused = %name%
205
+label-focused-background = ${module/bspwm.label-focused-background}
206
+label-focused-underline = #16a085 
207
+; ${module/bspwm.label-focused-underline}
208
+label-focused-padding = ${module/bspwm.label-focused-padding}
209
+
210
+; unfocused = Inactive workspace on any monitor
211
+label-unfocused = %name%
212
+label-unfocused-padding = ${module/bspwm.label-occupied-padding}
213
+
214
+; visible = Active workspace on unfocused monitor
215
+label-visible = %name%
216
+label-visible-background = ${self.label-focused-background}
217
+label-visible-underline = ${self.label-focused-underline}
218
+label-visible-padding = ${self.label-focused-padding}
219
+
220
+; urgent = Workspace with urgency hint set
221
+label-urgent = %name%
222
+label-urgent-background = ${module/bspwm.label-urgent-background}
223
+label-urgent-padding = ${module/bspwm.label-urgent-padding}
224
+
225
+; Separator in between workspaces
226
+; label-separator = |
227
+
228
+
229
+[module/mpd]
230
+type = internal/mpd
231
+format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next> <icon-random>
232
+
233
+host = /home/andrei/.config/mpd/socket
234
+
235
+icon-prev = 
236
+icon-stop =  
237
+icon-play = 
238
+icon-pause = 
239
+icon-next = 
240
+icon-random = 
241
+
242
+label-song = %artist% - %album% - %title%
243
+label-song-maxlen = 100
244
+label-song-ellipsis = true
245
+
246
+[module/xbacklight]
247
+type = internal/xbacklight
248
+output = LVDS1
249
+
250
+format = %{A1:xbacklight -dec 10:A3:xbacklight -inc 10:} <label> <bar> %{A}
251
+label = "BL "
252
+
253
+bar-width = 10
254
+bar-indicator = |
255
+bar-indicator-foreground = #fff
256
+bar-indicator-font = 2
257
+bar-fill = ─
258
+bar-fill-font = 2
259
+bar-fill-foreground = #9f78e1
260
+bar-empty = ─
261
+bar-empty-font = 2
262
+bar-empty-foreground = ${colors.foreground-alt}
263
+
264
+[module/backlight-acpi]
265
+inherit = module/xbacklight
266
+type = internal/backlight
267
+card = intel_backlight
268
+
269
+[module/cpu]
270
+type = internal/cpu
271
+interval = 2
272
+format-prefix = "CPU "
273
+format-prefix-foreground = ${colors.foreground-alt}
274
+format-underline = #f90000
275
+label = %{A:kitty -o allow_remote_control=yes htop -s PERCENT_CPU:}%percentage:2%%%{A}
276
+
277
+
278
+[module/memory]
279
+type = internal/memory
280
+interval = 2
281
+format-prefix = "RAM "
282
+format-prefix-foreground = ${colors.foreground-alt}
283
+format-underline = #4bffdc
284
+label =  %{A:kitty -o allow_remote_control=yes htop -s PERCENT_MEM:}%percentage_used%% - %gb_free%%%{A}
285
+
286
+[module/eth]
287
+type = internal/network
288
+interface = enp0s25
289
+interval = 3.0
290
+
291
+format-connected-underline = #55aa55
292
+format-connected-prefix = " "
293
+format-connected-prefix-foreground = ${colors.foreground-alt}
294
+label-connected = %local_ip%
295
+
296
+format-disconnected =
297
+;format-disconnected = <label-disconnected>
298
+;format-disconnected-underline = ${self.format-connected-underline}
299
+;label-disconnected = %ifname% disconnected
300
+;label-disconnected-foreground = ${colors.foreground-alt}
301
+
302
+[module/date]
303
+type = internal/date
304
+interval = 5
305
+
306
+date = "%A %B %e"
307
+date-alt = "%A %B %e"
308
+
309
+time = %H:%M
310
+time-alt = %H:%M:%S
311
+
312
+format-prefix = 
313
+format-prefix-foreground = ${colors.foreground-alt}
314
+format-underline = #0a6cf5
315
+
316
+label = %date% | %time%
317
+
318
+[module/pulseaudio]
319
+type = internal/pulseaudio
320
+
321
+format = %{A1:xbacklight -dec 10:A3:xbacklight -inc 10:} <label-volume> <bar-volume> %{A}
322
+label-volume = VOL %percentage%%
323
+label-volume-foreground = ${root.foreground}
324
+
325
+label-muted = 🔇 muted
326
+label-muted-foreground = #666
327
+
328
+bar-volume-width = 10
329
+bar-volume-foreground-0 = #55aa55
330
+bar-volume-foreground-1 = #55aa55
331
+bar-volume-foreground-2 = #55aa55
332
+bar-volume-foreground-3 = #55aa55
333
+bar-volume-foreground-4 = #55aa55
334
+bar-volume-foreground-5 = #f5a70a
335
+bar-volume-foreground-6 = #ff5555
336
+bar-volume-gradient = false
337
+bar-volume-indicator = |
338
+bar-volume-indicator-font = 2
339
+bar-volume-fill = ─
340
+bar-volume-fill-font = 2
341
+bar-volume-empty = ─
342
+bar-volume-empty-font = 2
343
+bar-volume-empty-foreground = ${colors.foreground-alt}
344
+
345
+[module/alsa]
346
+type = internal/alsa
347
+
348
+format-volume = <label-volume> <bar-volume>
349
+#format = %{A1:xbacklight -dec 10:A3:xbacklight -inc 10:} <label-volume> <bar-volume> %{A}
350
+label-volume = VOL
351
+label-volume-foreground = ${root.foreground}
352
+
353
+format-muted-prefix = " "
354
+format-muted-foreground = ${colors.foreground-alt}
355
+label-muted = sound muted
356
+
357
+bar-volume-width = 10
358
+bar-volume-foreground-0 = #55aa55
359
+bar-volume-foreground-1 = #55aa55
360
+bar-volume-foreground-2 = #55aa55
361
+bar-volume-foreground-3 = #55aa55
362
+bar-volume-foreground-4 = #55aa55
363
+bar-volume-foreground-5 = #f5a70a
364
+bar-volume-foreground-6 = #ff5555
365
+bar-volume-gradient = false
366
+bar-volume-indicator = |
367
+bar-volume-indicator-font = 2
368
+bar-volume-fill = ─
369
+bar-volume-fill-font = 2
370
+bar-volume-empty = ─
371
+bar-volume-empty-font = 2
372
+bar-volume-empty-foreground = ${colors.foreground-alt}
373
+
374
+[module/temperature]
375
+type = internal/temperature
376
+thermal-zone = 0
377
+warn-temperature = 77
378
+
379
+format = <ramp> <label>
380
+format-underline = #f50a4d
381
+format-warn = <ramp> <label-warn>
382
+format-warn-underline = ${self.format-underline}
383
+
384
+label = %temperature-c%
385
+label-warn = %temperature-c%
386
+label-warn-foreground = ${colors.secondary}
387
+
388
+ramp-0 = 
389
+ramp-1 =
390
+ramp-2 =
391
+ramp-foreground = ${colors.foreground-alt}
392
+
393
+[module/powermenu]
394
+type = custom/menu
395
+
396
+expand-right = true
397
+
398
+format-spacing = 1
399
+
400
+label-open = 
401
+label-open-foreground = ${colors.secondary}
402
+label-close =  cancel
403
+label-close-foreground = ${colors.secondary}
404
+label-separator = |
405
+label-separator-foreground = ${colors.foreground-alt}
406
+
407
+menu-0-0 = reboot
408
+menu-0-0-exec = menu-open-1
409
+menu-0-1 = power off
410
+menu-0-1-exec = menu-open-2
411
+
412
+menu-1-0 = cancel
413
+menu-1-0-exec = menu-open-0
414
+menu-1-1 = reboot
415
+menu-1-1-exec = sudo reboot
416
+
417
+menu-2-0 = power off
418
+menu-2-0-exec = sudo poweroff
419
+menu-2-1 = cancel
420
+menu-2-1-exec = menu-open-0
421
+
422
+[settings]
423
+screenchange-reload = true
424
+;compositing-background = xor
425
+;compositing-background = screen
426
+;compositing-foreground = source
427
+;compositing-border = over
428
+
429
+[global/wm]
430
+margin-top = 5
431
+margin-bottom = 5
432
+
433
+; vim:ft=dosini
434
+

.config/.termite/config → .config/termite/config View File


+ 0
- 2
.i3/blocks/mpd.sh View File

@@ -9,6 +9,4 @@ if [ "$NCMP" = "[playing]" ]; then
9 9
     else
10 10
         echo -e ": $S_NCMP..."
11 11
     fi
12
-else
13
-    echo -e ": Pause "
14 12
 fi

+ 8
- 11
.i3/config View File

@@ -18,6 +18,7 @@ workspace $work1 output DVI-I-1
18 18
 workspace $work2 output HDMI-0
19 19
 
20 20
 # startup applications
21
+exec_always --no-startup-id ~/.config/i3/polybar.sh &
21 22
 exec_always feh --bg-scale ~/Pictures/Wallpapers/deoksugung2_right.jpg ~/Pictures/Wallpapers/deoksugung2_left.jpg
22 23
 
23 24
 ## i3 Opts
@@ -47,6 +48,12 @@ bindsym $mod+4 workspace $work4
47 48
 bindsym $mod+5 workspace $work5
48 49
 bindsym $mod+6 workspace $work6
49 50
 
51
+# resize windows
52
+bindsym $mod+Ctrl+Shift+Right resize shrink width 10 px or 10 ppt
53
+bindsym $mod+Ctrl+Shift+Up resize grow height 10 px or 10 ppt
54
+bindsym $mod+Ctrl+Shift+Down resize shrink height 10 px or 10 ppt
55
+bindsym $mod+Ctrl+Shift+Left resize grow width 10 px or 10 ppt
56
+
50 57
 # move focused container to workspace
51 58
 bindsym $mod+Shift+1 move container to workspace $work1
52 59
 bindsym $mod+Shift+2 move container to workspace $work2
@@ -76,7 +83,7 @@ bindsym $mod+Shift+r restart
76 83
 bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3?' -b 'Yes, exit i3' 'i3-msg exit'"
77 84
 
78 85
 # General
79
-bindsym $mod+Return exec termite
86
+bindsym $mod+Return exec kitty
80 87
 bindsym $mod+d exec rofi -show run -config /home/andrei/.config/rofi/config
81 88
 bindsym $mod+w exec rofi -show window -config /home/andrei/.config/rofi/config
82 89
 bindsym $mod+Shift+w kill
@@ -84,16 +91,6 @@ bindsym $mod+Shift+w kill
84 91
 # Floating windows
85 92
 for_window [class="Peek"] floating enable
86 93
 
87
-bar {
88
-  output DVI-I-1
89
-  tray_output DVI-I-1
90
-  position top
91
-  status_command i3blocks
92
-  modifier $mod
93
-  workspace_buttons yes
94
-  font pango: Source Code Pro 10
95
-}
96
-
97 94
 client.focused          #5F875F #285577 #ffffff #97b597   #5F875F
98 95
 client.focused_inactive #333333 #5f676a #ffffff #484e50   #5f676a
99 96
 client.unfocused        #333333 #222222 #888888 #292d2e   #222222

+ 1
- 10
.oh-my-zsh/themes/zah.zsh-theme View File

@@ -153,21 +153,12 @@
153 153
   }
154 154
 
155 155
   set_prompt_plugins() {
156
-    local PROMPT_PLUGINS_ORDER=(
157
-      ruby
158
-      crystal
159
-    )
160
-
161
-    # Execute all parts
162
-    for i in $PROMPT_PLUGINS_ORDER; do
163
-      prompt_$i
164
-    done
165 156
   }
166 157
 
167 158
   # Wrap up in set_prompt so it can be 
168 159
   # refreshed by time functions, etc
169 160
   set_prompt() {
170 161
     PROMPT='%{$(exit_code_status)%}λ $(_convertsecs $(get_time)) %{${PR_BOLD_GREEN}%}[%c] ⇒ %{$reset_color%} '
171
-    RPROMPT='$(set_prompt_plugins)%{$PR_BOLD_GREEN%} {$(git_prompt_info)}%{$reset_color%} $(git_prompt_status)%{$reset_color%}'
162
+    RPROMPT='{$(git_prompt_info)}%{$reset_color%} $(git_prompt_status)%{$reset_color%}'
172 163
   }
173 164
   set_prompt # init

+ 11
- 0
browser/new_tab.html View File

@@ -3,6 +3,16 @@
3 3
   <li> <a href="https://lobste.rs"> Lobste.rs </a> </li>
4 4
   <li> <a href="https://news.ycombinator.com"> Hacker News </a> </li>
5 5
   <li> <a href="https://niu.moe"> Niu.moe </a> </li>
6
+  <li> <a href="https://nyquist.space"> nyquist.space </a> </li>
7
+</ul>
8
+
9
+<h2> Code </h2>
10
+<ul>
11
+  <li> <a href="https://git.andrewzah.com/"> Gitea </a> </li>
12
+  <li> <a href="https://gitlab.com/andrewzah"> Gitlab </a> </li>
13
+  <li> <a href="https://github.com/azah"> Github </a> </li>
14
+  <li> <a href="https://git.pleroma.social/pleroma/pleroma"> pleroma </a> </li>
15
+  <li> <a href="https://git.pleroma.social/pleroma/pleroma-fe"> pleroma-fe </a> </li>
6 16
 </ul>
7 17
 
8 18
 <h2> Reddit </h2>
@@ -19,6 +29,7 @@
19 29
 
20 30
 <h2> Slack </h2>
21 31
 <ul>
32
+  <li> <a href="https://ossys.slack.com/messages/DARAWSY5P/"> OSSYS </a> </li>
22 33
   <li> <a href="https://elmlang.slack.com/messages/C192T0Q1E/"> ElmLang </a> </li>
23 34
   <li> <a href="https://catamorphiclabs.slack.com/messages"> Catamorphic Labs </a> </li>
24 35
   <li> <a href="https://peoplebest.slack.com/messages/C5DPYCDBM"> PeopleBest </a> </li>

+ 0
- 21
nvim/after/syntax/ruby.vim View File

@@ -1,21 +0,0 @@
1
-if !has('conceal')
2
-  finish
3
-endif
4
-
5
-syntax clear rubyOperator
6
-
7
-syntax keyword rubyOperator is
8
-
9
-syntax match rubyNiceOperator "<=" conceal cchar=≤
10
-syntax match rubyNiceOperator ">=" conceal cchar=≥
11
-
12
-syntax match rubyNiceOperator "=>" conceal cchar=⇾
13
-
14
-syntax match rubyNiceOperator "!=" conceal cchar=≠
15
-syntax keyword rubyNiceOperator lambda conceal cchar=λ
16
-
17
-hi link rubyNiceOperator Operator
18
-hi link rubyNiceStatement Statement
19
-hi! link Conceal Operator
20
-
21
-set conceallevel=2

Loading…
Cancel
Save