commit 0860562319efee05502e4f5f083807d6959ecbbc
parent 14f2da361c1733c66f4f27df996c874cf4da3057
Author: Chris Kiriakou <chris-kiriakou@web.de>
Date: Wed, 8 Jul 2026 13:05:28 +0200
monthly update
Diffstat:
9 files changed, 138 insertions(+), 38 deletions(-)
diff --git a/fontconfig/dot-config/fontconfig/fonts.conf b/fontconfig/dot-config/fontconfig/fonts.conf
@@ -3,14 +3,14 @@
<fontconfig>
<alias>
<family>serif</family>
- <prefer><family>FreeSerif</family></prefer>
+ <prefer><family>Liberation Serif</family></prefer>
</alias>
<alias>
<family>sans-serif</family>
- <prefer><family>FreeSans</family></prefer>
+ <prefer><family>Liberation Sans</family></prefer>
</alias>
<alias>
<family>monospace</family>
- <prefer><family>Inconsolata</family></prefer>
+ <prefer><family>Liberation Mono</family></prefer>
</alias>
</fontconfig>
diff --git a/foot/dot-config/foot/foot.ini b/foot/dot-config/foot/foot.ini
@@ -1,6 +1,6 @@
term=foot
app-id=foot
-font=monospace:size=12
+font=monospace:size=11
pad=0x0 center-when-maximized-and-fullscreen
workers=2
@@ -31,7 +31,9 @@ hide-when-typing=yes
[touch]
long-press-delay=400
+
[colors-dark]
+<<<<<<< HEAD
foreground=000000
background=ffffff
regular0=000000
@@ -53,3 +55,25 @@ bright7=ffffff
selection-foreground=000000
selection-background=d3d3d3
cursor=ffffff 000000
+=======
+foreground=e0e2ea
+background=14161b
+regular0=07080d
+regular1=ffc0b9
+regular2=b3f6c0
+regular3=fce094
+regular4=a6dbff
+regular5=ffcaff
+regular6=8cf8f7
+regular7=eef1f8
+bright0=4f5258
+bright1=ffc0b9
+bright2=b3f6c0
+bright3=fce094
+bright4=a6dbff
+bright5=ffcaff
+bright6=8cf8f7
+bright7=eef1f8
+selection-foreground=e0e2ea
+selection-background=4f5258
+>>>>>>> 52e35bf (monthly update)
diff --git a/kanshi/dot-config/kanshi/config b/kanshi/dot-config/kanshi/config
@@ -13,30 +13,48 @@ profile desk {
adaptive_sync on
}
}
-# Mirror the two outputs in use, internal output is mirrored to external output
-profile mirror {
+profile dock {
+ output eDP-1 disable
+ output "LG Electronics LG ULTRAFINE 508NTZNM6853" enable {
+ mode 3840x2160@59.995998Hz
+ scale 1.5
+ position 0,0
+ }
+}
+profile extend {
output eDP-1 enable {
mode 2256x1504@59.999001Hz
- position 0,0
scale 1.5
+ position 0,0
}
- output DP-1 enable {
- position 0,-1504
- scale 1
+ output "LG Electronics LG ULTRAFINE 508NTZNM6853" enable {
+ mode 3840x2160@59.995998Hz
+ scale 1.25
+ position -784,-1728
}
- exec wl-present mirror eDP-1 --fullscreen-output DP-1 --fullscreen
}
profile extend {
output eDP-1 enable {
mode 2256x1504@59.999001Hz
scale 1.5
- position 0,-1504
}
output DP-1 enable {
- position 0,0
scale 1.25
}
}
+# Mirror the two outputs in use, internal output is mirrored to external output
+profile mirror {
+ output eDP-1 enable {
+ mode 2256x1504@59.999001Hz
+ position 0,0
+ scale 1.5
+ }
+ output DP-1 enable {
+ position 0,-1504
+ scale 1.5
+ }
+ exec wl-present mirror eDP-1 --fullscreen-output DP-1 --fullscreen
+}
profile external {
output eDP-1 disable
output "LG Electronics LG ULTRAFINE 508NTZNM6853" enable {
diff --git a/nvim/dot-config/nvim/init.lua b/nvim/dot-config/nvim/init.lua
@@ -64,6 +64,21 @@ vim.g.vimwiki_list = {
},
}
+-- Custom functions ------------------------------------------------------------
+
+-- Run Make in an external terminal that is detached from Neovim ---------------
+local function make_external()
+ local cmd_str = string.format(
+ 'setsid $TERMINAL ' ..
+ '--window-size-chars=80x10 ' ..
+ '--title=Make ' ..
+ '--app-id=nvim-lua-make-external ' ..
+ '-e sh -c "make && exit || (read -p \\"Press Enter to exit\\" && exit)" ' ..
+ '>/dev/null 2>&1'
+ )
+ vim.cmd('silent !' .. cmd_str)
+end
+
-- completion setup ------------------------------------------------------------
vim.api.nvim_create_autocmd('LspAttach', {
@@ -82,14 +97,19 @@ vim.keymap.set("n", "<Esc>", "<cmd>nohlsearch<CR>")
vim.keymap.set("t", "<Esc><Esc>", "<C-\\><C-n>")
vim.keymap.set("n", "gb", ":bnext<CR>", { noremap = true, silent = true })
vim.keymap.set("n", "gB", ":bprev<CR>", { noremap = true, silent = true })
-vim.keymap.set("n", "<leader>bl", ":buffers<CR>",
+vim.keymap.set("n", "<leader>bl", ":buffers<CR>:b",
{ noremap = true, silent = true }
)
vim.keymap.set("n", "<leader>e", vim.diagnostic.open_float)
vim.keymap.set("n", "<leader>el", vim.diagnostic.setloclist)
vim.keymap.set("n", "<leader>ai", ":LlamaToggle<CR>",
{ noremap = true, silent = true } -- Toggle model completion on/off
-)
+)
+
+vim.keymap.set('n', '<Leader>m', make_external, {
+ noremap = true,
+ silent = true
+})
local on_attach = function(_, bufnr)
local opts = { buffer = bufnr, silent = true }
@@ -105,6 +125,7 @@ local on_attach = function(_, bufnr)
end
-- language server setup -------------------------------------------------------
+local lspconfig = require('lspconfig')
-- C
vim.lsp.enable('clangd')
@@ -113,10 +134,31 @@ vim.lsp.enable('clangd')
vim.lsp.enable('gopls')
-- Python
-vim.lsp.enable('pylsp')
+lspconfig.pylsp.setup({
+ on_attach = on_attach
+})
--- Perl
-vim.lsp.enable('perlpls')
+-- Lua
+lspconfig.lua_ls.setup({
+ on_attach = on_attach,
+ settings = {
+ Lua = {
+ diagnostics = {
+ globals = { 'vim' },
+ },
+ workspace = {
+ checkThirdParty = false,
+ library = {
+ vim.env.VIMRUNTIME,
+ },
+ },
+ ignoreDir = {
+ '.git',
+ 'node_modules',
+ },
+ },
+ },
+})
-- llm config -----------------------------------------------------------------
@@ -140,11 +182,15 @@ vim.api.nvim_create_autocmd("FileType", {
command = "setlocal tabstop=2 shiftwidth=2 softtabstop=2 expandtab",
})
-vim.cmd.colorscheme("vim")
-
-vim.api.nvim_create_autocmd('BufEnter', {
- pattern = '*',
+vim.api.nvim_create_autocmd({"BufRead", "BufNewFile"}, {
+ pattern = "*.tex",
callback = function()
- vim.opt.termguicolors = false
- end
+ vim.bo.filetype = "tex"
+ end,
})
+
+-- styling ---------------------------------------------------------------------
+
+vim.cmd.colorscheme("quiet")
+
+vim.api.nvim_set_hl(0, "Normal", { bg = "#ffffff", })
diff --git a/sway/dot-config/sway/config b/sway/dot-config/sway/config
@@ -12,21 +12,24 @@ set $opm_off 'swaymsg "output * power off"'
set $opm_on 'swaymsg "output * power on"'
# Options ######################################################################
floating_modifier $mod
-font pango:Sans-serif 9
+#default_border pixel 1
+#default_floating_border pixel 1
+font pango:Sans-serif 10
# Autostart apps ###############################################################
exec swayidle -w \
timeout 900 $opm_dim resume $opm_restore \
timeout 1200 'swaylock -f' \
timeout 1260 $opm_off resume $opm_on \
- timeout 1800 'systemctl suspend-then-hibernate' \
+ timeout 3600 'systemctl suspend' \
before-sleep 'swaylock -f' >/dev/null 2>&1
exec dconf write /org/gnome/desktop/interface/color-scheme '"prefer-light"'
-exec gsettings set org.gnome.desktop.interface gtk-theme '' >/dev/null 2>&1
-exec gsettings set org.gnome.desktop.interface icon-theme '' >/dev/null 2>&1
+exec gsettings set org.gnome.desktop.interface gtk-theme 'HighContrast' >/dev/null 2>&1
+exec gsettings set org.gnome.desktop.interface icon-theme 'HighContrast' >/dev/null 2>&1
exec gammastep -l 49.0:9.2 -t 5700:3600 >/dev/null 2>&1
exec gromit-mpx >/dev/null 2>&1
exec foot --server >/dev/null 2>&1
exec kanshi >/dev/null 2>&1
+exec swaybg --color "#777777" >/dev/null 2>&1
exec dbus-update-activation-environment \
--systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP >/dev/null 2>&1
exec_always kanshictl reload >/dev/null 2>&1
@@ -108,11 +111,16 @@ for_window [instance="pinentry-gtk"] floating enable
for_window [app_id="org.pulseaudio.pavucontrol"] floating enable
for_window [app_id="thunderbird" title="Erinnerung"] floating enable
for_window [app_id="xdg-desktop-portal-gtk"] floating enable
+for_window [app_id="nvim-lua-make-external" title="Make"] floating enable
+for_window [app_id="nvim-lua-make-external" title="Make"] move position 10 10
+no_focus [title="Make"]
+#for_window [class="^.*"] border pixel
# Workspace configuration ######################################################
workspace 11 output DP-1
# Statusbar ####################################################################
bindsym $mod+Comma bar mode toggle
bar {
+ #mode hide
position bottom
height 0
status_command slstatus -s
@@ -144,13 +152,6 @@ output eDP-1 {
resolution 2256x1504@59.999001Hz
scale 1.5
scale_filter nearest
- background #777777 solid_color
-}
-output "LG Electronics LG ULTRAFINE 508NTZNM6853" {
- mode 3840x2160@60.000000Hz
- scale 1.5
- scale_filter nearest
- background #777777 solid_color
}
# Defaults #####################################################################
include /etc/sway/config.d/*
diff --git a/tmux/dot-config/tmux/statusline.conf b/tmux/dot-config/tmux/statusline.conf
@@ -1,5 +1,5 @@
# vim: ft=tmux
-set -g mode-style "bg=white" # selection color
+set -g mode-style "bg=brightblack" # selection color
set -g message-style "fg=brightwhite,bg=brightblack" # command prompt
set -g prompt-cursor-color "brightwhite"
set -g message-command-style "fg=black,bg=white" # vi-mode in command prompt
diff --git a/zathura/dot-config/zathura/zathurarc b/zathura/dot-config/zathura/zathurarc
@@ -1 +1,4 @@
set selection-clipboard clipboard
+#set recolor true
+#set recolor-lightcolor rgba(20,22,27,1)
+#set recolor-darkcolor rgba(224,226,234,1)
diff --git a/zsh/dot-zshenv b/zsh/dot-zshenv
@@ -4,7 +4,7 @@ export XDG_STATE_HOME="$HOME/.local/state"
export XDG_CACHE_HOME="$HOME/.cache"
export XKB_DEFAULT_LAYOUT="de"
-export EDITOR="nvim"
+export EDITOR="/usr/bin/nvim"
export BROWSER="/usr/bin/firefox"
export TERMINAL="/usr/bin/footclient"
export CLIPBOARD="/usr/bin/wl-copy -n"
diff --git a/zsh/dot-zshrc b/zsh/dot-zshrc
@@ -55,4 +55,12 @@ bindkey -M vicmd '/' history-incremental-search-backward
# Aliases
alias vim="${EDITOR}"
alias nano="${EDITOR}"
-alias nvim="nvim"
+alias open="xdg-open"
+
+open-file-manager() {
+ pcmanfm . >/dev/null 2>&1 &!
+}
+
+zle -N open-file-manager
+
+bindkey '^O' open-file-manager