Merge branch 'master' of github.com:roodletoof/dotfiles

This commit is contained in:
Ivar Fatland
2026-05-26 09:47:01 +02:00
9 changed files with 54 additions and 23 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ dynamic_padding = true
decorations = "Buttonless"
[font]
normal.family = "GoMono Nerd Font Mono"
normal.family = "Comic Code"
size = 12
# Subtle positional tuning
+12
View File
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>Comic Code</family>
<prefer>
<family>GoMono Nerd Font Mono</family>
</prefer>
</alias>
</fontconfig>
+8
View File
@@ -0,0 +1,8 @@
MONITORS=$(xrandr -q | awk '/\sconnected/ {print $1}')
CHOSEN_MONITOR=$(echo "$MONITORS" | dmenu -i -p 'choose your monitor')
if [ -z "$CHOSEN_MONITOR" ]; then
exit 1
fi
MONITORS=$(echo "$MONITORS" | sed "/^${CHOSEN_MONITOR}$/d")
echo "$MONITORS" | xargs -I {} xrandr --output {} --off
xrandr --output "$CHOSEN_MONITOR" --auto
+6 -4
View File
@@ -7,20 +7,22 @@ set $down j
set $up k
set $right l
set $term alacritty
set $just just --justfile ~/.config/i3/justfile
# Window borders
new_window pixel
new_window 1pixel
exec --no-startup-id xset s off -dpms
exec --no-startup-id picom --backend glx --vsync
exec --no-startup-id picom
exec --no-startup-id nm-applet
exec --no-startup-id blueman-applet
exec --no-startup-id feh --bg-max ~/.wallpaper/
exec --no-startup-id $just reset-wallpaper
# Key bindings
bindsym $mod+Return exec $term
bindsym $mod+q kill
bindsym $mod+d exec --no-startup-id rofi -show drun
bindsym $mod+d exec --no-startup-id $just program-picker
bindsym $mod+m exec --no-startup-id $just choose-monitor
# Floating modifier
floating_modifier $mod
+11
View File
@@ -0,0 +1,11 @@
choose-monitor:
sh choose-monitor.sh
just reset-wallpaper
reset-wallpaper:
feh --bg-max ~/.wallpaper/
program-picker:
dmenu_run -p 'start program'
+5
View File
@@ -0,0 +1,5 @@
backend = "glx";
vsync = true;
use-damage = true;
shadow = false;
fading = false;
+8 -17
View File
@@ -77,6 +77,7 @@ vim.cmd [=[
set noswapfile
set list
set makeprg=just
set tags+=~/tags
command! -nargs=* Just execute 'make' <q-args>
nnoremap ,co :copen<CR>
@@ -544,23 +545,6 @@ require'lazy'.setup{ --{{{1
vim.keymap.set('n', ',ce', ':Copilot disable<CR>', { noremap = true })
end,
},
{ 'rafaelsq/nvim-goc.lua', --{{{2
config = function ()
local goc = require'nvim-goc'
goc.setup{}
---@param name string
local cmd = function(name)
vim.api.nvim_create_user_command(
'Go'..name,
'lua require"nvim-goc".'..name..'()',
{ nargs = 0 }
)
end
cmd('Coverage')
cmd('CoverageFunc')
cmd('ClearCoverage')
end,
},
{ 'f-person/git-blame.nvim', --{{{2
keys = {',g'},
config = function ()
@@ -613,6 +597,13 @@ require'lazy'.setup{ --{{{1
},
},
{ "seblyng/roslyn.nvim", --{{{2
dependencies = {
'williamboman/mason.nvim',
},
cond = function()
mason_registry = require'mason-registry'
return mason_registry.is_installed('roslyn')
end,
opts = {
---function to pick which .sln file to use when opening a cs file
---@param targets string[]
+2
View File
@@ -9,6 +9,7 @@ nnoremap ,rc :source $MYVIMRC<CR>
autocmd FileType make setlocal noexpandtab
autocmd FileType yaml setlocal tabstop=2
let g:rustfmt_autosave = 0
let g:netrw_banner = 0
nnoremap ,cD :call setqflist(filter(getqflist(), 'v:val != getqflist()[getqflist({"idx": 0}).idx - 1]'))<CR>
nnoremap ,cc :cclose<CR>
nnoremap ,cf :cfirst<CR>
@@ -69,6 +70,7 @@ set viewoptions=folds,cursor
set wildignore=*.o,*.obj,.git/**,tags,*.pyc
set noswapfile
set makeprg=just
set tags+=~/tags
syntax on
tnoremap <c-w>c <c-\><c-n><c-w>c
xnoremap H ^
+1 -1
View File
@@ -166,7 +166,7 @@
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "{essid} ({signalStrength}%) ",
"format-wifi": "({signalStrength}%) ",
"format-ethernet": "{ipaddr}/{cidr} ",
"tooltip-format": "{ifname} via {gwaddr} ",
"format-linked": "{ifname} (No IP) ",