about summary refs log tree commit diff
diff options
context:
space:
mode:
m---------awesome/.config/awesome/boardary0
-rw-r--r--awesome/.config/awesome/rc.lua19
-rw-r--r--awesome/.config/awesome/themes/srcery/background-wide.pngbin0 -> 23593 bytes
-rw-r--r--awesome/.config/awesome/themes/srcery/theme.lua2
m---------awesome/.config/awesome/vicious0
5 files changed, 15 insertions, 6 deletions
diff --git a/awesome/.config/awesome/boardary b/awesome/.config/awesome/boardary
new file mode 160000
+Subproject 8c5d2ff0000982c6257468dab7f5ca985d58b64
diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua
index 765c0c6..adf9ee3 100644
--- a/awesome/.config/awesome/rc.lua
+++ b/awesome/.config/awesome/rc.lua
@@ -83,9 +83,9 @@ local modkey = "Mod4"
 awful.layout.layouts = {
   awful.layout.suit.fair,
   --awful.layout.suit.fair.horizontal,
-  awful.layout.suit.tile,
+  --awful.layout.suit.tile,
   --awful.layout.suit.tile.left,
-  --awful.layout.suit.tile.bottom,
+  awful.layout.suit.tile.bottom,
   --awful.layout.suit.tile.top,
   --awful.layout.suit.spiral,
   --awful.layout.suit.spiral.dwindle,
@@ -95,7 +95,7 @@ awful.layout.layouts = {
   --awful.layout.suit.corner.nw,
   --awful.layout.suit.corner.ne,
   --awful.layout.suit.corner.sw,
-  --awful.layout.suit.corner.se
+  --awful.layout.suit.corner.se,
   awful.layout.suit.floating,
 }
 -- }}}
@@ -317,7 +317,9 @@ local function set_wallpaper(s)
   -- Wallpaper
   if beautiful.wallpaper then
     local wallpaper = beautiful.wallpaper
-    -- If wallpaper is a function, call it with the screen
+    if s.geometry.width > 3000 then
+      wallpaper = beautiful.wallpaper_wide
+    end
     if type(wallpaper) == "function" then
       wallpaper = wallpaper(s)
     end
@@ -340,8 +342,13 @@ screen.connect_signal("property::geometry", set_wallpaper)
 awful.screen.connect_for_each_screen(function (s)
   set_wallpaper(s)
   -- Each screen has its own tag table.
-  awful.tag({"1", "2", "3", "4", "5", "6", "7", "8", "9"}, s,
-            awful.layout.layouts[1])
+  if s.geometry.width > 3000 then
+    awful.tag({"1", "2", "3", "4", "5", "6", "7", "8", "9"}, s,
+              awful.layout.suit.tile.bottom)
+  else
+    awful.tag({"1", "2", "3", "4", "5", "6", "7", "8", "9"}, s,
+              awful.layout.suit.fair)
+  end
 
   -- Create a promptbox for each screen
   s.mypromptbox = awful.widget.prompt{prompt = " "}
diff --git a/awesome/.config/awesome/themes/srcery/background-wide.png b/awesome/.config/awesome/themes/srcery/background-wide.png
new file mode 100644
index 0000000..a3b0076
--- /dev/null
+++ b/awesome/.config/awesome/themes/srcery/background-wide.png
Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/theme.lua b/awesome/.config/awesome/themes/srcery/theme.lua
index 2161fb4..0773480 100644
--- a/awesome/.config/awesome/themes/srcery/theme.lua
+++ b/awesome/.config/awesome/themes/srcery/theme.lua
@@ -119,6 +119,7 @@ theme.titlebar_maximized_button_normal_active = titlebar'normal'
 theme.titlebar_maximized_button_focus_active = titlebar'maximized_active'
 
 theme.wallpaper = abspath'background-fullhd.png'
+theme.wallpaper_wide = abspath'background-wide.png'
 
 -- You can use your own layout icons like this:
 local function layout(icon)
@@ -140,6 +141,7 @@ theme.layout_cornernw = layout'cornernw'
 theme.layout_cornerne = layout'cornerne'
 theme.layout_cornersw = layout'cornersw'
 theme.layout_cornerse = layout'cornerse'
+theme.master_count = 3
 
 theme.awesome_icon = abspath'awesome.png'
 
diff --git a/awesome/.config/awesome/vicious b/awesome/.config/awesome/vicious
-Subproject b20f68bdb742caa5775b45c7f3f3624da0c51c7
+Subproject 81f8a8077437d32fd31de87493be5ce346d7b6c