X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/d9d06cc7382128ca15ba691c68a088c6a3478324..f68db4a73e08a781f4994e8655fdb9aca57da2a0:/.config/awesome/rc.lua diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 1f2880f..53f987e 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -24,6 +24,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 clocksarray = require("clocksarray") local dbg = require("debugfunc") local th = require("taghelpers") @@ -299,17 +300,19 @@ awful.screen.connect_for_each_screen(function(s) layout = wibox.layout.fixed.horizontal, }) - if s == screen.primary then +-- if s == screen.primary then right_widgets = gears.table.join({ make_spacer(" "), ccwidgets.btc_widget, make_spacer(), ccwidgets.eth_widget, make_spacer(), + fxwidgets.ecb_widget, + make_spacer(), lain_bat.widget, make_spacer(), }, right_widgets) - end +-- end s.mywibox:setup { layout = wibox.layout.align.horizontal, @@ -384,7 +387,7 @@ tag.connect_signal("request::screen", function(t) end naughty.notify({ title = "Screen removed", - text = "Salvaged tab " .. t.name .. " onto screen " .. t.screen.name, + text = "Salvaged tab " .. t.name, }) end) @@ -505,7 +508,7 @@ default_tags = gears.table.join(default_tags, { layout = layouts.default, exec_once = { "thunderbird" }, class = { "Thunderbird" }, - targets = { "catalyst/HDMI1", "mtvic/eDP1", "gauting/eDP1", "lehel/DisplayPort-1" }, + targets = { "catalyst/DP2-2", "mtvic/eDP1", "gauting/eDP1", "lehel/DisplayPort-1" }, }, { name = "chr", @@ -514,7 +517,7 @@ default_tags = gears.table.join(default_tags, { layout = layouts.default, exec_once = { "chromium" }, class = { "Chromium" }, - targets = { "catalyst/HDMI1", "mtvic/eDP1", "gauting/eDP1", "lehel/DisplayPort-1" }, + targets = { "catalyst/DP2-2", "mtvic/eDP1", "gauting/eDP1", "lehel/DisplayPort-1", "present/HDMI1" }, }, { name = "ffx", @@ -523,7 +526,7 @@ default_tags = gears.table.join(default_tags, { layout = layouts.default, exec_once = { "firefox" }, class = { "Firefox" }, - targets = { "catalyst/HDMI1", "mtvic/eDP1", "gauting/eDP1", "lehel/DisplayPort-1" }, + targets = { "catalyst/DP2-2", "mtvic/eDP1", "gauting/eDP1", "lehel/DisplayPort-1", "present/HDMI1" }, }, }) @@ -1022,7 +1025,8 @@ awful.rules.rules = { }, { rule_any = { instance = { "tridactyl-edit", - "libreoffice" + "libreoffice", + "pdfshuffler" }}, properties = { floating = true, maximized = false,