Compare commits

...

2 commits

Author SHA1 Message Date
abfe5b5b11
Fix mason 2024-07-07 17:59:37 +02:00
ac065da8f5
äf 2024-07-07 17:58:39 +02:00
4 changed files with 14 additions and 6 deletions

View file

@ -78,7 +78,9 @@
(box :orientation "v"
:valign "fill"
:vexpand true
(button :onclick "./audio.sh toggle"
(button :onclick "rofi -show rofi-sound -modi 'rofi-sound:rofi-sound-output-chooser' &"
:onrightclick "./audio.sh toggle"
(label :text audio_sink))
(button :onclick "pavucontrol &"
"${volume}%")))))

View file

@ -257,7 +257,7 @@
(tset result :contents new-contents)
(previous-handler a result b c)))))))
[(utils.plugin :williamboman/mason.nvim {:config true})
[(utils.plugin :williamboman/mason.nvim {:config #((. (require :mason) :setup))})
(utils.plugin :williamboman/mason-lspconfig.nvim {:config {:ensure_installed ["rust_analyzer"]}})
(utils.plugin :neovim/nvim-lspconfig {:event "VeryLazy" :lazy true :config setup})]
; vim:foldmarker=<<<<<,>>>>>

View file

@ -160,4 +160,7 @@ local function setup()
vim.lsp.handlers["textDocument/hover"] = _16_
return nil
end
return {utils.plugin("neovim/nvim-lspconfig", {event = "VeryLazy", lazy = true, config = setup})}
local function _18_()
return (require("mason")).setup()
end
return {utils.plugin("williamboman/mason.nvim", {config = _18_}), utils.plugin("williamboman/mason-lspconfig.nvim", {config = {ensure_installed = {"rust_analyzer"}}}), utils.plugin("neovim/nvim-lspconfig", {event = "VeryLazy", lazy = true, config = setup})}

View file

@ -27,7 +27,8 @@ exec mkfifo $WOBSOCK && tail -f $WOBSOCK | wob
exec_always import-gsettings
output * bg /usr/share/backgrounds/default-dark.png fill
output * bg /home/elk/Pictures/wallpapers/lamps_window_large.jpeg fill
#output * bg /usr/share/backgrounds/default-dark.png fill
output HDMI-A-1 {
resolution 2560x1440@99.982Hz
@ -83,8 +84,8 @@ input "1133:50503:Logitech_USB_Receiver" {
tap enabled
natural_scroll disabled
dwt enabled
accel_profile "flat"
pointer_accel -0.2
accel_profile "adaptive"
pointer_accel -0.7
}
@ -96,6 +97,8 @@ input "1133:50503:Logitech_USB_Receiver" {
bindsym $mod+Shift+p exec rofi -show drun -theme sidebar
bindsym Ctrl+Shift+space exec 1password --quick-access
# Move your focus around
bindsym $mod+$left focus left
bindsym $mod+$down focus down