diff --git a/.Xdefaults b/.Xdefaults index 8ad0fce..7f5897b 100755 --- a/.Xdefaults +++ b/.Xdefaults @@ -1,7 +1,7 @@ Rxvt*background: black Rxvt*foreground: green Rxvt*geometry: 80x40 -Rxvt*font: "Courier New" +Rxvt*font: "Courier New" Rxvt*scrollBar_right: true Rxvt*termName: ansi Rxvt*print-pipe: lpr -P HPLaserJet diff --git a/.bash_profile b/.bash_profile index a00d4d5..6427d39 100755 --- a/.bash_profile +++ b/.bash_profile @@ -1,8 +1,5 @@ #!/bin/sh -# This tells the system what terminal you are using or emulating. We do -# support a number of terminals and can infact support more. For more -# ideas, you can look in /usr/lib/terminfo. Default TTY is typically a -# DEC vt100. +# This tells the system what terminal you are using or emulating. export TERM="xterm-256color" # stty (Set TTY) sets up your TTY. Note, if you have problems with @@ -11,60 +8,61 @@ export TERM="xterm-256color" # and then hit your backspace key. stty erase '^?' echoe -# Shell options +# Strip exe from completion shopt -s completion_strip_exe +# AutoCD up with '..' +shopt -s autocd + +# Append history +#shopt -s histappend +#PROMPT_COMMAND="history -a;$PROMPT_COMMAND" + # Ignore list for filename completion export FIGNORE=".dll:.cpl" -# PATH -export PATH="/usr/sbin:~/bin:$PATH:." - -# LANGUAGE +# Variables +export DISPLAY="localhost:0.0" +export EDITOR="nano" export LANG="en_GB" - -# Timezone from /usr/share/zoneinfo +export LESS="-iRM" +export LYNX_CFG="~/.lynx/lynx.cfg" +export PATH="/usr/sbin:~/bin:$PATH:." export TZ="Europe/Oslo" -# Other variables -export LYNX_CFG="~/.lynx/lynx.cfg" -export EDITOR="nano" -export DISPLAY="localhost:0.0" -export LESS="-iRM" - -# Prompt with Git -export PS1='\n\033[32m\]\u@\h \[\033[33m\w\033[0m\]$(__git_ps1 " (%s)")\n\$ ' - # Aliases -alias ls="ls --color=auto --group-directories-first" -alias dir="ls -la" -alias ll="ls -l" -alias la="ls -la" -alias rm="rm -i" -alias mv="mv -i" -alias cp="cp -i" -alias del="rm -i" +alias bb="ssh -t tty.sdf.org bboard" alias cd..="cd .." -alias grep="grep --color" -alias start="cygstart" -alias keychaininit="eval \$(keychain --eval)" -alias sublime="cygstart /cygdrive/d/bin/Sublime/sublime_text.exe" -alias npp="cygstart /cygdrive/d/bin/Notepad++/notepad++.exe" -alias gl="git log --oneline --all --graph --decorate" -alias gs="git status" -alias gw="git whatchanged" +alias cls="printf '\ec'" # Clear screen+scrollback +alias cp="cp -i" alias cyg-get="/cygdrive/e/Install/Cygwin/setup-x86_64.exe -qn -P" alias cyg-update="/cygdrive/e/Install/Cygwin/setup-x86_64.exe -qng" -alias bb="ssh -t tty.sdf.org bboard" -alias sudo="elevate -k" "$@" # https://code.kliu.org/misc/elevate/ +alias del="rm -i" +alias dir="ls -la" +alias ga="git add -A" +alias gc="git commit" +alias gl="git log --oneline --all --graph --decorate" +alias grep="grep --color" +alias gs="git status" +alias gw="git whatchanged" +alias keychaininit="eval \$(keychain --eval)" +alias la="ls -la" +alias ll="ls -l" +alias ls="ls --color=auto --group-directories-first" +alias mv="mv -i" +alias npp="cygstart /cygdrive/d/bin/Notepad++/notepad++.exe" alias pastebin="pb" # https://tildegit.org/tomasino/pb +alias rm="rm -i" alias shn="pb -u" -alias cls="printf '\ec'" # Clear screen+scrollback +alias start="cygstart" +alias sublime="cygstart /cygdrive/d/bin/Sublime/sublime_text.exe" +alias sudo="elevate -k" "$@" # https://code.kliu.org/misc/elevate/ -# Git +# Git Prompt source /usr/share/git-core/git-prompt.sh +export PS1='\n\033[32m\]\u@\h \[\033[33m\w\033[0m\]$(__git_ps1 " (%s)")\n\$ ' -# ls colors +# Dircolors #eval $(dircolors -b $HOME/.config/dircolors/dircolors.monokai) # Keychain for SSH Agent diff --git a/.config/configstore/update-notifier-npm.json b/.config/configstore/update-notifier-npm.json deleted file mode 100755 index 23ba477..0000000 --- a/.config/configstore/update-notifier-npm.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "optOut": false, - "lastUpdateCheck": 1626534101352 -} \ No newline at end of file diff --git a/.config/mc/ini b/.config/mc/ini index db41246..7b27894 100755 --- a/.config/mc/ini +++ b/.config/mc/ini @@ -100,7 +100,7 @@ menubar_visible=true free_space=true horizontal_split=false vertical_equal=true -left_panel_size=106 +left_panel_size=79 horizontal_equal=true top_panel_size=1 diff --git a/.config/tidy/tidy.cfg b/.config/tidy/tidy.cfg new file mode 100755 index 0000000..7aa6f3f --- /dev/null +++ b/.config/tidy/tidy.cfg @@ -0,0 +1,26 @@ +// sample config file for HTML tidy +break-before-br: no +char-encoding: UTF8 +indent-spaces: 2 +indent: auto +input-xml: no +markup: yes +numeric-entities: no +output-xml: no +preserve-entities: yes +quote-ampersand: no +quote-marks: no +quote-nbsp: no +show-warnings: yes +sort-attributes: alpha +tidy-mark: no +uppercase-attributes: no +uppercase-tags: no +vertical-space: auto +wrap: 125 +new-inline-tags: td, cfif, cfelse, math, mroot, + mrow, mi, mn, mo, msqrt, mfrac, msubsup, munderover, + munder, mover, mmultiscripts, msup, msub, mtext, + mprescripts, mtable, mtr, mtd, mth +new-blocklevel-tags: section, header, cfoutput, cfquery +new-empty-tags: cfelse \ No newline at end of file diff --git a/.elinks/globhist b/.elinks/globhist new file mode 100755 index 0000000..e69de29 diff --git a/.elinks/gotohist b/.elinks/gotohist new file mode 100755 index 0000000..e69de29 diff --git a/.inputrc b/.inputrc index a75dcbd..7b84ccc 100755 --- a/.inputrc +++ b/.inputrc @@ -8,20 +8,26 @@ set completion-ignore-case on # disable/enable 8bit input #set meta-flag on #set input-meta on -#set output-meta on -#set convert-meta on +#set convert-meta off +#set output-meta off -# History-seach -"\e[A": history-search-backward # Arrow-up -"\e[B": history-search-forward # Arrow-down +"\e[1~": beginning-of-line # Home +"\e[4~": end-of-line # End +"\e[5~": beginning-of-history # PageUp +"\e[6~": end-of-history # PageDown +"\e[2~": overwrite-mode # Insert +"\eOC": forward-word # Ctrl-Right +"\eOD": backward-word # Ctrl-Left +"\e[3;5~": kill-word # Ctrl-Del - delete word to the right -"\e[1;5C": forward-word # Ctrl-Left -"\e[1;5D": backward-word # Ctrl-Right +"\e[A": history-search-backward # ArrowUp +"\e[B": history-search-forward # ArrowDown -"\e[3;5~": kill-word # Ctrl-Del - delete word to the right +#"\33\33[A": "cd ..\n" # Alt-UpArrow for 'cd ..' +#"\33\33[B": "cd -\n" # Alt-ArrowDown for previous dir -#"\C-k": "\C-e\C-uecho -e \"\\033c\\c\"\n" # Ctrl-K - resets the terminal (commented, I prefer binding below) -"\C-k": "\C-e\C-u" # Ctrl-K - clears the input line regardless of cursor pos +"\e[1;3A": "cd ..\n" # Alt-UpArrow for 'cd ..' +"\e[1;3B": "cd -\n" # Alt-ArrowDown for previous dir -"\e[5~": beginning-of-history # Page up -"\e[6~": end-of-history # Page down +# Ctrl-K - clears the input line regardless of cursor pos +"\C-k": "\C-e\C-u" diff --git a/.irssi/config b/.irssi/config index 644522b..f3323f7 100755 --- a/.irssi/config +++ b/.irssi/config @@ -1,18 +1,53 @@ +settings = { + core = { + real_name = "Stian"; + user_name = "Pathduck"; + nick = "pathduck"; + }; + "fe-text" = { actlist_sort = "refnum"; }; + "fe-common/core" = { + max_command_history = "100"; + window_history = "yes"; + theme = "greenSCPleo"; + }; +}; +keyboard = ( { key = "^R"; id = "command"; data = "history_search"; } ); + servers = ( { address = "irc.dal.net"; chatnet = "DALnet"; port = "6667"; }, - { address = "irc.efnet.org"; chatnet = "EFNet"; port = "6667"; }, - { address = "irc.esper.net"; chatnet = "EsperNet"; port = "6667"; }, - { - address = "chat.freenode.net"; - chatnet = "Freenode"; - port = "6667"; + { + address = "ssl.efnet.org"; + chatnet = "EFNet"; + port = "9999"; + use_tls = "yes"; + tls_verify = "no"; + }, + { + address = "irc.esper.net"; + chatnet = "EsperNet"; + port = "6697"; + use_tls = "yes"; + tls_verify = "yes"; + }, + { + address = "irc.libera.chat"; + chatnet = "liberachat"; + port = "6697"; + use_tls = "yes"; + tls_verify = "yes"; }, { address = "irc.gamesurge.net"; chatnet = "GameSurge"; port = "6667"; }, - { address = "eu.irc6.net"; chatnet = "IRCnet"; port = "6667"; }, + { + address = "ssl.ircnet.ovh"; + chatnet = "IRCnet"; + port = "6697"; + use_tls = "yes"; + tls_verify = "yes"; + }, { address = "open.ircnet.net"; chatnet = "IRCnet"; port = "6667"; }, { address = "irc.ircsource.net"; @@ -20,21 +55,39 @@ servers = ( port = "6667"; }, { address = "irc.netfuze.net"; chatnet = "NetFuze"; port = "6667"; }, - { address = "irc.oftc.net"; chatnet = "OFTC"; 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 = "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 = "irc.sdf.org"; chatnet = "SDF"; port = "6667"; }, - + { + address = "irc.sdf.org"; + chatnet = "SDF"; + port = "6667"; + use_tls = "no"; + tls_verify = "yes"; + starttls = "yes"; + } ); chatnets = { @@ -56,7 +109,7 @@ chatnets = { max_msgs = "4"; max_whois = "1"; }; - Freenode = { + liberachat = { type = "IRC"; max_kicks = "1"; max_msgs = "4"; @@ -109,21 +162,13 @@ chatnets = { SDF = { type = "IRC"; nick = "stian"; }; }; -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"; } +channels = ( + { name = "#lobby"; chatnet = "EsperNet"; 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}\")\\;}"; + ADDALLCHANS = "SCRIPT EXEC foreach my \\$channel (Irssi::channels()) { Irssi::command(\"CHANNEL ADD -auto \\$channel->{visible_name} \\$channel->{server}->{tag} \\$channel->{key}\")\\;}"; B = "BAN"; BACK = "AWAY"; BANS = "BAN"; @@ -131,7 +176,7 @@ aliases = { 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"; - CUBES = "SCRIPT EXEC Irssi::active_win->print(\"%_bases\", MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print( do { join '', map { \"%x0\\${_}0\\$_\" } '0'..'9','A'..'F' }, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print(\"%_cubes\", MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print( do { my \\$y = \\$_*6 \\; join '', map { my \\$x = \\$_ \\; map { \"%x\\$x\\$_\\$x\\$_\" } @{['0'..'9','A'..'Z']}[\\$y .. \\$y+5] } 1..6 }, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) for 0..5 \\; Irssi::active_win->print(\"%_grays\", MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print( do { join '', map { \"%x7\\${_}7\\$_\" } 'A'..'X' }, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print(\"%_mIRC extended colours\", MSGLEVEL_CLIENTCRAP) \\; my \\$x \\; \\$x .= sprintf \"\00399,%02d%02d\",\\$_,\\$_ for 0..15 \\; Irssi::active_win->print(\\$x, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) \\; for my \\$z (0..6) { my \\$x \\; \\$x .= sprintf \"\00399,%02d%02d\",\\$_,\\$_ for 16+(\\$z*12)..16+(\\$z*12)+11 \\; Irssi::active_win->print(\\$x, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) }"; + CS = "QUOTE CS"; DATE = "TIME"; DEHIGHLIGHT = "DEHILIGHT"; DESCRIBE = "ACTION"; @@ -150,9 +195,12 @@ aliases = { LAST = "LASTLOG"; LEAVE = "PART"; M = "MSG"; + MS = "QUOTE MS"; MUB = "UNBAN *"; N = "NAMES"; NMSG = "^MSG"; + NS = "QUOTE NS"; + OS = "QUOTE OS"; P = "PART"; Q = "QUERY"; RESET = "SET -default"; @@ -160,8 +208,9 @@ aliases = { SAY = "MSG *"; SB = "SCROLLBACK"; SBAR = "STATUSBAR"; + SHELP = "QUOTE HELP"; SIGNOFF = "QUIT"; - SV = "MSG * Irssi $J ($V) - http://www.irssi.org"; + SV = "MSG * Irssi $J ($V) - https://irssi.org"; T = "TOPIC"; UB = "UNBAN"; UMODE = "MODE $N"; @@ -176,106 +225,6 @@ aliases = { WN = "WINDOW NEW HIDDEN"; WQUERY = "QUERY -window"; WW = "WHOWAS"; - 1 = "WINDOW GOTO 1"; - 2 = "WINDOW GOTO 2"; - 3 = "WINDOW GOTO 3"; - 4 = "WINDOW GOTO 4"; - 5 = "WINDOW GOTO 5"; - 6 = "WINDOW GOTO 6"; - 7 = "WINDOW GOTO 7"; - 8 = "WINDOW GOTO 8"; - 9 = "WINDOW GOTO 9"; - 10 = "WINDOW GOTO 10"; - 11 = "WINDOW GOTO 11"; - 12 = "WINDOW GOTO 12"; - 13 = "WINDOW GOTO 13"; - 14 = "WINDOW GOTO 14"; - 15 = "WINDOW GOTO 15"; - 16 = "WINDOW GOTO 16"; - 17 = "WINDOW GOTO 17"; - 18 = "WINDOW GOTO 18"; - 19 = "WINDOW GOTO 19"; - 20 = "WINDOW GOTO 20"; - 21 = "WINDOW GOTO 21"; - 22 = "WINDOW GOTO 22"; - 23 = "WINDOW GOTO 23"; - 24 = "WINDOW GOTO 24"; - 25 = "WINDOW GOTO 25"; - 26 = "WINDOW GOTO 26"; - 27 = "WINDOW GOTO 27"; - 28 = "WINDOW GOTO 28"; - 29 = "WINDOW GOTO 29"; - 30 = "WINDOW GOTO 30"; - 31 = "WINDOW GOTO 31"; - 32 = "WINDOW GOTO 32"; - 33 = "WINDOW GOTO 33"; - 34 = "WINDOW GOTO 34"; - 35 = "WINDOW GOTO 35"; - 36 = "WINDOW GOTO 36"; - 37 = "WINDOW GOTO 37"; - 38 = "WINDOW GOTO 38"; - 39 = "WINDOW GOTO 39"; - 40 = "WINDOW GOTO 40"; - 41 = "WINDOW GOTO 41"; - 42 = "WINDOW GOTO 42"; - 43 = "WINDOW GOTO 43"; - 44 = "WINDOW GOTO 44"; - 45 = "WINDOW GOTO 45"; - 46 = "WINDOW GOTO 46"; - 47 = "WINDOW GOTO 47"; - 48 = "WINDOW GOTO 48"; - 49 = "WINDOW GOTO 49"; - 50 = "WINDOW GOTO 50"; - 51 = "WINDOW GOTO 51"; - 52 = "WINDOW GOTO 52"; - 53 = "WINDOW GOTO 53"; - 54 = "WINDOW GOTO 54"; - 55 = "WINDOW GOTO 55"; - 56 = "WINDOW GOTO 56"; - 57 = "WINDOW GOTO 57"; - 58 = "WINDOW GOTO 58"; - 59 = "WINDOW GOTO 59"; - 60 = "WINDOW GOTO 60"; - 61 = "WINDOW GOTO 61"; - 62 = "WINDOW GOTO 62"; - 63 = "WINDOW GOTO 63"; - 64 = "WINDOW GOTO 64"; - 65 = "WINDOW GOTO 65"; - 66 = "WINDOW GOTO 66"; - 67 = "WINDOW GOTO 67"; - 68 = "WINDOW GOTO 68"; - 69 = "WINDOW GOTO 69"; - 70 = "WINDOW GOTO 70"; - 71 = "WINDOW GOTO 71"; - 72 = "WINDOW GOTO 72"; - 73 = "WINDOW GOTO 73"; - 74 = "WINDOW GOTO 74"; - 75 = "WINDOW GOTO 75"; - 76 = "WINDOW GOTO 76"; - 77 = "WINDOW GOTO 77"; - 78 = "WINDOW GOTO 78"; - 79 = "WINDOW GOTO 79"; - 80 = "WINDOW GOTO 80"; - 81 = "WINDOW GOTO 81"; - 82 = "WINDOW GOTO 82"; - 83 = "WINDOW GOTO 83"; - 84 = "WINDOW GOTO 84"; - 85 = "WINDOW GOTO 85"; - 86 = "WINDOW GOTO 86"; - 87 = "WINDOW GOTO 87"; - 88 = "WINDOW GOTO 88"; - 89 = "WINDOW GOTO 89"; - 90 = "WINDOW GOTO 90"; - 91 = "WINDOW GOTO 91"; - 92 = "WINDOW GOTO 92"; - 93 = "WINDOW GOTO 93"; - 94 = "WINDOW GOTO 94"; - 95 = "WINDOW GOTO 95"; - 96 = "WINDOW GOTO 96"; - 97 = "WINDOW GOTO 97"; - 98 = "WINDOW GOTO 98"; - 99 = "WINDOW GOTO 99"; - SDF = "/connect irc.sdf.org"; }; statusbar = { @@ -298,7 +247,7 @@ statusbar = { prompt_empty = "{prompt $winname}"; topic = " $topic"; - topic_empty = " Irssi v$J - http://www.irssi.org"; + topic_empty = " Irssi v$J - https://irssi.org"; lag = "{sb Lag: $0-}"; act = "{sb Act: $0-}"; @@ -374,16 +323,3 @@ statusbar = { }; }; }; -settings = { - core = { - real_name = "Stian"; - user_name = "Pathduck"; - nick = "pathduck"; - }; - "fe-text" = { actlist_sort = "refnum"; }; - "fe-common/core" = { - max_command_history = "100"; - window_history = "yes"; - }; -}; -keyboard = ( { key = "^R"; id = "command"; data = "history_search"; } ); diff --git a/.irssi/greenSCPleo.theme b/.irssi/greenSCPleo.theme new file mode 100755 index 0000000..790b09d --- /dev/null +++ b/.irssi/greenSCPleo.theme @@ -0,0 +1,250 @@ +# Irssi 0.8.6 - }{pt0 @irc.ptnet.org +# Congrats for marmot and his IamCyan Theme +# and to SCP for inspiring me :P + + +replaces = { }; + +abstracts = { + ## + ## generic + ## + + # text to insert at the beginning of each non-message line + line_start = "%g<%c*%g> "; + + # timestamp styling, nothing by default + # any timestamp is bright green + timestamp = "%g$0"; + # any kind of text that needs hilighting, default is to bold + hilight = "$0"; + + # any kind of error message, default is bright red + error = "%R$0-%n"; + + # channel name is printed + channel = "%c$0-%n"; + + # nick is printed + nick = "%_$0-%_"; + + # nick host is printed + nickhost = "[$0-]"; + + # server name is printed + server = "$0-"; + + # some kind of comment is printed + comment = "[$0-]"; + + # reason for something is printed (part, quit, kick, ..) + reason = "[$0-]"; + + # mode change is printed ([+o nick]) + mode = "%_($0-)%_"; + + ## + ## channel specific messages + ## + + # highlighted nick/host is printed (joins) + channick_hilight = "%g$0-%n"; + chanhost_hilight = "{nickhost %g$0-%n}"; + + # nick/host is printed (parts, quits, etc.) + channick = "%g$0-%n"; + chanhost = "{nickhost %g$0-%n}"; + + # highlighted channel name is printed + channelhilight = "%_$0-%_"; + + # ban/ban exception/invite list mask is printed + ban = "$0-"; + + ## + ## messages + ## + + # the basic styling of how to print message, $0 = nick mode, $1 = nick + msgnick = "%G<%G%_$0%_%c$1-%G>%n %|"; + + # message from you is printed. "msgownnick" 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-%K}%n"; + # ownprivmsgnick = "%K{msgnick $0-%K}%n"; + # privmsgnick = "%K{msgnick %R$0-%K}%n"; + + # $0 = nick mode, $1 = nick + ownmsgnick = "%W<%n%_%_%C$1%n%W>%n%c %|"; + ownnick = "$0-"; + + # public message in channel, $0 = nick mode, $1 = nick + pubmsgnick = "{msgnick $0 $1-}"; + pubnick = "$0-"; + + # public message in channel meant for me, $0 = nick mode, $1 = nick + pubmsgmenick = "%Y<$0$1-> %|"; + menick = "$0-"; + + # public highlighted message in channel + # $0 = highlight color, $1 = nick mode, $2 = nick + pubmsghinick = "%Y<$1$2-> %|"; + + # channel name is printed with message + msgchannel = "%w|%c$0-"; + + # private message, $0 = nick, $1 = host + privmsg = "<-%c$0%n[%C$1%n] "; + + # private message from you, $0 = "msg", $1 = target nick + ownprivmsg = "->[%c$1-%n] $0"; + + # own private message in query + ownprivmsgnick = "%B<%n%_$0%_%C$1%B>%n%_ %|"; + ownprivnick = "$0-"; + + # private message in query + privmsgnick = "{msgnick %C$0-%n}"; + + ## + ## Actions (/ME stuff) + ## + + # used internally by this theme + action_core = "%g $0-"; + + # generic one that's used by most actions + action = "{action_core $0-} "; + + # own action, both private/public + ownaction = "{action $0-}"; + + # own action with target, both private/public + ownaction_target = "{action_core $0}{msgchannel $1} "; + + # private action sent by others + pvtaction = " %g(*) $0- "; + pvtaction_query = "{action $0-}"; + + # public action sent by others + pubaction = "{action $0-}"; + + + ## + ## other IRC events + ## + + # notices + ownnotice = "-> %gnotice%n[%G$1%n] "; + notice = "<- %Gnotice%n[%g$0%n] "; + pubnotice_channel = "{msgchannel $0}"; + pvtnotice_host = ""; + servernotice = "{notice $0-}"; + + # CTCPs + ownctcp = "-> %b$0%n[%B$1-%n] "; + ctcp = "%B$0-"; + + # wallops + wallop = "%y$0-: %n"; + wallop_nick = "%y$0-%n"; + wallop_action = "%y * $0-%n "; + + # netsplits + netsplit = "%c$0-%n"; + netjoin = "%b$0-%n"; + + # /names list + names_nick = "%c[%_$0%_$1-]%n "; + names_users = "[$0-]"; + names_channel = "{channel $0-}"; + + # DCC + dcc = "$0-"; + dccfile = "%_$0-%_"; + + # DCC chat, own msg/action + dccownmsg = "*%c=$1-%n*> %g"; + dccownaction = "{action $0-}"; + dccownaction_target = "{ownaction_target $0-}"; + + # DCC chat, others + dccmsg = "*%c=$1-%n* "; + dccquerynick = "$0-"; + dccaction = " (*dcc*) $0- %|"; + ## + ## statusbar + ## + + # default background for all statusbars. You can also give + # the default foreground color for statusbar items. + sb_background = "%2%K"; + + # default backround for "default" statusbar group + #sb_default_bg = "%4"; + # background for prompt / input line + #sb_prompt_bg = "%n"; + sb_prompt_bg = "%n"; + # background for info statusbar + #sb_info_bg = "%6"; + sb_info_bg = "%2"; + # background for topicbar (same default) + #sb_topic_bg = "%6%k"; + #sb_topic_fg = "%k"; + sb_topic_fg = "%k"; + + # text at the beginning of statusbars. sb-item already puts + # 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 = " "; + + prompt = "[$*] "; + + sb = " %W[%n$*%W]%n"; + sbmode = "(%W+%n$*)"; + sbaway = " (%GzZzZ%n)"; + sbservertag = ":$0 (change with ^X)"; + + # activity in statusbar + + # ',' separator + sb_act_sep = "%k$*"; + # normal text + sb_act_text = "%k$*"; + # 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"; + + +}; +formats = { + "fe-common/core" = { + join = "%gJoins%n[{channel $2}] %g->%g{channick_hilight $0} {chanhost_hilight $1}"; + part = "%gParts%n[{channel $2}] %g->%g{channick $0} {chanhost $1} {reason $3}"; + kick = "{channick $0} was kicked from {channel $1} by {nick $2} {reason $3}"; + quit = "%cQuits%n %g->%g{channick $0} {chanhost $1} {reason $2}"; + }; + "fe-common/irc" = { + chanmode_change = "mode[{channel $0}] {mode $1} by {nick $2}"; + whois = "{nick $0} {nickhost $1@$2}%: ircname : $3"; + server_chanmode_change = "{netsplit ServerMode}/{channelhilight $0}: {mode $1} by {nick $2}"; + }; +}; + + + diff --git a/.minttyrc b/.minttyrc index 1bbf485..9456e0e 100755 --- a/.minttyrc +++ b/.minttyrc @@ -7,7 +7,7 @@ CursorType=block Locale=nb_NO Charset=UTF-8 Scrollbar=none -Rows=40 +Rows=45 BellFlash=yes CopyAsRTF=no BackspaceSendsBS=yes @@ -19,15 +19,11 @@ BoldBlack=0,43,54 Red=220,50,47 BoldRed=203,75,22 Green=133,153,0 -BoldGreen=88,110,117 Yellow=181,137,0 -BoldYellow=101,123,131 Blue=38,139,210 -BoldBlue=131,148,150 Magenta=211,54,130 -BoldMagenta=108,113,196 Cyan=42,161,152 -BoldCyan=147,161,161 +BoldColour=255,255,255 White=238,232,213 BoldAsFont=no BoldAsColour=no @@ -35,3 +31,4 @@ ThemeFile=base16-monokai-mod.minttyrc FontWeight=400 RightClickAction=paste ScrollMod=shift +Term=xterm-256color diff --git a/.tidyrc b/.tidyrc index d380509..fd37f9a 100755 --- a/.tidyrc +++ b/.tidyrc @@ -52,10 +52,10 @@ merge-spans: auto mute: mute-id: no ncr: yes -new-blocklevel-tags: -new-empty-tags: -new-inline-tags: -new-pre-tags: +new-blocklevel-tags: +new-empty-tags: +new-inline-tags: +new-pre-tags: newline: LF numeric-entities: no omit-optional-tags: no @@ -69,7 +69,7 @@ preserve-entities: no priority-attributes: punctuation-wrap: no quiet: no -quote-ampersand: yes +quote-ampersand: no quote-marks: no quote-nbsp: yes repeated-attributes: keep-last @@ -82,14 +82,14 @@ show-warnings: yes skip-nested: yes sort-attributes: none strict-tags-attributes: no -tab-size: 8 +tab-size: 2 tidy-mark: no uppercase-attributes: no uppercase-tags: no vertical-space: no warn-proprietary-attributes: yes word-2000: no -wrap: 0 +wrap: 120 wrap-asp: yes wrap-attributes: no wrap-jste: yes diff --git a/.wgetrc b/.wgetrc new file mode 100755 index 0000000..57ad4de --- /dev/null +++ b/.wgetrc @@ -0,0 +1 @@ +check_certificate = off