Compare commits

..

No commits in common. "3f6226556091ff9194ee535ba359aa3dead28b14" and "857b121e36730da1f0ed68707a3fdabe11d9f849" have entirely different histories.

8 changed files with 12 additions and 60 deletions

View File

@ -5,10 +5,8 @@ opacity = 0.0
[font]
normal = { family = "JetBrains Mono" }
size = 10
[colors]
[colors.primary]
background = "#000000"
[colors]
[colors.normal]
black = "#000000"
red = "#949494"
@ -32,31 +30,5 @@ white = "#eceff4"
[keyboard]
bindings = [
{ key = "Enter", mods = "Control|Shift", action = "CreateNewWindow" },
{ key = "l", mods = "Control|Shift", action = "ClearHistory" },
{ key = "Enter", mods = "Control|Shift", action = "CreateNewWindow" }
]
[bell]
animation = "EaseOutQuint"
duration = 150
color = "#000000"
# uRls
[[hints.enabled]]
action = "Copy"
hyperlinks = true
post_processing = true
persist = false
mouse.enabled = true
binding = { key = "R", mods = "Control|Shift" }
regex = "(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file:|git://|ssh:|ftp://)[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩‘]+"
# git coMmits
[[hints.enabled]]
action = "Copy"
post_processing = true
persist = false
mouse.enabled = true
hyperlinks=true
binding = { key = "M", mods = "Control" }
regex = "[0-9a-f]{7,40}"

View File

@ -1,8 +1,5 @@
set tabstop=4 shiftwidth=4 noexpandtab ai nosmd ignorecase smartcase
" visible whitespace
set list listchars=tab:»\ ,trail:•,leadmultispace:\│\ \ \ ,extends:⇥,precedes:⇤
" Time neovim saves to swapfile in
" Also time neovim recognizes cursor inactivity
set updatetime=800

View File

@ -57,8 +57,6 @@ Group.link("@type.qualifier", groups["keyword.return"])
Group.new("NormalFloat", colors.noir_1, colors.noir_9, nil)
Group.new("NonText", colors.noir_9, nil, nil)
-- swap undercurls and underlines
for _, v in ipairs({ "Error", "Info", "Hint", "Warn" }) do
local col_name = "diagnostic_" .. string.lower(v)

View File

@ -1 +0,0 @@
set editing-mode vi

View File

@ -3,16 +3,8 @@
TMPFILE="$(mktemp)"
xsel -b > "$TMPFILE"
newterm() {
alacritty msg create-window "$@" ||
alacritty "$@"
}
newterm \
-o 'window.class = { instance = "popup-bottom-center", general="popup-bottom-center" }' \
-o 'window.opacity = 1.0' \
-o 'window.dimensions = { columns = 84, lines = 10 }' \
-o 'window.position = { x = 0, y = 1200 }' \
-e sh -c "xsel -b > '$TMPFILE'; nvim -c 'set binary noeol textwidth=80' '$TMPFILE' && cat '$TMPFILE' | xsel -ib && rm '$TMPFILE'"
#xsel -b > "$TMPFILE"
st -g 60x8+0+800 -c popup-bottom-center \
-e nvim -c "set binary noeol" -c "startinsert" "$TMPFILE" -c "highlight Normal ctermbg=016"
cat "$TMPFILE" | xsel -ib
rm "$TMPFILE"

View File

@ -1,10 +1,5 @@
#!/bin/sh
# Append link from clipboard/argument to mpv playlist
if [ -z "$2" ]; then
path="$(xsel -b)"
else
path="$2"
fi
# Append link from clipboard to mpv playlist
path="$(xsel -b)"
echo "{ command: [ \"loadfile\", \"$path\", \"append-play\" ] }" | socat - $1

View File

@ -35,9 +35,8 @@ bind 1 "weapon_group_1"
bind 2 "weapon_group_2"
// Machine gun
bind 3 "weapon_group_3"
bind 4 "reload"
// Hagar
bind 5 "weapon_group_8"
bind 4 "weapon_group_8"
// Vortex
bind e "weapon_group_7"
// Electro
@ -45,7 +44,7 @@ bind f "weapon_group_5"
// Crylink
bind q "weapon_group_6"
// Mortar
bind r "weapon_group_4"
bind MOUSE6 "weapon_group_4"
// Rocket launcher
bind MOUSE7 "weapon_group_9"

View File

@ -22,7 +22,7 @@ static const char dmenufont[] = "JetBrains Mono:size=15";
static const char col_gray1[] = "#000000";
static const char col_gray2[] = "#202020";
static const char col_gray3[] = "#505050";
static const char col_gray4[] = "#99aabb";
static const char col_gray4[] = "#bbbbbb";
static const char col_gray5[] = "#eeeeee";
static const unsigned int baralpha = 0;
static const unsigned int borderalpha = OPAQUE;