remove dead code

This commit is contained in:
Grigory Shipunov 2023-07-24 00:02:29 +02:00
parent 0e98db206c
commit 1561cbb941
45 changed files with 0 additions and 2318 deletions

View file

@ -1,26 +0,0 @@
font=Ttyp0:pixelsize=13
#font=JuliaMono:pixelsize=12
[cursor]
#color = 080808 9e9e9e
color = 000000 ffff00
[colors]
foreground=dcdccc
background=111111
regular0=222222
regular1=cc9393
regular2=7f9f7f
regular3=d0bf8f
regular4=6ca0a3
regular5=dc8cc3
regular6=93e0e3
regular7=dcdccc
bright0=666666
bright1=dca3a3
bright2=bfebbf
bright3=f0dfaf
bright4=8cd0d3
bright5=fcace3
bright6=b3ffff
bright7=ffffff

View file

@ -1,20 +0,0 @@
#[colors]
#background=151515
#foreground=aeaeae
#regular0=4d4d4d
#regular1=c70031
#regular2=29cf13
#regular3=d8e30e
#regular4=3449d1
#regular5=8400ff
#regular6=0798ab
#regular7=e2d1e3
#bright0=5a5a5a
#bright1=f05178
#bright2=6ce05c
#bright3=f3f79e
#bright4=97a4f7
#bright5=c495f0
#bright6=68f2e0
#bright7=ffffff

View file

@ -1,4 +0,0 @@
[options]
background = checks
width = 480
height = 360

View file

@ -1,331 +0,0 @@
servers = (
{ address = "irc.dal.net"; chatnet = "DALnet"; port = "6667"; },
{
address = "ssl.efnet.org";
chatnet = "EFNet";
port = "9999";
use_tls = "yes";
},
{
address = "irc.esper.net";
chatnet = "EsperNet";
port = "6697";
use_tls = "yes";
tls_verify = "yes";
},
{
address = "chat.freenode.net";
chatnet = "Freenode";
port = "6697";
use_tls = "yes";
tls_verify = "yes";
},
{
address = "irc.hackint.org";
chatnet = "hackint";
port = "6697";
use_tls = "yes";
tls_verify = "yes";
},
{
address = "irc.gamesurge.net";
chatnet = "GameSurge";
port = "6667";
},
{
address = "eu.irc6.net";
chatnet = "IRCnet";
port = "6667";
use_tls = "yes";
},
{ address = "open.ircnet.net"; chatnet = "IRCnet"; port = "6667"; },
{
address = "irc.ircsource.net";
chatnet = "IRCSource";
port = "6667";
},
{ address = "irc.netfuze.net"; chatnet = "NetFuze"; port = "6667"; },
{
address = "irc.oftc.net";
chatnet = "OFTC";
port = "6697";
use_tls = "yes";
tls_verify = "yes";
},
{
address = "irc.quakenet.org";
chatnet = "QuakeNet";
port = "6667";
},
{
address = "irc.rizon.net";
chatnet = "Rizon";
port = "6697";
use_tls = "yes";
tls_verify = "yes";
},
{ address = "silc.silcnet.org"; chatnet = "SILC"; port = "706"; },
{
address = "irc.undernet.org";
chatnet = "Undernet";
port = "6667";
},
{
address = "mbrserver.com";
chatnet = "MBR";
port = "6667";
use_tls = "no";
tls_verify = "no";
}
);
chatnets = {
DALnet = {
type = "IRC";
max_kicks = "4";
max_msgs = "20";
max_whois = "30";
};
EFNet = {
type = "IRC";
max_kicks = "1";
max_msgs = "4";
max_whois = "1";
};
EsperNet = {
type = "IRC";
max_kicks = "1";
max_msgs = "4";
max_whois = "1";
};
Freenode = {
type = "IRC";
max_kicks = "1";
max_msgs = "4";
max_whois = "1";
};
GameSurge = {
type = "IRC";
max_kicks = "1";
max_msgs = "1";
max_whois = "1";
};
IRCnet = {
type = "IRC";
max_kicks = "1";
max_msgs = "1";
max_whois = "1";
};
IRCSource = {
type = "IRC";
max_kicks = "1";
max_msgs = "4";
max_whois = "1";
};
NetFuze = {
type = "IRC";
max_kicks = "1";
max_msgs = "1";
max_whois = "1";
};
OFTC = { type = "IRC"; max_kicks = "1"; max_msgs = "1"; max_whois = "1"; };
QuakeNet = {
type = "IRC";
max_kicks = "1";
max_msgs = "1";
max_whois = "1";
};
Rizon = {
type = "IRC";
max_kicks = "1";
max_msgs = "1";
max_whois = "1";
};
SILC = { type = "SILC"; };
Undernet = {
type = "IRC";
max_kicks = "1";
max_msgs = "1";
max_whois = "1";
};
MBR = { type = "IRC"; };
hackint = { type = "IRC"; };
};
channels = (
{ name = "#lobby"; chatnet = "EsperNet"; autojoin = "No"; },
{ name = "#freenode"; chatnet = "Freenode"; autojoin = "No"; },
{ name = "#irssi"; chatnet = "Freenode"; autojoin = "No"; },
{ name = "#gamesurge"; chatnet = "GameSurge"; autojoin = "No"; },
{ name = "#irssi"; chatnet = "IRCNet"; autojoin = "No"; },
{ name = "#ircsource"; chatnet = "IRCSource"; autojoin = "No"; },
{ name = "#netfuze"; chatnet = "NetFuze"; autojoin = "No"; },
{ name = "#oftc"; chatnet = "OFTC"; autojoin = "No"; },
{ name = "silc"; chatnet = "SILC"; autojoin = "No"; }
);
aliases = {
ATAG = "WINDOW SERVER";
ADDALLCHANS = "SCRIPT EXEC foreach my \\$channel (Irssi::channels()) { Irssi::command(\"CHANNEL ADD -auto \\$channel->{name} \\$channel->{server}->{tag} \\$channel->{key}\")\\;}";
B = "BAN";
BACK = "AWAY";
BANS = "BAN";
BYE = "QUIT";
C = "CLEAR";
CALC = "EXEC - if command -v bc >/dev/null 2>&1\\; then printf '%s=' '$*'\\; echo '$*' | bc -l\\; else echo bc was not found\\; fi";
CHAT = "DCC CHAT";
DATE = "TIME";
DEHIGHLIGHT = "DEHILIGHT";
DESCRIBE = "ACTION";
DHL = "DEHILIGHT";
EXEMPTLIST = "MODE $C +e";
EXIT = "QUIT";
GOTO = "SCROLLBACK GOTO";
HIGHLIGHT = "HILIGHT";
HL = "HILIGHT";
HOST = "USERHOST";
INVITELIST = "MODE $C +I";
J = "JOIN";
K = "KICK";
KB = "KICKBAN";
KN = "KNOCKOUT";
LAST = "LASTLOG";
LEAVE = "PART";
M = "MSG";
MUB = "UNBAN *";
N = "NAMES";
NMSG = "^MSG";
P = "PART";
Q = "QUERY";
RESET = "SET -default";
RUN = "SCRIPT LOAD";
SAY = "MSG *";
SB = "SCROLLBACK";
SBAR = "STATUSBAR";
SIGNOFF = "QUIT";
SV = "MSG * Irssi $J ($V) - https://irssi.org";
T = "TOPIC";
UB = "UNBAN";
UMODE = "MODE $N";
UNSET = "SET -clear";
W = "WHO";
WC = "WINDOW CLOSE";
WG = "WINDOW GOTO";
WJOIN = "JOIN -window";
WI = "WHOIS";
WII = "WHOIS $0 $0";
WL = "WINDOW LIST";
WN = "WINDOW NEW HIDDEN";
WQUERY = "QUERY -window";
WW = "WHOWAS";
};
statusbar = {
items = {
barstart = "{sbstart}";
barend = "{sbend}";
topicbarstart = "{topicsbstart}";
topicbarend = "{topicsbend}";
time = "{sb $Z}";
user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}";
window = "{sb $winref:$tag/$itemname{sbmode $M}}";
window_empty = "{sb $winref{sbservertag $tag}}";
prompt = "{prompt $[.15]itemname}";
prompt_empty = "{prompt $winname}";
topic = " $topic";
topic_empty = " Irssi v$J - https://irssi.org";
lag = "{sb Lag: $0-}";
act = "{sb Act: $0-}";
more = "-- more --";
};
default = {
window = {
disabled = "no";
type = "window";
placement = "bottom";
position = "1";
visible = "active";
items = {
barstart = { priority = "100"; };
time = { };
user = { };
window = { };
window_empty = { };
lag = { priority = "-1"; };
act = { priority = "10"; };
more = { priority = "-1"; alignment = "right"; };
barend = { priority = "100"; alignment = "right"; };
};
};
window_inact = {
type = "window";
placement = "bottom";
position = "1";
visible = "inactive";
items = {
barstart = { priority = "100"; };
window = { };
window_empty = { };
more = { priority = "-1"; alignment = "right"; };
barend = { priority = "100"; alignment = "right"; };
};
};
prompt = {
type = "root";
placement = "bottom";
position = "100";
visible = "always";
items = {
prompt = { priority = "-1"; };
prompt_empty = { priority = "-1"; };
input = { priority = "10"; };
};
};
topic = {
type = "root";
placement = "top";
position = "1";
visible = "always";
items = {
topicbarstart = { priority = "100"; };
topic = { };
topic_empty = { };
topicbarend = { priority = "100"; alignment = "right"; };
};
};
};
};
settings = {
core = {
real_name = "oxapentane";
user_name = "oxapentane";
nick = "oxapentane";
};
"fe-text" = { actlist_sort = "refnum"; };
"irc/core" = {
ctcp_version_reply = "irssi v$J";
alternate_nick = "oxahexane";
};
"fe-common/core" = { theme = "default"; };
};

View file

@ -1,295 +0,0 @@
# When testing changes, the easiest way to reload the theme is with /RELOAD.
# This reloads the configuration file too, so if you did any changes remember
# to /SAVE it first. Remember also that /SAVE overwrites the theme file with
# old data so keep backups :)
# TEMPLATES:
# The real text formats that irssi uses are the ones you can find with
# /FORMAT command. Back in the old days all the colors and texts were mixed
# up in those formats, and it was really hard to change the colors since you
# might have had to change them in tens of different places. So, then came
# this templating system.
# Now the /FORMATs don't have any colors in them, and they also have very
# little other styling. Most of the stuff you need to change is in this
# theme file. If you can't change something here, you can always go back
# to change the /FORMATs directly, they're also saved in these .theme files.
# So .. the templates. They're those {blahblah} parts you see all over the
# /FORMATs and here. Their usage is simply {name parameter1 parameter2}.
# When irssi sees this kind of text, it goes to find "name" from abstracts
# block below and sets "parameter1" into $0 and "parameter2" into $1 (you
# can have more parameters of course). Templates can have subtemplates.
# Here's a small example:
# /FORMAT format hello {colorify {underline world}}
# abstracts = { colorify = "%G$0-%n"; underline = "%U$0-%U"; }
# When irssi expands the templates in "format", the final string would be:
# hello %G%Uworld%U%n
# ie. underlined bright green "world" text.
# and why "$0-", why not "$0"? $0 would only mean the first parameter,
# $0- means all the parameters. With {underline hello world} you'd really
# want to underline both of the words, not just the hello (and world would
# actually be removed entirely).
# COLORS:
# You can find definitions for the color format codes in docs/formats.txt.
# There's one difference here though. %n format. Normally it means the
# default color of the terminal (white mostly), but here it means the
# "reset color back to the one it was in higher template". For example
# if there was /FORMAT test %g{foo}bar, and foo = "%Y$0%n", irssi would
# print yellow "foo" (as set with %Y) but "bar" would be green, which was
# set at the beginning before the {foo} template. If there wasn't the %g
# at start, the normal behaviour of %n would occur. If you _really_ want
# to use the terminal's default color, use %N.
#############################################################################
# default foreground color (%N) - -1 is the "default terminal color"
default_color = "-1";
# print timestamp/servertag at the end of line, not at beginning
info_eol = "false";
# these characters are automatically replaced with specified color
# (dark grey by default)
replaces = { "[]=" = "%K$*%n"; };
abstracts = {
##
## generic
##
# text to insert at the beginning of each non-message line
line_start = "%B-%n!%B-%n ";
# timestamp styling, nothing by default
timestamp = "$*";
# any kind of text that needs hilighting, default is to bold
hilight = "%_$*%_";
# any kind of error message, default is bright red
error = "%R$*%n";
# channel name is printed
channel = "%_$*%_";
# nick is printed
nick = "%_$*%_";
# nick host is printed
nickhost = "[$*]";
# server name is printed
server = "%_$*%_";
# some kind of comment is printed
comment = "[$*]";
# reason for something is printed (part, quit, kick, ..)
reason = "{comment $*}";
# mode change is printed ([+o nick])
mode = "{comment $*}";
##
## channel specific messages
##
# highlighted nick/host is printed (joins)
channick_hilight = "%C$*%n";
chanhost_hilight = "{nickhost %c$*%n}";
# nick/host is printed (parts, quits, etc.)
channick = "%c$*%n";
chanhost = "{nickhost $*}";
# highlighted channel name is printed
channelhilight = "%c$*%n";
# ban/ban exception/invite list mask is printed
ban = "%c$*%n";
##
## messages
##
# the basic styling of how to print message, $0 = nick mode, $1 = nick
msgnick = "%K<%n$0$1-%K>%n %|";
# message from you is printed. "ownnick" specifies the styling of the
# nick ($0 part in msgnick) and "ownmsgnick" specifies the styling of the
# whole line.
# Example1: You want the message text to be green:
# ownmsgnick = "{msgnick $0 $1-}%g";
# Example2.1: You want < and > chars to be yellow:
# ownmsgnick = "%Y{msgnick $0 $1-%Y}%n";
# (you'll also have to remove <> from replaces list above)
# Example2.2: But you still want to keep <> grey for other messages:
# pubmsgnick = "%K{msgnick $0 $1-%K}%n";
# pubmsgmenick = "%K{msgnick $0 $1-%K}%n";
# pubmsghinick = "%K{msgnick $1 $0$2-%n%K}%n";
# ownprivmsgnick = "%K{msgnick $*%K}%n";
# privmsgnick = "%K{msgnick %R$*%K}%n";
# $0 = nick mode, $1 = nick
ownmsgnick = "{msgnick $0 $1-}";
ownnick = "%_$*%n";
# public message in channel, $0 = nick mode, $1 = nick
pubmsgnick = "{msgnick $0 $1-}";
pubnick = "%N$*%n";
# public message in channel meant for me, $0 = nick mode, $1 = nick
pubmsgmenick = "{msgnick $0 $1-}";
menick = "%Y$*%n";
# public highlighted message in channel
# $0 = highlight color, $1 = nick mode, $2 = nick
pubmsghinick = "{msgnick $1 $0$2-%n}";
# channel name is printed with message
msgchannel = "%K:%c$*%n";
# private message, $0 = nick, $1 = host
privmsg = "[%R$0%K(%r$1-%K)%n] ";
# private message from you, $0 = "msg", $1 = target nick
ownprivmsg = "[%r$0%K(%R$1-%K)%n] ";
# own private message in query
ownprivmsgnick = "{msgnick $*}";
ownprivnick = "%_$*%n";
# private message in query
privmsgnick = "{msgnick %R$*%n}";
##
## Actions (/ME stuff)
##
# used internally by this theme
action_core = "%_ * $*%n";
# generic one that's used by most actions
action = "{action_core $*} ";
# own action, both private/public
ownaction = "{action $*}";
# own action with target, both private/public
ownaction_target = "{action_core $0}%K:%c$1%n ";
# private action sent by others
pvtaction = "%_ (*) $*%n ";
pvtaction_query = "{action $*}";
# public action sent by others
pubaction = "{action $*}";
##
## other IRC events
##
# whois
whois = "%# $[8]0 : $1-";
# notices
ownnotice = "[%r$0%K(%R$1-%K)]%n ";
notice = "%K-%M$*%K-%n ";
pubnotice_channel = "%K:%m$*";
pvtnotice_host = "%K(%m$*%K)";
servernotice = "%g!$*%n ";
# CTCPs
ownctcp = "[%r$0%K(%R$1-%K)] ";
ctcp = "%g$*%n";
# wallops
wallop = "%_$*%n: ";
wallop_nick = "%n$*";
wallop_action = "%_ * $*%n ";
# netsplits
netsplit = "%R$*%n";
netjoin = "%C$*%n";
# /names list
names_prefix = "";
names_nick = "[%_$0%_$1-] ";
names_nick_op = "{names_nick $*}";
names_nick_halfop = "{names_nick $*}";
names_nick_voice = "{names_nick $*}";
names_users = "[%g$*%n]";
names_channel = "%G$*%n";
# DCC
dcc = "%g$*%n";
dccfile = "%_$*%_";
# DCC chat, own msg/action
dccownmsg = "[%r$0%K($1-%K)%n] ";
dccownnick = "%R$*%n";
dccownquerynick = "%_$*%n";
dccownaction = "{action $*}";
dccownaction_target = "{action_core $0}%K:%c$1%n ";
# DCC chat, others
dccmsg = "[%G$1-%K(%g$0%K)%n] ";
dccquerynick = "%G$*%n";
dccaction = "%_ (*dcc*) $*%n %|";
##
## statusbar
##
# default background for all statusbars. You can also give
# the default foreground color for statusbar items.
sb_background = "%4%W";
window_border = "%4%w";
# default backround for "default" statusbar group
#sb_default_bg = "%4";
# background for prompt / input line
sb_prompt_bg = "%n";
# background for info statusbar
sb_info_bg = "%8";
# background for topicbar (same default)
#sb_topic_bg = "%4";
# text at the beginning of statusbars. "sb" already puts a space there,
# so we don't use anything by default.
sbstart = "";
# text at the end of statusbars. Use space so that it's never
# used for anything.
sbend = " ";
topicsbstart = "{sbstart $*}";
topicsbend = "{sbend $*}";
prompt = "[$*] ";
sb = " %c[%n$*%c]%n";
sbmode = "(%c+%n$*)";
sbaway = " (%GzZzZ%n)";
sbservertag = ":$0 (change with ^X)";
sbnickmode = "$0";
# activity in statusbar
# ',' separator
sb_act_sep = "%c$*";
# normal text
sb_act_text = "%c$*";
# public message
sb_act_msg = "%W$*";
# hilight
sb_act_hilight = "%M$*";
# hilight with specified color, $0 = color, $1 = text
sb_act_hilight_color = "$0$1-%n";
};

View file

@ -1,52 +0,0 @@
# vim: filetype=neomuttrc
# muttrc file for account mail@oxapentane.com
set realname = "Grigory Shipunov"
set from = "mail@oxapentane.com"
alternates "@oxapentane\.com$"
set reverse_name
alias me 0xA <mail@oxapentane.com>
set folder = "~/mail/mail@oxapentane.com"
set header_cache = "~/.cache/mutt-cache/mail@oxapentane.com/headers"
set message_cachedir = "~/.cache/mutt-cache/mail@oxapentane.com/bodies"
set mbox_type = Maildir
bind index,pager gg noop
bind index,pager g noop
bind index,pager M noop
bind index,pager C noop
bind index gg first-entry
unmailboxes *
unalternates *
unset signature
unmacro index o
macro index o "<shell-escape>mbsync mail@oxapentane.com<enter>" "run mbsync to sync mail@oxapentane.com"
mailboxes "=Archive" "=Drafts" "=flipper" "=funk24" "=hackint" "=hkinv" "=INBOX" "=juliaacademy" "=Junk" "=kickstarter" "=leanpub" "=meduza" "=mercht" "=misc" "=monster" "=nplus1" "=nytimes" "=online-go" "=openweathermap" "=ovdinfo" "=quantumcountry" "=rocky" "=rockylinux" "=Sent" "=sinkhole" "=teepublic" "=Templates" "=threadless" "=Trash" "=vodafone" "=vultr" "=xakep" "=zotero-sync"
macro index,pager gj "<change-folder>=Junk<enter>" "go to junk"
macro index,pager Mj ";<save-message>=Junk<enter>" "move mail to junk"
macro index,pager Cj ";<copy-message>=Junk<enter>" "copy mail to junk"
macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox"
macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox"
macro index,pager Ci ";<copy-message>=INBOX<enter>" "copy mail to inbox"
set spoolfile = "+INBOX"
macro index,pager ga "<change-folder>=Archive<enter>" "go to archive"
macro index,pager A ";<save-message>=Archive<enter>" "move mail to archive"
macro index,pager Ca ";<copy-message>=Archive<enter>" "copy mail to archive"
set postponed = "+Drafts"
macro index,pager gd "<change-folder>=Drafts<enter>" "go to drafts"
macro index,pager Md ";<save-message>=Drafts<enter>" "move mail to drafts"
macro index,pager Cd ";<copy-message>=Drafts<enter>" "copy mail to drafts"
set record = "+Sent"
macro index,pager gs "<change-folder>=Sent<enter>" "go to sent"
macro index,pager Ms ";<save-message>=Sent<enter>" "move mail to sent"
macro index,pager Cs ";<copy-message>=Sent<enter>" "copy mail to sent"
macro index,pager gh "<change-folder>=sinkhole<enter>" "go to sinkhole"
macro index,pager Mh ";<save-message>=sinkhole<enter>" "move mail to sinkhole"
macro index,pager Ch ";<copy-message>=sinkhole<enter>" "copy mail to sinkhole"
macro index,pager gt "<change-folder>=Trash<enter>" "go to trash"
macro index,pager Mt ";<save-message>=Trash<enter>" "move mail to trash"
macro index,pager Ct ";<copy-message>=Trash<enter>" "copy mail to trash"
set trash = "+Trash"
source ./crypt.muttrc

View file

@ -1,47 +0,0 @@
# vim: filetype=neomuttrc
# muttrc file for account grigory@shipunov.xyz
set realname = "Grigory Shipunov"
set from = "grigory@shipunov.xyz"
alias me Grigory Shipunov <grigory@shipunov.xyz>
set folder = "~/mail/grigory@shipunov.xyz"
set header_cache = "~/.cache/mutt-cache/grigory@shipunov.xyz/headers"
set message_cachedir = "~/.cache/mutt-cache/grigory@shipunov.xyz/bodies"
set mbox_type = Maildir
bind index,pager gg noop
bind index,pager g noop
bind index,pager M noop
bind index,pager C noop
bind index gg first-entry
unmailboxes *
unalternates *
unset signature
unmacro index o
macro index o "<shell-escape>mbsync grigory@shipunov.xyz<enter>" "run mbsync to sync grigory@shipunov.xyz"
mailboxes "=Junk" "=Trash" "=Archive" "=Drafts" "=Sent" "=INBOX"
macro index,pager gj "<change-folder>=Junk<enter>" "go to junk"
macro index,pager Mj ";<save-message>=Junk<enter>" "move mail to junk"
macro index,pager Cj ";<copy-message>=Junk<enter>" "copy mail to junk"
macro index,pager gt "<change-folder>=Trash<enter>" "go to trash"
macro index,pager Mt ";<save-message>=Trash<enter>" "move mail to trash"
macro index,pager Ct ";<copy-message>=Trash<enter>" "copy mail to trash"
set trash = "+Trash"
macro index,pager ga "<change-folder>=Archive<enter>" "go to archive"
macro index,pager A ";<save-message>=Archive<enter>" "move mail to archive"
macro index,pager Ca ";<copy-message>=Archive<enter>" "copy mail to archive"
set postponed = "+Drafts"
macro index,pager gd "<change-folder>=Drafts<enter>" "go to drafts"
macro index,pager Md ";<save-message>=Drafts<enter>" "move mail to drafts"
macro index,pager Cd ";<copy-message>=Drafts<enter>" "copy mail to drafts"
set record = "+Sent"
macro index,pager gs "<change-folder>=Sent<enter>" "go to sent"
macro index,pager Ms ";<save-message>=Sent<enter>" "move mail to sent"
macro index,pager Cs ";<copy-message>=Sent<enter>" "copy mail to sent"
macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox"
macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox"
macro index,pager Ci ";<copy-message>=INBOX<enter>" "copy mail to inbox"
set spoolfile = "+INBOX"
source ./crypt.muttrc

View file

@ -1,47 +0,0 @@
# vim: filetype=neomuttrc
# muttrc file for account dump@dvb.solutions
set realname = "dump"
set from = "dump@dvb.solutions"
alias me dump <dump@dvb.solutions>
set folder = "~/mail/dump@dvb.solutions"
set header_cache = "~/.cache/mutt-cache/dump@dvb.solutions/headers"
set message_cachedir = "~/.cache/mutt-cache/dump@dvb.solutions/bodies"
set mbox_type = Maildir
bind index,pager gg noop
bind index,pager g noop
bind index,pager M noop
bind index,pager C noop
bind index gg first-entry
unmailboxes *
unalternates *
unset signature
unmacro index o
macro index o "<shell-escape>mbsync dump@dvb.solutions<enter>" "run mbsync to sync dump@dvb.solutions"
mailboxes "=Sent" "=Drafts" "=Archive" "=Trash" "=Junk" "=INBOX"
set record = "+Sent"
macro index,pager gs "<change-folder>=Sent<enter>" "go to sent"
macro index,pager Ms ";<save-message>=Sent<enter>" "move mail to sent"
macro index,pager Cs ";<copy-message>=Sent<enter>" "copy mail to sent"
set postponed = "+Drafts"
macro index,pager gd "<change-folder>=Drafts<enter>" "go to drafts"
macro index,pager Md ";<save-message>=Drafts<enter>" "move mail to drafts"
macro index,pager Cd ";<copy-message>=Drafts<enter>" "copy mail to drafts"
macro index,pager ga "<change-folder>=Archive<enter>" "go to archive"
macro index,pager A ";<save-message>=Archive<enter>" "move mail to archive"
macro index,pager Ca ";<copy-message>=Archive<enter>" "copy mail to archive"
macro index,pager gt "<change-folder>=Trash<enter>" "go to trash"
macro index,pager Mt ";<save-message>=Trash<enter>" "move mail to trash"
macro index,pager Ct ";<copy-message>=Trash<enter>" "copy mail to trash"
set trash = "+Trash"
macro index,pager gj "<change-folder>=Junk<enter>" "go to junk"
macro index,pager Mj ";<save-message>=Junk<enter>" "move mail to junk"
macro index,pager Cj ";<copy-message>=Junk<enter>" "copy mail to junk"
macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox"
macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox"
macro index,pager Ci ";<copy-message>=INBOX<enter>" "copy mail to inbox"
set spoolfile = "+INBOX"
source ./nocrypt.muttrc

View file

@ -1,45 +0,0 @@
set realname = "Grigory Shipunov"
set from = "grigory@tlm.solutions"
alias me <grigory@tlm.solutions>
set folder = "~/mail/grigory@tlm.solutions"
set header_cache = "~/.cache/mutt-cache/grigory_tlm.solutions/headers"
set message_cachedir = "~/.cache/mutt-cache/grigory_tlm.solutions/bodies"
set mbox_type = Maildir
bind index,pager gg noop
bind index,pager g noop
bind index,pager M noop
bind index,pager C noop
bind index gg first-entry
unmailboxes *
unalternates *
unset signature
unmacro index o
#macro index o "<shell-escape>mbsync dump@dvb.solutions<enter>" "run mbsync to sync dump@dvb.solutions"
mailboxes "=Sent" "=Drafts" "=Archive" "=Trash" "=Junk" "=INBOX"
set record = "+Sent"
macro index,pager gs "<change-folder>=Sent<enter>" "go to sent"
macro index,pager Ms ";<save-message>=Sent<enter>" "move mail to sent"
macro index,pager Cs ";<copy-message>=Sent<enter>" "copy mail to sent"
set postponed = "+Drafts"
macro index,pager gd "<change-folder>=Drafts<enter>" "go to drafts"
macro index,pager Md ";<save-message>=Drafts<enter>" "move mail to drafts"
macro index,pager Cd ";<copy-message>=Drafts<enter>" "copy mail to drafts"
macro index,pager ga "<change-folder>=Archive<enter>" "go to archive"
macro index,pager A ";<save-message>=Archive<enter>" "move mail to archive"
macro index,pager Ca ";<copy-message>=Archive<enter>" "copy mail to archive"
macro index,pager gt "<change-folder>=Trash<enter>" "go to trash"
macro index,pager Mt ";<save-message>=Trash<enter>" "move mail to trash"
macro index,pager Ct ";<copy-message>=Trash<enter>" "copy mail to trash"
set trash = "+Trash"
macro index,pager gj "<change-folder>=Junk<enter>" "go to junk"
macro index,pager Mj ";<save-message>=Junk<enter>" "move mail to junk"
macro index,pager Cj ";<copy-message>=Junk<enter>" "copy mail to junk"
macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox"
macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox"
macro index,pager Ci ";<copy-message>=INBOX<enter>" "copy mail to inbox"
set spoolfile = "+INBOX"
source ./nocrypt.muttrc

View file

@ -1,12 +0,0 @@
# Encryption boilerplate
set postpone_encrypt = yes
set pgp_self_encrypt = yes
set crypt_use_pka = no
set crypt_autosign = yes
set crypt_autoencrypt = no
set crypt_autopgp = yes
set crypt_replyencrypt = yes
set crypt_replysign = yes
# gpg key
set pgp_default_key = "DD0998E6CDF294537FC604F991FA5E5BF9AA901C"

View file

@ -1,9 +0,0 @@
# Encryption boilerplate
set postpone_encrypt = no
set pgp_self_encrypt = no
set crypt_use_pka = no
set crypt_autosign = no
set crypt_autoencrypt = no
set crypt_autopgp = no
set crypt_replyencrypt = no
set crypt_replysign = no

View file

@ -1,152 +0,0 @@
set mailcap_path = ~/.config/neomutt/mailcap:$mailcap_path
set sendmail = "msmtpq --read-envelope-from"
set sendmail_wait = -1
set mime_type_query_command = "file --mime-type -b %s"
set date_format="%y-%m-%d %H:%M"
set index_format="%2C %Z %?X?A& ? %D %-25.25F %s (%-4.4c)"
#set index_format= "%4C %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s"
set edit_headers = yes
set use_threads = 'threads'
set sort = 'reverse-last-date'
set smtp_authenticators = 'gssapi:login'
set query_command = "abook --mutt-query '%s'"
set rfc2047_parameters = yes
set sleep_time = 0 # Pause 0 seconds for informational messages
set markers = no # Disables the `+` displayed at line wraps
set mark_old = no # Unread mail stay unread until read
set mime_forward = yes # attachments are forwarded with mail
set wait_key = no # mutt won't ask "press key to continue"
set fast_reply # skip to compose when replying
set fcc_attach # save attachments with the body
set forward_format = "Fwd: %s" # format of subject when forwarding
set forward_quote # include message in forwards
set reverse_name # reply as whomever it was to
set include # include message in replies
set mail_check=60 # to avoid lags using IMAP with some email providers (yahoo for example)
auto_view text/html # automatically show html (mailcap uses lynx)
auto_view application/pgp-encrypted
#set display_filter = "tac | sed '/\\\[-- Autoview/,+1d' | tac" # Suppress autoview messages.
alternative_order text/plain text/enriched text/html
bind index,pager i noop
bind index,pager g noop
bind index \Cf noop
# General rebindings
bind index j next-entry
bind index k previous-entry
bind attach <return> view-mailcap
bind attach l view-mailcap
bind editor <space> noop
bind index G last-entry
bind index gg first-entry
bind pager,attach h exit
bind pager j next-line
bind pager k previous-line
bind pager l view-attachments
bind index D delete-message
bind index U undelete-message
bind index L limit
bind index h noop
bind index l display-message
bind index,query <space> tag-entry
#bind browser h goto-parent
macro browser h '<change-dir><kill-line>..<enter>' "Go to parent folder"
bind index,pager H view-raw-message
bind browser l select-entry
bind pager,browser gg top-page
bind pager,browser G bottom-page
bind index,pager,browser d half-down
bind index,pager,browser u half-up
bind index,pager S sync-mailbox
bind index,pager R group-reply
bind editor <Tab> complete-query
macro index,pager a "<enter-command>set my_pipe_decode=\$pipe_decode pipe_decode<return><pipe-message>abook --add-email<return><enter-command>set pipe_decode=\$my_pipe_decode; unset my_pipe_decode<return>" "add the sender address to abook"
macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read"
macro index O "<shell-escape>mbsync -a<enter>" "refresh all mail"
macro index A "<limit>all\n" "show all messages (undo limit)"
# Sidebar mappings
set sidebar_visible = no
set sidebar_width = 20
set sidebar_short_path = yes
set sidebar_next_new_wrap = yes
set mail_check_stats
set sidebar_format = '%D%?F? [%F]?%* %?N?%N/? %?S?%S?'
bind index,pager \Ck sidebar-prev
bind index,pager \Cj sidebar-next
bind index,pager \Co sidebar-open
bind index,pager \Cp sidebar-prev-new
bind index,pager \Cn sidebar-next-new
bind index,pager B sidebar-toggle-visible
# Default index colors:
color index yellow default '.*'
color index_author red default '.*'
color index_number blue default
color index_subject cyan default '.*'
# New mail is boldened:
color index brightyellow black "~N"
color index_author brightred black "~N"
color index_subject brightcyan black "~N"
# Tagged mail is highlighted:
color index brightyellow blue "~T"
color index_author brightred blue "~T"
color index_subject brightcyan blue "~T"
# Other colors and aesthetic settings:
mono bold bold
mono underline underline
mono indicator reverse
mono error bold
color normal default default
color indicator brightblack white
color sidebar_highlight red default
color sidebar_divider brightblack black
color sidebar_flagged red black
color sidebar_new green black
color normal brightyellow default
color error red default
color tilde black default
color message cyan default
color markers red white
color attachment white default
color search brightmagenta default
color status brightyellow black
color hdrdefault brightgreen default
color quoted green default
color quoted1 blue default
color quoted2 cyan default
color quoted3 yellow default
color quoted4 red default
color quoted5 brightred default
color signature brightgreen default
color bold black default
color underline black default
color normal default default
# Regex highlighting:
color header blue default ".*"
color header brightmagenta default "^(From)"
color header brightcyan default "^(Subject)"
color header brightwhite default "^(CC|BCC)"
color body brightred default "[\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+" # Email addresses
color body brightblue default "(https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+" # URL
color body green default "\`[^\`]*\`" # Green text between ` and `
color body brightblue default "^# \.*" # Headings as bold blue
color body brightcyan default "^## \.*" # Subheadings as bold cyan
color body brightgreen default "^### \.*" # Subsubheadings as bold green
color body yellow default "^(\t| )*(-|\\*) \.*" # List items as yellow
color body red default "(BAD signature)"
color body cyan default "(Good signature)"
color body brightblack default "^gpg: Good signature .*"
color body brightyellow default "^gpg: "
color body brightyellow red "^gpg: BAD signature from.*"
mono body bold "^gpg: Good signature"
mono body bold "^gpg: BAD signature from.*"
color body red default "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]"

View file

@ -1,9 +0,0 @@
text/plain; $EDITOR %s ;
# text/html; w3m -I %{charset} -T text/html; copiousoutput;
text/html; links -html-numbered-links 1 -html-images 1 -dump 'file://%s'; copiousoutput
image/*; imv %s ;
video/*; setsid mpv --quiet %s &; copiousoutput
audio/*; mpv %s ;
application/pdf; evince %s ;
application/pgp-encrypted; gpg -d '%s'; copiousoutput;
application/pgp-keys; gpg --import '%s'; copiousoutput;

View file

@ -1,7 +0,0 @@
# vim: filetype=neomuttrc
source ./defaults.muttrc
source ./accounts/1-mail@oxapentane.com.muttrc
macro index,pager i1 '<sync-mailbox><enter-command>source ~/.config/neomutt/accounts/1-mail@oxapentane.com.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to mail@oxapentane.com"
macro index,pager i2 '<sync-mailbox><enter-command>source ~/.config/neomutt/accounts/2-grigory@shipunov.xyz.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to grigory@shipunov.xyz"
macro index,pager i3 '<sync-mailbox><enter-command>source ~/.config/neomutt/accounts/3-dump@dvb.solutions.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to dump@dvb.solutions"
macro index,pager i4 '<sync-mailbox><enter-command>source ~/.config/neomutt/accounts/4-grigory@tlm.solutions.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to grigory@tlm.solutions"

View file

@ -1,15 +0,0 @@
[database]
path=/home/grue/mail
[user]
name=Grigory Shipunov
primary_email=mail@oxapentane.com
other_email=grigory@shipunov.xyz;*@oxapentane.com;dump@dvb.solutions
[new]
tags=unread;inbox;
ignore=.mbsyncstate;.uidvalidity
[search]
exclude_tags=deleted;spam;
[maildir]
synchronize_flags=true
[crypto]
gpg_path=gpg

View file

@ -1 +0,0 @@
mail@oxapentane.com

View file

@ -1,2 +0,0 @@
 ¼Ô8¬3¤;þ,õÉ`ØýÑŽW+OÌý<C38C>a”+R}>aüñeå +äŒÎ~|Ûƒ^•A<E280A2> qCw˵€•òY J²öP.@éW­;?Òm2“wt$Icý±ÜhgçF½Éf*y¡d—?¤Í”AnßDXpQ Z<>OÆ>øµ8AÖg(«hûl7.©¸%³|åMœ¡A~ŽªjÏUÚkb`;<3B>b{ê‚¢¯»*åe¹KqU¢+B<> ´ß>X{MFˆ=VÌ 6P:d€)W¶†@¹öpè'8¤åÝ"Rá7«M‹Ž_RÎf©åRm!(%NWp¿1¿ç¯V¦cN¬•º×p“KÍ É'}8·¨Ž'Ê<>W2øÝiQ
[ôΘ3vɼB[”Ve^Êvê&"ƒ> ~+¾CÒÙUôOã|Ûš¡<ÞÞòüÂDÕ,áúëótò ˜Á­°¸U"4çëjÑØÅÍ"Ñ?¨<oEIÖäìË´õ%ªkIµŽþ…EÞ6XÒQïlõìÕìBa­²@è.‡a?pèÞä ¹#««ÓüÓ<>úÂh~´ÿ» ÈÃ9<C383>Øñ^ùõ¹Ì¡â¿“-˜è |.GßÙÚ&\×<>gZ³ûÎ2{º²oÈ­EÓWÆ“ÃH<C383>Ã?“Ž e¢m]nÓrËAA¡}'ÒLˆEPtIbBÉ;¸Cñ¨EÚòÂ*U?ŽãN¯Ýˆƒ®ï g2Îz>Úü®¿°á §Ì?kÓŽ°+2ºÑ¾MŠ5­KÑœË

View file

@ -1 +0,0 @@
plugin

View file

@ -1,83 +0,0 @@
-- set leader and locleader before setting any maps
vim.g.mapleader = ' '
vim.g.maplocalleader = '\\'
-- set up packer and all the plugins
require('plugins')
-- old config still to luaify
vim.cmd([[
" filetype magic
autocmd BufRead,BufNewFile *.nasm set filetype=nasm
" langmap russian
set langmap=ФИСВУАПРШОЛДЬТЩЗЙКЫЕГМЦЧНЯ;ABCDEFGHIJKLMNOPQRSTUVWXYZ,фисвуапршолдьтщзйкыегмцчня;abcdefghijklmnopqrstuvwxyz
" Incrementally show effects of :s, :smagic, :snomagic
set icm=split
set number
set nobackup nowritebackup
set noswapfile
" autosmartident
set ai
set si
set tabstop=4
set shiftwidth=4
set softtabstop=4
set expandtab
" arrows for visual line navigation
imap <up> <C-O>gk
imap <down> <C-O>gj
nmap <up> gk
nmap <down> gj
vmap <up> gk
vmap <down> gj
set history=999
set undolevels=999
" Copy to clipboard
vnoremap <leader>y "+y
nnoremap <leader>Y "+yg_
nnoremap <leader>y "+y
nnoremap <leader>yy "+yy
" Paste from clipboard
nnoremap <leader>p "+p
nnoremap <leader>P "+P
vnoremap <leader>p "+p
vnoremap <leader>P "+P
"set updatetime=107
" disable modelines
set nomodeline
" change tab completion to more bash-like
set wildmode=longest:full,list:full
" U is quite useless
nnoremap U :echo "NOPE!"<CR>
" help is quite annoying when you miss esc
map <F1> <Esc>
imap <F1> <Esc>
" do not conceal stuff
set conceallevel=0
set foldlevel=999
" Whitespace highlight
highlight RedundantSpaces ctermbg=red guibg=red
match RedundantSpaces /\s\+\%#\@<!$/
" highlight yanked text
augroup highlight_yank
autocmd!
au TextYankPost * silent! lua vim.highlight.on_yank { higroup='IncSearch', timeout=200 }
augroup END
]])

View file

@ -1,53 +0,0 @@
-- setup completion menu
vim.cmd([[
set completeopt=menu,menuone,noselect
]])
-- setup cmp proper: pretty much default config
local cmp = require'cmp'
cmp.setup({
window = {
completion = cmp.config.window.bordered(winhighlight),
documentation = cmp.config.window.bordered(winhighlight),
},
snippet = {
expand = function(args)
require'snippy'.expand_snippet(args.body)
end,
},
mapping = cmp.mapping.preset.insert({
['<C-b>'] = cmp.mapping.scroll_docs(-4),
['<C-f>'] = cmp.mapping.scroll_docs(4),
['<C-Space>'] = cmp.mapping.complete(),
['<C-e>'] = cmp.mapping.abort(),
['<CR>'] = cmp.mapping.confirm({
behavior = cmp.ConfirmBehavior.Insert,
select = false,
})
}),
sources = cmp.config.sources({
{ name = 'nvim_lsp' },
{ name = 'snippy' }, -- For snippy users.
{ name = 'buffer' },
{ name = 'path' },
{ name = 'nvim_lua' },
}),
formatting = {
format = function(entry, vim_item)
vim_item.kind = string.format('%s', vim_item.kind)
vim_item.menu = ({
nvim_lsp = '[LSP]',
buffer = '[B]',
path = '[F]',
snippy = '[S]',
nvim_lua = '[vim]',
})[entry.source.name]
return vim_item
end,
}
})

View file

@ -1,90 +0,0 @@
local nvim_lsp = require'lspconfig'
local cmp_lsp = require'cmp_nvim_lsp'
-- General LSP config
-- Limit capabilities to advertised by cmp
local capabilities = cmp_lsp.default_capabilities()
-- default lsp config
-- Mappings.
-- See `:help vim.diagnostic.*` for documentation on any of the below functions
local opts = { noremap=true, silent=true }
vim.keymap.set('n', '<leader>e', vim.diagnostic.open_float, opts)
vim.keymap.set('n', '[d', vim.diagnostic.goto_prev, opts)
vim.keymap.set('n', ']d', vim.diagnostic.goto_next, opts)
vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, opts)
-- Use an on_attach function to only map the following keys
-- after the language server attaches to the current buffer
local on_attach = function(client, bufnr)
-- Enable completion triggered by <c-x><c-o>
vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc')
-- Mappings.
-- See `:help vim.lsp.*` for documentation on any of the below functions
local bufopts = { noremap=true, silent=true, buffer=bufnr }
vim.keymap.set('n', 'gD', vim.lsp.buf.declaration, bufopts)
vim.keymap.set('n', 'gd', vim.lsp.buf.definition, bufopts)
vim.keymap.set('n', 'K', vim.lsp.buf.hover, bufopts)
vim.keymap.set('n', 'gi', vim.lsp.buf.implementation, bufopts)
vim.keymap.set('n', '<C-k>', vim.lsp.buf.signature_help, bufopts)
vim.keymap.set('n', '<leader>wa', vim.lsp.buf.add_workspace_folder, bufopts)
vim.keymap.set('n', '<leader>wr', vim.lsp.buf.remove_workspace_folder, bufopts)
vim.keymap.set('n', '<leader>wl', function()
print(vim.inspect(vim.lsp.buf.list_workspace_folders()))
end, bufopts)
vim.keymap.set('n', '<leader>D', vim.lsp.buf.type_definition, bufopts)
vim.keymap.set('n', '<leader>rn', vim.lsp.buf.rename, bufopts)
vim.keymap.set('n', '<leader>ca', vim.lsp.buf.code_action, bufopts)
vim.keymap.set('n', 'gr', vim.lsp.buf.references, bufopts)
vim.keymap.set('n', '<leader>f', function() vim.lsp.buf.format { async = true } end, bufopts)
end
local lsp_flags = {
-- This is the default in Nvim 0.7+
debounce_text_changes = 150,
}
-- always show sign column
vim.cmd([[set signcolumn=yes]])
vim.g.moonflyNormalFloat = true
vim.lsp.handlers['textDocument/hover'] = vim.lsp.with(
vim.lsp.handlers.hover, {
border = "single"
}
)
vim.lsp.handlers['textDocument/signatureHelp'] = vim.lsp.with(
vim.lsp.handlers.signatureHelp, {
border = "single"
}
)
vim.diagnostic.config({ float = { border = "single" } })
-- Setting up servers per language
-- Default nvim-lsp setup: nil, clangd
local servers = { 'nil_ls', 'clangd', 'texlab' }
for _, serv in ipairs(servers) do
nvim_lsp[serv].setup{
on_attach = on_attach,
flags = lsp_flags,
capabilities = capabilities,
}
end
-- Rust: using rust tools package
local rt = require("rust-tools")
rt.setup({
server = {
on_attach = on_attach,
flags = lsp_flags,
capabilities = capabilities,
settings = {
["rust-analyzer"] = {
cargo = {
allFeatures = true,
},
},
},
},
})

View file

@ -1,11 +0,0 @@
-- this now handled by the lualine
vim.cmd([[set noshowmode]])
return require('lualine').setup {
options = {
icons_enabled = true,
--theme = 'everforest',
-- section_separators = '',
-- component_seaparators = '',
}
}

View file

@ -1,214 +0,0 @@
local ensure_packer = function()
local fn = vim.fn
local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim'
if fn.empty(fn.glob(install_path)) > 0 then
fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path})
vim.cmd [[packadd packer.nvim]]
return true
end
return false
end
local setup_fzf = function()
vim.api.nvim_set_keymap('n', '<c-P>', "<cmd>lua require('fzf-lua').files()<CR>", { noremap = true, silent = true })
vim.api.nvim_set_keymap('n', '<leader>g', "<cmd>lua require('fzf-lua').git_files()<CR>", { noremap = true, silent = true })
vim.api.nvim_set_keymap('n', '<leader>b', "<cmd>lua require('fzf-lua').buffers()<CR>", { noremap = true, silent = true })
end
local packer_bootstrap = ensure_packer()
return require('packer').startup(function(use)
use 'wbthomason/packer.nvim'
-- insert images into markdown automagically
use {
'ferrine/md-img-paste.vim',
ft = { 'markdown' },
config = vim.cmd([[
" insert images into markdown automagically
autocmd FileType markdown nmap <buffer><silent> <localleader>p :call mdip#MarkdownClipboardImage()<CR>
let g:mdip_imgdir = 'static'
let g:mdip_imgname = 'image'
]])
}
--Better syntax
use 'rust-lang/rust.vim'
use 'LnL7/vim-nix'
use 'cespare/vim-toml'
use 'JuliaEditorSupport/julia-vim'
use {
'lervag/vimtex',
ft = { 'tex' },
-- do not conceal stuff
config = function() vim.cmd([[
let g:tex_conceal = ''
autocmd FileType tex nnoremap <localleader>= :VimtexTocToggle<CR>
]]) end,
}
use 'lepture/vim-jinja'
use 'neomutt/neomutt.vim'
use 'godlygeek/tabular'
use 'preservim/vim-markdown'
-- treesitter
use {
'nvim-treesitter/nvim-treesitter',
run = function()
local ts_update = require('nvim-treesitter.install').update({ with_sync = true })
ts_update()
end,
config = function()
require('ts_setup')
end,
}
-- pretty bits
-- use {
-- '/home/grue/projects/zen-footburn.nvim',
-- config = function()
-- vim.cmd([[
-- set termguicolors
-- colorscheme zenburn
-- ]])
-- end,
-- }
-- use {
-- 'sainnhe/everforest',
-- config = function()
-- vim.cmd([[
-- set termguicolors
-- let g:everforest_transparent_background = 2
-- colorscheme everforest
-- ]])
-- end,
-- }
use {
'jeffkreeftmeijer/vim-dim',
config = function()
vim.cmd([[
colorscheme dim
]])
end,
}
use {
'johnfrankmorgan/whitespace.nvim',
config = function ()
require('whitespace-nvim').setup({
ignored_filetypes = { 'TelescopePrompt', 'Trouble', 'help' },
})
-- remove trailing whitespace with a keybinding
vim.keymap.set('n', '<Leader>t', require('whitespace-nvim').trim)
end
}
-- use {
-- 'nvim-lualine/lualine.nvim',
-- requires = { 'kyazdani42/nvim-web-devicons', opt = true },
-- after = { 'zen-footburn.nvim' },
-- config = function()
-- -- this now handled by the lualine
-- vim.cmd([[set noshowmode]])
-- return require('lualine').setup {
-- options = {
-- icons_enabled = true,
-- theme = 'zenburn',
-- -- section_separators = '',
-- -- component_seaparators = '',
-- }
-- }
-- end,
-- }
-- Git
use 'tpope/vim-fugitive'
use {
'lewis6991/gitsigns.nvim',
config = function()
vim.cmd([[set signcolumn=yes]])
require('gitsigns').setup()
end,
}
-- Nifty stuff
use 'tpope/vim-surround'
-- use 'airblade/vim-rooter'
-- use {
-- 'nvim-telescope/telescope.nvim',
-- branch = '0.1.x',
-- requires = { { 'nvim-lua/plenary.nvim' } },
-- config = function()
-- require('telescope').setup{
-- pickers = {
-- find_files = {
-- theme = "dropdown",
-- }
-- }
-- }
-- local builtin = require('telescope.builtin')
-- vim.keymap.set('n', '<leader>ff', builtin.find_files, {})
-- vim.keymap.set('n', '<leader>fg', builtin.live_grep, {})
-- vim.keymap.set('n', '<leader>b', builtin.buffers, {})
-- vim.keymap.set('n', '<leader>fh', builtin.help_tags, {})
-- end,
-- }
-- completion
-- use {
-- 'hrsh7th/nvim-cmp',
-- requires = {
-- -- completion sources
-- 'hrsh7th/cmp-nvim-lsp',
-- 'hrsh7th/cmp-buffer',
-- 'hrsh7th/cmp-path',
-- 'hrsh7th/cmp-nvim-lua',
-- 'dcampos/nvim-snippy',
-- 'dcampos/cmp-snippy'
-- },
-- config = function()
-- require('completion')
-- end,
-- }
-- use {
-- 'dcampos/nvim-snippy',
-- config = function()
-- require'snippy'.setup({
-- mappings = {
-- is = {
-- ['<Tab>'] = 'expand_or_advance',
-- ['<S-Tab>'] = 'previous',
-- },
-- nx = {
-- ['<leader>x'] = 'cut_text',
-- },
-- },
-- })
-- end,
-- }
-- use 'dcampos/cmp-snippy'
-- use 'honza/vim-snippets'
-- neovim VSCode edition
-- use {
-- 'neovim/nvim-lspconfig',
-- after = { 'nvim-cmp' },
-- requires = { 'simrat39/rust-tools.nvim' },
-- config = function()
-- require'lsp_setup'
-- end,
-- }
use {
'jamessan/vim-gnupg',
}
-- Automatically set up your configuration after cloning packer.nvim
-- Put this at the end after all plugins
if packer_bootstrap then
require('packer').sync()
end
end)

View file

@ -1,17 +0,0 @@
local ts_conf = require('nvim-treesitter.configs')
ts_conf.setup {
ensure_installed = { "vim", "vimdoc", "rust", "nix", "latex" },
highlight = {
enable = true,
},
indent = {
enable = true,
},
incremental_selection = {
enable = true,
},
textobjects = {
enable = true,
},
}

View file

@ -1,189 +0,0 @@
font:
size: 10 # whatever this number actually means...
normal:
family: Iosevka
bold:
family: Iosevka
italic:
family: Iosevka
bold_italic:
family: Iosevka
#draw_bold_text_with_bright_colors: true
# Colors
schemes:
moonfly: &moonfly
# Default colors
primary:
background: '#080808'
foreground: '#b2b2b2'
bright_foreground: '#eeeeee'
# Cursor colors
cursor:
text: '#000000'
cursor: '#ffff00'
# Selection colors
selection:
text: '#080808'
background: '#b2ceee'
# Normal colors
normal:
black: '#323437'
red: '#ff5454'
green: '#8cc85f'
yellow: '#e3c78a'
blue: '#80a0ff'
magenta: '#cf87e8'
cyan: '#79dac8'
white: '#c6c6c6'
# Bright colors
bright:
black: '#949494'
red: '#ff5189'
green: '#36c692'
yellow: '#c2c292'
blue: '#74b2ff'
magenta: '#ae81ff'
cyan: '#85dc85'
white: '#e4e4e4'
everforest_dark_hard: &everforest_dark_hard
primary:
background: '#272e33'
foreground: '#d3c6aa'
normal:
black: '#414b50'
red: '#e67e80'
green: '#a7c080'
yellow: '#dbbc7f'
blue: '#7fbbb3'
magenta: '#d699b6'
cyan: '#83c092'
white: '#d3c6aa'
bright:
black: '#475258'
red: '#e67e80'
green: '#a7c080'
yellow: '#dbbc7f'
blue: '#7fbbb3'
magenta: '#d699b6'
cyan: '#83c092'
white: '#d3c6aa'
everforest_dark_medium: &everforest_dark_medium
primary:
background: '#2d353b'
foreground: '#d3c6aa'
normal:
black: '#475258'
red: '#e67e80'
green: '#a7c080'
yellow: '#dbbc7f'
blue: '#7fbbb3'
magenta: '#d699b6'
cyan: '#83c092'
white: '#d3c6aa'
bright:
black: '#475258'
red: '#e67e80'
green: '#a7c080'
yellow: '#dbbc7f'
blue: '#7fbbb3'
magenta: '#d699b6'
cyan: '#83c092'
white: '#d3c6aa'
everforest_dark_soft: &everforest_dark_soft
primary:
background: '#333c43'
foreground: '#d3c6aa'
normal:
black: '#4d5960'
red: '#e67e80'
green: '#a7c080'
yellow: '#dbbc7f'
blue: '#7fbbb3'
magenta: '#d699b6'
cyan: '#83c092'
white: '#d3c6aa'
bright:
black: '#4d5960'
red: '#e67e80'
green: '#a7c080'
yellow: '#dbbc7f'
blue: '#7fbbb3'
magenta: '#d699b6'
cyan: '#83c092'
white: '#d3c6aa'
everforest_light_hard: &everforest_light_hard
primary:
background: '#fffbef'
foreground: '#5c6a72'
normal:
black: '#5c6a72'
red: '#f85552'
green: '#8da101'
yellow: '#dfa000'
blue: '#3a94c5'
magenta: '#df69ba'
cyan: '#35a77c'
white: '#e8e5d5'
bright:
black: '#5c6a72'
red: '#f85552'
green: '#8da101'
yellow: '#dfa000'
blue: '#3a94c5'
magenta: '#df69ba'
cyan: '#35a77c'
white: '#e8e5d5'
everforest_light_medium: &everforest_light_medium
primary:
background: '#fdf6e3'
foreground: '#5c6a72'
normal:
black: '#5c6a72'
red: '#f85552'
green: '#8da101'
yellow: '#dfa000'
blue: '#3a94c5'
magenta: '#df69ba'
cyan: '#35a77c'
white: '#e0dcc7'
bright:
black: '#5c6a72'
red: '#f85552'
green: '#8da101'
yellow: '#dfa000'
blue: '#3a94c5'
magenta: '#df69ba'
cyan: '#35a77c'
white: '#e0dcc7'
everforest_light_soft: &everforest_light_soft
primary:
background: '#f3ead3'
foreground: '#5c6a72'
normal:
black: '#5c6a72'
red: '#f85552'
green: '#8da101'
yellow: '#dfa000'
blue: '#3a94c5'
magenta: '#df69ba'
cyan: '#35a77c'
white: '#d8d3ba'
bright:
black: '#5c6a72'
red: '#f85552'
green: '#8da101'
yellow: '#dfa000'
blue: '#3a94c5'
magenta: '#df69ba'
cyan: '#35a77c'
white: '#d8d3ba'
# Apply
colors: *everforest_dark_hard

View file

@ -1,95 +0,0 @@
[theme]
theme = "foot"
[icons]
icons = "awesome6"
[[block]]
block = "time"
format = " $icon $timestamp.datetime(f:'%a %F %R', l:nl_NL) "
[block.theme_overrides]
idle_bg = { link = "idle_fg" }
idle_fg = { link = "idle_bg" }
[[block]]
block = "maildir"
interval = 60
inboxes = ["/home/grue/mail/dump@dvb.solutions/INBOX", "/home/grue/mail/grigory@tlm.solutions/INBOX" ]
threshold_critical = 1
display_type = "new"
[[block.click]]
button = "left"
cmd = "foot --app-id floating-foot --window-size-chars=150x50 -- zsh -c neomutt"
[[block]]
block = "maildir"
interval = 60
inboxes = ["/home/grue/mail/mail@oxapentane.com/INBOX", "/home/grue/mail/mail@oxapentane.com/sinkhole", "/home/grue/mail/grigory@shipunov.xyz/INBOX"]
threshold_warning = 1
threshold_critical = 10
display_type = "new"
[[block.click]]
button = "left"
cmd = "foot --app-id floating-foot --window-size-chars=150x50 -- zsh -c neomutt"
[[block]]
block = "backlight"
minimum = 5
maximum = 100
cycle = [ 100, 50, 10 ]
[[block]]
block = "net"
device = "wlan0"
format = " $icon {$ssid $signal_strength $frequency|} "
# format = " $icon {$ssid $signal_strength $ip $ipv6|} "
[[block]]
block = "net"
device = "enp1s0f0"
format = " $icon{ | $ip $ipv6 }"
## TODO patch upstream
# [[block]]
# block = "net"
# device = "wg-mullvad"
# format = " $device "
[[block]]
block = "memory"
format = " $icon $mem_used_percents "
[[block]]
block = "cpu"
format = " $icon $frequency $barchart $utilization "
[[block]]
block = "load"
format = " $1m.eng(w:4) $5m.eng(w:4) $15m.eng(w:4) "
[[block]]
block = "bluetooth"
mac = "88:C9:E8:CE:69:9F"
[[block.click]]
button = "left"
cmd = "bluetoothctl connect 88:C9:E8:CE:69:9F"
[[block.click]]
button = "right"
cmd = "bluetoothctl disconnect 88:C9:E8:CE:69:9F"
[[block]]
block = "sound"
headphones_indicator = true
[[block.click]]
button = "left"
cmd = "foot --app-id floating-foot --window-size-chars=150x50 -- zsh -c pulsemixer"
[[block]]
block = "keyboard_layout"
driver = "sway"
[[block]]
block = "battery"
driver = "upower"
format = " $icon $percentage $time "
if_command = "test -e /sys/class/power_supply/BAT0"

View file

@ -1,15 +0,0 @@
idle_bg = "#2d353b"
idle_fg = "#d3c6aa"
good_fg = "#a7c080"
info_fg = "#dbbc7f"
warning_fg = "#e69875"
critical_bg = "#e67e80"
critical_fg = "#d3c6aa"
separator = "/"
separator_fg = "#d3c6aa"
separator_bg = "#2d353b"

View file

@ -1,19 +0,0 @@
idle_bg = "#111111"
idle_fg = "#dcdccc"
good_bg = "#7f9f7f"
good_fg = "#111111"
info_bg = "#6ca0a3"
info_fg = "#111111"
warning_bg = "#f0dfaf"
warning_fg = "#111111"
critical_bg = "#fcace3"
critical_fg = "#111111"
separator = "░"
# separator = "█"
separator_fg = "#ffffff"
separator_bg = "#111111"

View file

@ -1,15 +0,0 @@
idle_bg = "#080808"
idle_fg = "#b2b2b2"
good_fg = "#8cc85f"
info_fg = "#79dac8"
warning_fg = "#e3c78a"
critical_bg = "#ff5189"
critical_fg = "#080808"
separator = "/"
separator_fg = "#b2b2b2"
separator_bg = "#080808"

View file

@ -1,14 +0,0 @@
# Default
profile {
output eDP-1 enable
}
# Home
profile {
output eDP-1 enable enable position -1920,960
output "LG Electronics LG HDR 4K 0x00000CA7" enable mode 3840x2160 position 0,0
}
# Work
profile {
output eDP-1 enable position 0,1200
output "Samsung Electric Company LF24T450G HNMTA01726" enable mode 1920x1200 position 0,0
}

View file

@ -1 +0,0 @@
font=Hack 9

View file

@ -1 +0,0 @@
hwdec=auto

View file

@ -1,8 +0,0 @@
configuration {
modi: "drun,ssh,run,combi";
font: "Hack 11";
combi-modi: "drun,ssh";
terminal: "foot";
}
//@theme "DarkBlue"
@theme "gruvbox-dark-hard"

View file

@ -1,18 +0,0 @@
set $colorFG #dcdccc
set $colorBG #111111
set $color00 #222222
set $color01 #cc9393
set $color02 #7f9f7f
set $color03 #d0bf8f
set $color04 #6ca0a3
set $color05 #dc8cc3
set $color06 #93e0e3
set $color07 #dcdccc
set $color10 #666666
set $color11 #dca3a3
set $color12 #bfebbf
set $color13 #f0dfaf
set $color14 #8cd0d3
set $color15 #fcace3
set $color16 #b3ffff
set $color17 #ffffff

View file

@ -1,362 +0,0 @@
# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.
### Variables
#
# Logo key. Use Mod1 for Alt.
set $mod Mod4
# Home row direction keys, like vim
set $left h
set $down j
set $up k
set $right l
# Your preferred terminal emulator
set $term foot
set $floatterm foot --app-id floating-foot
set $lock $HOME/.config/sway/lock.sh
# Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
set $menu rofi -show combi | xargs swaymsg exec --
### Output configuration
#
# Default wallpaper (more resolutions are available in /run/current-system/sw/share/backgrounds/sway/)
# output * bg /run/current-system/sw/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
output * bg /home/grue/Pictures/tiles/23.png tile
# output * bg /home/grue/Pictures/paper.jpg fill
#
# Example configuration:
#
# output HDMI-A-1 resolution 1920x1080 position 1920,0
#
# You can get the names of your outputs by running: swaymsg -t get_outputs
### Idle configuration
#
# Example configuration:
#
exec swayidle -w \
timeout 300 $lock \
timeout 303 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
before-sleep $lock
#
# This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 300 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep.
### Input configuration
#
# Example configuration:
#
input type:touchpad {
accel_profile adaptive
click_method clickfinger
dwt enabled
dwtp enabled
middle_emulation enabled
}
input type:keyboard {
xkb_layout "us,ru"
xkb_options "caps:ctrl_modifier,grp:alt_space_toggle"
}
#
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section.
focus_follows_mouse yes
# mouse_warping container
seat * hide_cursor 5000
### Key bindings
#
# Basics:
#
# Start a terminal
bindsym --to-code $mod+Return exec $term
# start a floating terminal
bindsym --to-code $mod+Shift+Return exec $floatterm
for_window [app_id="floating-foot"] floating enable
# Start a python shell
bindsym --to-code $mod+z exec $floatterm python
# Kill focused window
bindsym --to-code $mod+Shift+q kill
# Start your launcher
bindsym --to-code $mod+d exec $menu
# Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod.
# Despite the name, also works for non-floating windows.
# Change normal to inverse to use left mouse button for resizing and right
# mouse button for dragging.
floating_modifier $mod normal
# Reload the configuration file
bindsym --to-code $mod+Shift+c reload
# Exit sway (logs you out of your Wayland session)
bindsym --to-code $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
# Brightness
bindsym --to-code --locked XF86MonBrightnessDown exec "brightnessctl set 5%-"
bindsym --to-code --locked XF86MonBrightnessUp exec "brightnessctl set +5%"
# Volume
bindsym --to-code --locked XF86AudioRaiseVolume exec 'pamixer -i 1'
bindsym --to-code --locked XF86AudioLowerVolume exec 'pamixer -d 1'
bindsym --to-code --locked XF86AudioMute exec 'pamixer -t'
# Screen locking
bindsym --to-code $mod+Delete exec $lock
# Screenshots
bindsym --to-code Print exec 'grim -g "$(slurp)" - | wl-copy'
bindsym --to-code $mod+p exec 'grim -g "$(slurp)" - | wl-copy'
bindsym --to-code $mod+Print exec 'grim -g "$(slurp)" ~/Pictures/$(date +"%Y-%m-%d-%H-%M-%S").png'
bindsym --to-code $mod+Mod1+p exec 'grim -g "$(slurp)" ~/Pictures/$(date +"%Y-%m-%d-%H-%M-%S").png'
# Notifications
bindsym --to-code $mod+m exec 'makoctl dismiss -a'
bindsym --to-code $mod+Shift+m exec 'makoctl restore'
# Check mail
bindsym --to-code $mod+n exec 'systemctl --user start mbsync.service'
#
# Moving around:
#
# Move your focus around
bindsym --to-code $mod+$left focus left
bindsym --to-code $mod+$down focus down
bindsym --to-code $mod+$up focus up
bindsym --to-code $mod+$right focus right
# Or use $mod+[up|down|left|right]
bindsym --to-code $mod+Left focus left
bindsym --to-code $mod+Down focus down
bindsym --to-code $mod+Up focus up
bindsym --to-code $mod+Right focus right
# Move the focused window with the same, but add Shift
bindsym --to-code $mod+Shift+$left move left
bindsym --to-code $mod+Shift+$down move down
bindsym --to-code $mod+Shift+$up move up
bindsym --to-code $mod+Shift+$right move right
# Ditto, with arrow keys
bindsym --to-code $mod+Shift+Left move left
bindsym --to-code $mod+Shift+Down move down
bindsym --to-code $mod+Shift+Up move up
bindsym --to-code $mod+Shift+Right move right
#
# Workspaces:
#
# define outputs
set $builtin_out eDP-1
set $home_out DP-8
# bind workspaces to inputs
workspace 1 output $home_out $builtin_out
workspace 2 output $home_out $builtin_out
workspace 3 output $home_out $builtin_out
workspace 4 output $home_out $builtin_out
workspace 5 output $home_out $builtin_out
workspace 6 output $home_out $builtin_out
workspace 7 output $home_out $builtin_out
workspace 8 output $home_out $builtin_out
workspace 9 output $home_out $builtin_out
workspace 10 output $home_out $builtin_out
workspace 11 output $builtin_out
workspace 12 output $builtin_out
workspace 13 output $builtin_out
workspace 14 output $builtin_out
workspace 15 output $builtin_out
workspace 16 output $builtin_out
workspace 17 output $builtin_out
workspace 18 output $builtin_out
workspace 19 output $builtin_out
workspace 20 output $builtin_out
# move workspace between inputs
bindsym $mod+Mod1+Left move workspace to output left
bindsym $mod+Mod1+Right move workspace to output right
bindsym $mod+Mod1+Up move workspace to output up
bindsym $mod+Mod1+Down move workspace to output down
# Switch to workspace
bindsym --to-code $mod+1 workspace number 1
bindsym --to-code $mod+2 workspace number 2
bindsym --to-code $mod+3 workspace number 3
bindsym --to-code $mod+4 workspace number 4
bindsym --to-code $mod+5 workspace number 5
bindsym --to-code $mod+6 workspace number 6
bindsym --to-code $mod+7 workspace number 7
bindsym --to-code $mod+8 workspace number 8
bindsym --to-code $mod+9 workspace number 9
bindsym --to-code $mod+0 workspace number 10
# Move focused container to workspace
bindsym --to-code $mod+Shift+1 move container to workspace number 1
bindsym --to-code $mod+Shift+2 move container to workspace number 2
bindsym --to-code $mod+Shift+3 move container to workspace number 3
bindsym --to-code $mod+Shift+4 move container to workspace number 4
bindsym --to-code $mod+Shift+5 move container to workspace number 5
bindsym --to-code $mod+Shift+6 move container to workspace number 6
bindsym --to-code $mod+Shift+7 move container to workspace number 7
bindsym --to-code $mod+Shift+8 move container to workspace number 8
bindsym --to-code $mod+Shift+9 move container to workspace number 9
bindsym --to-code $mod+Shift+0 move container to workspace number 10
# Switch to workspace
bindsym --to-code $mod+Mod1+1 workspace number 11
bindsym --to-code $mod+Mod1+2 workspace number 12
bindsym --to-code $mod+Mod1+3 workspace number 13
bindsym --to-code $mod+Mod1+4 workspace number 14
bindsym --to-code $mod+Mod1+5 workspace number 15
bindsym --to-code $mod+Mod1+6 workspace number 16
bindsym --to-code $mod+Mod1+7 workspace number 17
bindsym --to-code $mod+Mod1+8 workspace number 18
bindsym --to-code $mod+Mod1+9 workspace number 19
bindsym --to-code $mod+Mod1+0 workspace number 20
# Move focused container to workspace
bindsym --to-code $mod+Mod1+Shift+1 move container to workspace number 11
bindsym --to-code $mod+Mod1+Shift+2 move container to workspace number 12
bindsym --to-code $mod+Mod1+Shift+3 move container to workspace number 13
bindsym --to-code $mod+Mod1+Shift+4 move container to workspace number 14
bindsym --to-code $mod+Mod1+Shift+5 move container to workspace number 15
bindsym --to-code $mod+Mod1+Shift+6 move container to workspace number 16
bindsym --to-code $mod+Mod1+Shift+7 move container to workspace number 17
bindsym --to-code $mod+Mod1+Shift+8 move container to workspace number 18
bindsym --to-code $mod+Mod1+Shift+9 move container to workspace number 19
bindsym --to-code $mod+Mod1+Shift+0 move container to workspace number 20
# Note: workspaces can have any name you want, not just numbers.
# We just use 1-10 as the default.
#
# Layout stuff:
#
# You can "split" the current object of your focus with
# $mod+b or $mod+v, for horizontal and vertical splits
# respectively.
bindsym --to-code $mod+b splith
bindsym --to-code $mod+v splitv
# Switch the current container between different layout styles
bindsym --to-code $mod+s layout stacking
bindsym --to-code $mod+w layout tabbed
bindsym --to-code $mod+e layout toggle split
# Make the current focus fullscreen
bindsym --to-code $mod+f fullscreen
# Toggle the current focus between tiling and floating mode
bindsym --to-code $mod+Shift+space floating toggle
# Swap focus between the tiling area and the floating area
bindsym --to-code $mod+space focus mode_toggle
# Move focus to the parent container
bindsym --to-code $mod+a focus parent
bindsym --to-code $mod+Shift+a focus child
#
# Scratchpad:
#
# Sway has a "scratchpad", which is a bag of holding for windows.
# You can send windows there and get them back later.
# Move the currently focused window to the scratchpad
bindsym --to-code $mod+Shift+minus move scratchpad
# Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them.
bindsym --to-code $mod+minus scratchpad show
#
# Resizing containers:
#
mode "resize" {
# left will shrink the containers width
# right will grow the containers width
# up will shrink the containers height
# down will grow the containers height
bindsym --to-code $left resize shrink width 30px
bindsym --to-code $down resize grow height 30px
bindsym --to-code $up resize shrink height 30px
bindsym --to-code $right resize grow width 30px
# Ditto, with arrow keys
bindsym --to-code Left resize shrink width 10px
bindsym --to-code Down resize grow height 10px
bindsym --to-code Up resize shrink height 10px
bindsym --to-code Right resize grow width 10px
# Return to default mode
bindsym --to-code Return mode "default"
bindsym --to-code Escape mode "default"
}
bindsym --to-code $mod+r mode "resize"
## Styling: colors
include colors
## Window styling
# Border BG Text Indicator Child Border
client.focused $color06 $color06 $color00 $color07 $color06
#client.focused_inactive $color00 $color00 $color00 $color00 $color00
#
# Status Bar:
#
# Read `man 5 sway-bar` for more information about this section.
bar {
position top
font pango:Ttyp0 8
icon_theme "Adwaita"
status_command /run/current-system/sw/bin/i3status-rs
colors {
background $colorBG
separator $color05
# statusline $color15
# STATE Border BG Text
focused_workspace $color06 $color06 $color00
}
}
# default border
default_border pixel 2
# Set font
font pango:Ttyp0 8
# bindsym --to-code $mod+t input type:touchpad toggle
# Startup applications
exec nextcloud --background
exec iwgtk -i
exec blueman-applet
# exec wlsunset -l 52 -L 5
exec gammastep-indicator
exec kanshi
# exec udiskie --tray --no-automount
# window rules
# floating
for_window [app_id="imv"] floating enable; border normal
for_window [app_id="org.twosheds.iwgtk"] floating enable; border normal
for_window [app_id=".blueman-manager-wrapped"] floating enable; border normal
for_window [app_id="com.nextcloud.desktopclient.nextcloud"] floating enable; border normal
# tabbed containers
for_window [app_id="CubicSDR"] layout tabbed
for_window [app_id="org.wireshark.Wireshark"] layout tabbed
for_window [app_id="zoom" title="^zoom$"] border none, floating enable
# For specific Zoom windows
for_window [app_id="zoom" title="^(Zoom|About)$"] border pixel, floating enable
for_window [app_id="zoom" title="Settings"] floating enable, floating_minimum_size 960 x 700
# Open Zoom Meeting windows on a new workspace (a bit hacky)
for_window [app_id="zoom" title="Zoom Meeting(.*)?"] workspace next_on_output --create, move container to workspace current, floating disable, inhibit_idle open
# kill firefox sharing indicator
for_window [app_id="firefox" title="Firefox — Sharing Indicator"] kill
# fix picture-in-picture behaviour
for_window [app_id="firefox" title="Picture-in-Picture"] floating enable, sticky enable, border none
include ./config.d/*
include /etc/sway/config.d/*

Binary file not shown.

Before

Width:  |  Height:  |  Size: 503 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

View file

@ -1,13 +0,0 @@
#!/usr/bin/env bash
img="$HOME/Pictures/paper.jpg"
#grim $img
#gm convert $img -scale 5% -scale 2000% $img
#gm convert $img -blur 0x10 $img
# swaylock -Ffk -i $img -s fill
# swaylock -Ffk -i $HOME/Pictures/tiles/156.png -s tile
swaylock -Ffk -i $HOME/Pictures/tiles/23.png -s tile
# swaylock -Ffk -i $HOME/Pictures/tiles/10.png -s tile
#rm -f $img

View file

@ -1,18 +0,0 @@
set $colorFG #b2b2b2
set $colorBG #080808
set $color00 #323437
set $color01 #ff5454
set $color02 #8cc85f
set $color03 #e3c78a
set $color04 #80a0ff
set $color05 #d183e8
set $color06 #79dac8
set $color07 #c6c6c6
set $color10 #949494
set $color11 #ff5189
set $color12 #36c692
set $color13 #c2c292
set $color14 #74b2ff
set $color15 #ae81ff
set $color16 #85dc85
set $color17 #e4e4e4

Binary file not shown.

Before

Width:  |  Height:  |  Size: 527 KiB

View file

@ -1,6 +0,0 @@
default partial alphanumeric_keys
xkb_symbols "basic" {
include "us(basic)"
name[Group1] = "English 65% tilde";
key <ESC> {[ Escape, asciitilde ]};
};

View file

@ -1 +0,0 @@
set selection-clipboard clipboard