diff options
Diffstat (limited to '')
| -rw-r--r-- | .config/catgirl/libera | 2 | ||||
| -rw-r--r-- | .config/dosbox/dosbox.conf | 2 | ||||
| -rw-r--r-- | .config/dunst/dunstrc | 2 | ||||
| -rw-r--r-- | .config/env | 2 | ||||
| -rw-r--r-- | .config/imv/config | 64 | ||||
| -rw-r--r-- | .config/mutt/accounts/1-gmx_rbo.muttrc | 12 | ||||
| -rw-r--r-- | .config/mutt/accounts/2-gmx_shop.muttrc | 10 | ||||
| -rw-r--r-- | .config/mutt/accounts/3-gmail_br.muttrc | 12 | ||||
| -rw-r--r-- | .config/mutt/accounts/4-gmail_oon.muttrc | 12 | ||||
| -rwxr-xr-x | .config/nnn/plugins/joe_fzfcd | 2 | ||||
| -rwxr-xr-x | .config/nnn/plugins/joe_fzfjump | 20 | ||||
| -rwxr-xr-x | .config/nnn/plugins/joe_rand | 2 | ||||
| -rw-r--r-- | .config/nvim/lua/config/settings.lua | 11 | ||||
| -rw-r--r-- | .config/nvim/lua/plugins/lspkind.lua | 33 | ||||
| -rw-r--r-- | .config/nvim/lua/plugins/lualine.lua | 40 | ||||
| -rw-r--r-- | .config/tremc/settings.cfg | 2 | ||||
| -rw-r--r-- | .config/x11/xinitrc | 8 | ||||
| -rw-r--r-- | .config/zsh/.zshrc | 2 | ||||
| -rw-r--r-- | .config/zsh/alias.zsh | 2 |
19 files changed, 72 insertions, 168 deletions
diff --git a/.config/catgirl/libera b/.config/catgirl/libera index 34e3dca..d78ce38 100644 --- a/.config/catgirl/libera +++ b/.config/catgirl/libera @@ -2,6 +2,6 @@ host = irc.eu.libera.chat nick = jozan cert = libera.pem sasl-external -join = #linux,#freebsd,#archlinux,##chat,#c,#embedded,#neovim,#perl +join = #linux,##chat,#networking timestamp = %H:%M quiet diff --git a/.config/dosbox/dosbox.conf b/.config/dosbox/dosbox.conf index 955c1f9..a70b87b 100644 --- a/.config/dosbox/dosbox.conf +++ b/.config/dosbox/dosbox.conf @@ -288,7 +288,7 @@ serial4=disabled # keyboardlayout: Language code of the keyboard layout (or none). xms=false -ems=true +ems=false umb=true keyboardlayout=auto diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index 5c2e861..c7a855b 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -28,7 +28,7 @@ idle_threshold = 0 # font = "Terminess Nerd Font 16" - font = "BlexMono Nerd Font:style=Medium:size=16" + font = "BlexMono Nerd Font Medium 16" # font = "NotoSans Nerd Font 17" line_height = 0 markup = full diff --git a/.config/env b/.config/env index 1df9a2d..30f24b8 100644 --- a/.config/env +++ b/.config/env @@ -123,7 +123,7 @@ export NNN_BATSTYLE='plain' export NNN_PREVIEWIMGPROG='icat' export NNN_PREVIEWVIDEO='tct' export NNN_ICONLOOKUP=0 -export NNN_PLUG='t:joe_fzfcd;p:-preview-tui;s:-!gdu -s;f:-fzopen;c:-joe_clipper;d:-joe_dragdrop;q:-joe_cmusq;r:joe_rand' +export NNN_PLUG='t:joe_fzfcd;p:-preview-tui;s:-!gdu -s;f:joe_fzfjump;c:-joe_clipper;d:-joe_dragdrop;q:-joe_cmusq;r:joe_rand' export RUSTFLAGS='-L /usr/local/lib' export SFEED_AUTOCMD="t<<<<<<" export SFEED_PLUMBER="linkview" diff --git a/.config/imv/config b/.config/imv/config deleted file mode 100644 index 21452a0..0000000 --- a/.config/imv/config +++ /dev/null @@ -1,64 +0,0 @@ -# Default config for imv - -[options] - -# Suppress built-in key bindings, and specify them explicitly in this -# config file. -background = 1d2021 -suppress_default_binds = true - -[aliases] -# Define aliases here. Any arguments passed to an alias are appended to the -# command. -# alias = command to run - -[binds] -# Define some key bindings -q = quit -# y = exec echo working! - -# Image navigation -p = prev -<bracketleft> = prev -<Ctrl+b> = prev -n = next -<bracketright> = next -<Ctrl+f> = next -gg = goto 1 -<Shift+G> = goto -1 - -# Panning -j = pan 0 -50 -k = pan 0 50 -h = pan 50 0 -l = pan -50 0 - -# Zooming -<Up> = zoom 1 -<Shift+plus> = zoom 1 -i = zoom 1 -<Down> = zoom -1 -<minus> = zoom -1 -o = zoom -1 - -# Rotate Clockwise by 90 degrees -<Ctrl+r> = rotate by 90 - -# Other commands -x = close -f = fullscreen -d = overlay -m = exec echo $imv_current_file -c = center -s = scaling next -<Shift+S> = upscaling next -a = zoom actual -r = reset - -# Gif playback -<period> = next_frame -<space> = toggle_playing - -# Slideshow control -t = slideshow +1 -<Shift+T> = slideshow -1 diff --git a/.config/mutt/accounts/1-gmx_rbo.muttrc b/.config/mutt/accounts/1-gmx_rbo.muttrc index c9c7596..86fd01e 100644 --- a/.config/mutt/accounts/1-gmx_rbo.muttrc +++ b/.config/mutt/accounts/1-gmx_rbo.muttrc @@ -22,12 +22,12 @@ macro index o "<shell-escape>killall mbsync >/dev/null 2>&1; mbsync gmx_rbo<ente unmailboxes * named-mailboxes \ - " inbox" =INBOX \ - " sent" =Sent \ - " draft" =Drafts \ - " junk" =Spam \ - " trash" =Trash \ - " keep" =Keep + "inbox" =INBOX \ + "sent" =Sent \ + "draft" =Drafts \ + "junk" =Spam \ + "trash" =Trash \ + "keep" =Keep macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox" macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox" diff --git a/.config/mutt/accounts/2-gmx_shop.muttrc b/.config/mutt/accounts/2-gmx_shop.muttrc index bfda76c..41d353d 100644 --- a/.config/mutt/accounts/2-gmx_shop.muttrc +++ b/.config/mutt/accounts/2-gmx_shop.muttrc @@ -22,11 +22,11 @@ macro index o "<shell-escape>killall mbsync >/dev/null 2>&1; mbsync gmx_shop<ent unmailboxes * named-mailboxes \ - " inbox" =INBOX \ - " sent" =Sent \ - " draft" =Drafts \ - " junk" =Spam \ - " trash" =Trash + "inbox" =INBOX \ + "sent" =Sent \ + "draft" =Drafts \ + "junk" =Spam \ + "trash" =Trash macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox" macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox" diff --git a/.config/mutt/accounts/3-gmail_br.muttrc b/.config/mutt/accounts/3-gmail_br.muttrc index d114173..04c7af6 100644 --- a/.config/mutt/accounts/3-gmail_br.muttrc +++ b/.config/mutt/accounts/3-gmail_br.muttrc @@ -22,12 +22,12 @@ macro index o "<shell-escape>killall mbsync >/dev/null 2>&1; mbsync gmail_br<ent unmailboxes * named-mailboxes \ - " inbox" =INBOX \ - " sent" "=[Gmail]/Sent Mail" \ - " draft" =[Gmail]/Drafts \ - " junk" =[Gmail]/Spam \ - " trash" =[Gmail]/Trash \ - " keep" =Keep + "inbox" =INBOX \ + "sent" "=[Gmail]/Sent Mail" \ + "draft" =[Gmail]/Drafts \ + "junk" =[Gmail]/Spam \ + "trash" =[Gmail]/Trash \ + "keep" =Keep macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox" macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox" diff --git a/.config/mutt/accounts/4-gmail_oon.muttrc b/.config/mutt/accounts/4-gmail_oon.muttrc index c69f27e..1782bc9 100644 --- a/.config/mutt/accounts/4-gmail_oon.muttrc +++ b/.config/mutt/accounts/4-gmail_oon.muttrc @@ -22,12 +22,12 @@ macro index o "<shell-escape>killall mbsync >/dev/null 2>&1; mbsync gmail_oon<en unmailboxes * named-mailboxes \ - " inbox" =INBOX \ - " sent" "=[Gmail]/Sent Mail" \ - " draft" =[Gmail]/Drafts \ - " junk" =[Gmail]/Spam \ - " trash" =[Gmail]/Trash \ - " keep" =Keep + "inbox" =INBOX \ + "sent" "=[Gmail]/Sent Mail" \ + "draft" =[Gmail]/Drafts \ + "junk" =[Gmail]/Spam \ + "trash" =[Gmail]/Trash \ + "keep" =Keep macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox" macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox" diff --git a/.config/nnn/plugins/joe_fzfcd b/.config/nnn/plugins/joe_fzfcd index 13ac1a5..b4df9a4 100755 --- a/.config/nnn/plugins/joe_fzfcd +++ b/.config/nnn/plugins/joe_fzfcd @@ -7,7 +7,7 @@ use Env qw(NNN_PIPE PWD); sub main { my $dir; - $dir = `fd -t d -L | fzf --preview ' eza --color=always --icons -T -L1 {} | + $dir = `fd -t d -L | fzf --preview ' eza --color=always -T -L1 {} | head -n 200'`; chomp($dir); open(FH, '>>', $NNN_PIPE) or die $!; diff --git a/.config/nnn/plugins/joe_fzfjump b/.config/nnn/plugins/joe_fzfjump new file mode 100755 index 0000000..dc918f3 --- /dev/null +++ b/.config/nnn/plugins/joe_fzfjump @@ -0,0 +1,20 @@ +#!/usr/bin/env perl + +use strict; +use warnings; +use Env qw(NNN_PIPE PWD); + +sub main { + my $file; + + $file = `fd -L | fzf`; + chomp($file); + open(FH, '>>', $NNN_PIPE) or die $!; + print FH '0c' . $PWD . '/' . $file; + close(FH); + return; +} + +main(); + +__END__ diff --git a/.config/nnn/plugins/joe_rand b/.config/nnn/plugins/joe_rand index edc71c1..100181a 100755 --- a/.config/nnn/plugins/joe_rand +++ b/.config/nnn/plugins/joe_rand @@ -13,7 +13,7 @@ . "$(dirname "$0")"/.nnn-plugin-helper file=$(command ls | shuf | head -n1 | tr -d '\n') -printf "%s" "0l$file" > "$NNN_PIPE" +printf "%s" "0c$PWD/$file" > "$NNN_PIPE" # printf "%s" "+l" > "$NNN_PIPE" # if type mimetype >/dev/null 2>&1; then # find . | mimetype -f - | grep "$mime" | awk -F: '{printf "%s%c", $1, 0}' > "$NNN_PIPE" diff --git a/.config/nvim/lua/config/settings.lua b/.config/nvim/lua/config/settings.lua index 548fb11..846ee47 100644 --- a/.config/nvim/lua/config/settings.lua +++ b/.config/nvim/lua/config/settings.lua @@ -99,13 +99,16 @@ vim.diagnostic.config({ }, signs = { text = { - [vim.diagnostic.severity.ERROR] = " ", - [vim.diagnostic.severity.WARN] = " ", - [vim.diagnostic.severity.INFO] = " ", - [vim.diagnostic.severity.HINT] = " ", + [vim.diagnostic.severity.ERROR] = "E:", + [vim.diagnostic.severity.WARN] = "W:", + [vim.diagnostic.severity.INFO] = "I:", + [vim.diagnostic.severity.HINT] = "H:", }, }, underline = true, update_in_insert = true, severity_sort = true, }) + +vim.api.nvim_set_hl(0, "NormalFloat", { bg = "#32302f" }) +vim.api.nvim_set_hl(0, "LspFloatWinNormal", { bg = "#32302f" }) diff --git a/.config/nvim/lua/plugins/lspkind.lua b/.config/nvim/lua/plugins/lspkind.lua index 4326c76..2a5165f 100644 --- a/.config/nvim/lua/plugins/lspkind.lua +++ b/.config/nvim/lua/plugins/lspkind.lua @@ -3,35 +3,8 @@ return { 'onsails/lspkind.nvim', config = function() require('lspkind').setup({ - mode = 'symbol_text', - preset = 'codicons', - symbol_map = { - Text = "", - Method = "", - Function = "", - Constructor = "", - Field = "", - Variable = "", - Class = "", - Interface = "", - Module = "", - Property = "", - Unit = "", - Value = "", - Enum = "", - Keyword = "", - Snippet = "", - Color = "", - File = "", - Reference = "", - Folder = "", - EnumMember = "", - Constant = "", - Struct = "", - Event = "", - Operator = "", - TypeParameter = "", - }, + mode = 'text', + preset = 'default', }) end }, @@ -59,7 +32,7 @@ return { }, formatting = { format = lspkind.cmp_format({ - mode = 'symbol_text', + mode = 'text', maxwidth = { menu = 50, abbr = 50, diff --git a/.config/nvim/lua/plugins/lualine.lua b/.config/nvim/lua/plugins/lualine.lua index 53d22ff..6dcdb8a 100644 --- a/.config/nvim/lua/plugins/lualine.lua +++ b/.config/nvim/lua/plugins/lualine.lua @@ -1,7 +1,6 @@ return { { 'nvim-lualine/lualine.nvim', - dependencies = { 'nvim-tree/nvim-web-devicons' }, config = function() local colors = { bg = '#32302f', @@ -108,7 +107,6 @@ return { function() return '▊' end, - -- color = { fg = colors.green }, -- Sets highlighting of component color = function() -- auto change color according to neovims mode return { fg = mode_color[vim.fn.mode()] } @@ -117,27 +115,14 @@ return { } ins_left { - -- mode component - function() - return '' - end, - color = function() - -- auto change color according to neovims mode - return { fg = mode_color[vim.fn.mode()] } - end, - padding = { right = 1 }, - } - - ins_left { 'buffers', show_filename_only = false, hide_filename_extension = false, show_modified_status = true, - icons_enabled = true, + icons_enabled = false, symbols = { - modified = ' ●', -- Text to show when the buffer is modified + modified = '[+]', -- Text to show when the buffer is modified alternate_file = '', -- Text to show to identify the alternate file - directory = '', -- Text to show when the buffer is a directory }, buffers_color = { -- Same values as the general color option can be used here. @@ -151,11 +136,11 @@ return { ins_left { 'diagnostics', sources = { 'nvim_diagnostic' }, - symbols = { error = ' ', warn = ' ', info = ' ' }, + symbols = { error = 'E:', warn = 'W:', info = 'I:' }, diagnostics_color = { color_error = { fg = colors.red }, color_warn = { fg = colors.yellow }, - color_info = { fg = colors.cyan }, + color_info = { fg = colors.blue }, }, } @@ -169,7 +154,7 @@ return { ins_right { 'filetype', - icons_enabled = true, -- I think icons are cool but Eviline doesn't have them. sigh + icons_enabled = false, -- I think icons are cool but Eviline doesn't have them. sigh color = { fg = colors.blue }, } @@ -180,7 +165,6 @@ return { local buf_ft = vim.api.nvim_buf_get_option(0, 'filetype') local clients = vim.lsp.get_clients() if next(clients) == nil then - icon = '' return '' end for _, client in ipairs(clients) do @@ -191,26 +175,19 @@ return { end return msg end, - icon = ' ', + icons_enabled = false, color = { fg = colors.cyan }, } ins_right { 'branch', - icon = '', + icons_enabled = false, color = { fg = colors.blue, gui = 'bold' }, } ins_right { - -- filesize component - 'filesize', - cond = conditions.buffer_not_empty, - } - - ins_right { 'diff', - -- Is it me or the symbol for modified us really weird - symbols = { added = ' ', modified = ' ', removed = ' ' }, + symbols = { added = '+', modified = '~', removed = '-' }, diff_color = { added = { fg = colors.bright_green }, modified = { fg = colors.yellow }, @@ -225,7 +202,6 @@ return { function() return '▊' end, - -- color = { fg = colors.green }, color = function() -- auto change color according to neovims mode return { fg = mode_color[vim.fn.mode()] } diff --git a/.config/tremc/settings.cfg b/.config/tremc/settings.cfg index 8234a8a..81ea83e 100644 --- a/.config/tremc/settings.cfg +++ b/.config/tremc/settings.cfg @@ -13,7 +13,7 @@ filter = invert = False [Misc] -lines_per_torrent = 3 +lines_per_torrent = 1 torrentname_is_progressbar = True file_viewer = xdg-open %%s file_open_in_terminal = True diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc index 7f48d1a..d794cb8 100644 --- a/.config/x11/xinitrc +++ b/.config/x11/xinitrc @@ -2,21 +2,18 @@ case $(hostname -s) in mother) - icon=" " sleep="sleep 0.1" ping="ping -c1 -w1 9.9.9.9 >/dev/null 2>&1" host="mother" doas mkdir /var/run/jozan && doas chown -v jozan: /var/run/jozan ;; po-rbo) - icon=" " sleep="sleep 0.1" ping="ping -c1 -w1 9.9.9.9 >/dev/null 2>&1" host="po-rbo" doas mkdir /var/run/r_bousset && doas chown -v r_bousset: /var/run/r_bousset ;; mars) - icon=" " sleep="gsleep 1" ping="ping -c1 -t1 9.9.9.9 >/dev/null 2>&1" host="mars" @@ -63,8 +60,7 @@ for pid in $(ps aux | grep local/bin/kb | awk '{print $2}'); do kill -9 $pid done "$HOME"/.local/bin/kb & -[ $host = "po-rbo" ] && feh --no-fehbg --image-bg '#1d2021' --no-xinerama \ - --bg-fill "$HOME"/pics/wp.jpg && herbe ' wp set' & +[ $host = "po-rbo" ] && setwp "$HOME"/pics/wp/city/5.jpg & pkill wireplumber pkill pipewire-pulse pkill pipewire @@ -80,6 +76,6 @@ cd "$HOME" xrdb "$HOME"/.config/x11/xresources start_apps & startif fetch_sfeed -herbe "$icon welcome back, partner!" & +herbe "welcome back, partner!" & [ $host = "po-rbo" ] && exec dbus-run-session dwm diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 1046db4..34806c3 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -75,7 +75,7 @@ bindkey "^e" edit-command-line autoload -U add-zsh-hook eza_after_cd() { - eza -l --icons --color=always --group-directories-first --no-permissions --no-user --no-time --no-filesize + eza -l --color=always --group-directories-first --no-permissions --no-user --no-time --no-filesize } add-zsh-hook chpwd eza_after_cd diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh index cfab06d..30602b4 100644 --- a/.config/zsh/alias.zsh +++ b/.config/zsh/alias.zsh @@ -11,7 +11,7 @@ # == ===== ==== == # ======================== -alias eza='eza --color=always --group-directories-first --icons' \ +alias eza='eza --color=always --group-directories-first' \ ls='eza -l' tree() { eza -T $@ | $PAGER |
