mirror of
https://codeberg.org/hyperreal/dotfiles
synced 2024-11-01 16:53:07 +01:00
About time I update these I guess
This commit is contained in:
parent
92a513e982
commit
387542fcdc
@ -11,7 +11,7 @@
|
||||
|
||||
[a-general]
|
||||
# Press Ctrl-H to access it
|
||||
home = "gemini://hyperreal.coffee"
|
||||
home = "about:newtab"
|
||||
|
||||
# Follow up to 5 Gemini redirects without prompting.
|
||||
# A prompt is always shown after the 5th redirect and for redirects to protocols other than Gemini.
|
||||
@ -87,13 +87,13 @@ scrollbar = "auto"
|
||||
# Client certificates
|
||||
# Set domain name equal to path to client cert
|
||||
# "example.com" = 'mycert.crt'
|
||||
"astrobotany.mozz.us" = "~/.local/share/amfora/astrobotany-cert.pem"
|
||||
"bbs.geminispace.org" = "~/.config/amfora/idents/fd10177ef16eb7c13bf68cccc144e09bd7b87d885f77b6a34c0a7599582535a0.crt"
|
||||
|
||||
[auth.keys]
|
||||
# Client certificate keys
|
||||
# Set domain name equal to path to key for the client cert above
|
||||
# "example.com" = 'mycert.key'
|
||||
"astrobotany.mozz.us" = "~/.local/share/amfora/astrobotany-key.pem"
|
||||
"bbs.geminispace.org" = "~/.config/amfora/idents/fd10177ef16eb7c13bf68cccc144e09bd7b87d885f77b6a34c0a7599582535a0.key"
|
||||
|
||||
[keybindings]
|
||||
# If you have a non-US keyboard, use bind_tab1 through bind_tab0 to
|
||||
@ -234,13 +234,33 @@ other = 'off'
|
||||
# prompt appearing, you can add no_prompt = true
|
||||
#
|
||||
[[mediatype-handlers]]
|
||||
cmd = ['ristretto']
|
||||
cmd = ['eog']
|
||||
types = ["image"]
|
||||
no_prompt = true
|
||||
|
||||
[[mediatype-handlers]]
|
||||
cmd = ['zathura']
|
||||
cmd = ['foliate']
|
||||
types = ["application/epub+zip"]
|
||||
no_prompt = true
|
||||
|
||||
[[mediatype-handlers]]
|
||||
cmd = ['evince']
|
||||
types = ["application/pdf"]
|
||||
no_prompt = true
|
||||
|
||||
[[mediatype-handlers]]
|
||||
cmd = ['vlc', '-']
|
||||
types = ["audio", "video"]
|
||||
stream = true
|
||||
|
||||
[[mediatype-handlers]]
|
||||
cmd = ['emacsclient']
|
||||
types = [
|
||||
"application/json",
|
||||
"text/plain",
|
||||
]
|
||||
no_prompt = true
|
||||
|
||||
#
|
||||
# Note: Multiple handlers cannot be defined for the same full media type, but
|
||||
# still there needs to be an order for which handlers are used. The following
|
||||
|
@ -1,10 +1,34 @@
|
||||
# Welcome to Gemini!
|
||||
_____ _ _ _____
|
||||
/ ____| (_) (_) / ____|
|
||||
| | __ ___ _ __ ___ _ _ __ _ | (___ _ __ __ _ ___ ___
|
||||
| | |_ |/ _ \ '_ ` _ \| | '_ \| | \___ \| '_ \ / _` |/ __/ _ \
|
||||
| |__| | __/ | | | | | | | | | | ____) | |_) | (_| | (_| __/
|
||||
\_____|\___|_| |_| |_|_|_| |_|_| |_____/| .__/ \__,_|\___\___|
|
||||
| |
|
||||
|_|
|
||||
|
||||
|
||||
## Internal pages
|
||||
=> about:bookmarks Bookmarks
|
||||
=> about:subscriptions Subscriptions
|
||||
|
||||
## Geminispace
|
||||
## Gemini Space
|
||||
=> gemini://hyperreal.coffee hyperreal.coffee
|
||||
=> gemini://makeworld.space/amfora-wiki/ Amfora Wiki
|
||||
=> gemini://gemini.circumlunar.space/ Project Gemini
|
||||
|
||||
## BBS Quicklinks
|
||||
=> gemini://bbs.geminispace.org bbs.geminispace.org
|
||||
=> gemini://bbs.geminispace.org/s/ascii-art?feed s/ascii-art
|
||||
=> gemini://bbs.geminispace.org/s/emacs?feed s/emacs
|
||||
=> gemini://bbs.geminispace.org/s/Fediverse?feed s/Fediverse
|
||||
=> gemini://bbs.geminispace.org/s/Gemini?feed s/Gemini
|
||||
=> gemini://bbs.geminispace.org/s/Geminispace?feed s/Geminispace
|
||||
=> gemini://bbs.geminispace.org/s/homelab?feed s/homelab
|
||||
=> gemini://bbs.geminispace.org/s/IPFS?feed s/IPFS
|
||||
=> gemini://bbs.geminispace.org/s/IRL-Issues?feed s/IRL-Issues
|
||||
=> gemini://bbs.geminispace.org/s/Lagrange?feed s/Lagrange
|
||||
=> gemini://bbs.geminispace.org/s/Linux?feed s/Linux
|
||||
=> gemini://bbs.geminispace.org/s/privacy?feed s/privacy
|
||||
=> gemini://bbs.geminispace.org/s/retrocomputing?feed s/retrocomputing
|
||||
=> gemini://bbs.geminispace.org/s/retrogaming?feed s/retrogaming
|
||||
|
@ -1,959 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Catppuccin</string>
|
||||
<key>settings</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#cdd6f4</string>
|
||||
<key>background</key>
|
||||
<string>#1e1e2e</string>
|
||||
<key>caret</key>
|
||||
<string>#bac2de</string>
|
||||
<key>invisibles</key>
|
||||
<string>#a6adc8</string>
|
||||
<key>gutterForeground</key>
|
||||
<string>#9399b2</string>
|
||||
<key>gutterForegroundHighlight</key>
|
||||
<string>#a6e3a1</string>
|
||||
<key>lineHighlight</key>
|
||||
<string>#585b70</string>
|
||||
<key>selection</key>
|
||||
<string>#6c7086</string>
|
||||
<key>selectionBorder</key>
|
||||
<string>#1e1e2e</string>
|
||||
<key>activeGuide</key>
|
||||
<string>#fab387</string>
|
||||
<key>findHighlightForeground</key>
|
||||
<string>#181825</string>
|
||||
<key>findHighlight</key>
|
||||
<string>#f9e2af</string>
|
||||
<key>bracketsForeground</key>
|
||||
<string>#9399b2</string>
|
||||
<key>bracketContentsForeground</key>
|
||||
<string>#9399b2</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Comment</string>
|
||||
<key>scope</key>
|
||||
<string>comment</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#6c7086</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>String</string>
|
||||
<key>scope</key>
|
||||
<string>string</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#a6e3a1</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>String regex</string>
|
||||
<key>scope</key>
|
||||
<string>string.regexp</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#fab387</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Number</string>
|
||||
<key>scope</key>
|
||||
<string>constant.numeric</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#fab387</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Boolean</string>
|
||||
<key>scope</key>
|
||||
<string>constant.language.boolean</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#fab387</string>
|
||||
<key>fontStyle</key>
|
||||
<string>bold italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Built-in constant</string>
|
||||
<key>scope</key>
|
||||
<string>constant.language</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#b4befe</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Built-in function</string>
|
||||
<key>scope</key>
|
||||
<string>support.function.builtin</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#fab387</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>User-defined constant</string>
|
||||
<key>scope</key>
|
||||
<string>variable.other.constant</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#fab387</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Variable</string>
|
||||
<key>scope</key>
|
||||
<string>variable</string>
|
||||
<key>settings</key>
|
||||
<dict></dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Keyword</string>
|
||||
<key>scope</key>
|
||||
<string>keyword</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#f38ba8</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Conditional/loop</string>
|
||||
<key>scope</key>
|
||||
<string>keyword.control.loop, keyword.control.conditional, keyword.control.c++</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#cba6f7</string>
|
||||
<key>fontStyle</key>
|
||||
<string>bold</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Return</string>
|
||||
<key>scope</key>
|
||||
<string>keyword.control.return, keyword.control.flow.return</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#f5c2e7</string>
|
||||
<key>fontStyle</key>
|
||||
<string>bold</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Exception</string>
|
||||
<key>scope</key>
|
||||
<string>support.type.exception</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#fab387</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Operator</string>
|
||||
<key>scope</key>
|
||||
<string>keyword.operator, punctuation.accessor</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#89dceb</string>
|
||||
<key>fontStyle</key>
|
||||
<string>bold</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Punctuation separator</string>
|
||||
<key>scope</key>
|
||||
<string>punctuation.separator</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#94e2d5</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Punctuation terminator</string>
|
||||
<key>scope</key>
|
||||
<string>punctuation.terminator</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#94e2d5</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Punctuation bracket</string>
|
||||
<key>scope</key>
|
||||
<string>punctuation.section</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#9399b2</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Include</string>
|
||||
<key>scope</key>
|
||||
<string>keyword.control.import.include</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#94e2d5</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Storage</string>
|
||||
<key>scope</key>
|
||||
<string>storage</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#f38ba8</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Storage type</string>
|
||||
<key>scope</key>
|
||||
<string>storage.type</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#f9e2af</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Storage modifier</string>
|
||||
<key>scope</key>
|
||||
<string>storage.modifier</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#f38ba8</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Storage type namespace</string>
|
||||
<key>scope</key>
|
||||
<string>entity.name.namespace, meta.path</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#f5e0dc</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Storage type class</string>
|
||||
<key>scope</key>
|
||||
<string>storage.type.class</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#f5e0dc</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Label</string>
|
||||
<key>scope</key>
|
||||
<string>entity.name.label</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#89b4fa</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Keyword class</string>
|
||||
<key>scope</key>
|
||||
<string>keyword.declaration.class</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#f38ba8</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Class name</string>
|
||||
<key>scope</key>
|
||||
<string>entity.name.class, meta.toc-list.full-identifier</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#89dceb</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Inherited class</string>
|
||||
<key>scope</key>
|
||||
<string>entity.other.inherited-class</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#89dceb</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Function name</string>
|
||||
<key>scope</key>
|
||||
<string>entity.name.function, variable.function</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#89b4fa</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Function macro</string>
|
||||
<key>scope</key>
|
||||
<string>entity.name.function.preprocessor</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#f38ba8</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Macro directive - ifdef</string>
|
||||
<key>scope</key>
|
||||
<string>keyword.control.import</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#f38ba8</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Constructor</string>
|
||||
<key>scope</key>
|
||||
<string>entity.name.function.constructor, entity.name.function.destructor</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#b4befe</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Function argument</string>
|
||||
<key>scope</key>
|
||||
<string>variable.parameter.function</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#f5e0dc</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Function declaration</string>
|
||||
<key>scope</key>
|
||||
<string>keyword.declaration.function</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#eba0ac</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Library function</string>
|
||||
<key>scope</key>
|
||||
<string>support.function</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#89dceb</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Library constant</string>
|
||||
<key>scope</key>
|
||||
<string>support.constant</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#89b4fa</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Library class/type</string>
|
||||
<key>scope</key>
|
||||
<string>support.type, support.class</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#89b4fa</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Library variable</string>
|
||||
<key>scope</key>
|
||||
<string>support.other.variable</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Variable function</string>
|
||||
<key>scope</key>
|
||||
<string>variable.function</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#89b4fa</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Variable parameter</string>
|
||||
<key>scope</key>
|
||||
<string>variable.parameter</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#f5e0dc</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Variable other</string>
|
||||
<key>scope</key>
|
||||
<string>variable.other</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#cdd6f4</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Variable field</string>
|
||||
<key>scope</key>
|
||||
<string>variable.other.member</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#f5e0dc</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Variable language</string>
|
||||
<key>scope</key>
|
||||
<string>variable.language</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#94e2d5</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Tag name</string>
|
||||
<key>scope</key>
|
||||
<string>entity.name.tag</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#fab387</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Tag attribute</string>
|
||||
<key>scope</key>
|
||||
<string>entity.other.attribute-name</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#cba6f7</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Tag delimiter</string>
|
||||
<key>scope</key>
|
||||
<string>punctuation.definition.tag</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#eba0ac</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Markdown URL</string>
|
||||
<key>scope</key>
|
||||
<string>markup.underline.link.markdown</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#f5e0dc</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic underline</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Markdown reference</string>
|
||||
<key>scope</key>
|
||||
<string>meta.link.inline.description</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#b4befe</string>
|
||||
<key>fontStyle</key>
|
||||
<string>bold</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Markdown literal</string>
|
||||
<key>scope</key>
|
||||
<string>comment.block.markdown, meta.code-fence, markup.raw.code-fence, markup.raw.inline</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#94e2d5</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Markdown title</string>
|
||||
<key>scope</key>
|
||||
<string>punctuation.definition.heading, entity.name.section</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#89b4fa</string>
|
||||
<key>fontStyle</key>
|
||||
<string>bold</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Markdown emphasis</string>
|
||||
<key>scope</key>
|
||||
<string>markup.italic</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#eba0ac</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Markdown strong</string>
|
||||
<key>scope</key>
|
||||
<string>markup.bold</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#eba0ac</string>
|
||||
<key>fontStyle</key>
|
||||
<string>bold</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Escape</string>
|
||||
<key>scope</key>
|
||||
<string>constant.character.escape</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#f5c2e7</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Bash built-in function</string>
|
||||
<key>scope</key>
|
||||
<string>source.shell.bash meta.function.shell meta.compound.shell meta.function-call.identifier.shell</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#f5c2e7</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Bash parameter</string>
|
||||
<key>scope</key>
|
||||
<string>variable.language.shell</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#f38ba8</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Lua field</string>
|
||||
<key>scope</key>
|
||||
<string>source.lua meta.function.lua meta.block.lua meta.mapping.value.lua meta.mapping.key.lua string.unquoted.key.lua</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#b4befe</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Lua constructor</string>
|
||||
<key>scope</key>
|
||||
<string>source.lua meta.function.lua meta.block.lua meta.mapping.key.lua string.unquoted.key.lua</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#f2cdcd</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Java constant</string>
|
||||
<key>scope</key>
|
||||
<string>entity.name.constant.java</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#94e2d5</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>CSS property</string>
|
||||
<key>scope</key>
|
||||
<string>support.type.property-name.css</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#f2cdcd</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>CSS constant</string>
|
||||
<key>scope</key>
|
||||
<string>support.constant.property-value.css</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#cdd6f4</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>CSS suffix</string>
|
||||
<key>scope</key>
|
||||
<string>constant.numeric.suffix.css, keyword.other.unit.css</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#94e2d5</string>
|
||||
<key>fontStyle</key>
|
||||
<string>italic</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>CSS variable property</string>
|
||||
<key>scope</key>
|
||||
<string>variable.other.custom-property.name.css, support.type.custom-property.name.css, punctuation.definition.custom-property.css</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#94e2d5</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>SCSS tag</string>
|
||||
<key>scope</key>
|
||||
<string>entity.name.tag.css</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#b4befe</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>SASS variable</string>
|
||||
<key>scope</key>
|
||||
<string>variable.other.sass</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#94e2d5</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Invalid</string>
|
||||
<key>scope</key>
|
||||
<string>invalid</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#cdd6f4</string>
|
||||
<key>background</key>
|
||||
<string>#f38ba8</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Invalid deprecated</string>
|
||||
<key>scope</key>
|
||||
<string>invalid.deprecated</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#cdd6f4</string>
|
||||
<key>background</key>
|
||||
<string>#cba6f7</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Diff header</string>
|
||||
<key>scope</key>
|
||||
<string>meta.diff, meta.diff.header</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#6c7086</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Diff deleted</string>
|
||||
<key>scope</key>
|
||||
<string>markup.deleted</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#f38ba8</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Diff inserted</string>
|
||||
<key>scope</key>
|
||||
<string>markup.inserted</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#a6e3a1</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Diff changed</string>
|
||||
<key>scope</key>
|
||||
<string>markup.changed</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#f9e2af</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Message error</string>
|
||||
<key>scope</key>
|
||||
<string>message.error</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>#f38ba8</string>
|
||||
<key>fontStyle</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</dict>
|
||||
</array>
|
||||
<key>uuid</key>
|
||||
<string>4d0379b5-ef82-467b-b8b8-365889420646</string>
|
||||
<key>colorSpaceName</key>
|
||||
<string>sRGB</string>
|
||||
<key>semanticClass</key>
|
||||
<string>theme.dark.Catppuccin</string>
|
||||
<key>author</key>
|
||||
<string>BrunDerSchwarzmagier</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,5 +1,5 @@
|
||||
[core]
|
||||
editor = "emacs"
|
||||
editor = "emacsclient"
|
||||
pager = "diff-so-fancy | less --tabs=4 -RFX"
|
||||
[init]
|
||||
defaultBranch = "main"
|
||||
@ -8,5 +8,3 @@
|
||||
[user]
|
||||
email = "23226432+hyperreal64@users.noreply.github.com"
|
||||
name = "Jeffrey Serio"
|
||||
[gist]
|
||||
home = /home/jas/repos/github.com/hyperreal64/gists
|
||||
|
@ -1,11 +0,0 @@
|
||||
theme = "catppuccin_mocha"
|
||||
|
||||
[editor]
|
||||
line-number = "relative"
|
||||
cursorline = true
|
||||
color-modes = true
|
||||
|
||||
[editor.cursor-shape]
|
||||
insert = "bar"
|
||||
normal = "block"
|
||||
select = "underline"
|
@ -1,22 +1,19 @@
|
||||
configuration{
|
||||
modi: "drun,filebrowser,Bookmarks:/home/jas/.config/rofi/rofi-json.sh /home/jas/sync/documents/bookmarks.json,gh-starred:/home/jas/bin/rofistarred,Emoji:/bin/rofimoji -a copy";
|
||||
modi: "drun,filebrowser,window";
|
||||
lines: 5;
|
||||
font: "JetBrainsMono Nerd Font Mono 13";
|
||||
font: "JetBrainsMono Nerd Font Mono 14";
|
||||
show-icons: true;
|
||||
icon-theme: "Papirus-Dark";
|
||||
terminal: "xfce4-terminal";
|
||||
terminal: "gnome-terminal";
|
||||
drun-display-format: "{icon} {name}";
|
||||
location: 0;
|
||||
disable-history: false;
|
||||
hide-scrollbar: true;
|
||||
display-drun: " Apps ";
|
||||
display-run: " Run ";
|
||||
display-window: " Windows ";
|
||||
display-Network: " Network ";
|
||||
display-filebrowser: " Files ";
|
||||
display-Bookmarks: " Bookmarks ";
|
||||
display-gh-starred: " GitHub Starred ";
|
||||
display-Emoji: " Emoji";
|
||||
display-drun: " Apps ";
|
||||
display-run: " Run ";
|
||||
display-window: " 🗔 Windows ";
|
||||
display-Network: " Network ";
|
||||
display-filebrowser: " 📁 Files ";
|
||||
sidebar-mode: true;
|
||||
}
|
||||
|
||||
@ -29,7 +26,7 @@ element-text, element-icon , mode-switcher {
|
||||
|
||||
window {
|
||||
height: 800px;
|
||||
width: 1000px;
|
||||
width: 1200px;
|
||||
border: 3px;
|
||||
border-color: @border-col;
|
||||
background-color: @bg-col;
|
||||
@ -75,18 +72,18 @@ listview {
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 3px;
|
||||
padding: 1px;
|
||||
background-color: @bg-col;
|
||||
text-color: @fg-col ;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 24px;
|
||||
size: 32px;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @selected-col;
|
||||
text-color: @fg-col2;
|
||||
background-color: @selected-col ;
|
||||
text-color: @fg-col2 ;
|
||||
}
|
||||
|
||||
mode-switcher {
|
||||
|
@ -1,48 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
user_file="$(eval echo ${1})"
|
||||
|
||||
if [[ "$user_file" = /* ]]
|
||||
then
|
||||
config_file="$user_file"
|
||||
else
|
||||
cwd=$(dirname $0)
|
||||
config_file="${cwd}/${user_file}"
|
||||
fi
|
||||
|
||||
json=$(cat ${config_file})
|
||||
|
||||
if [ $# -eq 1 ]; then
|
||||
echo $json | jq -cr '.[] | "\(.name)|\(.command)|\(.icon)"' |
|
||||
while IFS="|" read -r name command icon
|
||||
do
|
||||
if [[ $name == "null" ]]; then
|
||||
continue
|
||||
fi
|
||||
if [[ $icon == "null" ]]; then
|
||||
icon="system-run"
|
||||
fi
|
||||
echo -en "${name}\0icon\x1f${icon}\n"
|
||||
done
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ $# -eq 2 ]; then
|
||||
|
||||
selected=$2
|
||||
task=$(echo $json | jq ".[] | select(.name == \"$selected\")")
|
||||
|
||||
if [[ $task == "" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
command=$(echo $task | jq -j ".command")
|
||||
|
||||
if [[ $command == "null" ]]; then
|
||||
command=$(echo $task | jq -j ".name")
|
||||
fi
|
||||
|
||||
coproc bash -c "$command"
|
||||
exit
|
||||
|
||||
fi
|
@ -8,10 +8,5 @@ layout {
|
||||
plugin location="zellij:status-bar"
|
||||
}
|
||||
}
|
||||
tab name="journald" {
|
||||
pane command="sudo" {
|
||||
args "journalctl" "-f"
|
||||
}
|
||||
}
|
||||
tab
|
||||
}
|
||||
|
@ -1,12 +0,0 @@
|
||||
* {
|
||||
bg-col: #191724;
|
||||
bg-col-light: #26233a;
|
||||
border-col: #eb6f92;
|
||||
selected-col: #31748f;
|
||||
blue: #eb6f92;
|
||||
fg-col: #e0def4;
|
||||
fg-col2: #e0def4;
|
||||
grey: #6E6A86;
|
||||
width: 600;
|
||||
}
|
||||
|
@ -1,7 +0,0 @@
|
||||
/home/jas/downloads
|
||||
/home/jas/Nextcloud
|
||||
/home/jas/bin
|
||||
/home/jas/Nextcloud/sites
|
||||
/home/jas/repos/github.com/hyperreal64
|
||||
/home/jas/Nextcloud/devel/silverblue
|
||||
/home/jas/Nextcloud/devel/ansible
|
161
.vim/colors/catppuccin_mocha.vim
Normal file
161
.vim/colors/catppuccin_mocha.vim
Normal file
@ -0,0 +1,161 @@
|
||||
" Name: catppuccin_mocha.vim
|
||||
|
||||
set background=dark
|
||||
hi clear
|
||||
|
||||
if exists('syntax on')
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let g:colors_name='catppuccin_mocha'
|
||||
set t_Co=256
|
||||
|
||||
let s:rosewater = "#F5E0DC"
|
||||
let s:flamingo = "#F2CDCD"
|
||||
let s:pink = "#F5C2E7"
|
||||
let s:mauve = "#CBA6F7"
|
||||
let s:red = "#F38BA8"
|
||||
let s:maroon = "#EBA0AC"
|
||||
let s:peach = "#FAB387"
|
||||
let s:yellow = "#F9E2AF"
|
||||
let s:green = "#A6E3A1"
|
||||
let s:teal = "#94E2D5"
|
||||
let s:sky = "#89DCEB"
|
||||
let s:sapphire = "#74C7EC"
|
||||
let s:blue = "#89B4FA"
|
||||
let s:lavender = "#B4BEFE"
|
||||
|
||||
let s:text = "#CDD6F4"
|
||||
let s:subtext1 = "#BAC2DE"
|
||||
let s:subtext0 = "#A6ADC8"
|
||||
let s:overlay2 = "#9399B2"
|
||||
let s:overlay1 = "#7F849C"
|
||||
let s:overlay0 = "#6C7086"
|
||||
let s:surface2 = "#585B70"
|
||||
let s:surface1 = "#45475A"
|
||||
let s:surface0 = "#313244"
|
||||
|
||||
let s:base = "#1E1E2E"
|
||||
let s:mantle = "#181825"
|
||||
let s:crust = "#11111B"
|
||||
|
||||
function! s:hi(group, guisp, guifg, guibg, gui, cterm)
|
||||
let cmd = ""
|
||||
if a:guisp != ""
|
||||
let cmd = cmd . " guisp=" . a:guisp
|
||||
endif
|
||||
if a:guifg != ""
|
||||
let cmd = cmd . " guifg=" . a:guifg
|
||||
endif
|
||||
if a:guibg != ""
|
||||
let cmd = cmd . " guibg=" . a:guibg
|
||||
endif
|
||||
if a:gui != ""
|
||||
let cmd = cmd . " gui=" . a:gui
|
||||
endif
|
||||
if a:cterm != ""
|
||||
let cmd = cmd . " cterm=" . a:cterm
|
||||
endif
|
||||
if cmd != ""
|
||||
exec "hi " . a:group . cmd
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
||||
|
||||
call s:hi("Normal", "NONE", s:text, s:base, "NONE", "NONE")
|
||||
call s:hi("Visual", "NONE", "NONE", s:surface1,"bold", "bold")
|
||||
call s:hi("Conceal", "NONE", s:overlay1, "NONE", "NONE", "NONE")
|
||||
call s:hi("ColorColumn", "NONE", "NONE", s:surface0, "NONE", "NONE")
|
||||
call s:hi("Cursor", "NONE", s:base, s:text, "NONE", "NONE")
|
||||
call s:hi("lCursor", "NONE", s:base, s:text, "NONE", "NONE")
|
||||
call s:hi("CursorIM", "NONE", s:base, s:text, "NONE", "NONE")
|
||||
call s:hi("CursorColumn", "NONE", "NONE", s:mantle, "NONE", "NONE")
|
||||
call s:hi("CursorLine", "NONE", "NONE", s:surface0, "NONE", "NONE")
|
||||
call s:hi("Directory", "NONE", s:blue, "NONE", "NONE", "NONE")
|
||||
call s:hi("DiffAdd", "NONE", s:base, s:green, "NONE", "NONE")
|
||||
call s:hi("DiffChange", "NONE", s:base, s:yellow, "NONE", "NONE")
|
||||
call s:hi("DiffDelete", "NONE", s:base, s:red, "NONE", "NONE")
|
||||
call s:hi("DiffText", "NONE", s:base, s:blue, "NONE", "NONE")
|
||||
call s:hi("EndOfBuffer", "NONE", "NONE", "NONE", "NONE", "NONE")
|
||||
call s:hi("ErrorMsg", "NONE", s:red, "NONE", "bolditalic" , "bold,italic")
|
||||
call s:hi("VertSplit", "NONE", s:crust, "NONE", "NONE", "NONE")
|
||||
call s:hi("Folded", "NONE", s:blue, s:surface1, "NONE", "NONE")
|
||||
call s:hi("FoldColumn", "NONE", s:overlay0, s:base, "NONE", "NONE")
|
||||
call s:hi("SignColumn", "NONE", s:surface1, s:base, "NONE", "NONE")
|
||||
call s:hi("IncSearch", "NONE", s:surface1, s:pink, "NONE", "NONE")
|
||||
call s:hi("CursorLineNR", "NONE", s:lavender, "NONE", "NONE", "NONE")
|
||||
call s:hi("LineNr", "NONE", s:surface1, "NONE", "NONE", "NONE")
|
||||
call s:hi("MatchParen", "NONE", s:peach, "NONE", "bold", "bold")
|
||||
call s:hi("ModeMsg", "NONE", s:text, "NONE", "bold", "bold")
|
||||
call s:hi("MoreMsg", "NONE", s:blue, "NONE", "NONE", "NONE")
|
||||
call s:hi("NonText", "NONE", s:overlay0, "NONE", "NONE", "NONE")
|
||||
call s:hi("Pmenu", "NONE", s:overlay2, s:surface0, "NONE", "NONE")
|
||||
call s:hi("PmenuSel", "NONE", s:text, s:surface1, "bold", "bold")
|
||||
call s:hi("PmenuSbar", "NONE", "NONE", s:surface1, "NONE", "NONE")
|
||||
call s:hi("PmenuThumb", "NONE", "NONE", s:overlay0, "NONE", "NONE")
|
||||
call s:hi("Question", "NONE", s:blue, "NONE", "NONE", "NONE")
|
||||
call s:hi("QuickFixLine", "NONE", "NONE", s:surface1, "bold", "bold")
|
||||
call s:hi("Search", "NONE", s:pink, s:surface1, "bold", "bold")
|
||||
call s:hi("SpecialKey", "NONE", s:subtext0, "NONE", "NONE", "NONE")
|
||||
call s:hi("SpellBad", s:red, "NONE", "NONE", "underline", "underline")
|
||||
call s:hi("SpellCap", s:yellow, "NONE", "NONE", "underline", "underline")
|
||||
call s:hi("SpellLocal", s:blue, "NONE", "NONE", "underline", "underline")
|
||||
call s:hi("SpellRare", s:green, "NONE", "NONE", "underline", "underline")
|
||||
call s:hi("StatusLine", "NONE", s:text, s:mantle, "NONE", "NONE")
|
||||
call s:hi("StatusLineNC", "NONE", s:surface1, s:mantle, "NONE", "NONE")
|
||||
call s:hi("TabLine", "NONE", s:surface1, s:mantle, "NONE", "NONE")
|
||||
call s:hi("TabLineFill", "NONE", "NONE", s:mantle, "NONE", "NONE")
|
||||
call s:hi("TabLineSel", "NONE", s:green, s:surface1, "NONE", "NONE")
|
||||
call s:hi("Title", "NONE", s:blue, "NONE", "bold", "bold")
|
||||
call s:hi("VisualNOS", "NONE", "NONE", s:surface1, "bold", "bold")
|
||||
call s:hi("WarningMsg", "NONE", s:yellow, "NONE", "NONE", "NONE")
|
||||
call s:hi("WildMenu", "NONE", "NONE", s:overlay0, "NONE", "NONE")
|
||||
call s:hi("Comment", "NONE", s:surface2, "NONE", "NONE", "NONE")
|
||||
call s:hi("Constant", "NONE", s:peach, "NONE", "NONE", "NONE")
|
||||
call s:hi("Identifier", "NONE", s:flamingo, "NONE", "NONE", "NONE")
|
||||
call s:hi("Statement", "NONE", s:mauve, "NONE", "NONE", "NONE")
|
||||
call s:hi("PreProc", "NONE", s:pink, "NONE", "NONE", "NONE")
|
||||
call s:hi("Type", "NONE", s:blue, "NONE", "NONE", "NONE")
|
||||
call s:hi("Special", "NONE", s:pink, "NONE", "NONE", "NONE")
|
||||
call s:hi("Underlined", "NONE", s:text, s:base, "underline", "underline")
|
||||
call s:hi("Error", "NONE", s:red, "NONE", "NONE", "NONE")
|
||||
call s:hi("Todo", "NONE", s:base, s:yellow, "bold", "bold")
|
||||
|
||||
call s:hi("String", "NONE", s:green, "NONE", "NONE", "NONE")
|
||||
call s:hi("Character", "NONE", s:teal, "NONE", "NONE", "NONE")
|
||||
call s:hi("Number", "NONE", s:peach, "NONE", "NONE", "NONE")
|
||||
call s:hi("Boolean", "NONE", s:peach, "NONE", "NONE", "NONE")
|
||||
call s:hi("Float", "NONE", s:peach, "NONE", "NONE", "NONE")
|
||||
call s:hi("Function", "NONE", s:blue, "NONE", "NONE", "NONE")
|
||||
call s:hi("Conditional", "NONE", s:red, "NONE", "NONE", "NONE")
|
||||
call s:hi("Repeat", "NONE", s:red, "NONE", "NONE", "NONE")
|
||||
call s:hi("Label", "NONE", s:peach, "NONE", "NONE", "NONE")
|
||||
call s:hi("Operator", "NONE", s:sky, "NONE", "NONE", "NONE")
|
||||
call s:hi("Keyword", "NONE", s:pink, "NONE", "NONE", "NONE")
|
||||
call s:hi("Include", "NONE", s:pink, "NONE", "NONE", "NONE")
|
||||
call s:hi("StorageClass", "NONE", s:yellow, "NONE", "NONE", "NONE")
|
||||
call s:hi("Structure", "NONE", s:yellow, "NONE", "NONE", "NONE")
|
||||
call s:hi("Typedef", "NONE", s:yellow, "NONE", "NONE", "NONE")
|
||||
call s:hi("debugPC", "NONE", "NONE", s:crust, "NONE", "NONE")
|
||||
call s:hi("debugBreakpoint", "NONE", s:overlay0, s:base, "NONE", "NONE")
|
||||
|
||||
hi link Define PreProc
|
||||
hi link Macro PreProc
|
||||
hi link PreCondit PreProc
|
||||
hi link SpecialChar Special
|
||||
hi link Tag Special
|
||||
hi link Delimiter Special
|
||||
hi link SpecialComment Special
|
||||
hi link Debug Special
|
||||
hi link Exception Error
|
||||
hi link StatusLineTerm StatusLine
|
||||
hi link StatusLineTermNC StatusLineNC
|
||||
hi link Terminal Normal
|
||||
hi link Ignore Comment
|
||||
|
||||
" Set terminal colors for playing well with plugins like fzf
|
||||
let g:terminal_ansi_colors = [
|
||||
\ s:surface1, s:red, s:green, s:yellow, s:blue, s:pink, s:teal, s:subtext1,
|
||||
\ s:surface2, s:red, s:green, s:yellow, s:blue, s:pink, s:teal, s:subtext0
|
||||
\ ]
|
3
.vimrc
Normal file
3
.vimrc
Normal file
@ -0,0 +1,3 @@
|
||||
set termguicolors
|
||||
colorscheme catppuccin_mocha
|
||||
set relativenumber
|
5
.zpath
5
.zpath
@ -6,10 +6,7 @@
|
||||
typeset -U PATH path
|
||||
|
||||
# Set Go path if it exists
|
||||
if test -d "${HOME}/go"; then
|
||||
GOPATH="${HOME}/go"
|
||||
path+=("${GOPATH}/bin")
|
||||
fi
|
||||
[ -d "${HOME}/go/bin" ] && path+=("${HOME}/go/bin")
|
||||
|
||||
# Set Cargo path for Rust binaries
|
||||
[ -d "${HOME}/.cargo/bin" ] && path+=("${HOME}/.cargo/bin")
|
||||
|
12
.zshrc
12
.zshrc
@ -57,6 +57,9 @@ zplug "zsh-users/zsh-history-substring-search"
|
||||
# Use syntax highlighting when typing commands
|
||||
zplug "zsh-users/zsh-syntax-highlighting", defer:2
|
||||
|
||||
# Use fast-syntax-highlighting
|
||||
#zplug "zdharma-continuum/fast-syntax-highlighting"
|
||||
|
||||
# Press escape twice to prepend `sudo` to the command line
|
||||
zplug "plugins/sudo", from:oh-my-zsh
|
||||
|
||||
@ -82,7 +85,7 @@ zplug load
|
||||
# -----------------------------------------------------------------------------
|
||||
# ENVIRONMENT VARS
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
export SHELL=/usr/bin/zsh
|
||||
export DOOMDIR="${HOME}/sync/doom"
|
||||
export LS_COLORS=$(cat ~/.lscolors.sh)
|
||||
export PAGER="less -X"
|
||||
@ -157,3 +160,10 @@ export BAT_THEME="Catppuccin-mocha"
|
||||
|
||||
# Automatically remove duplicates from these arrays
|
||||
typeset -gU path cdpath manpath fpath
|
||||
|
||||
# Source broot
|
||||
[ -d "${HOME}/.config/broot" ] && source "${HOME}/.config/broot/launcher/bash/br"
|
||||
|
||||
# compatibility with vterm-buffer-name-string in Emacs
|
||||
autoload -U add-zsh-hook
|
||||
add-zsh-hook -Uz chpwd() { print -Pn "\e]2;%m:%2~\a" }
|
||||
|
@ -1,3 +1,6 @@
|
||||
# Execute bash on host (ostree-based)
|
||||
alias hostexec='distrobox-host-exec bash'
|
||||
|
||||
# Get top 10 shell commands
|
||||
alias top10='print -l ${(o)history%% *} | uniq -c | sort -nr | head -n 10'
|
||||
|
||||
@ -41,8 +44,8 @@ alias UP2low='for i in *(.); mv $i ${i:l}'
|
||||
alias low2UP='for i in *(.); mv $i ${i:u}'
|
||||
|
||||
# The ls family
|
||||
if test -x "$(command -v exa)"; then
|
||||
alias ls='exa'
|
||||
if test -x "$(command -v lsd)"; then
|
||||
alias ls='lsd'
|
||||
else
|
||||
alias ls='ls --color=auto'
|
||||
fi
|
||||
@ -52,7 +55,7 @@ alias la='ls -a'
|
||||
alias ll='ls -l'
|
||||
alias lal='ls -al'
|
||||
alias ldot='ls -gld .*'
|
||||
alias lse='/bin/ls -lZ'
|
||||
alias lse='ls -lZ'
|
||||
|
||||
# greps
|
||||
alias grep='grep --color'
|
||||
@ -67,7 +70,7 @@ fi
|
||||
alias cp='cp -i'
|
||||
alias mv='mv -i'
|
||||
alias rm='trash'
|
||||
alias del='rm -i'
|
||||
alias del='/bin/rm -i'
|
||||
|
||||
# Display zsh functions with bat
|
||||
alias zfun='functions | bat -l zsh'
|
||||
@ -78,29 +81,21 @@ alias -g T='| tail'
|
||||
alias -g G='| grep'
|
||||
alias -g L='| less -X'
|
||||
alias -g B='| bat'
|
||||
alias -g LL='2>&1 | less'
|
||||
alias -g NE='2> /dev/null'
|
||||
alias -g NUL='> /dev/null 2>&1'
|
||||
alias -g P='2>&1| pygmentize -l pytb'
|
||||
alias -g J='| jq'
|
||||
alias -g CC='| xclip -selection clipboard'
|
||||
alias -g C='| wc -l'
|
||||
alias -g SS='| sort'
|
||||
alias -g Su='| sort -u'
|
||||
alias -g Sn='| sort -n'
|
||||
alias -g Snr='| sort -nr'
|
||||
|
||||
# Get public IP address
|
||||
alias pubip='curl ipinfo.io'
|
||||
|
||||
# List apps with network connections
|
||||
alias netCons='lsof -i'
|
||||
alias netcons='lsof -i'
|
||||
|
||||
# List ports
|
||||
alias tulp='ss -tulp'
|
||||
|
||||
# List open ports
|
||||
alias openPorts='sudo lsof -i | grep LISTEN'
|
||||
alias openports='sudo lsof -i | grep LISTEN'
|
||||
|
||||
# Ping google.com
|
||||
alias pong='ping -c 3 www.google.com'
|
||||
@ -112,19 +107,15 @@ alias ping='ping -c 3'
|
||||
alias lsock='sudo lsof -i -P'
|
||||
|
||||
# List UDP sockets in use
|
||||
alias lsockU='sudo lsof -nP | grep UDP'
|
||||
alias lsocku='sudo lsof -nP | grep UDP'
|
||||
|
||||
# List TCP sockets in use
|
||||
alias lsockT='sudo lsof -nP | grep TCP'
|
||||
alias lsockt='sudo lsof -nP | grep TCP'
|
||||
|
||||
# Reboot / Poweroff
|
||||
alias rbt='sudo systemctl reboot'
|
||||
alias shut='sudo systemctl poweroff'
|
||||
|
||||
# GPG
|
||||
alias gpgs='gpg --search-keys'
|
||||
alias gpgl='gpg --list-keys --with-fingerprint'
|
||||
|
||||
# firewalld
|
||||
if test -x "$(command -v firewall-cmd)"; then
|
||||
alias fw='sudo firewall-cmd'
|
||||
|
@ -27,9 +27,9 @@ if test -x "$(command -v gumssh)"; then
|
||||
bindkey -s '^[s' 'gumssh^M'
|
||||
fi
|
||||
|
||||
## fman
|
||||
if test -x "${HOME}/go/bin/fman"; then
|
||||
bindkey -s '^[f' 'fman --theme catppuccin^M'
|
||||
## ranger
|
||||
if test -x "$(command -v ranger)"; then
|
||||
bindkey -s '^[f' 'ranger^M'
|
||||
fi
|
||||
|
||||
## history substring search
|
||||
|
@ -1,9 +1,27 @@
|
||||
# Generate a pseudo-random 16-character string.
|
||||
function genrand() {
|
||||
openssl rand -base64 16
|
||||
}
|
||||
|
||||
# Compatibility with emacs-libvterm
|
||||
function vterm_printf() {
|
||||
if [ -n "$TMUX" ] && ([ "${TERM%%-*}" = "tmux" ] || [ "${TERM%%-*}" = "screen" ]); then
|
||||
# Tell tmux to pass the escape sequences through
|
||||
printf "\ePtmux;\e\e]%s\007\e\\" "$1"
|
||||
elif [ "${TERM%%-*}" = "screen" ]; then
|
||||
# GNU screen (screen, screen-256color, screen-256color-bce)
|
||||
printf "\eP\e]%s\007\e\\" "$1"
|
||||
else
|
||||
printf "\e]%s\e\\" "$1"
|
||||
fi
|
||||
}
|
||||
|
||||
# Remove all .jpeg .jpg .png .svg files from downloads
|
||||
function rmimg() {
|
||||
find "${HOME}/downloads" \
|
||||
-maxdepth 1 \
|
||||
-type f \
|
||||
\( -name "*.jpg" -o -name "*.jpeg" -o -name "*.svg" -o -name "*.png" \) \
|
||||
\( -name "*.jpg" -o -name "*.jpg_original" -o -name "*.jpeg" -o -name "*.svg" -o -name "*.png" \) \
|
||||
-delete
|
||||
}
|
||||
|
||||
@ -32,6 +50,15 @@ function mark() {
|
||||
return 0
|
||||
}
|
||||
|
||||
# List bookmarks.
|
||||
function lsmarks() {
|
||||
echo "# Shellmarks" | gum format
|
||||
|
||||
while IFS= read -r line; do
|
||||
echo "- $line"
|
||||
done < "${HOME}/.shellmarks" | gum format
|
||||
}
|
||||
|
||||
# Remove bookmarks.
|
||||
function delmark() {
|
||||
selection=$(cat "${HOME}/.shellmarks" | gum choose --no-limit)
|
||||
|
Loading…
Reference in New Issue
Block a user