]> git.madduck.net Git - etc/awesome.git/blobdiff - .config/awesome/rc.lua

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

remove toni screens
[etc/awesome.git] / .config / awesome / rc.lua
index 8ff8a127d1fb243ce00aa65445239892dfbc21f9..4a3c595f55d8f5139fe7d16c3e6fa72010e1d213 100644 (file)
@@ -517,7 +517,6 @@ default_tags = gears.table.join(default_tags, {
                targets = {
                        "gern/DP-?[12]-1",
                        "gauting/eDP-?1",
-                       "toni/eDP-?1",
                        "krafftwerk/DP-?1-1-5",
                        "krafftwerk/DisplayPort-2",
                        "cafe/eDP-?1",
@@ -537,10 +536,10 @@ default_tags = gears.table.join(default_tags, {
                targets = {
                        "gern/DP-?[12]-1",
                        "gauting/eDP-?1",
-                       "toni/eDP-?1",
                        "krafftwerk/DP-?1-1-5",
                        "krafftwerk/DisplayPort-2",
                        "cafe/eDP-?1",
+                       "rw-[lr]/DisplayPort-[01]",
                },
        },
        {
@@ -554,10 +553,10 @@ default_tags = gears.table.join(default_tags, {
                targets = {
                        "gern/DP-?[12]-1",
                        "gauting/eDP-?1",
-                       "toni/eDP-?1",
                        "krafftwerk/DP-?1-1-5",
                        "krafftwerk/DisplayPort-2",
                        "cafe/eDP-?1",
+                       "rw-[lr]/DisplayPort-[01]",
                },
        },
        {
@@ -578,10 +577,10 @@ default_tags = gears.table.join(default_tags, {
                targets = {
                        "gern/DP-?[12]-1",
                        "gauting/eDP-?1",
-                       "toni/eDP-?1",
                        "krafftwerk/DP-?1-1-6",
                        "krafftwerk/DisplayPort-0",
                        "cafe/eDP-?1",
+                       "rw-[lr]/DisplayPort-[01]",
                },
        },
        {
@@ -594,11 +593,12 @@ default_tags = gears.table.join(default_tags, {
                targets = {
                        "gern/DP-?[12]-1",
                        "gauting/eDP-?1",
-                       "toni/DP-?2-2",
                        "krafftwerk/DP-?1-1-6",
                        "krafftwerk/DisplayPort-0",
                        "present/HDMI.*",
                        "cafe/eDP-?1",
+                       "rw-[lr]/DisplayPort-[01]",
+                       "tournament/HDMI.*",
                },
        },
        {
@@ -611,11 +611,11 @@ default_tags = gears.table.join(default_tags, {
                targets = {
                        "gern/DP-?[12]-1",
                        "gauting/eDP-?1",
-                       "toni/DP-?2-2",
                        "krafftwerk/DP-?1-1-6",
                        "krafftwerk/DisplayPort-0",
                        "present/HDMI.*",
                        "cafe/eDP-?1",
+                       "rw-[lr]/DisplayPort-[01]",
                },
        },
 })
@@ -696,16 +696,16 @@ local function toggle_tag_by_name(tagname, exclusive)
 end
 
 local function move_tags_to_screen_relative(direction)
-    local s = awful.screen.focused()
-    local ts = screen:count() - (s.index + direction) % screen:count()
-    for _,tag in ipairs(s.selected_tags) do
-        print("index: " .. s.index .. " count: " .. screen:count() .. " target: " .. ts)
-        tag.screen = screen[ts]
-
-        for _,t in ipairs(tag.screen.tags) do
-            t.selected = (tag == t)
-        end
-    end
+       local s = awful.screen.focused()
+       local ts = screen:count() - (s.index + direction) % screen:count()
+       for _, tag in ipairs(s.selected_tags) do
+               print("index: " .. s.index .. " count: " .. screen:count() .. " target: " .. ts)
+               tag.screen = screen[ts]
+
+               for _, t in ipairs(tag.screen.tags) do
+                       t.selected = (tag == t)
+               end
+       end
 end
 
 globalkeys = gears.table.join(