From c0a675747ef1b8d999a8a1310e621dddf90824ce Mon Sep 17 00:00:00 2001 From: tiago Date: Thu, 21 Sep 2023 10:02:20 +0100 Subject: [PATCH] powermenu suspend fix, cmp org mode working --- .config/alacritty/alacritty.yml | 2 +- .config/fish/config.fish | 8 ++++++++ .config/nvim/after/plugin/cmp.lua | 4 +--- .config/rofi/scripts/powermenu.sh | 2 +- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index eb1b42e..dacad8e 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -158,7 +158,7 @@ font: #style: Bold Italic # Point size - size: 12.0 + size: 11.0 # Offset is the extra space around each character. `offset.y` can be thought # of as modifying the line spacing, and `offset.x` as modifying the letter diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 5fef7f7..8d8ab44 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -19,3 +19,11 @@ fish_add_path $HOME/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin starship init fish | source + +# >>> conda initialize >>> +# !! Contents within this block are managed by 'conda init' !! +if test -f /home/tsousa/miniconda3/bin/conda + eval /home/tsousa/miniconda3/bin/conda "shell.fish" "hook" $argv | source +end +# <<< conda initialize <<< + diff --git a/.config/nvim/after/plugin/cmp.lua b/.config/nvim/after/plugin/cmp.lua index 115991c..f9833fd 100644 --- a/.config/nvim/after/plugin/cmp.lua +++ b/.config/nvim/after/plugin/cmp.lua @@ -154,13 +154,11 @@ cmp.setup { { name = 'luasnip' }, { name = 'nvim_lsp_signature_help' }, { name = "path" }, + { name = "orgmode" } }, { --This sources will only show up if there aren't any sources from the other list { name = "buffer", keyword_length = 5 }, - }, - { - { name = "orgmode" } } ), confirm_opts = { diff --git a/.config/rofi/scripts/powermenu.sh b/.config/rofi/scripts/powermenu.sh index 21c1f05..86498d4 100755 --- a/.config/rofi/scripts/powermenu.sh +++ b/.config/rofi/scripts/powermenu.sh @@ -10,7 +10,7 @@ if [ ${#option} -gt 0 ] then case $option in Suspend) - $LOCKER ;systemctl suspend + $LOCKER && systemctl suspend ;; Reboot) systemctl reboot