hg g6
This commit is contained in:
parent
e4d92e8927
commit
01227361e5
19
askme.sh
Normal file
19
askme.sh
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
rc=-1
|
||||||
|
# while [[ $rc != [01] ]]; do ✔ took 4s at 07:46:30
|
||||||
|
ans=$(zenity --info --title 'Choose!' \
|
||||||
|
--text 'Autostart apps?' \
|
||||||
|
--ok-label YES \
|
||||||
|
--extra-button NO \
|
||||||
|
--timeout 15)
|
||||||
|
rc=$?
|
||||||
|
echo "${rc}-${ans}"
|
||||||
|
# done
|
||||||
|
if [[ $rc = 1 ]]
|
||||||
|
then
|
||||||
|
echo "exiting"
|
||||||
|
else
|
||||||
|
echo "startng"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
70
autorun.sh
70
autorun.sh
@ -1,37 +1,65 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
function run {
|
function run {
|
||||||
if ! pgrep $1 ;
|
if ! pgrep $1; then
|
||||||
then
|
$@ &
|
||||||
$@&
|
fi
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
ans=$(zenity --info --title 'Choose!' \
|
||||||
|
--text 'Autostart tray icons?' \
|
||||||
|
--ok-label YES \
|
||||||
|
--extra-button NO \
|
||||||
|
--timeout 15)
|
||||||
|
rc1=$?
|
||||||
|
echo "${rc}-${ans}"
|
||||||
|
|
||||||
# utilities in top bar
|
if [[ $rc1 = 1 ]]; then
|
||||||
# network manager
|
echo "exiting"
|
||||||
run /usr/bin/nm-applet
|
else
|
||||||
# bluetooth indicator
|
# utilities in top bar
|
||||||
run /usr/bin/blueman-manager
|
# network manager
|
||||||
# screenshot utility
|
run /usr/bin/nm-applet
|
||||||
run /usr/bin/shutter
|
# bluetooth indicator
|
||||||
# volume control
|
run /usr/bin/blueman-manager
|
||||||
run /usr/bin/pasystray
|
# screenshot utility
|
||||||
|
run /usr/bin/shutter
|
||||||
|
# volume control
|
||||||
|
run /usr/bin/pasystray
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
ans=$(zenity --info --title 'Choose!' \
|
||||||
|
--text 'Autostart apps?' \
|
||||||
|
--ok-label YES \
|
||||||
|
--extra-button NO \
|
||||||
|
--timeout 15)
|
||||||
|
rc=$?
|
||||||
|
echo "${rc}-${ans}"
|
||||||
|
|
||||||
|
if [[ $rc = 1 ]]; then
|
||||||
|
echo "exiting"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
# tag 1
|
# tag 1
|
||||||
run jetbrains-toolbox
|
#run /usr/local/bin/jetbrains-toolbox
|
||||||
|
run /snap/bin/intellij-idea-ultimate
|
||||||
# tag 2
|
# tag 2
|
||||||
run /opt/google/chrome/chrome
|
run /opt/google/chrome/chrome
|
||||||
# tag 3
|
# tag 3
|
||||||
run /usr/bin/terminator
|
run /usr/bin/terminator
|
||||||
# tag 4
|
# tag 4
|
||||||
run /usr/bin/code
|
run /snap/bin/code
|
||||||
# tag 5
|
# tag 5
|
||||||
#run /usr/bin/zoom
|
run /usr/bin/zoom
|
||||||
#run /usr/bin/teams
|
#run /snap/bin/teams
|
||||||
|
run /snap/bin/rambox
|
||||||
#tag 6
|
#tag 6
|
||||||
#run /snap/bin/rocketchat-desktop
|
run /snap/bin/rocketchat-desktop
|
||||||
run /usr/bin/thunderbird
|
run /usr/bin/thunderbird
|
||||||
run /usr/bin/discord
|
#run /snap/bin/discord
|
||||||
# tag 7
|
# tag 7
|
||||||
run /usr/local/bin/bitwarden
|
run /snap/bin/bitwarden
|
||||||
#run /usr/bin/keepassx
|
#run /usr/bin/keepassx
|
||||||
|
# tag 12
|
||||||
|
run /snap/bin/firefox
|
||||||
|
|||||||
138
rc.lua
138
rc.lua
@ -18,6 +18,8 @@ local battery_widget = require("battery-widget")
|
|||||||
local keyboard_layout_indicator = require("keyboard-layout-indicator")
|
local keyboard_layout_indicator = require("keyboard-layout-indicator")
|
||||||
local revelation=require("revelation")
|
local revelation=require("revelation")
|
||||||
|
|
||||||
|
revelation.curr_tag_only = true
|
||||||
|
|
||||||
-- Load Debian menu entries
|
-- Load Debian menu entries
|
||||||
local debian = require("debian.menu")
|
local debian = require("debian.menu")
|
||||||
local has_fdo, freedesktop = pcall(require, "freedesktop")
|
local has_fdo, freedesktop = pcall(require, "freedesktop")
|
||||||
@ -64,6 +66,9 @@ local tag18 = "18"
|
|||||||
local tag19 = "19"
|
local tag19 = "19"
|
||||||
local tag20 = "20"
|
local tag20 = "20"
|
||||||
|
|
||||||
|
-- Numpad: [0-9] = [#90, #87-#89, #83-#85, #79-#81]
|
||||||
|
local numpadMap = { 87, 88, 89, 83, 84, 85, 79, 80, 81, 90 }
|
||||||
|
|
||||||
local tags = {
|
local tags = {
|
||||||
tag1,tag2,tag3,tag4,tag5,tag6,tag7,tag8,tag9,tag10,
|
tag1,tag2,tag3,tag4,tag5,tag6,tag7,tag8,tag9,tag10,
|
||||||
tag11,tag12,tag13,tag14,tag15,tag16,tag17,tag18,tag19,tag20
|
tag11,tag12,tag13,tag14,tag15,tag16,tag17,tag18,tag19,tag20
|
||||||
@ -232,7 +237,7 @@ menubar.utils.terminal = terminal -- Set the terminal for applications that requ
|
|||||||
-- mytextclock = wibox.widget.textclock()
|
-- mytextclock = wibox.widget.textclock()
|
||||||
mytextclock = wibox.widget.textclock("%y-%m-%d %a %H:%M:%S",1)
|
mytextclock = wibox.widget.textclock("%y-%m-%d %a %H:%M:%S",1)
|
||||||
|
|
||||||
mybatterywidget = battery_widget { adapter = "BAT0", ac = "AC", widget_font = wibar_font
|
mybatterywidget = battery_widget { adapter = "BAT0", ac = "AC", widget_font = wibar_font
|
||||||
, battery_prefix = "🔋"
|
, battery_prefix = "🔋"
|
||||||
, ac_prefix = "🔌"
|
, ac_prefix = "🔌"
|
||||||
}
|
}
|
||||||
@ -318,7 +323,6 @@ local function getAllClient()
|
|||||||
local t = focusedScreen.selected_tag
|
local t = focusedScreen.selected_tag
|
||||||
local clientsOnTag = t:clients()
|
local clientsOnTag = t:clients()
|
||||||
return clientsOnTag
|
return clientsOnTag
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
-- restore the given client
|
-- restore the given client
|
||||||
@ -479,11 +483,34 @@ root.buttons(gears.table.join(
|
|||||||
-- {{{ Key bindings
|
-- {{{ Key bindings
|
||||||
-- mod + s = show help
|
-- mod + s = show help
|
||||||
globalkeys = gears.table.join(
|
globalkeys = gears.table.join(
|
||||||
|
awful.key({ modkey, "Control" }, "v",
|
||||||
|
function ()
|
||||||
|
for _, c in ipairs(client.get()) do
|
||||||
|
awful.titlebar.show(c)
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
{description = "show titles", group = "awesome"}
|
||||||
|
),
|
||||||
|
awful.key({ modkey }, "v",
|
||||||
|
function ()
|
||||||
|
for _, c in ipairs(client.get()) do
|
||||||
|
awful.titlebar.hide(c)
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
{description = "hide titles", group = "awesome"}
|
||||||
|
),
|
||||||
|
awful.key({ modkey }, "b",
|
||||||
|
function ()
|
||||||
|
myscreen = awful.screen.focused()
|
||||||
|
myscreen.mywibox.visible = not myscreen.mywibox.visible
|
||||||
|
end,
|
||||||
|
{description = "toggle statusbar", group = "awesome"}
|
||||||
|
),
|
||||||
awful.key({ "Mod1", }, "Tab",
|
awful.key({ "Mod1", }, "Tab",
|
||||||
function ()
|
function ()
|
||||||
switcher.switch( 1, "Mod1", "Alt_L", "Shift", "Tab")
|
switcher.switch( 1, "Mod1", "Alt_L", "Shift", "Tab")
|
||||||
end),
|
end),
|
||||||
|
|
||||||
awful.key({ "Mod1", "Shift" }, "Tab",
|
awful.key({ "Mod1", "Shift" }, "Tab",
|
||||||
function ()
|
function ()
|
||||||
switcher.switch(-1, "Mod1", "Alt_L", "Shift", "Tab")
|
switcher.switch(-1, "Mod1", "Alt_L", "Shift", "Tab")
|
||||||
@ -492,12 +519,16 @@ globalkeys = gears.table.join(
|
|||||||
awful.key({ modkey, }, "e", revelation),
|
awful.key({ modkey, }, "e", revelation),
|
||||||
awful.key({ modkey, }, "s", hotkeys_popup.show_help,
|
awful.key({ modkey, }, "s", hotkeys_popup.show_help,
|
||||||
{description="show help", group="awesome"}),
|
{description="show help", group="awesome"}),
|
||||||
-- mod + left|right -> view next/prev tag
|
-- mod + left|right -> view next/prev tag
|
||||||
awful.key({ modkey, }, "Left", awful.tag.viewprev,
|
awful.key({ modkey, }, "Left", awful.tag.viewprev,
|
||||||
{description = "view previous", group = "tag"}),
|
{description = "view previous", group = "tag"}),
|
||||||
awful.key({ modkey, }, "Right", awful.tag.viewnext,
|
awful.key({ modkey, }, "Right", awful.tag.viewnext,
|
||||||
{description = "view next", group = "tag"}),
|
{description = "view next", group = "tag"}),
|
||||||
-- mod + Esc -> tag history resotre
|
awful.key({ modkey, }, "End", awful.tag.viewprev,
|
||||||
|
{description = "view previous", group = "tag"}),
|
||||||
|
awful.key({ modkey, }, "Home", awful.tag.viewnext,
|
||||||
|
{description = "view next", group = "tag"}),
|
||||||
|
-- mod + Esc -> tag history resotre
|
||||||
awful.key({ modkey, }, "Escape", awful.tag.history.restore,
|
awful.key({ modkey, }, "Escape", awful.tag.history.restore,
|
||||||
{description = "go back", group = "tag"}),
|
{description = "go back", group = "tag"}),
|
||||||
-- mod + j|k -> focus next|prev client
|
-- mod + j|k -> focus next|prev client
|
||||||
@ -520,7 +551,7 @@ globalkeys = gears.table.join(
|
|||||||
end,
|
end,
|
||||||
{description = "restore all", group = "client"}
|
{description = "restore all", group = "client"}
|
||||||
),
|
),
|
||||||
awful.key({ modkey, }, "u",
|
awful.key({ modkey}, "Prior",
|
||||||
function ()
|
function ()
|
||||||
restoreAll()
|
restoreAll()
|
||||||
awful.client.focus.byidx( 1)
|
awful.client.focus.byidx( 1)
|
||||||
@ -528,7 +559,7 @@ globalkeys = gears.table.join(
|
|||||||
end,
|
end,
|
||||||
{description = "focus next by index", group = "client"}
|
{description = "focus next by index", group = "client"}
|
||||||
),
|
),
|
||||||
awful.key({ modkey, }, "i",
|
awful.key({ modkey }, "Next",
|
||||||
function ()
|
function ()
|
||||||
restoreAll()
|
restoreAll()
|
||||||
awful.client.focus.byidx(-1)
|
awful.client.focus.byidx(-1)
|
||||||
@ -546,10 +577,12 @@ globalkeys = gears.table.join(
|
|||||||
{description = "swap with next client by index", group = "client"}),
|
{description = "swap with next client by index", group = "client"}),
|
||||||
awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( -1) end,
|
awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( -1) end,
|
||||||
{description = "swap with previous client by index", group = "client"}),
|
{description = "swap with previous client by index", group = "client"}),
|
||||||
-- mod + ctrl + j|k -> focus next|prev screen
|
-- mod + é|á|ű -> focus next|prev screen
|
||||||
awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative( 1) end,
|
awful.key({ modkey }, "é", function () awful.screen.focus( 1) end,
|
||||||
{description = "focus the next screen", group = "screen"}),
|
{description = "focus the next screen", group = "screen"}),
|
||||||
awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative(-1) end,
|
awful.key({ modkey }, "á", function () awful.screen.focus(2) end,
|
||||||
|
{description = "focus the previous screen", group = "screen"}),
|
||||||
|
awful.key({ modkey }, "ű", function () awful.screen.focus(3) end,
|
||||||
{description = "focus the previous screen", group = "screen"}),
|
{description = "focus the previous screen", group = "screen"}),
|
||||||
-- mod + u -> urgent client
|
-- mod + u -> urgent client
|
||||||
awful.key({ modkey, }, "u", awful.client.urgent.jumpto,
|
awful.key({ modkey, }, "u", awful.client.urgent.jumpto,
|
||||||
@ -570,7 +603,7 @@ globalkeys = gears.table.join(
|
|||||||
-- mod + ctrl + r -> restart awsome
|
-- mod + ctrl + r -> restart awsome
|
||||||
awful.key({ modkey, "Control" }, "r", awesome.restart,
|
awful.key({ modkey, "Control" }, "r", awesome.restart,
|
||||||
{description = "reload awesome", group = "awesome"}),
|
{description = "reload awesome", group = "awesome"}),
|
||||||
-- mod + shift + q -> quit awesome
|
-- mod + shift + q -> quit awesome
|
||||||
awful.key({ modkey, "Shift" }, "q", awesome.quit,
|
awful.key({ modkey, "Shift" }, "q", awesome.quit,
|
||||||
{description = "quit awesome", group = "awesome"}),
|
{description = "quit awesome", group = "awesome"}),
|
||||||
|
|
||||||
@ -639,17 +672,17 @@ clientkeys = gears.table.join(
|
|||||||
-- mod + shift + c -> close client
|
-- mod + shift + c -> close client
|
||||||
awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end,
|
awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end,
|
||||||
{description = "close", group = "client"}),
|
{description = "close", group = "client"}),
|
||||||
-- mod + ctrl + space -> toggle float
|
-- mod + ctrl + space -> toggle float
|
||||||
awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle ,
|
awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle ,
|
||||||
{description = "toggle floating", group = "client"}),
|
{description = "toggle floating", group = "client"}),
|
||||||
-- mod + ctrl + enter -> move to master position
|
-- mod + ctrl + enter -> move to master position
|
||||||
awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end,
|
awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end,
|
||||||
{description = "move to master", group = "client"}),
|
{description = "move to master", group = "client"}),
|
||||||
-- mod + o -> move to screen
|
-- mod + o -> move to screen
|
||||||
-- move the current client in to the active tag of the next screen
|
-- move the current client in to the active tag of the next screen
|
||||||
awful.key({ modkey, }, "o", function (c) c:move_to_screen() end,
|
awful.key({ modkey, }, "o", function (c) c:move_to_screen() end,
|
||||||
{description = "move to screen", group = "client"}),
|
{description = "move to screen", group = "client"}),
|
||||||
-- mod + t -> toggle on top
|
-- mod + t -> toggle on top
|
||||||
awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end,
|
awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end,
|
||||||
{description = "toggle keep on top", group = "client"}),
|
{description = "toggle keep on top", group = "client"}),
|
||||||
-- mod + n -> minimize
|
-- mod + n -> minimize
|
||||||
@ -660,14 +693,14 @@ clientkeys = gears.table.join(
|
|||||||
c.minimized = true
|
c.minimized = true
|
||||||
end ,
|
end ,
|
||||||
{description = "minimize", group = "client"}),
|
{description = "minimize", group = "client"}),
|
||||||
-- mod + m -> toggle maximize
|
-- mod + m -> toggle maximize
|
||||||
awful.key({ modkey, }, "m",
|
awful.key({ modkey, }, "m",
|
||||||
function (c)
|
function (c)
|
||||||
c.maximized = not c.maximized
|
c.maximized = not c.maximized
|
||||||
c:raise()
|
c:raise()
|
||||||
end ,
|
end ,
|
||||||
{description = "(un)maximize", group = "client"}),
|
{description = "(un)maximize", group = "client"}),
|
||||||
-- mod + ctrl + m -> toggle maximize vertical
|
-- mod + ctrl + m -> toggle maximize vertical
|
||||||
awful.key({ modkey, "Control" }, "m",
|
awful.key({ modkey, "Control" }, "m",
|
||||||
function (c)
|
function (c)
|
||||||
c.maximized_vertical = not c.maximized_vertical
|
c.maximized_vertical = not c.maximized_vertical
|
||||||
@ -703,14 +736,16 @@ for i = 1, 10 do
|
|||||||
end,
|
end,
|
||||||
{description = "view tag #"..i, group = "tag"}),
|
{description = "view tag #"..i, group = "tag"}),
|
||||||
|
|
||||||
awful.key({ modkey, KEY_ALT }, "#" .. i + 9,
|
-- awful.key({ modkey, KEY_ALT }, "#" .. i + 9,
|
||||||
|
-- awful.key({ modkey, KEY_ALT }, "#" .. i + 9,
|
||||||
|
awful.key({ modkey, KEY_ALT }, "#" .. numpadMap[i],
|
||||||
function ()
|
function ()
|
||||||
selectClientIdx(i)
|
selectClientIdx(i)
|
||||||
end,
|
end,
|
||||||
{description = "select client in active tag #"..i, group = "client"}),
|
{description = "select client in active tag #"..i, group = "client"}),
|
||||||
|
|
||||||
-- Toggle tag display.
|
-- Toggle tag display.
|
||||||
--
|
--
|
||||||
-- mod + ctrl + i -> show/hide tag
|
-- mod + ctrl + i -> show/hide tag
|
||||||
awful.key({ modkey, "Control" }, "#" .. i + 9,
|
awful.key({ modkey, "Control" }, "#" .. i + 9,
|
||||||
function ()
|
function ()
|
||||||
@ -730,7 +765,7 @@ for i = 1, 10 do
|
|||||||
-- if tag then
|
-- if tag then
|
||||||
-- client.focus:move_to_tag(tag)
|
-- client.focus:move_to_tag(tag)
|
||||||
-- end
|
-- end
|
||||||
-- end
|
-- end
|
||||||
move_client_to_tag(tags[i])
|
move_client_to_tag(tags[i])
|
||||||
end,
|
end,
|
||||||
{description = "move focused client to tag #"..i, group = "tag"})
|
{description = "move focused client to tag #"..i, group = "tag"})
|
||||||
@ -749,8 +784,6 @@ for i = 1, 10 do
|
|||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Numpad: [0-9] = [#90, #87-#89, #83-#85, #79-#81]
|
|
||||||
local numpadMap = { 87, 88, 89, 83, 84, 85, 79, 80, 81, 90 }
|
|
||||||
-- tags 11-20
|
-- tags 11-20
|
||||||
for i = 1, 10 do
|
for i = 1, 10 do
|
||||||
globalkeys = gears.table.join(globalkeys,
|
globalkeys = gears.table.join(globalkeys,
|
||||||
@ -828,7 +861,7 @@ local function getScreenByTagName(tagName)
|
|||||||
print( "tag " .. tostring(tagName) .. " is on screen " .. tostring(indexOfScreen))
|
print( "tag " .. tostring(tagName) .. " is on screen " .. tostring(indexOfScreen))
|
||||||
return indexOfScreen
|
return indexOfScreen
|
||||||
end
|
end
|
||||||
return awful.screen.focused().index
|
return awful.screen.focused().index
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
@ -854,30 +887,30 @@ awful.rules.rules = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
-- Floating clients.
|
-- Floating clients.
|
||||||
{ rule_any = {
|
-- { rule_any = {
|
||||||
instance = {
|
-- instance = {
|
||||||
"DTA", -- Firefox addon DownThemAll.
|
-- "DTA", -- Firefox addon DownThemAll.
|
||||||
"copyq", -- Includes session name in class.
|
-- "copyq", -- Includes session name in class.
|
||||||
},
|
-- },
|
||||||
class = {
|
-- class = {
|
||||||
"Arandr",
|
-- "Arandr",
|
||||||
"Gpick",
|
-- "Gpick",
|
||||||
"Kruler",
|
-- "Kruler",
|
||||||
"MessageWin", -- kalarm.
|
-- "MessageWin", -- kalarm.
|
||||||
"Sxiv",
|
-- "Sxiv",
|
||||||
"Wpa_gui",
|
-- "Wpa_gui",
|
||||||
"pinentry",
|
-- "pinentry",
|
||||||
"veromix",
|
-- "veromix",
|
||||||
"xtightvncviewer"},
|
-- "xtightvncviewer"},
|
||||||
|
|
||||||
name = {
|
-- name = {
|
||||||
"Event Tester", -- xev.
|
-- "Event Tester", -- xev.
|
||||||
},
|
-- },
|
||||||
role = {
|
-- role = {
|
||||||
"AlarmWindow", -- Thunderbird's calendar.
|
-- "AlarmWindow", -- Thunderbird's calendar.
|
||||||
"pop-up", -- e.g. Google Chrome's (detached) Developer Tools.
|
-- "pop-up", -- e.g. Google Chrome's (detached) Developer Tools.
|
||||||
}
|
-- }
|
||||||
}, properties = { floating = true }},
|
-- }, properties = { floating = true }},
|
||||||
|
|
||||||
-- Add titlebars to normal clients and dialogs
|
-- Add titlebars to normal clients and dialogs
|
||||||
{ rule_any = {type = { "normal", "dialog" }
|
{ rule_any = {type = { "normal", "dialog" }
|
||||||
@ -901,8 +934,10 @@ awful.rules.rules = {
|
|||||||
{ rule = { instance = "zoom" },
|
{ rule = { instance = "zoom" },
|
||||||
properties = { screen = function () return getScreenByTagName(tag5) end, tag = tag5 } },
|
properties = { screen = function () return getScreenByTagName(tag5) end, tag = tag5 } },
|
||||||
-- microsoft teams - preview -> tag5
|
-- microsoft teams - preview -> tag5
|
||||||
{ rule = { instance = "microsoft teams - preview" },
|
-- { rule = { instance = "microsoft teams - preview" },
|
||||||
properties = { screen = function () return getScreenByTagName(tag5) end, tag = tag5 } },
|
-- properties = { screen = function () return getScreenByTagName(tag5) end, tag = tag5 } },
|
||||||
|
{ rule = { class = "rambox" },
|
||||||
|
properties = { screen = function () return getScreenByTagName(tag6) end, tag = tag6 } },
|
||||||
-- rocket.chat-> tag6
|
-- rocket.chat-> tag6
|
||||||
{ rule = { instance = "rocket.chat" },
|
{ rule = { instance = "rocket.chat" },
|
||||||
properties = { screen = function () return getScreenByTagName(tag6) end, tag = tag6 } },
|
properties = { screen = function () return getScreenByTagName(tag6) end, tag = tag6 } },
|
||||||
@ -910,14 +945,17 @@ awful.rules.rules = {
|
|||||||
{ rule = { instance = "discord" },
|
{ rule = { instance = "discord" },
|
||||||
properties = { screen = function () return getScreenByTagName(tag6) end, tag = tag6 } },
|
properties = { screen = function () return getScreenByTagName(tag6) end, tag = tag6 } },
|
||||||
-- Thunderbird -> tag6
|
-- Thunderbird -> tag6
|
||||||
{ rule = { class = "Thunderbird" },
|
{ rule = { class = "thunderbird" },
|
||||||
properties = { screen = function () return getScreenByTagName(tag6) end, tag = tag6 } },
|
properties = { screen = function () return getScreenByTagName(tag6) end, tag = tag17 } },
|
||||||
-- Bitwarden -> tag7
|
-- Bitwarden -> tag7
|
||||||
{ rule = { instance = "bitwarden" },
|
{ rule = { instance = "bitwarden" },
|
||||||
properties = { screen = function () return getScreenByTagName(tag7) end, tag = tag7 } },
|
properties = { screen = function () return getScreenByTagName(tag7) end, tag = tag7 } },
|
||||||
-- keepass2 -> tag7
|
-- keepass2 -> tag7
|
||||||
{ rule = { instance = "keepassx" },
|
{ rule = { instance = "keepassx" },
|
||||||
properties = { screen = function () return getScreenByTagName(tag7) end, tag = tag7 } },
|
properties = { screen = function () return getScreenByTagName(tag7) end, tag = tag7 } },
|
||||||
|
-- fireefox -> tag12
|
||||||
|
{ rule = { class = "firefox" },
|
||||||
|
properties = { screen = function () return getScreenByTagName(tag12) end, tag = tag12 } },
|
||||||
-- Set Firefox to always map on the tag named "2" on screen 1.
|
-- Set Firefox to always map on the tag named "2" on screen 1.
|
||||||
-- { rule = { class = "Firefox" },
|
-- { rule = { class = "Firefox" },
|
||||||
-- properties = { screen = 1, tag = "2" } },
|
-- properties = { screen = 1, tag = "2" } },
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user