diff options
| author | Blista Kanjo | 2023-06-24 04:45:50 -0400 |
|---|---|---|
| committer | Blista Kanjo | 2023-06-24 04:45:50 -0400 |
| commit | 488c1ca557c22e96e654177ffe747b173f2a4d69 (patch) | |
| tree | ae01ae1851afa6c9cddbfe6a0d65ded3a7038a24 /.config/awesome/rc.lua | |
| parent | ade27094d957276ab0c8ccbd0f3582e86b44c438 (diff) | |
refactor: use nvim as default editor for menu commands
Diffstat (limited to '.config/awesome/rc.lua')
| -rw-r--r-- | .config/awesome/rc.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 9ba005a..66be6cd 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -28,7 +28,7 @@ beautiful.init(theme_path) -- This is used later as the default terminal and editor to run. terminal = "alacritty" -editor = os.getenv("EDITOR") or "gvim" +editor = os.getenv("EDITOR") or "alacritty -e nvim" editor_cmd = terminal .. " -e " .. editor -- Default modkey. @@ -113,7 +113,7 @@ myawesomemenu = { { "xset dpms", dpms_menu }, { "dunstctl", dunst_menu }, { "config file", editor .. " " .. awesome.conffile }, - { "picom config", function() awful.spawn.easy_async_with_shell("sh -c 'gvim $HOME/.config/picom.conf'") end }, + { "picom config", function() awful.spawn.easy_async_with_shell("alacritty -e nvim $HOME/.config/picom.conf") end }, { "change wallpaper", function() awful.spawn.easy_async_with_shell("sh -c 'nitrogen'") end }, { "xdg_menu refresh", function() awful.spawn.easy_async_with_shell("sh -c 'xdg_menu --format awesome --root-menu /etc/xdg/menus/arch-applications.menu > ~/.config/awesome/xdgmenu.lua'") end }, { "refresh", awesome.restart }, |
