Merge branch 'master' of github.com:roodletoof/dotfiles
This commit is contained in:
@@ -10,7 +10,7 @@ dynamic_padding = true
|
|||||||
decorations = "Buttonless"
|
decorations = "Buttonless"
|
||||||
|
|
||||||
[font]
|
[font]
|
||||||
normal.family = "GoMono Nerd Font Mono"
|
normal.family = "Comic Code"
|
||||||
size = 12
|
size = 12
|
||||||
|
|
||||||
# Subtle positional tuning
|
# Subtle positional tuning
|
||||||
|
|||||||
@@ -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>
|
||||||
@@ -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
|
||||||
@@ -7,20 +7,22 @@ set $down j
|
|||||||
set $up k
|
set $up k
|
||||||
set $right l
|
set $right l
|
||||||
set $term alacritty
|
set $term alacritty
|
||||||
|
set $just just --justfile ~/.config/i3/justfile
|
||||||
|
|
||||||
# Window borders
|
# Window borders
|
||||||
new_window pixel
|
new_window 1pixel
|
||||||
|
|
||||||
exec --no-startup-id xset s off -dpms
|
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 nm-applet
|
||||||
exec --no-startup-id blueman-applet
|
exec --no-startup-id blueman-applet
|
||||||
exec --no-startup-id feh --bg-max ~/.wallpaper/
|
exec --no-startup-id $just reset-wallpaper
|
||||||
|
|
||||||
# Key bindings
|
# Key bindings
|
||||||
bindsym $mod+Return exec $term
|
bindsym $mod+Return exec $term
|
||||||
bindsym $mod+q kill
|
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
|
||||||
floating_modifier $mod
|
floating_modifier $mod
|
||||||
|
|||||||
@@ -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'
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
backend = "glx";
|
||||||
|
vsync = true;
|
||||||
|
use-damage = true;
|
||||||
|
shadow = false;
|
||||||
|
fading = false;
|
||||||
@@ -77,6 +77,7 @@ vim.cmd [=[
|
|||||||
set noswapfile
|
set noswapfile
|
||||||
set list
|
set list
|
||||||
set makeprg=just
|
set makeprg=just
|
||||||
|
set tags+=~/tags
|
||||||
command! -nargs=* Just execute 'make' <q-args>
|
command! -nargs=* Just execute 'make' <q-args>
|
||||||
|
|
||||||
nnoremap ,co :copen<CR>
|
nnoremap ,co :copen<CR>
|
||||||
@@ -544,23 +545,6 @@ require'lazy'.setup{ --{{{1
|
|||||||
vim.keymap.set('n', ',ce', ':Copilot disable<CR>', { noremap = true })
|
vim.keymap.set('n', ',ce', ':Copilot disable<CR>', { noremap = true })
|
||||||
end,
|
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
|
{ 'f-person/git-blame.nvim', --{{{2
|
||||||
keys = {',g'},
|
keys = {',g'},
|
||||||
config = function ()
|
config = function ()
|
||||||
@@ -613,6 +597,13 @@ require'lazy'.setup{ --{{{1
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{ "seblyng/roslyn.nvim", --{{{2
|
{ "seblyng/roslyn.nvim", --{{{2
|
||||||
|
dependencies = {
|
||||||
|
'williamboman/mason.nvim',
|
||||||
|
},
|
||||||
|
cond = function()
|
||||||
|
mason_registry = require'mason-registry'
|
||||||
|
return mason_registry.is_installed('roslyn')
|
||||||
|
end,
|
||||||
opts = {
|
opts = {
|
||||||
---function to pick which .sln file to use when opening a cs file
|
---function to pick which .sln file to use when opening a cs file
|
||||||
---@param targets string[]
|
---@param targets string[]
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ nnoremap ,rc :source $MYVIMRC<CR>
|
|||||||
autocmd FileType make setlocal noexpandtab
|
autocmd FileType make setlocal noexpandtab
|
||||||
autocmd FileType yaml setlocal tabstop=2
|
autocmd FileType yaml setlocal tabstop=2
|
||||||
let g:rustfmt_autosave = 0
|
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 ,cD :call setqflist(filter(getqflist(), 'v:val != getqflist()[getqflist({"idx": 0}).idx - 1]'))<CR>
|
||||||
nnoremap ,cc :cclose<CR>
|
nnoremap ,cc :cclose<CR>
|
||||||
nnoremap ,cf :cfirst<CR>
|
nnoremap ,cf :cfirst<CR>
|
||||||
@@ -69,6 +70,7 @@ set viewoptions=folds,cursor
|
|||||||
set wildignore=*.o,*.obj,.git/**,tags,*.pyc
|
set wildignore=*.o,*.obj,.git/**,tags,*.pyc
|
||||||
set noswapfile
|
set noswapfile
|
||||||
set makeprg=just
|
set makeprg=just
|
||||||
|
set tags+=~/tags
|
||||||
syntax on
|
syntax on
|
||||||
tnoremap <c-w>c <c-\><c-n><c-w>c
|
tnoremap <c-w>c <c-\><c-n><c-w>c
|
||||||
xnoremap H ^
|
xnoremap H ^
|
||||||
|
|||||||
@@ -166,7 +166,7 @@
|
|||||||
},
|
},
|
||||||
"network": {
|
"network": {
|
||||||
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||||
"format-wifi": "{essid} ({signalStrength}%) ",
|
"format-wifi": "({signalStrength}%) ",
|
||||||
"format-ethernet": "{ipaddr}/{cidr} ",
|
"format-ethernet": "{ipaddr}/{cidr} ",
|
||||||
"tooltip-format": "{ifname} via {gwaddr} ",
|
"tooltip-format": "{ifname} via {gwaddr} ",
|
||||||
"format-linked": "{ifname} (No IP) ",
|
"format-linked": "{ifname} (No IP) ",
|
||||||
|
|||||||
Reference in New Issue
Block a user