]> git.rmz.io Git - dotfiles.git/commitdiff
awesome: cleanup some unused stuff
authorSamir Benmendil <me@rmz.io>
Sun, 24 Jan 2021 02:14:27 +0000 (02:14 +0000)
committerSamir Benmendil <me@rmz.io>
Sun, 24 Jan 2021 21:35:32 +0000 (21:35 +0000)
awesome/rc.lua
awesome/rules.lua

index 74688d7ed5ccf52701965f540a6aa6412a3d95a6..22ff0a4504de1ed4bdc8296ba556c816a27c82e5 100644 (file)
@@ -36,7 +36,7 @@ end
 -- Themes define colours, icons, font and wallpapers.
 beautiful.init(gears.filesystem.get_dir("config").."/themes/mlp/theme.lua")
 
--- This is used later as the default terminal and editor to run.
+-- This is used later as the default terminal to run.
 terminal = os.getenv("TERMINAL") or "xterm"
 terminal_class = (function()
     local map = { urxvt  = "URxvt"
@@ -46,9 +46,6 @@ terminal_class = (function()
     return map[terminal] or terminal
 end)()
 
-editor = os.getenv("EDITOR") or "vim"
-editor_cmd = terminal .. " -e " .. editor
-
 -- Require files {{{1
 require("bindings")
 require("tags")
index f7488821a02a452fee5608b96c156f289c970d8d..e69406562341d4a03b255c1fe13bace7bbdf06dc 100644 (file)
@@ -28,7 +28,6 @@ awful.rules.rules = {
                      placement = awful.placement.no_overlap+awful.placement.no_offscreen } },
     { rule_any = {
         class = {
-            "Sensation Editor",
             "MPlayer",
             "pinentry",
             "mpv",
@@ -54,9 +53,6 @@ awful.rules.rules = {
     { rule = { class = terminal_class, instance = "ncmpcpp" },
       properties = { tag = mediatag,
                      function (c) awful.client.setmaster(c) end } },
-    { rule = { class = terminal_class, instance = "mopidy" },
-      properties = { tag = mediatag,
-                     function (c) awful.client.setmaster(c) end } },
     { rule = { class = terminal_class, instance = "weechat" },
       properties = { tag = imtag,
                      function (c) awful.client.setmaster(c) end } },