+default_tags[1].selected = true
+
+default_tags = gears.table.join(default_tags, {
+ {
+ name = "irc",
+ init = true,
+ exclusive = true,
+ master_width_factor = 0.33,
+ layout = layouts.tiled,
+ selected = true,
+ exec_once = { terminal .. " -name irc -e env MOSH_TITLE_NOPREFIX=true mosh -4 -- irc-host tmux new -As irc irssi" },
+ instance = { "irc" },
+ targets = { "catalyst/eDP1", "mtvic/eDP1" },
+ },
+ {
+ name = "[m]",
+ init = true,
+ exclusive = true,
+ master_width_factor = 0.67,
+ layout = layouts.tiled,
+ selected = true,
+ exec_once = { "revolt" },
+ instance = { "Revolt" },
+ targets = { "catalyst/eDP1", "mtvic/eDP1" },
+ },
+ {
+ name = "dflt",
+ init = false,
+ fallback = true,
+ layout = layouts.floating,
+ volatile = true,
+ selected = true,
+ },
+ {
+ name = "cal",
+ init = true,
+ exclusive = true,
+ layout = layouts.default,
+ exec_once = { "thunderbird" },
+ class = { "Thunderbird" },
+ targets = { "catalyst/HDMI1", "mtvic/eDP1" },
+ },
+ {
+ name = "chr",
+ init = true,
+ exclusive = true,
+ layout = layouts.default,
+ exec_once = { "chromium" },
+ class = { "Chromium" },
+ targets = { "catalyst/HDMI1", "mtvic/eDP1" },
+ },
+ {
+ name = "ffx",
+ init = true,
+ exclusive = true,
+ layout = layouts.default,
+ exec_once = { "firefox" },
+ class = { "Firefox" },
+ targets = { "catalyst/HDMI1", "mtvic/eDP1" },
+ },
+})
+
+if not tyrannical then
+
+for _,t in ipairs(default_tags) do
+ if t.init then
+ t.screen = t.screen or screen.primary
+ t.layout = t.layout or layouts.default
+ local newt = th.add_tag(t.name, t, false)
+ end
+end
+
+else -- {{{ tyrannical is loaded
+tyrannical.settings.default_layout = layouts.default
+tyrannical.settings.master_width_factor = 0.5
+tyrannical.settings.block_children_focus_stealing = true
+tyrannical.settings.group_children = true
+
+tyrannical.tags = default_tags
+
+tyrannical.properties.size_hints_honor = { URxvt = false }
+
+--XX---- Ignore the tag "exclusive" property for the following clients (matched by classes)
+--XX--tyrannical.properties.intrusive = {
+--XX-- "ksnapshot" , "pinentry" , "gtksu" , "kcalc" , "xcalc" ,
+--XX-- "feh" , "Gradient editor", "About KDE" , "Paste Special", "Background color" ,
+--XX-- "kcolorchooser" , "plasmoidviewer" , "Xephyr" , "kruler" , "plasmaengineexplorer",
+--XX--}
+--XX--
+--XX---- Ignore the tiled layout for the matching clients
+--XX--tyrannical.properties.floating = {
+--XX-- "MPlayer" , "pinentry" , "ksnapshot" , "pinentry" , "gtksu" ,
+--XX-- "xine" , "feh" , "kmix" , "kcalc" , "xcalc" ,
+--XX-- "yakuake" , "Select Color$" , "kruler" , "kcolorchooser", "Paste Special" ,
+--XX-- "New Form" , "Insert Picture" , "kcharselect", "mythfrontend" , "plasmoidviewer"
+--XX--}
+--XX--
+--XX---- Make the matching clients (by classes) on top of the default layout
+--XX--tyrannical.properties.ontop = {
+--XX-- "Xephyr" , "ksnapshot" , "kruler"
+--XX--}
+--XX--
+--XX---- Force the matching clients (by classes) to be centered on the screen on init
+--XX--tyrannical.properties.centered = {
+--XX-- "kcalc"
+--XX--}
+end -- }}}