]> 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:

switch to tag for a dialog
[etc/awesome.git] / .config / awesome / rc.lua
index 55117daf891abf2c29e28e3f93ea3320d1493915..42abdec4e10da7d6750467b1c2c35c3b6f5d107a 100644 (file)
@@ -25,7 +25,7 @@ local has_fdo, freedesktop = pcall(require, "freedesktop")
 -- Other libraries
 local lain = require("lain")
 local ccwidgets = require("cryptocoin_widgets")
-local fxwidgets = require("forex_widgets")
+--local fxwidgets = require("forex_widgets")
 local clocksarray = require("clocksarray")
 local dbg = require("debugfunc")
 local th = require("taghelpers")
@@ -306,10 +306,10 @@ awful.screen.connect_for_each_screen(function(s)
             make_spacer(" "),
             ccwidgets.btc_widget,
             make_spacer(),
-            ccwidgets.eth_widget,
-            make_spacer(),
-            fxwidgets.ecb_widget,
-            make_spacer(),
+            --ccwidgets.eth_widget,
+            --make_spacer(),
+            --fxwidgets.ecb_widget,
+            --make_spacer(),
             lain_bat.widget,
             make_spacer(),
         }, right_widgets)
@@ -481,19 +481,31 @@ default_tags = gears.table.join(default_tags, {
     selected    = true,
     exec_once   = { terminal .. " -name irc -e env MOSH_TITLE_NOPREFIX=true mosh --family=all -- irc-host tmux new -As irc irssi" },
     instance    = { "irc" },
-    targets     = { "gauting/eDP-?1", "lehel/DisplayPort-2" },
+    targets     = {
+                    "gern/DP-?[12]-1",
+                    "gauting/eDP-?1",
+                    "toni/eDP-?1",
+                    "krafftwerk/DP-?1-1-5",
+                    "krafftwerk/DisplayPort-2",
+                    "cafe/eDP-?1"
+                },
   },
   {
     name        = "[]",
     init        = true,
     exclusive   = true,
     master_count = 0,
-    column_count = 3,
+    column_count = 4,
     layout      = layouts.tiled,
     selected    = false,
-    exec_once   = { "revolt" },
-    instance    = { "Revolt" },
-    targets     = { "gauting/eDP-?1", "lehel/DisplayPort-2" },
+    targets     = {
+                    "gern/DP-?[12]-1",
+                    "gauting/eDP-?1",
+                    "toni/eDP-?1",
+                    "krafftwerk/DP-?1-1-5",
+                    "krafftwerk/DisplayPort-2",
+                    "cafe/eDP-?1"
+                },
   },
   {
     name        = "dflt",
@@ -510,7 +522,14 @@ default_tags = gears.table.join(default_tags, {
     layout      = layouts.default,
     exec_once   = { "thunderbird" },
     class       = { "thunderbird" },
-    targets     = { "gauting/eDP-?1", "lehel/DisplayPort-1" },
+    targets     = {
+                    "gern/DP-?[12]-1",
+                    "gauting/eDP-?1",
+                    "toni/eDP-?1",
+                    "krafftwerk/DP-?1-1-6",
+                    "krafftwerk/DisplayPort-0",
+                    "cafe/eDP-?1"
+                },
   },
   {
     name        = "chr",
@@ -519,7 +538,15 @@ default_tags = gears.table.join(default_tags, {
     layout      = layouts.default,
     exec_once   = { "chromium" },
     class       = { "Chromium" },
-    targets     = { "gauting/eDP-?1", "lehel/DisplayPort-1", "present/HDMI.*" },
+    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"
+                },
   },
   {
     name        = "ffx",
@@ -528,7 +555,15 @@ default_tags = gears.table.join(default_tags, {
     layout      = layouts.default,
     exec_once   = { "firefox" },
     class       = { "Firefox" },
-    targets     = { "gauting/eDP-?1", "lehel/DisplayPort-1", "present/HDMI.*" },
+    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"
+                },
   },
 })
 
@@ -1103,7 +1138,6 @@ awful.rules.rules = {
                         "Inkscape",
                         "Pitivi",
                         "Audacity",
-                        "Microsoft Teams - Preview",
                         "org.remmina.Remmina",
                     },
                     instance = {
@@ -1115,7 +1149,7 @@ awful.rules.rules = {
                         layout = layouts.maximised,
                         volatile = true,
                     },
-                     --switchtotag = true,
+                     switchtotag = true,
                      focus = true,
                    },
                },