diff --git a/config/awesome/elemental/sidebar/amarena.lua b/config/awesome/elemental/sidebar/amarena.lua index 1ec1d36..ddef8ab 100644 --- a/config/awesome/elemental/sidebar/amarena.lua +++ b/config/awesome/elemental/sidebar/amarena.lua @@ -424,13 +424,13 @@ sidebar_toggle = function() end -- Hide sidebar when mouse leaves -if user.sidebar_hide_on_mouse_leave then +if user.sidebar.hide_on_mouse_leave then sidebar:connect_signal("mouse::leave", function () sidebar_hide() end) end -- Activate sidebar by moving the mouse at the edge of the screen -if user.sidebar_show_on_mouse_screen_edge then +if user.sidebar.show_on_mouse_screen_edge then local sidebar_activator = wibox({y = sidebar.y, width = 1, visible = true, ontop = false, opacity = 0, below = true, screen = screen.primary}) sidebar_activator.height = sidebar.height sidebar_activator:connect_signal("mouse::enter", function () diff --git a/config/awesome/elemental/sidebar/lovelace.lua b/config/awesome/elemental/sidebar/lovelace.lua index 56c0609..d342b3d 100644 --- a/config/awesome/elemental/sidebar/lovelace.lua +++ b/config/awesome/elemental/sidebar/lovelace.lua @@ -359,13 +359,13 @@ sidebar:buttons(gears.table.join( )) -- Hide sidebar when mouse leaves -if user.sidebar_hide_on_mouse_leave then +if user.sidebar.hide_on_mouse_leave then sidebar:connect_signal("mouse::leave", function () sidebar.visible = false end) end -- Activate sidebar by moving the mouse at the edge of the screen -if user.sidebar_show_on_mouse_screen_edge then +if user.sidebar.show_on_mouse_screen_edge then local sidebar_activator = wibox({y = sidebar.y, width = 1, visible = true, ontop = false, opacity = 0, below = true, screen = screen.primary}) sidebar_activator.height = sidebar.height sidebar_activator:connect_signal("mouse::enter", function () diff --git a/config/awesome/rc.lua b/config/awesome/rc.lua index f7b643c..a507672 100644 --- a/config/awesome/rc.lua +++ b/config/awesome/rc.lua @@ -80,22 +80,18 @@ user = { terminal = "kitty -1", floating_terminal = "kitty -1", browser = "firefox", - file_manager = "thunar", - tmux = "kitty -1 -e tmux new", + file_manager = "kitty -1 -e ranger", editor = "kitty -1 --class editor -e vim", - -- editor = "emacs", + email_client = "kitty -1 --class email -e neomutt", + music_client = "kitty -1 --class music -e ncmpcpp", - -- >> Search << - -- web_search_cmd = "exo-open https://duckduckgo.com/?q=" + -- >> Web Search << web_search_cmd = "xdg-open https://duckduckgo.com/?q=", - -- web_search_cmd = "exo-open https://www.google.com/search?q=" + -- web_search_cmd = "xdg-open https://www.google.com/search?q=" -- >> User profile << profile_picture = os.getenv("HOME").."/.config/awesome/profile.png", - -- >> Music << - music_client = "kitty -1 --class music -e ncmpcpp", - -- Directories with fallback values dirs = { downloads = os.getenv("XDG_DOWNLOAD_DIR") or "~/Downloads", @@ -108,12 +104,11 @@ user = { screenshots = os.getenv("XDG_SCREENSHOTS_DIR") or "~/Pictures/Screenshots", }, - -- >> Email << - email_client = "kitty -1 --class email -e neomutt", - -- >> Sidebar << - sidebar_hide_on_mouse_leave = true, - sidebar_show_on_mouse_screen_edge = true, + sidebar = { + hide_on_mouse_leave = true, + show_on_mouse_screen_edge = true, + }, -- >> Lock screen << -- This password will ONLY be used if you have not installed