Compare commits
7 Commits
332a9513be
...
554a831af2
| Author | SHA1 | Date | |
|---|---|---|---|
| 554a831af2 | |||
| cf333a77ff | |||
| bdd91a5013 | |||
| 03aa864753 | |||
| a5043907ff | |||
| b714d64b4f | |||
| 20d1b9e7f5 |
22
.bashrc
22
.bashrc
@@ -138,6 +138,23 @@ gpg_decrypt () {
|
|||||||
gpg --decrypt --output ${output} "${1}" && echo "${1} -> ${output}"
|
gpg --decrypt --output ${output} "${1}" && echo "${1} -> ${output}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# for spawning new terminal instances in the current working directory in foot terminal
|
||||||
|
osc7_cwd() {
|
||||||
|
local strlen=${#PWD}
|
||||||
|
local encoded=""
|
||||||
|
local pos c o
|
||||||
|
for (( pos=0; pos<strlen; pos++ )); do
|
||||||
|
c=${PWD:$pos:1}
|
||||||
|
case "$c" in
|
||||||
|
[-/:_.!\'\(\)~[:alnum:]] ) o="${c}" ;;
|
||||||
|
* ) printf -v o '%%%02X' "'${c}" ;;
|
||||||
|
esac
|
||||||
|
encoded+="${o}"
|
||||||
|
done
|
||||||
|
printf '\e]7;file://%s%s\e\\' "${HOSTNAME}" "${encoded}"
|
||||||
|
}
|
||||||
|
PROMPT_COMMAND=${PROMPT_COMMAND:+${PROMPT_COMMAND%;}; }osc7_cwd
|
||||||
|
|
||||||
|
|
||||||
# Aliases and Exports
|
# Aliases and Exports
|
||||||
## utility
|
## utility
|
||||||
@@ -164,7 +181,8 @@ alias lgfw="cd ~/git/fofrweb/"
|
|||||||
alias lbc="cd ~/git/fr/pedf/bc"
|
alias lbc="cd ~/git/fr/pedf/bc"
|
||||||
|
|
||||||
## programs
|
## programs
|
||||||
alias r="ranger"
|
#alias r="ranger"
|
||||||
|
alias r="yazi"
|
||||||
alias feh="feh --scale-down"
|
alias feh="feh --scale-down"
|
||||||
#alias dragon="dragon-drop"
|
#alias dragon="dragon-drop"
|
||||||
alias xclip="xclip -selection c"
|
alias xclip="xclip -selection c"
|
||||||
@@ -174,7 +192,7 @@ alias speedtest="speedtest-cli"
|
|||||||
alias "cd.."="cd .."
|
alias "cd.."="cd .."
|
||||||
alias df='df -h' # human-readable sizes
|
alias df='df -h' # human-readable sizes
|
||||||
alias free='free -m' # show sizes in MB
|
alias free='free -m' # show sizes in MB
|
||||||
alias tldr='tldr -t base16' # colors
|
#alias tldr='tldr -t base16' # colors
|
||||||
|
|
||||||
## gpg encryption
|
## gpg encryption
|
||||||
# verify signature for isos
|
# verify signature for isos
|
||||||
|
|||||||
875
.config/easyeffects/input/mycfg.json
Normal file
875
.config/easyeffects/input/mycfg.json
Normal file
@@ -0,0 +1,875 @@
|
|||||||
|
{
|
||||||
|
"input": {
|
||||||
|
"autogain#0": {
|
||||||
|
"bypass": true,
|
||||||
|
"input-gain": 0.0,
|
||||||
|
"maximum-history": 15,
|
||||||
|
"output-gain": 0.0,
|
||||||
|
"reference": "Geometric Mean (MSI)",
|
||||||
|
"silence-threshold": -70.0,
|
||||||
|
"target": -18.999999999999943
|
||||||
|
},
|
||||||
|
"blocklist": [],
|
||||||
|
"compressor#0": {
|
||||||
|
"attack": 10.0,
|
||||||
|
"boost-amount": 6.0,
|
||||||
|
"boost-threshold": -72.0,
|
||||||
|
"bypass": false,
|
||||||
|
"dry": -100.0,
|
||||||
|
"hpf-frequency": 10.0,
|
||||||
|
"hpf-mode": "off",
|
||||||
|
"input-gain": 0.0,
|
||||||
|
"knee": -6.0,
|
||||||
|
"lpf-frequency": 20000.0,
|
||||||
|
"lpf-mode": "off",
|
||||||
|
"makeup": 0.0,
|
||||||
|
"mode": "Downward",
|
||||||
|
"output-gain": 0.0,
|
||||||
|
"ratio": 4.0,
|
||||||
|
"release": 200.0,
|
||||||
|
"release-threshold": -100.0,
|
||||||
|
"sidechain": {
|
||||||
|
"lookahead": 0.0,
|
||||||
|
"mode": "RMS",
|
||||||
|
"preamp": 0.0,
|
||||||
|
"reactivity": 10.0,
|
||||||
|
"source": "Middle",
|
||||||
|
"stereo-split-source": "Left/Right",
|
||||||
|
"type": "Feed-forward"
|
||||||
|
},
|
||||||
|
"stereo-split": false,
|
||||||
|
"threshold": -10.0,
|
||||||
|
"wet": 0.0
|
||||||
|
},
|
||||||
|
"deepfilternet#0": {
|
||||||
|
"attenuation-limit": 100.0,
|
||||||
|
"max-df-processing-threshold": 20.0,
|
||||||
|
"max-erb-processing-threshold": 30.0,
|
||||||
|
"min-processing-buffer": 0,
|
||||||
|
"min-processing-threshold": -10.0,
|
||||||
|
"post-filter-beta": 0.02
|
||||||
|
},
|
||||||
|
"deesser#0": {
|
||||||
|
"bypass": true,
|
||||||
|
"detection": "RMS",
|
||||||
|
"f1-freq": 6000.0,
|
||||||
|
"f1-level": 0.0,
|
||||||
|
"f2-freq": 4500.0,
|
||||||
|
"f2-level": 12.0,
|
||||||
|
"f2-q": 1.0,
|
||||||
|
"input-gain": 0.0,
|
||||||
|
"laxity": 15,
|
||||||
|
"makeup": 0.0,
|
||||||
|
"mode": "Wide",
|
||||||
|
"output-gain": 0.0,
|
||||||
|
"ratio": 3.0,
|
||||||
|
"sc-listen": false,
|
||||||
|
"threshold": -18.0
|
||||||
|
},
|
||||||
|
"equalizer#0": {
|
||||||
|
"balance": 0.0,
|
||||||
|
"bypass": true,
|
||||||
|
"input-gain": 0.0,
|
||||||
|
"left": {
|
||||||
|
"band0": {
|
||||||
|
"frequency": 22.4,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band1": {
|
||||||
|
"frequency": 27.8,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band10": {
|
||||||
|
"frequency": 194.06,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band11": {
|
||||||
|
"frequency": 240.81,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band12": {
|
||||||
|
"frequency": 298.834,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band13": {
|
||||||
|
"frequency": 370.834,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band14": {
|
||||||
|
"frequency": 460.182,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band15": {
|
||||||
|
"frequency": 571.057,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band16": {
|
||||||
|
"frequency": 708.647,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band17": {
|
||||||
|
"frequency": 879.387,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band18": {
|
||||||
|
"frequency": 1091.26,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band19": {
|
||||||
|
"frequency": 1354.19,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band2": {
|
||||||
|
"frequency": 34.51,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band20": {
|
||||||
|
"frequency": 1680.47,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band21": {
|
||||||
|
"frequency": 2085.35,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band22": {
|
||||||
|
"frequency": 2587.79,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band23": {
|
||||||
|
"frequency": 3211.29,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band24": {
|
||||||
|
"frequency": 3985.01,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band25": {
|
||||||
|
"frequency": 4945.15,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band26": {
|
||||||
|
"frequency": 6136.63,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band27": {
|
||||||
|
"frequency": 7615.17,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band28": {
|
||||||
|
"frequency": 9449.96,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band29": {
|
||||||
|
"frequency": 11726.8,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band3": {
|
||||||
|
"frequency": 42.82,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band30": {
|
||||||
|
"frequency": 14552.2,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band31": {
|
||||||
|
"frequency": 18058.4,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band4": {
|
||||||
|
"frequency": 53.14,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band5": {
|
||||||
|
"frequency": 65.95,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band6": {
|
||||||
|
"frequency": 81.83,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band7": {
|
||||||
|
"frequency": 101.55,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band8": {
|
||||||
|
"frequency": 126.0,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band9": {
|
||||||
|
"frequency": 156.38,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mode": "IIR",
|
||||||
|
"num-bands": 32,
|
||||||
|
"output-gain": 0.0,
|
||||||
|
"pitch-left": 0.0,
|
||||||
|
"pitch-right": 0.0,
|
||||||
|
"right": {
|
||||||
|
"band0": {
|
||||||
|
"frequency": 22.4,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band1": {
|
||||||
|
"frequency": 27.8,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band10": {
|
||||||
|
"frequency": 194.06,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band11": {
|
||||||
|
"frequency": 240.81,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band12": {
|
||||||
|
"frequency": 298.834,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band13": {
|
||||||
|
"frequency": 370.834,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band14": {
|
||||||
|
"frequency": 460.182,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band15": {
|
||||||
|
"frequency": 571.057,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band16": {
|
||||||
|
"frequency": 708.647,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band17": {
|
||||||
|
"frequency": 879.387,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band18": {
|
||||||
|
"frequency": 1091.26,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band19": {
|
||||||
|
"frequency": 1354.19,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band2": {
|
||||||
|
"frequency": 34.51,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band20": {
|
||||||
|
"frequency": 1680.47,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band21": {
|
||||||
|
"frequency": 2085.35,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band22": {
|
||||||
|
"frequency": 2587.79,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band23": {
|
||||||
|
"frequency": 3211.29,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band24": {
|
||||||
|
"frequency": 3985.01,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band25": {
|
||||||
|
"frequency": 4945.15,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band26": {
|
||||||
|
"frequency": 6136.63,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band27": {
|
||||||
|
"frequency": 7615.17,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band28": {
|
||||||
|
"frequency": 9449.96,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band29": {
|
||||||
|
"frequency": 11726.8,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band3": {
|
||||||
|
"frequency": 42.82,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band30": {
|
||||||
|
"frequency": 14552.2,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band31": {
|
||||||
|
"frequency": 18058.4,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band4": {
|
||||||
|
"frequency": 53.14,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band5": {
|
||||||
|
"frequency": 65.95,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band6": {
|
||||||
|
"frequency": 81.83,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band7": {
|
||||||
|
"frequency": 101.55,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band8": {
|
||||||
|
"frequency": 126.0,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band9": {
|
||||||
|
"frequency": 156.38,
|
||||||
|
"gain": 0.0,
|
||||||
|
"mode": "RLC (BT)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.36,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"split-channels": false
|
||||||
|
},
|
||||||
|
"gate#0": {
|
||||||
|
"attack": 25.0,
|
||||||
|
"bypass": false,
|
||||||
|
"curve-threshold": -45.0,
|
||||||
|
"curve-zone": -6.0,
|
||||||
|
"dry": -100.0,
|
||||||
|
"hpf-frequency": 10.0,
|
||||||
|
"hpf-mode": "off",
|
||||||
|
"hysteresis": false,
|
||||||
|
"hysteresis-threshold": -12.0,
|
||||||
|
"hysteresis-zone": -6.0,
|
||||||
|
"input-gain": 0.0,
|
||||||
|
"lpf-frequency": 20000.0,
|
||||||
|
"lpf-mode": "off",
|
||||||
|
"makeup": 0.0,
|
||||||
|
"output-gain": 0.0,
|
||||||
|
"reduction": -24.0,
|
||||||
|
"release": 250.0,
|
||||||
|
"sidechain": {
|
||||||
|
"input": "Internal",
|
||||||
|
"lookahead": 0.0,
|
||||||
|
"mode": "RMS",
|
||||||
|
"preamp": 0.0,
|
||||||
|
"reactivity": 10.0,
|
||||||
|
"source": "Middle",
|
||||||
|
"stereo-split-source": "Left/Right"
|
||||||
|
},
|
||||||
|
"stereo-split": false,
|
||||||
|
"wet": 0.0
|
||||||
|
},
|
||||||
|
"plugins_order": [
|
||||||
|
"stereo_tools#0",
|
||||||
|
"gate#0",
|
||||||
|
"compressor#0",
|
||||||
|
"autogain#0",
|
||||||
|
"rnnoise#0",
|
||||||
|
"deepfilternet#0",
|
||||||
|
"speex#0",
|
||||||
|
"equalizer#0",
|
||||||
|
"deesser#0"
|
||||||
|
],
|
||||||
|
"rnnoise#0": {
|
||||||
|
"bypass": false,
|
||||||
|
"enable-vad": false,
|
||||||
|
"input-gain": 0.0,
|
||||||
|
"model-name": "",
|
||||||
|
"output-gain": 0.0,
|
||||||
|
"release": 20.0,
|
||||||
|
"vad-thres": 50.0,
|
||||||
|
"wet": 0.0
|
||||||
|
},
|
||||||
|
"speex#0": {
|
||||||
|
"bypass": true,
|
||||||
|
"enable-agc": false,
|
||||||
|
"enable-denoise": true,
|
||||||
|
"enable-dereverb": false,
|
||||||
|
"input-gain": 0.0,
|
||||||
|
"noise-suppression": -70,
|
||||||
|
"output-gain": 0.0,
|
||||||
|
"vad": {
|
||||||
|
"enable": true,
|
||||||
|
"probability-continue": 90,
|
||||||
|
"probability-start": 95
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"stereo_tools#0": {
|
||||||
|
"balance-in": 0.0,
|
||||||
|
"balance-out": 0.0,
|
||||||
|
"bypass": false,
|
||||||
|
"delay": 0.0,
|
||||||
|
"input-gain": 0.0,
|
||||||
|
"middle-level": 0.0,
|
||||||
|
"middle-panorama": 0.0,
|
||||||
|
"mode": "LR > LL (Mono Left Channel)",
|
||||||
|
"mutel": false,
|
||||||
|
"muter": false,
|
||||||
|
"output-gain": 0.0,
|
||||||
|
"phasel": false,
|
||||||
|
"phaser": false,
|
||||||
|
"sc-level": 1.0,
|
||||||
|
"side-balance": 0.0,
|
||||||
|
"side-level": 0.0,
|
||||||
|
"softclip": false,
|
||||||
|
"stereo-base": 0.0,
|
||||||
|
"stereo-phase": 0.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
33
.config/foot/foot.ini
Normal file
33
.config/foot/foot.ini
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
font=monospace:size=12
|
||||||
|
font=JetBrainsMono Nerd Font:size=12
|
||||||
|
dpi-aware=no
|
||||||
|
pad=10x10
|
||||||
|
|
||||||
|
#https://codeberg.org/dnkl/foot/pulls/1090
|
||||||
|
#[mouse-bindings]
|
||||||
|
#launch-url=Shift+BTN_LEFT
|
||||||
|
|
||||||
|
[colors]
|
||||||
|
alpha=0.96
|
||||||
|
background=181818
|
||||||
|
foreground=d8d8d8
|
||||||
|
regular0=484f58
|
||||||
|
regular1=ff7b72
|
||||||
|
regular2=3fb950
|
||||||
|
regular3=d29922
|
||||||
|
regular4=58a6ff
|
||||||
|
regular5=bc8cff
|
||||||
|
regular6=39c5cf
|
||||||
|
regular7=b1bac4
|
||||||
|
bright0=6e7681
|
||||||
|
bright1=ffa198
|
||||||
|
bright2=56d364
|
||||||
|
bright3=e3b341
|
||||||
|
bright4=79c0ff
|
||||||
|
bright5=d2a8ff
|
||||||
|
bright6=56d4dd
|
||||||
|
bright7=ffffff
|
||||||
|
|
||||||
|
[key-bindings]
|
||||||
|
spawn-terminal=Control+Shift+Return
|
||||||
|
|
||||||
2
.config/nvim/.gitignore
vendored
2
.config/nvim/.gitignore
vendored
@@ -1,2 +0,0 @@
|
|||||||
lazy-lock.json
|
|
||||||
|
|
||||||
20
.config/nvim/.neoconf.json
Normal file
20
.config/nvim/.neoconf.json
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"neodev": {
|
||||||
|
"library": {
|
||||||
|
"enabled": true,
|
||||||
|
"plugins": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"neoconf": {
|
||||||
|
"plugins": {
|
||||||
|
"lua_ls": {
|
||||||
|
"enabled": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"lspconfig": {
|
||||||
|
"lua_ls": {
|
||||||
|
"Lua.format.enable": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
7
.config/nvim/.stylua.toml
Normal file
7
.config/nvim/.stylua.toml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
column_width = 120
|
||||||
|
line_endings = "Unix"
|
||||||
|
indent_type = "Spaces"
|
||||||
|
indent_width = 2
|
||||||
|
quote_style = "AutoPreferDouble"
|
||||||
|
call_parentheses = "None"
|
||||||
|
collapse_simple_statement = "Always"
|
||||||
41
.config/nvim/README.md
Normal file
41
.config/nvim/README.md
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
# AstroNvim Template
|
||||||
|
|
||||||
|
**NOTE:** This is for AstroNvim v4+
|
||||||
|
|
||||||
|
A template for getting started with [AstroNvim](https://github.com/AstroNvim/AstroNvim)
|
||||||
|
|
||||||
|
## System dependencies
|
||||||
|
- `lazygit` for lazygit integration
|
||||||
|
- `typescript-language-server` and `typescript` installed globally from npm
|
||||||
|
```bash
|
||||||
|
npm install -g typescript-language-server typescript
|
||||||
|
```
|
||||||
|
|
||||||
|
## 🛠️ Installation
|
||||||
|
|
||||||
|
#### Make a backup of your current nvim and shared folder
|
||||||
|
|
||||||
|
```shell
|
||||||
|
mv ~/.config/nvim ~/.config/nvim.bak
|
||||||
|
mv ~/.local/share/nvim ~/.local/share/nvim.bak
|
||||||
|
mv ~/.local/state/nvim ~/.local/state/nvim.bak
|
||||||
|
mv ~/.cache/nvim ~/.cache/nvim.bak
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Create a new user repository from this template
|
||||||
|
|
||||||
|
Press the "Use this template" button above to create a new repository to store your user configuration.
|
||||||
|
|
||||||
|
You can also just clone this repository directly if you do not want to track your user configuration in GitHub.
|
||||||
|
|
||||||
|
#### Clone the repository
|
||||||
|
|
||||||
|
```shell
|
||||||
|
git clone https://github.com/<your_user>/<your_repository> ~/.config/nvim
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Start Neovim
|
||||||
|
|
||||||
|
```shell
|
||||||
|
nvim
|
||||||
|
```
|
||||||
@@ -1,20 +1,20 @@
|
|||||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
-- This file simply bootstraps the installation of Lazy.nvim and then calls other files for execution
|
||||||
if not vim.loop.fs_stat(lazypath) then
|
-- This file doesn't necessarily need to be touched, BE CAUTIOUS editing this file and proceed at your own risk.
|
||||||
vim.fn.system({
|
local lazypath = vim.env.LAZY or vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
|
||||||
"git",
|
if not (vim.env.LAZY or (vim.uv or vim.loop).fs_stat(lazypath)) then
|
||||||
"clone",
|
-- stylua: ignore
|
||||||
"--filter=blob:none",
|
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath })
|
||||||
"https://github.com/folke/lazy.nvim.git",
|
|
||||||
"--branch=stable", -- latest stable release
|
|
||||||
lazypath,
|
|
||||||
})
|
|
||||||
end
|
end
|
||||||
vim.opt.rtp:prepend(lazypath)
|
vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
vim.g.mapleader = ' '
|
-- validate that lazy is available
|
||||||
vim.g.maplocalleader = ' '
|
if not pcall(require, "lazy") then
|
||||||
|
-- stylua: ignore
|
||||||
require('lazy').setup('plugins')
|
vim.api.nvim_echo({ { ("Unable to load lazy from: %s\n"):format(lazypath), "ErrorMsg" }, { "Press any key to exit...", "MoreMsg" } }, true, {})
|
||||||
require('config')
|
vim.fn.getchar()
|
||||||
require('completion')
|
vim.cmd.quit()
|
||||||
|
end
|
||||||
|
|
||||||
|
require "lazy_setup"
|
||||||
|
require "polish"
|
||||||
|
require "autocmds"
|
||||||
|
|||||||
68
.config/nvim/lazy-lock.json
Normal file
68
.config/nvim/lazy-lock.json
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
{
|
||||||
|
"AstroNvim": { "branch": "main", "commit": "c5e610f614e74c9dd9bf11760c4d0ad2c98c0abe" },
|
||||||
|
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
|
||||||
|
"LuaSnip": { "branch": "master", "commit": "458560534a73f7f8d7a11a146c801db00b081df0" },
|
||||||
|
"aerial.nvim": { "branch": "master", "commit": "6ab1a0ce4874d21610fc5a67a6c82c7b943c635b" },
|
||||||
|
"alpha-nvim": { "branch": "main", "commit": "de72250e054e5e691b9736ee30db72c65d560771" },
|
||||||
|
"astrocommunity": { "branch": "main", "commit": "d451f1d8e90e21c0cad730add858d8f952c66f01" },
|
||||||
|
"astrocore": { "branch": "main", "commit": "44a3dc0bf1591022b2a6bc89dccdfac1be17bec9" },
|
||||||
|
"astrolsp": { "branch": "main", "commit": "909fbe64f3f87d089ff3777751261544557117cc" },
|
||||||
|
"astrotheme": { "branch": "main", "commit": "4a2af93815e4e6adfe69c836e46047a9451de858" },
|
||||||
|
"astroui": { "branch": "main", "commit": "e923a84c488d879a260fc9cfb2dc27dd870fb6ac" },
|
||||||
|
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
||||||
|
"cmp-dap": { "branch": "master", "commit": "ea92773e84c0ad3288c3bc5e452ac91559669087" },
|
||||||
|
"cmp-nvim-lsp": { "branch": "main", "commit": "99290b3ec1322070bcfb9e846450a46f6efa50f0" },
|
||||||
|
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
||||||
|
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
|
||||||
|
"dressing.nvim": { "branch": "master", "commit": "3a45525bb182730fe462325c99395529308f431e" },
|
||||||
|
"flutter-tools.nvim": { "branch": "main", "commit": "6faf2c70bd56f1fe78620591a2bb73f4dc6f4870" },
|
||||||
|
"friendly-snippets": { "branch": "main", "commit": "efff286dd74c22f731cdec26a70b46e5b203c619" },
|
||||||
|
"gitsigns.nvim": { "branch": "main", "commit": "7010000889bfb6c26065e0b0f7f1e6aa9163edd9" },
|
||||||
|
"guess-indent.nvim": { "branch": "main", "commit": "6cd61f7a600bb756e558627cd2e740302c58e32d" },
|
||||||
|
"heirline.nvim": { "branch": "master", "commit": "fae936abb5e0345b85c3a03ecf38525b0828b992" },
|
||||||
|
"hover.nvim": { "branch": "main", "commit": "3b49066e09e03e63be6d6f43ae2b8bcd58301f63" },
|
||||||
|
"indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" },
|
||||||
|
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
|
||||||
|
"lazydev.nvim": { "branch": "main", "commit": "f59bd14a852ca43db38e3662395354cb2a9b13e0" },
|
||||||
|
"lsp_signature.nvim": { "branch": "master", "commit": "a793d02b6a5e639fa9d3f2a89a839fa688ab2d0a" },
|
||||||
|
"lspkind.nvim": { "branch": "master", "commit": "d79a1c3299ad0ef94e255d045bed9fa26025dab6" },
|
||||||
|
"mason-lspconfig.nvim": { "branch": "main", "commit": "1a31f824b9cd5bc6f342fc29e9a53b60d74af245" },
|
||||||
|
"mason-null-ls.nvim": { "branch": "main", "commit": "2b8433f76598397fcc97318d410e0c4f7a4bea6a" },
|
||||||
|
"mason-nvim-dap.nvim": { "branch": "main", "commit": "4c2cdc69d69fe00c15ae8648f7e954d99e5de3ea" },
|
||||||
|
"mason.nvim": { "branch": "main", "commit": "fc98833b6da5de5a9c5b1446ac541577059555be" },
|
||||||
|
"mini.animate": { "branch": "main", "commit": "8ce6df739aa9d14c876bace722af28c3d09e9971" },
|
||||||
|
"mini.bufremove": { "branch": "main", "commit": "285bdac9596ee7375db50c0f76ed04336dcd2685" },
|
||||||
|
"neo-tree.nvim": { "branch": "main", "commit": "c4c168e459395275c552179a1baf9c3d885d6a74" },
|
||||||
|
"neoconf.nvim": { "branch": "main", "commit": "f630568a4d04154803886f21ca60923f12709f0f" },
|
||||||
|
"none-ls.nvim": { "branch": "main", "commit": "a117163db44c256d53c3be8717f3e1a2a28e6299" },
|
||||||
|
"nui.nvim": { "branch": "main", "commit": "a0fd35fcbb4cb479366f1dc5f20145fd718a3733" },
|
||||||
|
"nvim-autopairs": { "branch": "master", "commit": "68f0e5c3dab23261a945272032ee6700af86227a" },
|
||||||
|
"nvim-cmp": { "branch": "main", "commit": "1e1900b0769324a9675ef85b38f99cca29e203b3" },
|
||||||
|
"nvim-colorizer.lua": { "branch": "master", "commit": "517df88cf2afb36652830df2c655df2da416a0ae" },
|
||||||
|
"nvim-dap": { "branch": "master", "commit": "6a5bba0ddea5d419a783e170c20988046376090d" },
|
||||||
|
"nvim-dap-ui": { "branch": "master", "commit": "bc81f8d3440aede116f821114547a476b082b319" },
|
||||||
|
"nvim-lspconfig": { "branch": "master", "commit": "185b2af444b27d6541c02d662b5b68190e5cf0c4" },
|
||||||
|
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
|
||||||
|
"nvim-notify": { "branch": "master", "commit": "a3020c2cf4dfc4c4f390c4a21e84e35e46cf5d17" },
|
||||||
|
"nvim-treesitter": { "branch": "master", "commit": "f8aaf5ce4e27cd20de917946b2ae5c968a2c2858" },
|
||||||
|
"nvim-treesitter-textobjects": { "branch": "master", "commit": "9937e5e356e5b227ec56d83d0a9d0a0f6bc9cad4" },
|
||||||
|
"nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" },
|
||||||
|
"nvim-ts-context-commentstring": { "branch": "main", "commit": "1b212c2eee76d787bbea6aa5e92a2b534e7b4f8f" },
|
||||||
|
"nvim-ufo": { "branch": "main", "commit": "61463090a4f55f5d080236ea62f09d1cd8976ff3" },
|
||||||
|
"nvim-web-devicons": { "branch": "master", "commit": "4c3a5848ee0b09ecdea73adcd2a689190aeb728c" },
|
||||||
|
"nvim-window-picker": { "branch": "main", "commit": "6382540b2ae5de6c793d4aa2e3fe6dbb518505ec" },
|
||||||
|
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
|
||||||
|
"presence.nvim": { "branch": "main", "commit": "87c857a56b7703f976d3a5ef15967d80508df6e6" },
|
||||||
|
"promise-async": { "branch": "main", "commit": "38a4575da9497326badd3995e768b4ccf0bb153e" },
|
||||||
|
"resession.nvim": { "branch": "master", "commit": "cc819b0489938d03e4f3532a583354f0287c015b" },
|
||||||
|
"schemastore.nvim": { "branch": "main", "commit": "960a5cf992c033170499ccc7003df59734ed40a8" },
|
||||||
|
"smart-splits.nvim": { "branch": "master", "commit": "ddb23c1a1cf1507bda487cda7f6e4690965ef9f5" },
|
||||||
|
"telescope-fzf-native.nvim": { "branch": "main", "commit": "1f08ed60cafc8f6168b72b80be2b2ea149813e55" },
|
||||||
|
"telescope.nvim": { "branch": "master", "commit": "a17d611a0e111836a1db5295f04945df407c5135" },
|
||||||
|
"todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" },
|
||||||
|
"toggleterm.nvim": { "branch": "main", "commit": "50ea089fc548917cc3cc16b46a8211833b9e3c7c" },
|
||||||
|
"trouble.nvim": { "branch": "main", "commit": "c098362fe603d3922095e7db595961e020bdf2d0" },
|
||||||
|
"vim-illuminate": { "branch": "master", "commit": "19cb21f513fc2b02f0c66be70107741e837516a1" },
|
||||||
|
"which-key.nvim": { "branch": "main", "commit": "fcbf4eea17cb299c02557d576f0d568878e354a4" },
|
||||||
|
"zen-mode.nvim": { "branch": "main", "commit": "863f150ca321b3dd8aa1a2b69b5f411a220e144f" }
|
||||||
|
}
|
||||||
21
.config/nvim/lua/autocmds.lua
Normal file
21
.config/nvim/lua/autocmds.lua
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
-- Autocommand: trigger Flutter hot reload on save
|
||||||
|
--
|
||||||
|
-- This runs whenever you save a *.dart file (BufWritePost).
|
||||||
|
-- It checks if a tmux session named "flutter" exists.
|
||||||
|
-- If it does, it sends the keys "r<Enter>" to the "app" window
|
||||||
|
-- of that session, which tells `flutter run` to hot-reload.
|
||||||
|
--
|
||||||
|
-- Workflow:
|
||||||
|
-- 1. Start tmux: tmux new -s flutter -n app
|
||||||
|
-- 2. Inside tmux "app" window, run: flutter run
|
||||||
|
-- 3. Open another window/pane for nvim.
|
||||||
|
-- 4. Whenever you :w a Dart file in nvim, hot reload will fire.
|
||||||
|
--
|
||||||
|
|
||||||
|
vim.api.nvim_create_autocmd("BufWritePost", {
|
||||||
|
pattern = "*.dart",
|
||||||
|
callback = function()
|
||||||
|
local result = vim.fn.system({ "tmux", "send-keys", "-t", "flutter:app", "r", "Enter" })
|
||||||
|
vim.notify("Flutter hot reload triggered", vim.log.levels.INFO)
|
||||||
|
end,
|
||||||
|
})
|
||||||
13
.config/nvim/lua/community.lua
Normal file
13
.config/nvim/lua/community.lua
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
-- AstroCommunity: import any community modules here
|
||||||
|
-- We import this file in `lazy_setup.lua` before the `plugins/` folder.
|
||||||
|
-- This guarantees that the specs are processed before any user plugins.
|
||||||
|
|
||||||
|
---@type LazySpec
|
||||||
|
return {
|
||||||
|
"AstroNvim/astrocommunity",
|
||||||
|
{ import = "astrocommunity.pack.lua" },
|
||||||
|
-- import/override with your plugins folder
|
||||||
|
{ import = "astrocommunity.utility.hover-nvim" },
|
||||||
|
{ import = "astrocommunity.diagnostics.trouble-nvim" },
|
||||||
|
{ import = "astrocommunity.scrolling.mini-animate" },
|
||||||
|
}
|
||||||
@@ -1,128 +0,0 @@
|
|||||||
local cmp_status_ok, cmp = pcall(require, "cmp")
|
|
||||||
if not cmp_status_ok then
|
|
||||||
return
|
|
||||||
end
|
|
||||||
|
|
||||||
local snip_status_ok, luasnip = pcall(require, "luasnip")
|
|
||||||
if not snip_status_ok then
|
|
||||||
return
|
|
||||||
end
|
|
||||||
|
|
||||||
require("luasnip/loaders/from_vscode").lazy_load()
|
|
||||||
|
|
||||||
local check_backspace = function()
|
|
||||||
local col = vim.fn.col "." - 1
|
|
||||||
return col == 0 or vim.fn.getline("."):sub(col, col):match "%s"
|
|
||||||
end
|
|
||||||
|
|
||||||
-- פּ ﯟ some other good icons
|
|
||||||
local kind_icons = {
|
|
||||||
Text = "",
|
|
||||||
Method = "m",
|
|
||||||
Function = "",
|
|
||||||
Constructor = "",
|
|
||||||
Field = "",
|
|
||||||
Variable = "",
|
|
||||||
Class = "",
|
|
||||||
Interface = "",
|
|
||||||
Module = "",
|
|
||||||
Property = "",
|
|
||||||
Unit = "",
|
|
||||||
Value = "",
|
|
||||||
Enum = "",
|
|
||||||
Keyword = "",
|
|
||||||
Snippet = "",
|
|
||||||
Color = "",
|
|
||||||
File = "",
|
|
||||||
Reference = "",
|
|
||||||
Folder = "",
|
|
||||||
EnumMember = "",
|
|
||||||
Constant = "",
|
|
||||||
Struct = "",
|
|
||||||
Event = "",
|
|
||||||
Operator = "",
|
|
||||||
TypeParameter = "",
|
|
||||||
}
|
|
||||||
-- find more here: https://www.nerdfonts.com/cheat-sheet
|
|
||||||
|
|
||||||
cmp.setup {
|
|
||||||
snippet = {
|
|
||||||
expand = function(args)
|
|
||||||
luasnip.lsp_expand(args.body) -- For `luasnip` users.
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
mapping = {
|
|
||||||
["<C-k>"] = cmp.mapping.select_prev_item(),
|
|
||||||
["<C-j>"] = cmp.mapping.select_next_item(),
|
|
||||||
["<C-b>"] = cmp.mapping(cmp.mapping.scroll_docs(-1), { "i", "c" }),
|
|
||||||
["<C-f>"] = cmp.mapping(cmp.mapping.scroll_docs(1), { "i", "c" }),
|
|
||||||
["<C-Space>"] = cmp.mapping(cmp.mapping.complete(), { "i", "c" }),
|
|
||||||
["<C-y>"] = cmp.config.disable, -- Specify `cmp.config.disable` if you want to remove the default `<C-y>` mapping.
|
|
||||||
["<C-e>"] = cmp.mapping {
|
|
||||||
i = cmp.mapping.abort(),
|
|
||||||
c = cmp.mapping.close(),
|
|
||||||
},
|
|
||||||
-- Accept currently selected item. If none selected, `select` first item.
|
|
||||||
-- Set `select` to `false` to only confirm explicitly selected items.
|
|
||||||
["<CR>"] = cmp.mapping.confirm { select = false },
|
|
||||||
["<Tab>"] = cmp.mapping(function(fallback)
|
|
||||||
if cmp.visible() then
|
|
||||||
cmp.select_next_item()
|
|
||||||
elseif luasnip.expandable() then
|
|
||||||
luasnip.expand()
|
|
||||||
elseif luasnip.expand_or_jumpable() then
|
|
||||||
luasnip.expand_or_jump()
|
|
||||||
elseif check_backspace() then
|
|
||||||
fallback()
|
|
||||||
else
|
|
||||||
fallback()
|
|
||||||
end
|
|
||||||
end, {
|
|
||||||
"i",
|
|
||||||
"s",
|
|
||||||
}),
|
|
||||||
["<S-Tab>"] = cmp.mapping(function(fallback)
|
|
||||||
if cmp.visible() then
|
|
||||||
cmp.select_prev_item()
|
|
||||||
elseif luasnip.jumpable(-1) then
|
|
||||||
luasnip.jump(-1)
|
|
||||||
else
|
|
||||||
fallback()
|
|
||||||
end
|
|
||||||
end, {
|
|
||||||
"i",
|
|
||||||
"s",
|
|
||||||
}),
|
|
||||||
},
|
|
||||||
formatting = {
|
|
||||||
fields = { "kind", "abbr", "menu" },
|
|
||||||
format = function(entry, vim_item)
|
|
||||||
-- Kind icons
|
|
||||||
vim_item.kind = string.format("%s", kind_icons[vim_item.kind])
|
|
||||||
-- vim_item.kind = string.format('%s %s', kind_icons[vim_item.kind], vim_item.kind) -- This concatonates the icons with the name of the item kind
|
|
||||||
vim_item.menu = ({
|
|
||||||
luasnip = "[Snippet]",
|
|
||||||
buffer = "[Buffer]",
|
|
||||||
path = "[Path]",
|
|
||||||
})[entry.source.name]
|
|
||||||
return vim_item
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
sources = {
|
|
||||||
{ name = "luasnip" },
|
|
||||||
{ name = "buffer" },
|
|
||||||
{ name = "path" },
|
|
||||||
},
|
|
||||||
confirm_opts = {
|
|
||||||
behavior = cmp.ConfirmBehavior.Replace,
|
|
||||||
select = false,
|
|
||||||
},
|
|
||||||
-- documentation = {
|
|
||||||
-- border = { "╭", "─", "╮", "│", "╯", "─", "╰", "│" },
|
|
||||||
-- },
|
|
||||||
-- experimental = {
|
|
||||||
-- ghost_text = false,
|
|
||||||
-- native_menu = false,
|
|
||||||
-- },
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
local set = vim.opt
|
|
||||||
|
|
||||||
set.mouse = 'a'
|
|
||||||
set.encoding = 'UTF-8'
|
|
||||||
set.fileencoding = 'UTF-8'
|
|
||||||
|
|
||||||
set.number = true
|
|
||||||
set.relativenumber = true
|
|
||||||
set.showcmd = true
|
|
||||||
vim.o.syntax = true
|
|
||||||
|
|
||||||
set.ignorecase = true
|
|
||||||
set.smartcase = true
|
|
||||||
|
|
||||||
set.cursorline = true
|
|
||||||
-- bold line number at cursor
|
|
||||||
vim.cmd [[ highlight CursorLineNr cterm=bold ]]
|
|
||||||
|
|
||||||
set.linebreak = true
|
|
||||||
|
|
||||||
-- special characters
|
|
||||||
set.list = true
|
|
||||||
set.listchars = 'tab:→ ,eol:↲,nbsp:␣,trail:•,extends:⟩,precedes:⟨'
|
|
||||||
|
|
||||||
set.tabstop = 4
|
|
||||||
set.shiftwidth = 4
|
|
||||||
vim.o.expandtab = false
|
|
||||||
vim.o.smartindent = true
|
|
||||||
|
|
||||||
set.swapfile = false
|
|
||||||
|
|
||||||
-- spellcheck (enable with `set spell`)
|
|
||||||
vim.o.spelllang = 'cs,en_gb'
|
|
||||||
vim.cmd [[ hi SpellBad cterm=bold ctermbg=red ctermfg=white ]]
|
|
||||||
|
|
||||||
-- cursor padding from top and bottom
|
|
||||||
vim.o.scrolloff = 5
|
|
||||||
|
|
||||||
-- better navigation in split windows
|
|
||||||
vim.keymap.set('n', '<C-h>', '<C-w>h')
|
|
||||||
vim.keymap.set('n', '<C-j>', '<C-w>j')
|
|
||||||
vim.keymap.set('n', '<C-k>', '<C-w>k')
|
|
||||||
vim.keymap.set('n', '<C-h>', '<C-w>l')
|
|
||||||
|
|
||||||
-- colorscheme
|
|
||||||
vim.cmd [[ color base16-default-dark ]]
|
|
||||||
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
vim.o.tabstop = 2
|
|
||||||
vim.o.softtabstop = 2
|
|
||||||
vim.o.shiftwidth = 2
|
|
||||||
vim.o.expandtab = true
|
|
||||||
|
|
||||||
32
.config/nvim/lua/lazy_setup.lua
Normal file
32
.config/nvim/lua/lazy_setup.lua
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
require("lazy").setup({
|
||||||
|
{
|
||||||
|
"AstroNvim/AstroNvim",
|
||||||
|
version = "^4", -- Remove version tracking to elect for nightly AstroNvim
|
||||||
|
import = "astronvim.plugins",
|
||||||
|
opts = { -- AstroNvim options must be set here with the `import` key
|
||||||
|
mapleader = " ", -- This ensures the leader key must be configured before Lazy is set up
|
||||||
|
maplocalleader = ",", -- This ensures the localleader key must be configured before Lazy is set up
|
||||||
|
icons_enabled = true, -- Set to false to disable icons (if no Nerd Font is available)
|
||||||
|
pin_plugins = nil, -- Default will pin plugins when tracking `version` of AstroNvim, set to true/false to override
|
||||||
|
update_notifications = true, -- Enable/disable notification about running `:Lazy update` twice to update pinned plugins
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{ import = "community" },
|
||||||
|
{ import = "plugins" },
|
||||||
|
} --[[@as LazySpec]], {
|
||||||
|
-- Configure any other `lazy.nvim` configuration options here
|
||||||
|
install = { colorscheme = { "astrotheme", "habamax" } },
|
||||||
|
ui = { backdrop = 100 },
|
||||||
|
performance = {
|
||||||
|
rtp = {
|
||||||
|
-- disable some rtp plugins, add more to your liking
|
||||||
|
disabled_plugins = {
|
||||||
|
"gzip",
|
||||||
|
"netrwPlugin",
|
||||||
|
"tarPlugin",
|
||||||
|
"tohtml",
|
||||||
|
"zipPlugin",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
} --[[@as LazyConfig]])
|
||||||
71
.config/nvim/lua/plugins/astrocore.lua
Normal file
71
.config/nvim/lua/plugins/astrocore.lua
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
-- AstroCore provides a central place to modify mappings, vim options, autocommands, and more!
|
||||||
|
-- Configuration documentation can be found with `:h astrocore`
|
||||||
|
-- NOTE: We highly recommend setting up the Lua Language Server (`:LspInstall lua_ls`)
|
||||||
|
-- as this provides autocomplete and documentation while editing
|
||||||
|
|
||||||
|
---@type LazySpec
|
||||||
|
return {
|
||||||
|
"AstroNvim/astrocore",
|
||||||
|
---@type AstroCoreOpts
|
||||||
|
opts = {
|
||||||
|
-- Configure core features of AstroNvim
|
||||||
|
features = {
|
||||||
|
large_buf = { size = 1024 * 256, lines = 10000 }, -- set global limits for large files for disabling features like treesitter
|
||||||
|
autopairs = true, -- enable autopairs at start
|
||||||
|
cmp = true, -- enable completion at start
|
||||||
|
diagnostics_mode = 3, -- diagnostic mode on start (0 = off, 1 = no signs/virtual text, 2 = no virtual text, 3 = on)
|
||||||
|
highlighturl = true, -- highlight URLs at start
|
||||||
|
notifications = true, -- enable notifications at start
|
||||||
|
},
|
||||||
|
-- Diagnostics configuration (for vim.diagnostics.config({...})) when diagnostics are on
|
||||||
|
diagnostics = {
|
||||||
|
virtual_text = true,
|
||||||
|
underline = true,
|
||||||
|
},
|
||||||
|
-- vim options can be configured here
|
||||||
|
options = {
|
||||||
|
opt = { -- vim.opt.<key>
|
||||||
|
relativenumber = true, -- sets vim.opt.relativenumber
|
||||||
|
number = true, -- sets vim.opt.number
|
||||||
|
spell = false, -- sets vim.opt.spell
|
||||||
|
signcolumn = "yes", -- sets vim.opt.signcolumn to yes
|
||||||
|
wrap = false, -- sets vim.opt.wrap
|
||||||
|
scrolloff = 8,
|
||||||
|
},
|
||||||
|
g = { -- vim.g.<key>
|
||||||
|
-- configure global vim variables (vim.g)
|
||||||
|
-- NOTE: `mapleader` and `maplocalleader` must be set in the AstroNvim opts or before `lazy.setup`
|
||||||
|
-- This can be found in the `lua/lazy_setup.lua` file
|
||||||
|
},
|
||||||
|
},
|
||||||
|
-- Mappings can be configured through AstroCore as well.
|
||||||
|
-- NOTE: keycodes follow the casing in the vimdocs. For example, `<Leader>` must be capitalized
|
||||||
|
mappings = {
|
||||||
|
-- first key is the mode
|
||||||
|
n = {
|
||||||
|
-- second key is the lefthand side of the map
|
||||||
|
|
||||||
|
-- navigate buffer tabs
|
||||||
|
["]b"] = { function() require("astrocore.buffer").nav(vim.v.count1) end, desc = "Next buffer" },
|
||||||
|
["[b"] = { function() require("astrocore.buffer").nav(-vim.v.count1) end, desc = "Previous buffer" },
|
||||||
|
|
||||||
|
-- mappings seen under group name "Buffer"
|
||||||
|
["<Leader>bd"] = {
|
||||||
|
function()
|
||||||
|
require("astroui.status.heirline").buffer_picker(
|
||||||
|
function(bufnr) require("astrocore.buffer").close(bufnr) end
|
||||||
|
)
|
||||||
|
end,
|
||||||
|
desc = "Close buffer from tabline",
|
||||||
|
},
|
||||||
|
|
||||||
|
-- tables with just a `desc` key will be registered with which-key if it's installed
|
||||||
|
-- this is useful for naming menus
|
||||||
|
-- ["<Leader>b"] = { desc = "Buffers" },
|
||||||
|
|
||||||
|
-- setting a mapping to false will disable it
|
||||||
|
-- ["<C-S>"] = false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
104
.config/nvim/lua/plugins/astrolsp.lua
Normal file
104
.config/nvim/lua/plugins/astrolsp.lua
Normal file
@@ -0,0 +1,104 @@
|
|||||||
|
-- AstroLSP allows you to customize the features in AstroNvim's LSP configuration engine
|
||||||
|
-- Configuration documentation can be found with `:h astrolsp`
|
||||||
|
-- NOTE: We highly recommend setting up the Lua Language Server (`:LspInstall lua_ls`)
|
||||||
|
-- as this provides autocomplete and documentation while editing
|
||||||
|
|
||||||
|
---@type LazySpec
|
||||||
|
return {
|
||||||
|
"AstroNvim/astrolsp",
|
||||||
|
---@type AstroLSPOpts
|
||||||
|
opts = {
|
||||||
|
-- Configuration table of features provided by AstroLSP
|
||||||
|
features = {
|
||||||
|
codelens = true, -- enable/disable codelens refresh on start
|
||||||
|
inlay_hints = false, -- enable/disable inlay hints on start
|
||||||
|
semantic_tokens = true, -- enable/disable semantic token highlighting
|
||||||
|
},
|
||||||
|
-- customize lsp formatting options
|
||||||
|
formatting = {
|
||||||
|
-- control auto formatting on save
|
||||||
|
format_on_save = {
|
||||||
|
enabled = true, -- enable or disable format on save globally
|
||||||
|
allow_filetypes = { -- enable format on save for specified filetypes only
|
||||||
|
-- "go",
|
||||||
|
},
|
||||||
|
ignore_filetypes = { -- disable format on save for specified filetypes
|
||||||
|
-- "python",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
disabled = { -- disable formatting capabilities for the listed language servers
|
||||||
|
-- disable lua_ls formatting capability if you want to use StyLua to format your lua code
|
||||||
|
-- "lua_ls",
|
||||||
|
},
|
||||||
|
timeout_ms = 1000, -- default format timeout
|
||||||
|
-- filter = function(client) -- fully override the default formatting function
|
||||||
|
-- return true
|
||||||
|
-- end
|
||||||
|
},
|
||||||
|
-- enable servers that you already have installed without mason
|
||||||
|
servers = {
|
||||||
|
-- "pyright"
|
||||||
|
},
|
||||||
|
-- customize language server configuration options passed to `lspconfig`
|
||||||
|
---@diagnostic disable: missing-fields
|
||||||
|
config = {
|
||||||
|
ts_ls = {},
|
||||||
|
-- clangd = { capabilities = { offsetEncoding = "utf-8" } },
|
||||||
|
},
|
||||||
|
-- customize how language servers are attached
|
||||||
|
handlers = {
|
||||||
|
-- a function without a key is simply the default handler, functions take two parameters, the server name and the configured options table for that server
|
||||||
|
-- function(server, opts) require("lspconfig")[server].setup(opts) end
|
||||||
|
|
||||||
|
-- the key is the server that is being setup with `lspconfig`
|
||||||
|
-- rust_analyzer = false, -- setting a handler to false will disable the set up of that language server
|
||||||
|
-- pyright = function(_, opts) require("lspconfig").pyright.setup(opts) end -- or a custom handler function can be passed
|
||||||
|
},
|
||||||
|
-- Configure buffer local auto commands to add when attaching a language server
|
||||||
|
autocmds = {
|
||||||
|
-- first key is the `augroup` to add the auto commands to (:h augroup)
|
||||||
|
lsp_codelens_refresh = {
|
||||||
|
-- Optional condition to create/delete auto command group
|
||||||
|
-- can either be a string of a client capability or a function of `fun(client, bufnr): boolean`
|
||||||
|
-- condition will be resolved for each client on each execution and if it ever fails for all clients,
|
||||||
|
-- the auto commands will be deleted for that buffer
|
||||||
|
cond = "textDocument/codeLens",
|
||||||
|
-- cond = function(client, bufnr) return client.name == "lua_ls" end,
|
||||||
|
-- list of auto commands to set
|
||||||
|
{
|
||||||
|
-- events to trigger
|
||||||
|
event = { "InsertLeave", "BufEnter" },
|
||||||
|
-- the rest of the autocmd options (:h nvim_create_autocmd)
|
||||||
|
desc = "Refresh codelens (buffer)",
|
||||||
|
callback = function(args)
|
||||||
|
if require("astrolsp").config.features.codelens then vim.lsp.codelens.refresh { bufnr = args.buf } end
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
-- mappings to be set up on attaching of a language server
|
||||||
|
mappings = {
|
||||||
|
n = {
|
||||||
|
-- a `cond` key can provided as the string of a server capability to be required to attach, or a function with `client` and `bufnr` parameters from the `on_attach` that returns a boolean
|
||||||
|
gD = {
|
||||||
|
function() vim.lsp.buf.declaration() end,
|
||||||
|
desc = "Declaration of current symbol",
|
||||||
|
cond = "textDocument/declaration",
|
||||||
|
},
|
||||||
|
["<Leader>uY"] = {
|
||||||
|
function() require("astrolsp.toggles").buffer_semantic_tokens() end,
|
||||||
|
desc = "Toggle LSP semantic highlight (buffer)",
|
||||||
|
cond = function(client)
|
||||||
|
return client.supports_method "textDocument/semanticTokens/full" and vim.lsp.semantic_tokens ~= nil
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
-- A custom `on_attach` function to be run after the default `on_attach` function
|
||||||
|
-- takes two parameters `client` and `bufnr` (`:h lspconfig-setup`)
|
||||||
|
on_attach = function(client, bufnr)
|
||||||
|
-- this would disable semanticTokensProvider for all clients
|
||||||
|
-- client.server_capabilities.semanticTokensProvider = nil
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
}
|
||||||
39
.config/nvim/lua/plugins/astroui.lua
Normal file
39
.config/nvim/lua/plugins/astroui.lua
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
|
||||||
|
|
||||||
|
-- AstroUI provides the basis for configuring the AstroNvim User Interface
|
||||||
|
-- Configuration documentation can be found with `:h astroui`
|
||||||
|
-- NOTE: We highly recommend setting up the Lua Language Server (`:LspInstall lua_ls`)
|
||||||
|
-- as this provides autocomplete and documentation while editing
|
||||||
|
|
||||||
|
---@type LazySpec
|
||||||
|
return {
|
||||||
|
"AstroNvim/astroui",
|
||||||
|
---@type AstroUIOpts
|
||||||
|
opts = {
|
||||||
|
-- change colorscheme
|
||||||
|
colorscheme = "astrodark",
|
||||||
|
-- AstroUI allows you to easily modify highlight groups easily for any and all colorschemes
|
||||||
|
highlights = {
|
||||||
|
init = { -- this table overrides highlights in all themes
|
||||||
|
-- Normal = { bg = "#000000" },
|
||||||
|
},
|
||||||
|
astrodark = { -- a table of overrides/changes when applying the astrotheme theme
|
||||||
|
-- Normal = { bg = "#000000" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
-- Icons can be configured throughout the interface
|
||||||
|
icons = {
|
||||||
|
-- configure the loading of the lsp in the status line
|
||||||
|
LSPLoading1 = "⠋",
|
||||||
|
LSPLoading2 = "⠙",
|
||||||
|
LSPLoading3 = "⠹",
|
||||||
|
LSPLoading4 = "⠸",
|
||||||
|
LSPLoading5 = "⠼",
|
||||||
|
LSPLoading6 = "⠴",
|
||||||
|
LSPLoading7 = "⠦",
|
||||||
|
LSPLoading8 = "⠧",
|
||||||
|
LSPLoading9 = "⠇",
|
||||||
|
LSPLoading10 = "⠏",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
return {
|
|
||||||
'windwp/nvim-autopairs',
|
|
||||||
config = function() require("nvim-autopairs").setup {} end
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
return {
|
|
||||||
{
|
|
||||||
'akinsho/bufferline.nvim',
|
|
||||||
config = function()
|
|
||||||
vim.opt.termguicolors = true
|
|
||||||
require("bufferline").setup{}
|
|
||||||
end
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
11
.config/nvim/lua/plugins/flutter.lua
Normal file
11
.config/nvim/lua/plugins/flutter.lua
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
return {
|
||||||
|
-- Add the community repository of plugin specifications
|
||||||
|
"AstroNvim/astrocommunity",
|
||||||
|
{ import = "astrocommunity.pack.dart" },
|
||||||
|
-- Configure flutter-tools
|
||||||
|
{ "akinsho/flutter-tools.nvim",
|
||||||
|
opts = {
|
||||||
|
...
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
return {
|
|
||||||
{
|
|
||||||
'f-person/git-blame.nvim',
|
|
||||||
config = function()
|
|
||||||
vim.g.gitblame_date_format = '%r'
|
|
||||||
vim.g.gitblame_message_when_not_committed = ''
|
|
||||||
vim.g.gitblame_display_virtual_text = 0
|
|
||||||
end
|
|
||||||
},
|
|
||||||
{
|
|
||||||
'lewis6991/gitsigns.nvim',
|
|
||||||
config = function()
|
|
||||||
require('gitsigns').setup()
|
|
||||||
end
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
return {
|
|
||||||
'RRethy/nvim-base16',
|
|
||||||
'tpope/vim-commentary',
|
|
||||||
|
|
||||||
-- completion
|
|
||||||
'hrsh7th/nvim-cmp',
|
|
||||||
'hrsh7th/cmp-buffer',
|
|
||||||
'hrsh7th/cmp-path',
|
|
||||||
'hrsh7th/cmp-cmdline',
|
|
||||||
'saadparwaiz1/cmp_luasnip',
|
|
||||||
|
|
||||||
-- snippets
|
|
||||||
'L3MON4D3/LuaSnip',
|
|
||||||
'rafamadriz/friendly-snippets',
|
|
||||||
|
|
||||||
-- emmet
|
|
||||||
'mattn/emmet-vim',
|
|
||||||
|
|
||||||
-- LSP
|
|
||||||
'neovim/nvim-lspconfig',
|
|
||||||
|
|
||||||
-- LSP, DAP, linters and formatters
|
|
||||||
-- 'jose-elias-alvarez/null-ls.nvim',
|
|
||||||
{
|
|
||||||
'dense-analysis/ale',
|
|
||||||
config = function()
|
|
||||||
vim.cmd [[ g:ale_sign_column_always = 1 ]]
|
|
||||||
end
|
|
||||||
},
|
|
||||||
|
|
||||||
-- management for LSP, DAP, linters and formatters
|
|
||||||
{
|
|
||||||
'williamboman/mason.nvim',
|
|
||||||
config = function()
|
|
||||||
require('mason').setup({
|
|
||||||
ui = {
|
|
||||||
icons = {
|
|
||||||
package_installed = "✓",
|
|
||||||
package_pending = "➜",
|
|
||||||
package_uninstalled = "✗"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
end
|
|
||||||
},
|
|
||||||
'williamboman/mason-lspconfig.nvim',
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
return {
|
|
||||||
'nvim-lualine/lualine.nvim',
|
|
||||||
dependencies = { 'kyazdani42/nvim-web-devicons', lazy = true },
|
|
||||||
config = function()
|
|
||||||
local git_blame = require('gitblame')
|
|
||||||
require('lualine').setup({
|
|
||||||
sections = {
|
|
||||||
lualine_c = {
|
|
||||||
{ git_blame.get_current_blame_text, cond = git_blame.is_blame_text_available }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
vim.o.showmode = false
|
|
||||||
end
|
|
||||||
}
|
|
||||||
|
|
||||||
37
.config/nvim/lua/plugins/mason.lua
Normal file
37
.config/nvim/lua/plugins/mason.lua
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
-- Customize Mason plugins
|
||||||
|
|
||||||
|
---@type LazySpec
|
||||||
|
return {
|
||||||
|
-- use mason-lspconfig to configure LSP installations
|
||||||
|
{
|
||||||
|
"williamboman/mason-lspconfig.nvim",
|
||||||
|
-- overrides `require("mason-lspconfig").setup(...)`
|
||||||
|
opts = {
|
||||||
|
ensure_installed = {
|
||||||
|
"lua_ls",
|
||||||
|
-- add more arguments for adding more language servers
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
-- use mason-null-ls to configure Formatters/Linter installation for null-ls sources
|
||||||
|
{
|
||||||
|
"jay-babu/mason-null-ls.nvim",
|
||||||
|
-- overrides `require("mason-null-ls").setup(...)`
|
||||||
|
opts = {
|
||||||
|
ensure_installed = {
|
||||||
|
"stylua",
|
||||||
|
-- add more arguments for adding more null-ls sources
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"jay-babu/mason-nvim-dap.nvim",
|
||||||
|
-- overrides `require("mason-nvim-dap").setup(...)`
|
||||||
|
opts = {
|
||||||
|
ensure_installed = {
|
||||||
|
"python",
|
||||||
|
-- add more arguments for adding more debuggers
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
return {
|
|
||||||
'nvim-neo-tree/neo-tree.nvim',
|
|
||||||
cmd = 'Neotree',
|
|
||||||
branch = 'v2.x',
|
|
||||||
keys = {
|
|
||||||
{ '<leader>ft', '<cmd>Neotree toggle<cr>', desc = 'NeoTree' },
|
|
||||||
},
|
|
||||||
dependencies = {
|
|
||||||
'nvim-lua/plenary.nvim',
|
|
||||||
'MunifTanjim/nui.nvim',
|
|
||||||
},
|
|
||||||
opts = {
|
|
||||||
filesystem = {
|
|
||||||
follow_current_file = true,
|
|
||||||
hijack_netrw_behavior = 'open_current',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
15
.config/nvim/lua/plugins/treesitter.lua
Normal file
15
.config/nvim/lua/plugins/treesitter.lua
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
|
||||||
|
|
||||||
|
-- Customize Treesitter
|
||||||
|
|
||||||
|
---@type LazySpec
|
||||||
|
return {
|
||||||
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
opts = {
|
||||||
|
ensure_installed = {
|
||||||
|
"lua",
|
||||||
|
"vim",
|
||||||
|
-- add more arguments for adding more treesitter parsers
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
83
.config/nvim/lua/plugins/user.lua
Normal file
83
.config/nvim/lua/plugins/user.lua
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|
-- You can also add or configure plugins by creating files in this `plugins/` folder
|
||||||
|
-- Here are some examples:
|
||||||
|
|
||||||
|
---@type LazySpec
|
||||||
|
return {
|
||||||
|
|
||||||
|
-- == Examples of Adding Plugins ==
|
||||||
|
|
||||||
|
"andweeb/presence.nvim",
|
||||||
|
{
|
||||||
|
"ray-x/lsp_signature.nvim",
|
||||||
|
event = "BufRead",
|
||||||
|
config = function() require("lsp_signature").setup() end,
|
||||||
|
},
|
||||||
|
|
||||||
|
-- == Examples of Overriding Plugins ==
|
||||||
|
|
||||||
|
-- customize alpha options
|
||||||
|
{
|
||||||
|
"goolord/alpha-nvim",
|
||||||
|
opts = function(_, opts)
|
||||||
|
-- customize the dashboard header
|
||||||
|
opts.section.header.val = {
|
||||||
|
" █████ ███████ ████████ ██████ ██████",
|
||||||
|
"██ ██ ██ ██ ██ ██ ██ ██",
|
||||||
|
"███████ ███████ ██ ██████ ██ ██",
|
||||||
|
"██ ██ ██ ██ ██ ██ ██ ██",
|
||||||
|
"██ ██ ███████ ██ ██ ██ ██████",
|
||||||
|
" ",
|
||||||
|
" ███ ██ ██ ██ ██ ███ ███",
|
||||||
|
" ████ ██ ██ ██ ██ ████ ████",
|
||||||
|
" ██ ██ ██ ██ ██ ██ ██ ████ ██",
|
||||||
|
" ██ ██ ██ ██ ██ ██ ██ ██ ██",
|
||||||
|
" ██ ████ ████ ██ ██ ██",
|
||||||
|
}
|
||||||
|
return opts
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
|
||||||
|
-- You can disable default plugins as follows:
|
||||||
|
{ "max397574/better-escape.nvim", enabled = false },
|
||||||
|
|
||||||
|
-- You can also easily customize additional setup of plugins that is outside of the plugin's setup call
|
||||||
|
{
|
||||||
|
"L3MON4D3/LuaSnip",
|
||||||
|
config = function(plugin, opts)
|
||||||
|
require "astronvim.plugins.configs.luasnip"(plugin, opts) -- include the default astronvim config that calls the setup call
|
||||||
|
-- add more custom luasnip configuration such as filetype extend or custom snippets
|
||||||
|
local luasnip = require "luasnip"
|
||||||
|
luasnip.filetype_extend("javascript", { "javascriptreact" })
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"windwp/nvim-autopairs",
|
||||||
|
config = function(plugin, opts)
|
||||||
|
require "astronvim.plugins.configs.nvim-autopairs"(plugin, opts) -- include the default astronvim config that calls the setup call
|
||||||
|
-- add more custom autopairs configuration such as custom rules
|
||||||
|
local npairs = require "nvim-autopairs"
|
||||||
|
local Rule = require "nvim-autopairs.rule"
|
||||||
|
local cond = require "nvim-autopairs.conds"
|
||||||
|
npairs.add_rules(
|
||||||
|
{
|
||||||
|
Rule("$", "$", { "tex", "latex" })
|
||||||
|
-- don't add a pair if the next character is %
|
||||||
|
:with_pair(cond.not_after_regex "%%")
|
||||||
|
-- don't add a pair if the previous character is xxx
|
||||||
|
:with_pair(
|
||||||
|
cond.not_before_regex("xxx", 3)
|
||||||
|
)
|
||||||
|
-- don't move right when repeat character
|
||||||
|
:with_move(cond.none())
|
||||||
|
-- don't delete if the next character is xx
|
||||||
|
:with_del(cond.not_after_regex "xx")
|
||||||
|
-- disable adding a newline when you press <cr>
|
||||||
|
:with_cr(cond.none()),
|
||||||
|
},
|
||||||
|
-- disable for .vim files, but it work for another filetypes
|
||||||
|
Rule("a", "a", "-vim")
|
||||||
|
)
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
return {
|
|
||||||
"folke/which-key.nvim",
|
|
||||||
config = function()
|
|
||||||
vim.o.timeout = true
|
|
||||||
vim.o.timeoutlen = 300
|
|
||||||
end
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,29 +1,10 @@
|
|||||||
return {
|
return {
|
||||||
'folke/zen-mode.nvim',
|
{
|
||||||
config = {
|
"folke/zen-mode.nvim",
|
||||||
window = {
|
|
||||||
backdrop = 1,
|
|
||||||
width = 80,
|
|
||||||
height = .9,
|
|
||||||
options = {
|
|
||||||
signcolumn = "no",
|
|
||||||
number = false,
|
|
||||||
relativenumber = false,
|
|
||||||
cursorline = false,
|
|
||||||
cursorcolumn = false,
|
|
||||||
foldcolumn = "0",
|
|
||||||
list = false,
|
|
||||||
}
|
|
||||||
},
|
|
||||||
opts = {
|
opts = {
|
||||||
alacritty = {
|
-- your configuration comes here
|
||||||
enabled = true,
|
-- or leave it empty to use the default settings
|
||||||
font = "13",
|
-- refer to the configuration section below
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
|
||||||
keys = {
|
|
||||||
{ '<leader>fg', '<cmd>ZenMode<cr>', desc = 'Zen Mode' },
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
18
.config/nvim/lua/polish.lua
Normal file
18
.config/nvim/lua/polish.lua
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
if true then return end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
|
||||||
|
|
||||||
|
-- This will run last in the setup process and is a good place to configure
|
||||||
|
-- things like custom filetypes. This is just pure lua so anything that doesn't
|
||||||
|
-- fit in the normal config locations above can go here
|
||||||
|
|
||||||
|
-- Set up custom filetypes
|
||||||
|
vim.filetype.add {
|
||||||
|
extension = {
|
||||||
|
foo = "fooscript",
|
||||||
|
},
|
||||||
|
filename = {
|
||||||
|
["Foofile"] = "fooscript",
|
||||||
|
},
|
||||||
|
pattern = {
|
||||||
|
["~/%.config/foo/.*"] = "fooscript",
|
||||||
|
},
|
||||||
|
}
|
||||||
6
.config/nvim/neovim.yml
Normal file
6
.config/nvim/neovim.yml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
base: lua51
|
||||||
|
|
||||||
|
globals:
|
||||||
|
vim:
|
||||||
|
any: true
|
||||||
8
.config/nvim/selene.toml
Normal file
8
.config/nvim/selene.toml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
std = "neovim"
|
||||||
|
|
||||||
|
[rules]
|
||||||
|
global_usage = "allow"
|
||||||
|
if_same_then_else = "allow"
|
||||||
|
incorrect_standard_library_use = "allow"
|
||||||
|
mixed_table = "allow"
|
||||||
|
multiple_statements = "allow"
|
||||||
12
.config/river/bar.sh
Normal file
12
.config/river/bar.sh
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
FIFO="$XDG_RUNTIME_DIR/sandbar"
|
||||||
|
[ -e "$FIFO" ] && rm -f "$FIFO"
|
||||||
|
mkfifo "$FIFO"
|
||||||
|
|
||||||
|
while cat "$FIFO"; do :; done | sandbar \
|
||||||
|
-font "LiterationMono Nerd Font:size=24" \
|
||||||
|
-active-bg-color "#9D3232" \
|
||||||
|
-inactive-bg-color "#222222" \
|
||||||
|
-title-bg-color "#222222" \
|
||||||
|
-bottom
|
||||||
226
.config/river/init
Executable file
226
.config/river/init
Executable file
@@ -0,0 +1,226 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# See the river(1), riverctl(1), and rivertile(1) man pages for complete
|
||||||
|
# documentation.
|
||||||
|
|
||||||
|
# Fix screen share
|
||||||
|
export XDG_CURRENT_DESKTOP=river
|
||||||
|
export XDG_SESSION_TYPE=wayland
|
||||||
|
|
||||||
|
## Start portals
|
||||||
|
dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
|
xdg-desktop-portal-wlr &
|
||||||
|
xdg-desktop-portal &
|
||||||
|
|
||||||
|
## Start easyeffects
|
||||||
|
flatpak run com.github.wwmm.easyeffects --gapplication-service &
|
||||||
|
|
||||||
|
# Mod1+Shift+Return to start an instance of foot (https://codeberg.org/dnkl/foot)
|
||||||
|
riverctl map normal Mod1+Shift Return spawn foot
|
||||||
|
|
||||||
|
# Menu
|
||||||
|
#riverctl map normal Mod1 p spawn "bemenu-run --fn 'LiterationMono Nerd Font 12'"
|
||||||
|
#riverctl map normal Mod1 p spawn "wmenu_run -f 'LiterationMono Nerd Font 12'"
|
||||||
|
#riverctl map normal Mod1 p spawn "wmenu-run -il 16 -p 'Run:' -f 'LiterationMono Nerd Font 12'"
|
||||||
|
#riverctl map normal Mod1 p spawn "wmenu-run -il 16 -f 'LiterationMono Nerd Font 12' -n bbbbbbff -N 222222ff -s eeeeeeff -S 444444ff -m eeeeeeff -M 444444ff"
|
||||||
|
riverctl map normal Mod1 p spawn "wmenu-run -F -il 16 -f 'LiterationMono Nerd Font 12' -n bbbbbbff -N 222222ff -s eeeeeeff -S 444444ff -m eeeeeeff -M 444444ff"
|
||||||
|
|
||||||
|
# Mod1+Q to close the focused view
|
||||||
|
riverctl map normal Mod1+Shift C close
|
||||||
|
|
||||||
|
# Mod1+Shift+E to exit river
|
||||||
|
riverctl map normal Mod1+Shift E exit
|
||||||
|
|
||||||
|
# Mod1+J and Super+K to focus the next/previous view in the layout stack
|
||||||
|
riverctl map normal Mod1 J focus-view next
|
||||||
|
riverctl map normal Mod1 K focus-view previous
|
||||||
|
|
||||||
|
# Mod1+Shift+J and Super+Shift+K to swap the focused view with the next/previous
|
||||||
|
# view in the layout stack
|
||||||
|
riverctl map normal Mod1+Shift J swap next
|
||||||
|
riverctl map normal Mod1+Shift K swap previous
|
||||||
|
|
||||||
|
# Mod1+Period and Super+Comma to focus the next/previous output
|
||||||
|
riverctl map normal Mod1 Period focus-output next
|
||||||
|
riverctl map normal Mod1 Comma focus-output previous
|
||||||
|
|
||||||
|
# Mod1+Shift+{Period,Comma} to send the focused view to the next/previous output
|
||||||
|
riverctl map normal Mod1+Shift Period send-to-output next
|
||||||
|
riverctl map normal Mod1+Shift Comma send-to-output previous
|
||||||
|
|
||||||
|
# Mod1+Tab to cycle between the last 2 tags
|
||||||
|
riverctl map normal Mod1 Tab focus-previous-tags
|
||||||
|
|
||||||
|
# Mod1+Return to bump the focused view to the top of the layout stack
|
||||||
|
riverctl map normal Mod1 Return zoom
|
||||||
|
|
||||||
|
# Increment/decrement the main count
|
||||||
|
riverctl map normal Mod1 i send-layout-cmd filtile "main-count +1"
|
||||||
|
riverctl map normal Mod1 d send-layout-cmd filtile "main-count -1"
|
||||||
|
|
||||||
|
# Mod1+Super+{H,J,K,L} to move views
|
||||||
|
riverctl map normal Mod1+Super H move left 100
|
||||||
|
riverctl map normal Mod1+Super J move down 100
|
||||||
|
riverctl map normal Mod1+Super K move up 100
|
||||||
|
riverctl map normal Mod1+Super L move right 100
|
||||||
|
|
||||||
|
# Mod1+Super+Control+{H,J,K,L} to snap views to screen edges
|
||||||
|
riverctl map normal Mod1+Super+Control H snap left
|
||||||
|
riverctl map normal Mod1+Super+Control J snap down
|
||||||
|
riverctl map normal Mod1+Super+Control K snap up
|
||||||
|
riverctl map normal Mod1+Super+Control L snap right
|
||||||
|
|
||||||
|
# Mod1+Super+Shift+{H,J,K,L} to resize views
|
||||||
|
riverctl map normal Mod1+Super+Shift H resize horizontal -100
|
||||||
|
riverctl map normal Mod1+Super+Shift J resize vertical 100
|
||||||
|
riverctl map normal Mod1+Super+Shift K resize vertical -100
|
||||||
|
riverctl map normal Mod1+Super+Shift L resize horizontal 100
|
||||||
|
|
||||||
|
# Mod1 + Left Mouse Button to move views
|
||||||
|
riverctl map-pointer normal Mod1 BTN_LEFT move-view
|
||||||
|
|
||||||
|
# Mod1 + Right Mouse Button to resize views
|
||||||
|
riverctl map-pointer normal Mod1 BTN_RIGHT resize-view
|
||||||
|
|
||||||
|
# Mod1 + Middle Mouse Button to toggle float
|
||||||
|
riverctl map-pointer normal Mod1 BTN_MIDDLE toggle-float
|
||||||
|
|
||||||
|
for i in $(seq 1 9)
|
||||||
|
do
|
||||||
|
tags=$((1 << ($i - 1)))
|
||||||
|
riverctl map normal Mod1 $i set-focused-tags $tags
|
||||||
|
riverctl map normal Mod1+Shift $i set-view-tags $tags
|
||||||
|
riverctl map normal Mod1+Control $i toggle-focused-tags $tags
|
||||||
|
riverctl map normal Mod1+Shift+Control $i toggle-view-tags $tags
|
||||||
|
done
|
||||||
|
|
||||||
|
# Mod1+0 to focus all tags
|
||||||
|
# Mod1+Shift+0 to tag focused view with all tags
|
||||||
|
all_tags=$(((1 << 32) - 1))
|
||||||
|
riverctl map normal Mod1 0 set-focused-tags $all_tags
|
||||||
|
riverctl map normal Mod1+Shift 0 set-view-tags $all_tags
|
||||||
|
|
||||||
|
# Mod1+Space to toggle float
|
||||||
|
riverctl map normal Mod1+Shift Space toggle-float
|
||||||
|
|
||||||
|
# Mod1+F to toggle fullscreen
|
||||||
|
riverctl map normal Mod1 F toggle-fullscreen
|
||||||
|
|
||||||
|
# Mod1+{Up,Right,Down,Left} to change layout orientation
|
||||||
|
riverctl map normal Mod1 Up send-layout-cmd rivertile "main-location top"
|
||||||
|
riverctl map normal Mod1 Right send-layout-cmd rivertile "main-location right"
|
||||||
|
riverctl map normal Mod1 Down send-layout-cmd rivertile "main-location bottom"
|
||||||
|
riverctl map normal Mod1 Left send-layout-cmd rivertile "main-location left"
|
||||||
|
|
||||||
|
# Declare a passthrough mode. This mode has only a single mapping to return to
|
||||||
|
# normal mode. This makes it useful for testing a nested wayland compositor
|
||||||
|
riverctl declare-mode passthrough
|
||||||
|
|
||||||
|
# Mod1+F11 to enter passthrough mode
|
||||||
|
riverctl map normal Mod1 F11 enter-mode passthrough
|
||||||
|
|
||||||
|
# Mod1+F11 to return to normal mode
|
||||||
|
riverctl map passthrough Mod1 F11 enter-mode normal
|
||||||
|
|
||||||
|
# Lock screen
|
||||||
|
riverctl map normal Mod1+Shift L spawn waylock
|
||||||
|
|
||||||
|
# Various media key mapping examples for both normal and locked mode which do
|
||||||
|
# not have a modifier
|
||||||
|
for mode in normal locked
|
||||||
|
do
|
||||||
|
# Control pulse audio volume with pamixer (https://github.com/cdemoulins/pamixer)
|
||||||
|
riverctl map $mode None XF86AudioRaiseVolume spawn 'pamixer -i 5'
|
||||||
|
riverctl map $mode None XF86AudioLowerVolume spawn 'pamixer -d 5'
|
||||||
|
riverctl map $mode None XF86AudioMute spawn 'pamixer --toggle-mute'
|
||||||
|
|
||||||
|
# Control MPRIS aware media players with playerctl (https://github.com/altdesktop/playerctl)
|
||||||
|
riverctl map $mode None XF86AudioMedia spawn 'playerctl play-pause'
|
||||||
|
riverctl map $mode None XF86AudioPlay spawn 'playerctl play-pause'
|
||||||
|
riverctl map $mode None XF86AudioPrev spawn 'playerctl previous'
|
||||||
|
riverctl map $mode None XF86AudioNext spawn 'playerctl next'
|
||||||
|
done
|
||||||
|
|
||||||
|
# Grim
|
||||||
|
riverctl map normal None Print spawn 'file="/home/$USER/Pictures/Screenshots/$(date +%F_%T).png"; grim -g "$(slurp -d)" "$file" && wl-copy --type text/uri-list "file://$file"'
|
||||||
|
riverctl map normal Mod1 Print spawn 'grim - | tee /home/$USER/Pictures/Screenshots/$(date +"%F_%T").png | wl-copy'
|
||||||
|
riverctl map normal Mod1+Shift Print spawn "grim -g \"\$(slurp -p)\" -t ppm - | convert - -format '%[pixel:p{0,0}]' txt:- | grep -o '#[0-9A-F]\{6\}' | tr -d '\n' | wl-copy"
|
||||||
|
|
||||||
|
# Passmenu
|
||||||
|
#riverctl map normal Mod1 o spawn 'passmenu -l 10'
|
||||||
|
|
||||||
|
# Focus follows mouse
|
||||||
|
riverctl focus-follows-cursor normal
|
||||||
|
|
||||||
|
# Borders & Colors
|
||||||
|
riverctl background-color 0x002b36
|
||||||
|
riverctl border-color-focused 0x93a1a1
|
||||||
|
riverctl border-color-unfocused 0x586e75
|
||||||
|
riverctl border-width 1
|
||||||
|
|
||||||
|
# Set keyboard repeat rate
|
||||||
|
riverctl set-repeat 30 200
|
||||||
|
|
||||||
|
# Keyboard layouts
|
||||||
|
riverctl keyboard-layout -options "grp:win_space_toggle" "us,cz(qwerty)"
|
||||||
|
#riverctl keyboard-layout CShack
|
||||||
|
|
||||||
|
# Make all views with an app-id that starts with "float" and title "foo" start floating.
|
||||||
|
riverctl rule-add -app-id 'float*' -title 'foo' float
|
||||||
|
|
||||||
|
# Make all views with app-id "bar" and any title use client-side decorations
|
||||||
|
riverctl rule-add -app-id "bar" csd
|
||||||
|
|
||||||
|
# File manager
|
||||||
|
riverctl rule-add -title 'yazi' float
|
||||||
|
riverctl map normal Mod1 r spawn 'foot -T yazi -W 150x50 -e yazi'
|
||||||
|
|
||||||
|
# Audio (wireplumber runs automatically)
|
||||||
|
riverctl spawn pipewire
|
||||||
|
riverctl spawn pipewire-pulse
|
||||||
|
riverctl spawn wireplumber
|
||||||
|
|
||||||
|
# Services
|
||||||
|
riverctl spawn dunst
|
||||||
|
#riverctl spawn blueman-applet
|
||||||
|
riverctl spawn "udiskie -ANt"
|
||||||
|
|
||||||
|
# Color temp
|
||||||
|
riverctl spawn "wlsunset -l 50.08 -L 14.42 -t 5000 -T 6500"
|
||||||
|
|
||||||
|
# Wallpaper
|
||||||
|
riverctl spawn "swaybg -c 1D1F21"
|
||||||
|
#[[ -e ~/.config/wallpaper.png ]] &&
|
||||||
|
#riverctl spawn "swaybg -m fill -i ~/.config/wallpaper.png"
|
||||||
|
|
||||||
|
# Clock
|
||||||
|
riverctl spawn "wlclock --layer background --background-colour '#00000000' --clock-colour '#ffffff' --border-size 0 --hand-width 2 --size 300"
|
||||||
|
|
||||||
|
# Statusbar
|
||||||
|
#riverctl spawn "$HOME/.config/river/status"
|
||||||
|
#riverctl spawn "$HOME/.config/river/bar"
|
||||||
|
riverctl spawn waybar
|
||||||
|
|
||||||
|
# Idle configuration
|
||||||
|
riverctl spawn "swayidle -w timeout 1200 'wlopm --off \"*\"' resume 'wlopm --on \"*\"' before-sleep 'waylock -fork-on-lock'"
|
||||||
|
|
||||||
|
# Displays
|
||||||
|
# way-displays > /tmp/way-displays.${XDG_VTNR}.${USER}.log 2>&1 &
|
||||||
|
riverctl spawn kanshi
|
||||||
|
|
||||||
|
# riverctl default-layout rivertile
|
||||||
|
# rivertile -view-padding 0 -outer-padding 0 &
|
||||||
|
|
||||||
|
# Filtile
|
||||||
|
riverctl map normal Mod1 H send-layout-cmd filtile "main-ratio -5"
|
||||||
|
riverctl map normal Mod1 L send-layout-cmd filtile "main-ratio +5"
|
||||||
|
riverctl map normal Mod1 M send-layout-cmd filtile "monocle"
|
||||||
|
|
||||||
|
riverctl default-layout filtile
|
||||||
|
filtile \
|
||||||
|
pad off, \
|
||||||
|
view-padding 5, \
|
||||||
|
outer-padding 5, \
|
||||||
|
smart-padding 0, \
|
||||||
|
main-ratio 55, \
|
||||||
|
main-location left
|
||||||
53
.config/river/status.sh
Normal file
53
.config/river/status.sh
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
# !/bin/env sh
|
||||||
|
|
||||||
|
cpu() {
|
||||||
|
cpu="$(grep -o "^[^ ]*" /proc/loadavg)"
|
||||||
|
}
|
||||||
|
|
||||||
|
memory() {
|
||||||
|
memory="$(free -h | sed -n "2s/\([^ ]* *\)\{2\}\([^ ]*\).*/\2/p")"
|
||||||
|
}
|
||||||
|
|
||||||
|
disk() {
|
||||||
|
disk="$(df -h | awk 'NR==2{print $4}')"
|
||||||
|
}
|
||||||
|
|
||||||
|
datetime() {
|
||||||
|
datetime="$(date "+%F %a %H:%M")"
|
||||||
|
}
|
||||||
|
|
||||||
|
bat() {
|
||||||
|
read -r bat_status </sys/class/power_supply/BAT0/status
|
||||||
|
read -r bat_capacity </sys/class/power_supply/BAT0/capacity
|
||||||
|
bat="$bat_status $bat_capacity%"
|
||||||
|
}
|
||||||
|
|
||||||
|
vol() {
|
||||||
|
vol="$([ "$(pamixer --get-mute)" = "false" ] && printf "%s%%" "$(pamixer --get-volume)" || printf '-')"
|
||||||
|
}
|
||||||
|
|
||||||
|
display() {
|
||||||
|
# echo "all status [$memory $cpu $disk] [$bat] [$vol] [$datetime]" >"$FIFO"
|
||||||
|
echo "all status 🔈$vol $datetime" >"$FIFO"
|
||||||
|
}
|
||||||
|
|
||||||
|
printf "%s" "$$" > "$XDG_RUNTIME_DIR/status_pid"
|
||||||
|
FIFO="$XDG_RUNTIME_DIR/sandbar"
|
||||||
|
[ -e "$FIFO" ] || mkfifo "$FIFO"
|
||||||
|
sec=0
|
||||||
|
|
||||||
|
while true; do
|
||||||
|
sleep 1 &
|
||||||
|
wait && {
|
||||||
|
#[ $((sec % 15)) -eq 0 ] && memory
|
||||||
|
#[ $((sec % 15)) -eq 0 ] && cpu
|
||||||
|
#[ $((sec % 15)) -eq 0 ] && disk
|
||||||
|
#[ $((sec % 60)) -eq 0 ] && bat
|
||||||
|
[ $((sec % 5)) -eq 0 ] && vol
|
||||||
|
[ $((sec % 5)) -eq 0 ] && datetime
|
||||||
|
|
||||||
|
[ $((sec % 5)) -eq 0 ] && display
|
||||||
|
|
||||||
|
sec=$((sec + 1))
|
||||||
|
}
|
||||||
|
done
|
||||||
121
.config/waybar/config.jsonc
Normal file
121
.config/waybar/config.jsonc
Normal file
@@ -0,0 +1,121 @@
|
|||||||
|
{
|
||||||
|
"position": "bottom",
|
||||||
|
"modules-left": ["river/tags", "river/window"],
|
||||||
|
"modules-center": [],
|
||||||
|
"modules-right": ["tray", "network", "custom/audio", "clock"],
|
||||||
|
|
||||||
|
"river/tags": {
|
||||||
|
"num-tags": 9
|
||||||
|
},
|
||||||
|
|
||||||
|
"river/window": {
|
||||||
|
"max-length": 80
|
||||||
|
},
|
||||||
|
|
||||||
|
"clock": {
|
||||||
|
//"format": "{:%d.%m. %b, %a %H:%M}",
|
||||||
|
"format": "{:%b %d (%a) %I:%M:%S %p}",
|
||||||
|
"timezone": "Europe/Prague",
|
||||||
|
"locale": "en_US.UTF-8",
|
||||||
|
"interval": 1,
|
||||||
|
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
||||||
|
"calendar": {
|
||||||
|
"mode" : "year",
|
||||||
|
"mode-mon-col" : 3,
|
||||||
|
"weeks-pos" : "right",
|
||||||
|
"on-scroll" : 1,
|
||||||
|
"format": {
|
||||||
|
"months": "<span color='#ffead3'><b>{}</b></span>",
|
||||||
|
"days": "<span color='#ecc6d9'><b>{}</b></span>",
|
||||||
|
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
|
||||||
|
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
|
||||||
|
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"actions": {
|
||||||
|
"on-click-right": "mode",
|
||||||
|
"on-click-forward": "tz_up",
|
||||||
|
"on-click-backward": "tz_down",
|
||||||
|
"on-scroll-up": "shift_up",
|
||||||
|
"on-scroll-down": "shift_down"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"network": {
|
||||||
|
"interface": "eth0",
|
||||||
|
"format-ethernet": " {ifname}: {ipaddr}",
|
||||||
|
"format-disconnected": " ",
|
||||||
|
"tooltip-format-ethernet": "{ifname}: {ipaddr}",
|
||||||
|
"tooltip-format-disconnected": "Disconnected",
|
||||||
|
//"on-click": "foot -e nmtui",
|
||||||
|
//"on-click-right": "~/.scripts/restart_network.sh"
|
||||||
|
},
|
||||||
|
|
||||||
|
//"bluetooth": {
|
||||||
|
// "on-click": "foot bluetuith",
|
||||||
|
// "on-click-right": "~/.scripts/toggle_bluetooth.sh",
|
||||||
|
// "format-on": "",
|
||||||
|
// "format-off": "",
|
||||||
|
// "format-disabled": "",
|
||||||
|
// "format-connected": ""
|
||||||
|
//},
|
||||||
|
|
||||||
|
//"wireplumber": {
|
||||||
|
// "format": "{icon} {volume}%",
|
||||||
|
// "format-muted": " muted",
|
||||||
|
// "on-click": "pavucontrol -t 3",
|
||||||
|
// "on-click-right": "pamixer --toggle-mute",
|
||||||
|
// "max-volume": 125,
|
||||||
|
// "format-icons": ["", "", ""]
|
||||||
|
//},
|
||||||
|
|
||||||
|
"custom/audio": {
|
||||||
|
"exec": "~/.local/bin/waybar_audio.sh",
|
||||||
|
"return-type": "json",
|
||||||
|
"format": "{icon} {text}",
|
||||||
|
"format-icons": {
|
||||||
|
"speaker": " ",
|
||||||
|
"speaker-muted": "",
|
||||||
|
"headphones": "",
|
||||||
|
"headphones-muted": ""
|
||||||
|
},
|
||||||
|
"interval": 2,
|
||||||
|
"on-click": "~/.local/bin/toggle_audio",
|
||||||
|
"on-click-right": "pamixer --toggle-mute"
|
||||||
|
},
|
||||||
|
|
||||||
|
"custom/audio": {
|
||||||
|
"exec": "~/.local/bin/waybar_audio.sh",
|
||||||
|
"return-type": "json",
|
||||||
|
"format": "{icon} {text}",
|
||||||
|
"format-icons": {
|
||||||
|
"speaker": ["", "", " "],
|
||||||
|
"speaker-muted": "",
|
||||||
|
"headphones": "",
|
||||||
|
"headphones-muted": ""
|
||||||
|
},
|
||||||
|
"interval": 2,
|
||||||
|
"on-click": "~/.local/bin/toggle_audio",
|
||||||
|
"on-click-right": "pamixer --toggle-mute",
|
||||||
|
"on-scroll-up": "pamixer --increase 5",
|
||||||
|
"on-scroll-down": "pamixer --decrease 5"
|
||||||
|
},
|
||||||
|
|
||||||
|
//"battery": {
|
||||||
|
// "states": {
|
||||||
|
// "good": 95,
|
||||||
|
// "warning": 30,
|
||||||
|
// "critical": 15
|
||||||
|
// },
|
||||||
|
// "format":"{icon} {capacity}%",
|
||||||
|
// "format-charging": " {capacity}%",
|
||||||
|
// "format-plugged": "",
|
||||||
|
// "format-icons": ["", "", "", "", "", "", "", "", "", ""],
|
||||||
|
// "interval": 30,
|
||||||
|
// "tooltip-format": "{time}",
|
||||||
|
//},
|
||||||
|
|
||||||
|
"tray": {
|
||||||
|
"spacing": 10
|
||||||
|
}
|
||||||
|
}
|
||||||
52
.config/waybar/ferrum.css
Normal file
52
.config/waybar/ferrum.css
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
/* https://github.com/realcharmer/waybar-ferrum-theme */
|
||||||
|
/* https://github.com/LunarVim/Colorschemes/blob/master/lua/ferrum/palette.lua */
|
||||||
|
|
||||||
|
@define-color fg #c3c6c4;
|
||||||
|
@define-color bg #1D1F21;
|
||||||
|
@define-color alt_bg #252525;
|
||||||
|
@define-color dark #222222;
|
||||||
|
@define-color accent #BBBBBB;
|
||||||
|
@define-color popup_back #2D2D30;
|
||||||
|
@define-color search_orange #613214;
|
||||||
|
@define-color search_blue #083C5A;
|
||||||
|
@define-color white #D8DEE9;
|
||||||
|
@define-color gray #808080;
|
||||||
|
@define-color dark_gray #3e3e3e;
|
||||||
|
@define-color context #606060;
|
||||||
|
@define-color light_gray #cccccc;
|
||||||
|
@define-color tree_gray #252526;
|
||||||
|
@define-color blue #81a2be;
|
||||||
|
@define-color vivid_blue #D16969;
|
||||||
|
@define-color dark_blue #223E55;
|
||||||
|
@define-color folder_blue #42A5F5;
|
||||||
|
@define-color light_blue #c3c6c4;
|
||||||
|
@define-color green #969896;
|
||||||
|
@define-color cyan #de935f;
|
||||||
|
@define-color light_green #B5CEA8;
|
||||||
|
@define-color red #F44747;
|
||||||
|
@define-color orange #b5bd68;
|
||||||
|
@define-color light_red #D16969;
|
||||||
|
@define-color yellow #8abeb7;
|
||||||
|
@define-color yellow_orange #D7BA7D;
|
||||||
|
@define-color purple #b294bb;
|
||||||
|
@define-color magenta #D16D9E;
|
||||||
|
@define-color cursor_fg #515052;
|
||||||
|
@define-color cursor_bg #AEAFAD;
|
||||||
|
@define-color sign_add #587c0c;
|
||||||
|
@define-color sign_change #0c7d9d;
|
||||||
|
@define-color sign_delete #94151b;
|
||||||
|
@define-color tree_sign_add #73C991;
|
||||||
|
@define-color tree_sign_change #CCA700;
|
||||||
|
@define-color error_red #F44747;
|
||||||
|
@define-color warning_orange #ff8800;
|
||||||
|
@define-color info_yellow #FFCC66;
|
||||||
|
@define-color hint_blue #4FC1FF;
|
||||||
|
@define-color success_green #14C50B;
|
||||||
|
@define-color purple_test #ff007c;
|
||||||
|
@define-color cyan_test #00dfff;
|
||||||
|
@define-color ui_blue #264F78;
|
||||||
|
@define-color ui2_blue #042E48;
|
||||||
|
@define-color ui3_blue #0195F7;
|
||||||
|
@define-color ui4_blue #75BEFF;
|
||||||
|
@define-color ui_orange #E8AB53;
|
||||||
|
@define-color ui_purple #B180D7;
|
||||||
26
.config/waybar/mocha.css
Normal file
26
.config/waybar/mocha.css
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
@define-color rosewater #f5e0dc;
|
||||||
|
@define-color flamingo #f2cdcd;
|
||||||
|
@define-color pink #f5c2e7;
|
||||||
|
@define-color mauve #cba6f7;
|
||||||
|
@define-color red #f38ba8;
|
||||||
|
@define-color maroon #eba0ac;
|
||||||
|
@define-color peach #fab387;
|
||||||
|
@define-color yellow #f9e2af;
|
||||||
|
@define-color green #a6e3a1;
|
||||||
|
@define-color teal #94e2d5;
|
||||||
|
@define-color sky #89dceb;
|
||||||
|
@define-color sapphire #74c7ec;
|
||||||
|
@define-color blue #89b4fa;
|
||||||
|
@define-color lavender #b4befe;
|
||||||
|
@define-color text #cdd6f4;
|
||||||
|
@define-color subtext1 #bac2de;
|
||||||
|
@define-color subtext0 #a6adc8;
|
||||||
|
@define-color overlay2 #9399b2;
|
||||||
|
@define-color overlay1 #7f849c;
|
||||||
|
@define-color overlay0 #6c7086;
|
||||||
|
@define-color surface2 #585b70;
|
||||||
|
@define-color surface1 #45475a;
|
||||||
|
@define-color surface0 #313244;
|
||||||
|
@define-color base #1e1e2e;
|
||||||
|
@define-color mantle #181825;
|
||||||
|
@define-color crust #11111b;
|
||||||
71
.config/waybar/style.css
Normal file
71
.config/waybar/style.css
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
@import "ferrum.css";
|
||||||
|
|
||||||
|
* {
|
||||||
|
font-family: "LiterationMono Nerd Font";
|
||||||
|
/* font-family: "Source Han Sans HW,源ノ角ゴシック HW"; */
|
||||||
|
color: @fg;
|
||||||
|
min-height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar {
|
||||||
|
background-color: @bg;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-audio, #custom-test {
|
||||||
|
font-family: "JetBrainsMono Nerd Font";
|
||||||
|
}
|
||||||
|
|
||||||
|
#tags {
|
||||||
|
font-family: "Source Han Sans HW,源ノ角ゴシック HW";
|
||||||
|
font-weight: normal;
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
#tags button {
|
||||||
|
padding: 3px .4em;
|
||||||
|
border-radius: 0px;
|
||||||
|
}
|
||||||
|
#tags button.occupied {
|
||||||
|
border-bottom: 1px solid @fg;
|
||||||
|
border-top: 1px solid transparent;
|
||||||
|
}
|
||||||
|
#tags button.focused {
|
||||||
|
background-color: #9d3232;
|
||||||
|
}
|
||||||
|
#tags button.urgent {
|
||||||
|
background-color: shade(@popup_back, 1.25);
|
||||||
|
}
|
||||||
|
|
||||||
|
#window {
|
||||||
|
color: @gray;
|
||||||
|
font-size: .9em;
|
||||||
|
margin-left: 3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#network,
|
||||||
|
#bluetooth,
|
||||||
|
#wireplumber,
|
||||||
|
#battery,
|
||||||
|
#tray,
|
||||||
|
#clock {
|
||||||
|
font-size: 15px;
|
||||||
|
padding: .15em 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock {
|
||||||
|
padding: 0 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery.warning {
|
||||||
|
background-color: @yellow;
|
||||||
|
color: @bg;
|
||||||
|
}
|
||||||
|
#battery.critical {
|
||||||
|
background-color: @red;
|
||||||
|
color: @bg;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tray menu {
|
||||||
|
border-radius: 0;
|
||||||
|
color: @fg;
|
||||||
|
background-color: shade(@bg, 0.9);
|
||||||
|
}
|
||||||
27
.config/wmenu/config
Normal file
27
.config/wmenu/config
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
# ~/.config/wmenu/config
|
||||||
|
# try to mimic your suckless/dmenu look
|
||||||
|
|
||||||
|
# placement
|
||||||
|
-b
|
||||||
|
|
||||||
|
# vertical list with 10 lines
|
||||||
|
-l 10
|
||||||
|
|
||||||
|
# case-insensitive matching
|
||||||
|
-i
|
||||||
|
|
||||||
|
# font (match dmenu's monospace:size=10)
|
||||||
|
-f monospace:size=10
|
||||||
|
|
||||||
|
# prompt text color and background (like SchemeNorm)
|
||||||
|
-n bbbbbbFF # normal fg (#bbbbbb)
|
||||||
|
-N 222222FF # normal bg (#222222)
|
||||||
|
|
||||||
|
# selection colors (like SchemeSel)
|
||||||
|
-s eeeeeeFF # selected fg (#eeeeee)
|
||||||
|
-S 005577FF # selected bg (#005577)
|
||||||
|
|
||||||
|
# optional prompt colors (like SchemeSel so it pops)
|
||||||
|
-m eeeeeeFF
|
||||||
|
-M 005577FF
|
||||||
|
|
||||||
14
.xinitrc
14
.xinitrc
@@ -5,11 +5,16 @@
|
|||||||
[ -f ~/.xprofile ] && . ~/.xprofile
|
[ -f ~/.xprofile ] && . ~/.xprofile
|
||||||
[ -f ~/.Xresources ] && xrdb -merge -I$HOME ~/.Xresources
|
[ -f ~/.Xresources ] && xrdb -merge -I$HOME ~/.Xresources
|
||||||
|
|
||||||
|
# OPTIMUS SHITS
|
||||||
|
xrandr --setprovideroutputsource modesetting NVIDIA-0
|
||||||
|
xrandr --auto
|
||||||
|
|
||||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||||
|
|
||||||
eval "$(dbus-launch --sh-syntax --exit-with-session)"
|
eval "$(dbus-launch --sh-syntax --exit-with-session)"
|
||||||
|
|
||||||
feh --bg-center "$HOME/Pictures/bg.png" &
|
#feh --bg-center "$HOME/Pictures/bg.png" &
|
||||||
|
feh --bg-scale "$HOME/Pictures/bg.png" &
|
||||||
|
|
||||||
xautolock -locker lock-us -secure -time 1 &
|
xautolock -locker lock-us -secure -time 1 &
|
||||||
|
|
||||||
@@ -20,5 +25,12 @@ wireplumber &
|
|||||||
|
|
||||||
dwmblocks &
|
dwmblocks &
|
||||||
|
|
||||||
|
clipmenud &
|
||||||
|
|
||||||
|
mpd --no-daemon &
|
||||||
|
|
||||||
|
pw-metadata -n settings 0 clock.force-rate 44100
|
||||||
|
pw-metadata -n settings 0 clock.force-quantum 1024
|
||||||
|
|
||||||
dbus-launch --sh-syntax --exit-with-session dwm
|
dbus-launch --sh-syntax --exit-with-session dwm
|
||||||
|
|
||||||
|
|||||||
17
.xprofile
17
.xprofile
@@ -5,3 +5,20 @@ xinput disable $TPADID
|
|||||||
xinput set-prop "TPPS/2 IBM TrackPoint" "libinput Accel Speed" 0.9
|
xinput set-prop "TPPS/2 IBM TrackPoint" "libinput Accel Speed" 0.9
|
||||||
|
|
||||||
xdg-settings set default-web-browser firefox.desktop
|
xdg-settings set default-web-browser firefox.desktop
|
||||||
|
xdg-mime default mupdf.desktop application/pdf
|
||||||
|
xdg-mime default thunar.desktop inode/directory
|
||||||
|
|
||||||
|
#xrandr --output HDMI-0 --mode 2560x1440 --rate 143.91
|
||||||
|
#xrandr --output DP-3 --mode 1920x1080 --pos 0x180 --rotate normal --output HDMI-0 --mode 2560x1440 --rate 143.91 --pos 1920x0 --rotate normal
|
||||||
|
#xrandr --output DP-3 --mode 1920x1080 --pos 0x180 --rotate normal --output HDMI-0 --mode 2560x1440 --rate 143.91 --pos 1920x0 --rotate normal --primary
|
||||||
|
##nvidia-settings --assign 'CurrentMetaMode=DPY-4: 2560x1440_144 @2560x1440 +1920+0 {ViewPortIn=2560x1440, ViewPortOut=2560x1440+0+0, ForceCompositionPipeline=On}, DPY-3: nvidia-auto-select @1920x1080 +0+180 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0, ForceCompositionPipeline=On}'
|
||||||
|
#nvidia-settings --assign 'CurrentMetaMode=DPY-5: 2560x1440_170 @2560x1440 +1920+0 {ViewPortIn=2560x1440, ViewPortOut=2560x1440+0+0, ForceCompositionPipeline=On}, DPY-1: nvidia-auto-select @1920x1080 +0+138 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0, ForceCompositionPipeline=On}'
|
||||||
|
|
||||||
|
xrandr --output DisplayPort-0 --off --output DisplayPort-1 --off --output DisplayPort-2 --primary --mode 2560x1440 --pos 1920x0 --rotate normal --output HDMI-A-0 --mode 1920x1080 --pos 0x180 --rotate normal
|
||||||
|
xrandr --output DisplayPort-2 --set "scaling mode" Full
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if [ -d ~/.sv ]; then
|
||||||
|
runsvdir -P ~/.sv &
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user