From 4c3f58aff4ad2ebce83f838d7ef116ae27de53f3 Mon Sep 17 00:00:00 2001 From: Blista Kanjo Date: Wed, 5 Jan 2022 04:57:34 -0500 Subject: changed default editor to xed --- awesome/rc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'awesome/rc.lua') diff --git a/awesome/rc.lua b/awesome/rc.lua index be0986b..d6bfebb 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -28,7 +28,7 @@ beautiful.init(theme_path) -- This is used later as the default terminal and editor to run. terminal = "qterminal" -editor = os.getenv("EDITOR") or "gvim" +editor = os.getenv("EDITOR") or "xed" editor_cmd = terminal .. " -e " .. editor -- Default modkey. @@ -65,7 +65,7 @@ myawesomemenu = { { "show hotkeys", function() hotkeys_popup.show_help(nil, awful.screen.focused()) end }, -- { "manual", terminal .. " -e man awesome" }, { "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("sh -c 'xed $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 }, -- cgit v1.2.3