Merge branch 'master' of github.com:ChrisCochrun/.dotfiles
made changes to make bar prettier and ensure flameshot loads.
This commit is contained in:
commit
a946f8e4f2
126 changed files with 6527 additions and 21 deletions
|
@ -82,7 +82,7 @@ beautiful.init("/home/chris/.config/awesome/theme.lua")
|
|||
|
||||
-- This is used later as the default terminal and editor to run.
|
||||
terminal = "alacritty"
|
||||
editor = os.getenv("EDITOR") or "emacs"
|
||||
editor = os.getenv("EDITOR") or "emacsclient -a emacs"
|
||||
editor_cmd = terminal .. " -e " .. editor
|
||||
|
||||
-- Default modkey.
|
||||
|
@ -91,6 +91,7 @@ editor_cmd = terminal .. " -e " .. editor
|
|||
-- I suggest you to remap Mod4 to another key using xmodmap or other tools.
|
||||
-- However, you can use another modifier like Mod1, but it may interact with others.
|
||||
modkey = "Mod4"
|
||||
altkey = "Mod1"
|
||||
|
||||
-- Table of layouts to cover with awful.layout.inc, order matters.
|
||||
awful.layout.layouts = {
|
||||
|
@ -142,6 +143,9 @@ mykeyboardlayout = awful.widget.keyboardlayout()
|
|||
-- Create a textclock widget
|
||||
mytextclock = wibox.widget.textclock(" %a %b %d, %l:%M %p ")
|
||||
|
||||
-- Create a volume widget
|
||||
-- myvolumewidget = wibox.widget.button()
|
||||
|
||||
-- Create a wibox for each screen and add it
|
||||
local taglist_buttons = gears.table.join(
|
||||
awful.button({ }, 1, function(t) t:view_only() end),
|
||||
|
@ -292,6 +296,14 @@ awful.screen.connect_for_each_screen(function(s)
|
|||
-- s.volume = require('widget.volume-slider')()
|
||||
s.updater = require('widget.package-updater')()
|
||||
|
||||
s.myrightwidgets =
|
||||
{ -- Right widgets
|
||||
layout = wibox.layout.ratio.horizontal,
|
||||
s.mytasklist, -- Middle widget
|
||||
s.mysystray,
|
||||
s.mylayoutbox,
|
||||
inner_fill_strategy = "right"
|
||||
}
|
||||
-- Add widgets to the wibox
|
||||
s.mywibox:setup {
|
||||
layout = wibox.layout.align.horizontal,
|
||||
|
@ -299,6 +311,7 @@ awful.screen.connect_for_each_screen(function(s)
|
|||
layout = wibox.layout.fixed.horizontal,
|
||||
wibox.container.margin (s.mytaglist,25,0,0,0),
|
||||
s.mypromptbox,
|
||||
spacing = 15
|
||||
},
|
||||
wibox.container.margin (s.mytasklist,35,35,0,0), -- Middle widget
|
||||
{ -- Right widgets
|
||||
|
@ -311,6 +324,7 @@ awful.screen.connect_for_each_screen(function(s)
|
|||
mytextclock,
|
||||
wibox.container.margin (s.mylayoutbox,0,25,0,0),
|
||||
},
|
||||
expand = "outside"
|
||||
}
|
||||
end)
|
||||
-- }}}
|
||||
|
@ -376,10 +390,10 @@ globalkeys = gears.table.join(
|
|||
|
||||
-- Increase-Decrease Gap
|
||||
|
||||
awful.key({ modkey, Mod1 }, "k", function () awful.tag.incgap ( 1, null) end,
|
||||
awful.key({ modkey, altkey }, "k", function () awful.tag.incgap ( 1, null) end,
|
||||
{description = "increase gap", group = "layout"}),
|
||||
|
||||
awful.key({ Mod1, modkey }, "j", function () awful.tag.incgap ( -1, null) end,
|
||||
awful.key({ modkey, altkey }, "j", function () awful.tag.incgap ( -1, null) end,
|
||||
{description = "decrease gap", group = "layout"}),
|
||||
|
||||
|
||||
|
@ -619,7 +633,8 @@ awful.rules.rules = {
|
|||
"Tor Browser", -- Needs a fixed window size to avoid fingerprinting by screen size.
|
||||
"Wpa_gui",
|
||||
"veromix",
|
||||
"xtightvncviewer"},
|
||||
"xtightvncviewer",
|
||||
"feh"},
|
||||
|
||||
-- Note that the name property shown in xprop might be set slightly after creation of the client
|
||||
-- and the name shown there might not match defined rules here.
|
||||
|
@ -635,15 +650,19 @@ awful.rules.rules = {
|
|||
|
||||
-- Add titlebars to normal clients and dialogs
|
||||
{ rule_any = {type = { "normal", "dialog" }
|
||||
}, properties = { titlebars_enabled = false }
|
||||
}, properties = { titlebars_enabled = false}
|
||||
},
|
||||
|
||||
-- Set Firefox to always map on the tag named "2" on screen 1.
|
||||
-- Set Firefox to never have titlebars
|
||||
{ rule = { class = "Firefox" },
|
||||
properties = { screen = 1, tag = "2",
|
||||
maximized_vertical = true,
|
||||
maximized_horizontal = true,
|
||||
} },
|
||||
properties = { requests_no_titlebar = true, titlebars_enabled = false }
|
||||
},
|
||||
|
||||
-- Set Feh center
|
||||
{ rule = {class = "feh"},
|
||||
properties = {
|
||||
placement = awful.placement.centered
|
||||
}},
|
||||
}
|
||||
-- }}}
|
||||
|
||||
|
@ -714,6 +733,7 @@ client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_n
|
|||
|
||||
-- Autostart Applications
|
||||
awful.spawn.with_shell("picom")
|
||||
awful.spawn.with_shell("feh --bg-fill /home/chris/Pictures/royalking.png")
|
||||
awful.spawn.with_shell("libinput-gestures-setup start")
|
||||
awful.spawn.with_shell("flameshot")
|
||||
awful.spawn.with_shell("feh --bg-fill ~/Pictures/wallpapers/RoyalKing.png")
|
||||
awful.spawn.with_shell("/usr/lib/polkit-kde-authentication-agent-1")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue