diff --git a/.config/i3/conf.d/keybinds.conf b/.config/i3/conf.d/keybinds.conf index b70de45..76bb86d 100644 --- a/.config/i3/conf.d/keybinds.conf +++ b/.config/i3/conf.d/keybinds.conf @@ -59,3 +59,7 @@ bindsym $mod+m exec --no-startup-id pavucontrol -t 3 bindsym $mod+d exec --no-startup-id i3-dmenu-desktop --dmenu dmenu # Open Galculator bindsym XF86Calculator exec --no-startup-id galculator +# Open tidal-hifi +# This keybindg is rather unusual as it should imply "move window to $wstidal", +# but because this workspace should only be used for tidal-hifi, it's okay. +bindsym Shift+$mod+n exec --no-startup-id tidal-hifi diff --git a/.config/i3/conf.d/workspaces.conf b/.config/i3/conf.d/workspaces.conf index c2f3c9a..5eac158 100644 --- a/.config/i3/conf.d/workspaces.conf +++ b/.config/i3/conf.d/workspaces.conf @@ -5,6 +5,8 @@ set $ws02 "" set $ws03 "" set $ws04 "" set $ws05 "" +# Workspace solely used for tidal-hifi +set $wstidal "T" set $ws11 "α" set $ws12 "β" set $ws13 "γ" @@ -21,6 +23,7 @@ workspace $ws02 output primary workspace $ws03 output primary workspace $ws04 output primary workspace $ws05 output primary +workspace $wstidal output primary workspace $ws11 output eDP-1-1 workspace $ws12 output eDP-1-1 workspace $ws13 output eDP-1-1 @@ -49,7 +52,7 @@ bindsym $mod+Shift+l move right bindsym $mod+f fullscreen toggle # kill focused window -bindsym Shift+$mod+x kill +bindsym $mod+x kill # toggle tiling / floating bindsym $mod+Shift+space floating toggle @@ -81,6 +84,7 @@ bindsym $mod+u workspace $ws02 bindsym $mod+i workspace $ws03 bindsym $mod+o workspace $ws04 bindsym $mod+p workspace $ws05 +bindsym $mod+n workspace $wstidal # move focused container to main workspace bindsym $mod+Shift+y move container to workspace $ws01 @@ -135,3 +139,7 @@ mode "HDMI-0" { } bindsym $mod+e mode "eDP-1-1" + +# Force tidal-hifi to always spawn on $wstidal +assign [class="tidal-hifi"] $wstidal +no_focus [class="tidal-hifi"] diff --git a/.config/nvim/lua/config/lspconfig.lua b/.config/nvim/lua/config/lspconfig.lua index a31420a..eb1c745 100644 --- a/.config/nvim/lua/config/lspconfig.lua +++ b/.config/nvim/lua/config/lspconfig.lua @@ -36,6 +36,11 @@ require'lspconfig'.hls.setup{ } } } +-- Pacman: vieter-vls (requires my Vieter repository) +-- GH: https://github.com/vlang/vls +require'lspconfig'.vls.setup { + cmd = {'vls'} +} -- Pacman: rust-analyzer -- GH: https://github.com/rust-analyzer/rust-analyzer require'lspconfig'.rust_analyzer.setup{on_attach = on_attach} diff --git a/.config/nvim/lua/config/nerdtree.lua b/.config/nvim/lua/config/nerdtree.lua index ac8bc2b..25ecb6f 100644 --- a/.config/nvim/lua/config/nerdtree.lua +++ b/.config/nvim/lua/config/nerdtree.lua @@ -11,7 +11,8 @@ g.NERDTreeIgnore = { '^\\.stack-work$[[dir]]', '\\.lock$', '^CMakeFiles$[[dir]]', '^CMakeCache.txt$[[file]]', '.pdf$[[file]]', - '^node_modules$[[dir]]' + '^node_modules$[[dir]]', + '\\.o$' } g.NERDTreeShowHidden = 1 diff --git a/.config/nvim/lua/config/v.lua b/.config/nvim/lua/config/v.lua index 8f4c5c1..7f3142c 100644 --- a/.config/nvim/lua/config/v.lua +++ b/.config/nvim/lua/config/v.lua @@ -1,3 +1,3 @@ local g = vim.g -g.v_autofmt_bufwritepre = 1 +g.v_autofmt_bufwritepre = 0 diff --git a/.config/nvim/lua/settings.lua b/.config/nvim/lua/settings.lua index b3e24e5..723d753 100644 --- a/.config/nvim/lua/settings.lua +++ b/.config/nvim/lua/settings.lua @@ -5,7 +5,7 @@ g.mapleader = " " g.maplocalleader = "\\" -- I often use non-standard shells that don't play nicely wiht certain features -o.shell = "/bin/bash" +-- o.shell = "/bin/bash" -- Centers your cursor whenever possible -- 999 is just a really large number (I think it's amount of lines or something)