From 522fd07b1d46438896e8e506b2b4cb25943f9173 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Thu, 1 May 2025 18:21:49 +0300 Subject: Removed activity watcher and removed some useless stuff from alpha nvim dashboard --- .config/nvim/lua/plugins/activity-watch.lua | 9 --------- .config/nvim/lua/plugins/alpha.lua | 14 +------------- .zshrc | 4 ---- hosts/home.nix | 2 -- 4 files changed, 1 insertion(+), 28 deletions(-) delete mode 100644 .config/nvim/lua/plugins/activity-watch.lua diff --git a/.config/nvim/lua/plugins/activity-watch.lua b/.config/nvim/lua/plugins/activity-watch.lua deleted file mode 100644 index 1fef86c..0000000 --- a/.config/nvim/lua/plugins/activity-watch.lua +++ /dev/null @@ -1,9 +0,0 @@ -return { - 'lowitea/aw-watcher.nvim', - opts = { - aw_server = { - host = '127.0.0.1', - port = 5600, - }, - }, -} diff --git a/.config/nvim/lua/plugins/alpha.lua b/.config/nvim/lua/plugins/alpha.lua index 00a7d56..17fc1b7 100644 --- a/.config/nvim/lua/plugins/alpha.lua +++ b/.config/nvim/lua/plugins/alpha.lua @@ -1,7 +1,7 @@ return { 'goolord/alpha-nvim', dependencies = { 'nvim-tree/nvim-web-devicons' }, - cmd = "Alpha", + cmd = 'Alpha', config = function() local alpha = require('alpha') local dashboard = require('alpha.themes.dashboard') @@ -21,7 +21,6 @@ return { return tostring(day) .. suffix end - local find_file_path = '$HOME' local date = os.date('  %A, %B ') .. get_natural_day(tonumber(os.date('%d'))) local plugins = '  ' .. require('lazy').stats().count .. ' plugins ' local v = vim.version() @@ -48,17 +47,6 @@ return { dashboard.section.buttons.opts.spacing = 0 dashboard.section.buttons.val = { - dashboard.button('e', ' > New file', 'ene startinsert'), - dashboard.button('f', ' > Find file', 'cd ' .. find_file_path .. ' | Telescope find_files'), - dashboard.button('r', ' > Recent', 'Telescope oldfiles'), - dashboard.button('c', ' > Configuration', 'e $MYVIMRC | cd %:p:h'), - -- FIX: doesn't seem to work so great, probably just use a project manager - -- will most likely make my own project manager plugin - -- dashboard.button( - -- 's', - -- '󱎠 > Last Session', - -- 'lua require("auto-session.session-lens.actions").alternate_session()' - -- ), dashboard.button('q', '󰈆 > Quit NVIM', 'qa'), } diff --git a/.zshrc b/.zshrc index 24fde04..3031b9c 100644 --- a/.zshrc +++ b/.zshrc @@ -112,10 +112,6 @@ if [ ! -f "$MARKER_FILE" ]; then # HACK: Send a notification so systemd notification will work notify-send --urgency=normal --expire-time=1 " " - # Start activity watcher - nohup aw-qt &>/dev/null & disown - nohup awatcher &>/dev/null & disown - # Start albert (app launcher like krunner) nohup albert --platform xcb &>/dev/null & disown diff --git a/hosts/home.nix b/hosts/home.nix index 3234326..23ee13b 100644 --- a/hosts/home.nix +++ b/hosts/home.nix @@ -74,8 +74,6 @@ libreoffice vesktop nasm - activitywatch - awatcher albert gdb minisign -- cgit v1.3.1