diff --git a/alacritty/.config/alacritty/alacritty.toml b/alacritty/.config/alacritty/alacritty.toml index c21d557..be146a2 100644 --- a/alacritty/.config/alacritty/alacritty.toml +++ b/alacritty/.config/alacritty/alacritty.toml @@ -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 diff --git a/alacritty/.config/fontconfig/fonts.conf b/alacritty/.config/fontconfig/fonts.conf new file mode 100644 index 0000000..1cf5e14 --- /dev/null +++ b/alacritty/.config/fontconfig/fonts.conf @@ -0,0 +1,12 @@ + + + + + + Comic Code + + GoMono Nerd Font Mono + + + + diff --git a/i3/.config/i3/choose-monitor.sh b/i3/.config/i3/choose-monitor.sh new file mode 100644 index 0000000..b6eb142 --- /dev/null +++ b/i3/.config/i3/choose-monitor.sh @@ -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 diff --git a/i3/.config/i3/config b/i3/.config/i3/config index fe070d5..69ec348 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -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 diff --git a/i3/.config/i3/justfile b/i3/.config/i3/justfile new file mode 100644 index 0000000..97136d0 --- /dev/null +++ b/i3/.config/i3/justfile @@ -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' + + diff --git a/i3/.config/picom/picom.conf b/i3/.config/picom/picom.conf new file mode 100644 index 0000000..37f802d --- /dev/null +++ b/i3/.config/picom/picom.conf @@ -0,0 +1,5 @@ +backend = "glx"; +vsync = true; +use-damage = true; +shadow = false; +fading = false; diff --git a/nvim/.config/nvim/init.lua b/nvim/.config/nvim/init.lua index 3a81a73..45eb5f7 100644 --- a/nvim/.config/nvim/init.lua +++ b/nvim/.config/nvim/init.lua @@ -77,6 +77,7 @@ vim.cmd [=[ set noswapfile set list set makeprg=just + set tags+=~/tags command! -nargs=* Just execute 'make' nnoremap ,co :copen @@ -544,23 +545,6 @@ require'lazy'.setup{ --{{{1 vim.keymap.set('n', ',ce', ':Copilot disable', { 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[] diff --git a/vim/.vimrc b/vim/.vimrc index bb3023b..afc5c09 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -9,6 +9,7 @@ nnoremap ,rc :source $MYVIMRC 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]')) nnoremap ,cc :cclose nnoremap ,cf :cfirst @@ -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 c xnoremap H ^ diff --git a/waybar/.config/waybar/config.jsonc b/waybar/.config/waybar/config.jsonc index 552868f..18c8ee1 100644 --- a/waybar/.config/waybar/config.jsonc +++ b/waybar/.config/waybar/config.jsonc @@ -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) ",