Update 2019-03-24
|
@ -173,6 +173,7 @@ vicious.register(mybattery_text, vicious.widgets.bat,
|
||||||
return (" %s%03d%%"):format(args[1], args[2])
|
return (" %s%03d%%"):format(args[1], args[2])
|
||||||
end, 7, "BAT0")
|
end, 7, "BAT0")
|
||||||
local mybattery = wibox.container.background(mybattery_text, "#98971a")
|
local mybattery = wibox.container.background(mybattery_text, "#98971a")
|
||||||
|
mybattery.fg = "#282828"
|
||||||
mybattery:buttons(awful.util.table.join(
|
mybattery:buttons(awful.util.table.join(
|
||||||
awful.button({}, 1, spawner"mate-power-statistics"),
|
awful.button({}, 1, spawner"mate-power-statistics"),
|
||||||
awful.button({}, 3, spawner"mate-power-preferences")
|
awful.button({}, 3, spawner"mate-power-preferences")
|
||||||
|
@ -204,6 +205,7 @@ local function volume_mute(parameter)
|
||||||
end
|
end
|
||||||
|
|
||||||
local myvolume = wibox.container.background(myvolume_text, "#689d6a")
|
local myvolume = wibox.container.background(myvolume_text, "#689d6a")
|
||||||
|
myvolume.fg = "#282828"
|
||||||
myvolume:buttons(awful.util.table.join(
|
myvolume:buttons(awful.util.table.join(
|
||||||
awful.button({}, 1, volume_setter"-5"),
|
awful.button({}, 1, volume_setter"-5"),
|
||||||
awful.button({}, 2, volume_mute),
|
awful.button({}, 2, volume_mute),
|
||||||
|
@ -228,6 +230,7 @@ local function audacious_seeker(time)
|
||||||
end
|
end
|
||||||
|
|
||||||
local myplayer = wibox.container.background(myplayer_text, "#b16286")
|
local myplayer = wibox.container.background(myplayer_text, "#b16286")
|
||||||
|
myplayer.fg = "#282828"
|
||||||
myplayer:buttons(awful.util.table.join(
|
myplayer:buttons(awful.util.table.join(
|
||||||
awful.button({}, 1, spawner(audacious_rewind)),
|
awful.button({}, 1, spawner(audacious_rewind)),
|
||||||
awful.button({}, 2, spawner(audacious_play_pause)),
|
awful.button({}, 2, spawner(audacious_play_pause)),
|
||||||
|
@ -321,29 +324,41 @@ awful.screen.connect_for_each_screen(function (s)
|
||||||
s.mywibox = awful.wibar{position = "top", height = "22", screen = s}
|
s.mywibox = awful.wibar{position = "top", height = "22", screen = s}
|
||||||
|
|
||||||
-- Add widgets to the wibox
|
-- Add widgets to the wibox
|
||||||
s.mywibox:setup {
|
s.mywibox:setup{
|
||||||
layout = wibox.layout.align.horizontal,
|
layout = wibox.layout.align.horizontal,
|
||||||
{ -- Left widgets
|
{-- Left widgets
|
||||||
layout = wibox.layout.fixed.horizontal,
|
layout = wibox.layout.fixed.horizontal,
|
||||||
-- mylauncher,
|
-- mylauncher,
|
||||||
wibox.container.background(mytextclock, "#cc241d"),
|
{mytextclock,
|
||||||
wibox.widget.imagebox(beautiful.arrow0),
|
bg = "#cc241d",
|
||||||
wibox.container.background(mycpuusage, "#d65d0e"),
|
fg = "#282828",
|
||||||
wibox.widget.imagebox(beautiful.arrow1),
|
widget = wibox.container.background},
|
||||||
wibox.container.background(mymemusage, "#d79921"),
|
wibox.widget.imagebox(beautiful.arrow0),
|
||||||
wibox.widget.imagebox(beautiful.arrow2),
|
{mycpuusage,
|
||||||
mybattery,
|
bg = "#d65d0e",
|
||||||
wibox.widget.imagebox(beautiful.arrow3),
|
fg = "#282828",
|
||||||
myvolume,
|
widget = wibox.container.background},
|
||||||
wibox.widget.imagebox(beautiful.arrow4),
|
wibox.widget.imagebox(beautiful.arrow1),
|
||||||
wibox.container.background(myweather, "#458588"),
|
{mymemusage,
|
||||||
wibox.widget.imagebox(beautiful.arrow5),
|
bg = "#d79921",
|
||||||
myplayer,
|
fg = "#282828",
|
||||||
wibox.widget.imagebox(beautiful.arrow6),
|
widget = wibox.container.background},
|
||||||
s.mypromptbox
|
wibox.widget.imagebox(beautiful.arrow2),
|
||||||
|
mybattery,
|
||||||
|
wibox.widget.imagebox(beautiful.arrow3),
|
||||||
|
myvolume,
|
||||||
|
wibox.widget.imagebox(beautiful.arrow4),
|
||||||
|
{myweather,
|
||||||
|
bg = "#458588",
|
||||||
|
fg = "#282828",
|
||||||
|
widget = wibox.container.background},
|
||||||
|
wibox.widget.imagebox(beautiful.arrow5),
|
||||||
|
myplayer,
|
||||||
|
wibox.widget.imagebox(beautiful.arrow6),
|
||||||
|
s.mypromptbox
|
||||||
},
|
},
|
||||||
{ -- Middle widget
|
{-- Middle widget
|
||||||
layout = wibox.layout.fixed.horizontal,
|
layout = wibox.layout.fixed.horizontal,
|
||||||
},
|
},
|
||||||
-- s.mytasklist,
|
-- s.mytasklist,
|
||||||
{ -- Right widgets
|
{ -- Right widgets
|
||||||
|
@ -433,6 +448,10 @@ local globalkeys = awful.util.table.join(
|
||||||
{description = "open Luakit", group = "launcher"}),
|
{description = "open Luakit", group = "launcher"}),
|
||||||
awful.key({modkey, "Shift"}, "b", spawner"torify luakit --nounique",
|
awful.key({modkey, "Shift"}, "b", spawner"torify luakit --nounique",
|
||||||
{description = "open torified Luakit", group = "launcher"}),
|
{description = "open torified Luakit", group = "launcher"}),
|
||||||
|
awful.key({modkey}, "f", spawner"firefox",
|
||||||
|
{description = "open Firefox", group = "launcher"}),
|
||||||
|
awful.key({modkey, "Shift"}, "f", spawner"torbrowser-launcher",
|
||||||
|
{description = "open Tor Browser", group = "launcher"}),
|
||||||
awful.key({modkey}, "r", spawner(ranger),
|
awful.key({modkey}, "r", spawner(ranger),
|
||||||
{description = "open ranger file manager", group = "launcher"}),
|
{description = "open ranger file manager", group = "launcher"}),
|
||||||
awful.key({modkey, "Shift"}, "r", spawner(ranger .. " Documents/B1"),
|
awful.key({modkey, "Shift"}, "r", spawner(ranger .. " Documents/B1"),
|
||||||
|
@ -530,9 +549,9 @@ local globalkeys = awful.util.table.join(
|
||||||
)
|
)
|
||||||
|
|
||||||
local clientkeys = awful.util.table.join(
|
local clientkeys = awful.util.table.join(
|
||||||
awful.key({modkey}, "f",
|
awful.key({modkey, "Control"}, "f",
|
||||||
function (c)
|
function (c)
|
||||||
awful.titlebar.show(c)
|
--awful.titlebar.show(c)
|
||||||
c.fullscreen = not c.fullscreen
|
c.fullscreen = not c.fullscreen
|
||||||
c:raise()
|
c:raise()
|
||||||
end,
|
end,
|
||||||
|
@ -716,22 +735,22 @@ client.connect_signal(
|
||||||
end)
|
end)
|
||||||
)
|
)
|
||||||
|
|
||||||
awful.titlebar(c, {size=22}) : setup {
|
awful.titlebar(c, {size=22}):setup{
|
||||||
{ -- Left
|
{-- Left
|
||||||
awful.titlebar.widget.closebutton(c),
|
awful.titlebar.widget.closebutton(c),
|
||||||
awful.titlebar.widget.ontopbutton(c),
|
awful.titlebar.widget.ontopbutton(c),
|
||||||
awful.titlebar.widget.stickybutton(c),
|
awful.titlebar.widget.stickybutton(c),
|
||||||
awful.titlebar.widget.maximizedbutton(c),
|
awful.titlebar.widget.maximizedbutton(c),
|
||||||
awful.titlebar.widget.floatingbutton(c),
|
awful.titlebar.widget.floatingbutton(c),
|
||||||
layout = wibox.layout.fixed.horizontal
|
layout = wibox.layout.fixed.horizontal
|
||||||
},
|
},
|
||||||
{ -- Middle
|
{-- Middle
|
||||||
{ -- Title
|
{-- Title
|
||||||
align = "center",
|
align = "center",
|
||||||
widget = awful.titlebar.widget.titlewidget(c)
|
widget = awful.titlebar.widget.titlewidget(c)
|
||||||
},
|
},
|
||||||
buttons = buttons,
|
buttons = buttons,
|
||||||
layout = wibox.layout.flex.horizontal
|
layout = wibox.layout.flex.horizontal
|
||||||
},
|
},
|
||||||
{ -- Right
|
{ -- Right
|
||||||
awful.titlebar.widget.iconwidget(c),
|
awful.titlebar.widget.iconwidget(c),
|
||||||
|
@ -742,25 +761,25 @@ client.connect_signal(
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Show titlebar if client is floating, hide otherwise.
|
-- Show titlebar if client is floating, hide otherwise.
|
||||||
if not c.floating and
|
--if not c.floating and
|
||||||
awful.layout.get(c.screen) ~= awful.layout.suit.floating then
|
-- awful.layout.get(c.screen) ~= awful.layout.suit.floating then
|
||||||
awful.titlebar.hide(c)
|
-- awful.titlebar.hide(c)
|
||||||
end
|
--end
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
|
|
||||||
-- Show titlebar if client is floating, hide otherwise.
|
-- Show titlebar if client is floating, hide otherwise.
|
||||||
client.connect_signal(
|
--client.connect_signal(
|
||||||
"property::floating",
|
-- "property::floating",
|
||||||
function (c)
|
-- function (c)
|
||||||
if c.floating or
|
-- if c.floating or
|
||||||
awful.layout.get(c.screen) == awful.layout.suit.floating then
|
-- awful.layout.get(c.screen) == awful.layout.suit.floating then
|
||||||
awful.titlebar.show(c)
|
-- awful.titlebar.show(c)
|
||||||
else
|
-- else
|
||||||
awful.titlebar.hide(c)
|
-- awful.titlebar.hide(c)
|
||||||
end
|
-- end
|
||||||
end
|
-- end
|
||||||
)
|
--)
|
||||||
|
|
||||||
-- Enable sloppy focus, so that focus follows mouse.
|
-- Enable sloppy focus, so that focus follows mouse.
|
||||||
client.connect_signal(
|
client.connect_signal(
|
||||||
|
@ -779,16 +798,16 @@ client.connect_signal("unfocus",
|
||||||
function (c) c.border_color = beautiful.border_normal end)
|
function (c) c.border_color = beautiful.border_normal end)
|
||||||
|
|
||||||
-- Show titlebar if client is floating, hide otherwise.
|
-- Show titlebar if client is floating, hide otherwise.
|
||||||
tag.connect_signal(
|
--tag.connect_signal(
|
||||||
"property::layout",
|
-- "property::layout",
|
||||||
function (t)
|
-- function (t)
|
||||||
if t.layout == awful.layout.suit.floating then
|
-- if t.layout == awful.layout.suit.floating then
|
||||||
for _, c in pairs(t:clients()) do awful.titlebar.show(c) end
|
-- for _, c in pairs(t:clients()) do awful.titlebar.show(c) end
|
||||||
else
|
-- else
|
||||||
for _, c in pairs(t:clients()) do
|
-- for _, c in pairs(t:clients()) do
|
||||||
if not c.floating then awful.titlebar.hide(c) end
|
-- if not c.floating then awful.titlebar.hide(c) end
|
||||||
end
|
-- end
|
||||||
end
|
-- end
|
||||||
end
|
-- end
|
||||||
)
|
--)
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
1
awesome/.config/awesome/themes/gruvbox
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
gruvbox-dark
|
Before Width: | Height: | Size: 272 B After Width: | Height: | Size: 272 B |
Before Width: | Height: | Size: 270 B After Width: | Height: | Size: 270 B |
Before Width: | Height: | Size: 270 B After Width: | Height: | Size: 270 B |
Before Width: | Height: | Size: 272 B After Width: | Height: | Size: 272 B |
Before Width: | Height: | Size: 271 B After Width: | Height: | Size: 271 B |
Before Width: | Height: | Size: 268 B After Width: | Height: | Size: 268 B |
BIN
awesome/.config/awesome/themes/gruvbox-dark/arrows/6.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
awesome/.config/awesome/themes/gruvbox-dark/awesome.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 18 KiB |
BIN
awesome/.config/awesome/themes/gruvbox-dark/layouts/cornerne.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
awesome/.config/awesome/themes/gruvbox-dark/layouts/cornernw.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
awesome/.config/awesome/themes/gruvbox-dark/layouts/cornerse.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
awesome/.config/awesome/themes/gruvbox-dark/layouts/cornersw.png
Normal file
After Width: | Height: | Size: 4 KiB |
BIN
awesome/.config/awesome/themes/gruvbox-dark/layouts/dwindle.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
awesome/.config/awesome/themes/gruvbox-dark/layouts/fairh.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
awesome/.config/awesome/themes/gruvbox-dark/layouts/fairv.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
awesome/.config/awesome/themes/gruvbox-dark/layouts/floating.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 5.1 KiB |
After Width: | Height: | Size: 3.7 KiB |
BIN
awesome/.config/awesome/themes/gruvbox-dark/layouts/max.png
Normal file
After Width: | Height: | Size: 4.9 KiB |
BIN
awesome/.config/awesome/themes/gruvbox-dark/layouts/spiral.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
awesome/.config/awesome/themes/gruvbox-dark/layouts/tile.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.1 KiB |
BIN
awesome/.config/awesome/themes/gruvbox-dark/layouts/tileleft.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
awesome/.config/awesome/themes/gruvbox-dark/layouts/tiletop.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
awesome/.config/awesome/themes/gruvbox-dark/submenu.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 149 B After Width: | Height: | Size: 149 B |
BIN
awesome/.config/awesome/themes/gruvbox-dark/taglist/squaref.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
138
awesome/.config/awesome/themes/gruvbox-dark/theme.lua
Normal file
|
@ -0,0 +1,138 @@
|
||||||
|
-- gruvbox awesome theme, dark variant
|
||||||
|
-- Copyright (C) 2016-2019 Nguyễn Gia Phong
|
||||||
|
--
|
||||||
|
-- This program is free software: you can redistribute it and/or modify
|
||||||
|
-- it under the terms of the GNU General Public License as published by
|
||||||
|
-- the Free Software Foundation, either version 3 of the License, or
|
||||||
|
-- (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- This program is distributed in the hope that it will be useful,
|
||||||
|
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
-- GNU General Public License for more details.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU General Public License
|
||||||
|
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
local theme = {}
|
||||||
|
|
||||||
|
-- Working directory (where you place this theme)
|
||||||
|
theme.wd = "~/.config/awesome/themes/gruvbox-dark/"
|
||||||
|
|
||||||
|
theme.font = "Latin Modern Mono Caps 12"
|
||||||
|
theme.hotkeys_font = "Latin Modern Mono Bold 12"
|
||||||
|
theme.hotkeys_description_font = theme.font
|
||||||
|
|
||||||
|
theme.bg_normal = "#282828"
|
||||||
|
theme.bg_focus = "#3c3836"
|
||||||
|
theme.bg_urgent = theme.bg_normal
|
||||||
|
theme.bg_minimize = theme.bg_focus
|
||||||
|
theme.bg_systray = theme.bg_normal
|
||||||
|
theme.hotkeys_bg = theme.bg_normal
|
||||||
|
|
||||||
|
theme.fg_normal = "#ebdbb2"
|
||||||
|
theme.fg_focus = theme.fg_normal
|
||||||
|
theme.fg_urgent = "#d3869b"
|
||||||
|
theme.fg_minimize = theme.fg_normal
|
||||||
|
theme.hotkeys_fg = theme.fg_normal
|
||||||
|
|
||||||
|
theme.useless_gap = 0
|
||||||
|
theme.border_width = 2
|
||||||
|
theme.border_normal = theme.bg_focus
|
||||||
|
theme.border_focus = "#b16286"
|
||||||
|
theme.border_marked = "#cc241d"
|
||||||
|
|
||||||
|
theme.hotkeys_border_color = theme.border_focus
|
||||||
|
theme.hotkeys_border_width = theme.border_width
|
||||||
|
theme.hotkeys_modifiers_fg = theme.fg_urgent
|
||||||
|
|
||||||
|
-- There are other variable sets
|
||||||
|
-- overriding the default one when
|
||||||
|
-- defined, the sets are:
|
||||||
|
-- taglist_[bg|fg]_[focus|urgent|occupied|empty]
|
||||||
|
-- tasklist_[bg|fg]_[focus|urgent]
|
||||||
|
-- titlebar_[bg|fg]_[normal|focus]
|
||||||
|
-- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color]
|
||||||
|
-- mouse_finder_[color|timeout|animate_timeout|radius|factor]
|
||||||
|
theme.titlebar_bg_normal = theme.bg_normal
|
||||||
|
theme.titlebar_bg_focus = theme.bg_normal
|
||||||
|
|
||||||
|
-- Display the taglist squares
|
||||||
|
theme.taglist_squares_sel = theme.wd .. "taglist/squaref.png"
|
||||||
|
theme.taglist_squares_unsel = theme.wd .. "taglist/square.png"
|
||||||
|
|
||||||
|
-- Variables set for theming the menu:
|
||||||
|
-- menu_[bg|fg]_[normal|focus]
|
||||||
|
-- menu_[border_color|border_width]
|
||||||
|
theme.menu_submenu_icon = theme.wd .. "submenu.png"
|
||||||
|
theme.menu_height = 22
|
||||||
|
theme.menu_width = 160
|
||||||
|
|
||||||
|
-- You can add as many variables as
|
||||||
|
-- you wish and access them by using
|
||||||
|
-- beautiful.variable in your rc.lua
|
||||||
|
--theme.bg_widget = "#cc0000"
|
||||||
|
|
||||||
|
-- Define the image to load
|
||||||
|
theme.titlebar_close_button_normal = theme.wd .. "titlebar/normal.png"
|
||||||
|
theme.titlebar_close_button_focus = theme.wd .. "titlebar/close.png"
|
||||||
|
|
||||||
|
theme.titlebar_minimize_button_normal = theme.wd .. "titlebar/normal.png"
|
||||||
|
theme.titlebar_minimize_button_focus = theme.wd .. "titlebar/minimize.png"
|
||||||
|
|
||||||
|
theme.titlebar_ontop_button_normal_inactive = theme.wd .. "titlebar/normal.png"
|
||||||
|
theme.titlebar_ontop_button_focus_inactive = theme.wd .. "titlebar/ontop_inactive.png"
|
||||||
|
theme.titlebar_ontop_button_normal_active = theme.wd .. "titlebar/normal.png"
|
||||||
|
theme.titlebar_ontop_button_focus_active = theme.wd .. "titlebar/ontop_active.png"
|
||||||
|
|
||||||
|
theme.titlebar_sticky_button_normal_inactive = theme.wd .. "titlebar/normal.png"
|
||||||
|
theme.titlebar_sticky_button_focus_inactive = theme.wd .. "titlebar/sticky_inactive.png"
|
||||||
|
theme.titlebar_sticky_button_normal_active = theme.wd .. "titlebar/normal.png"
|
||||||
|
theme.titlebar_sticky_button_focus_active = theme.wd .. "titlebar/sticky_active.png"
|
||||||
|
|
||||||
|
theme.titlebar_floating_button_normal_inactive = theme.wd .. "titlebar/normal.png"
|
||||||
|
theme.titlebar_floating_button_focus_inactive = theme.wd .. "titlebar/floating_inactive.png"
|
||||||
|
theme.titlebar_floating_button_normal_active = theme.wd .. "titlebar/normal.png"
|
||||||
|
theme.titlebar_floating_button_focus_active = theme.wd .. "titlebar/floating_active.png"
|
||||||
|
|
||||||
|
theme.titlebar_maximized_button_normal_inactive = theme.wd .. "titlebar/normal.png"
|
||||||
|
theme.titlebar_maximized_button_focus_inactive = theme.wd .. "titlebar/maximized_inactive.png"
|
||||||
|
theme.titlebar_maximized_button_normal_active = theme.wd .. "titlebar/normal.png"
|
||||||
|
theme.titlebar_maximized_button_focus_active = theme.wd .. "titlebar/maximized_active.png"
|
||||||
|
|
||||||
|
--theme.wallpaper = theme.wd .. "background.png"
|
||||||
|
|
||||||
|
-- You can use your own layout icons like this:
|
||||||
|
theme.layout_fairh = theme.wd .. "layouts/fairh.png"
|
||||||
|
theme.layout_fairv = theme.wd .. "layouts/fairv.png"
|
||||||
|
theme.layout_floating = theme.wd .. "layouts/floating.png"
|
||||||
|
theme.layout_magnifier = theme.wd .. "layouts/magnifier.png"
|
||||||
|
theme.layout_max = theme.wd .. "layouts/max.png"
|
||||||
|
theme.layout_fullscreen = theme.wd .. "layouts/fullscreen.png"
|
||||||
|
theme.layout_tilebottom = theme.wd .. "layouts/tilebottom.png"
|
||||||
|
theme.layout_tileleft = theme.wd .. "layouts/tileleft.png"
|
||||||
|
theme.layout_tile = theme.wd .. "layouts/tile.png"
|
||||||
|
theme.layout_tiletop = theme.wd .. "layouts/tiletop.png"
|
||||||
|
theme.layout_spiral = theme.wd .. "layouts/spiral.png"
|
||||||
|
theme.layout_dwindle = theme.wd .. "layouts/dwindle.png"
|
||||||
|
theme.layout_cornernw = theme.wd .. "layouts/cornernw.png"
|
||||||
|
theme.layout_cornerne = theme.wd .. "layouts/cornerne.png"
|
||||||
|
theme.layout_cornersw = theme.wd .. "layouts/cornersw.png"
|
||||||
|
theme.layout_cornerse = theme.wd .. "layouts/cornerse.png"
|
||||||
|
|
||||||
|
theme.awesome_icon = theme.wd .. "awesome.png"
|
||||||
|
|
||||||
|
-- Define the icon theme for application icons. If not set then the icons
|
||||||
|
-- from /usr/share/icons and /usr/share/icons/hicolor will be used.
|
||||||
|
theme.icon_theme = nil
|
||||||
|
|
||||||
|
-- Arrows
|
||||||
|
theme.arrow0 = theme.wd .. "arrows/0.png"
|
||||||
|
theme.arrow1 = theme.wd .. "arrows/1.png"
|
||||||
|
theme.arrow2 = theme.wd .. "arrows/2.png"
|
||||||
|
theme.arrow3 = theme.wd .. "arrows/3.png"
|
||||||
|
theme.arrow4 = theme.wd .. "arrows/4.png"
|
||||||
|
theme.arrow5 = theme.wd .. "arrows/5.png"
|
||||||
|
theme.arrow6 = theme.wd .. "arrows/6.png"
|
||||||
|
|
||||||
|
return theme
|
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 399 B |
After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 383 B After Width: | Height: | Size: 383 B |
After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 376 B After Width: | Height: | Size: 376 B |
Before Width: | Height: | Size: 395 B After Width: | Height: | Size: 395 B |
Before Width: | Height: | Size: 310 B After Width: | Height: | Size: 310 B |
After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 397 B After Width: | Height: | Size: 397 B |
After Width: | Height: | Size: 3 KiB |
Before Width: | Height: | Size: 383 B After Width: | Height: | Size: 383 B |
12
awesome/.config/awesome/themes/gruvbox-light/README.md
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
# Gruvbox awesome theme by McSinyx
|
||||||
|
|
||||||
|
## A few side notes
|
||||||
|
|
||||||
|
* The backgrounds are pixel-based, for best result please resize them using a
|
||||||
|
proper algorithim, e.g. in GIMP use *None* or *Linear* interpolation.
|
||||||
|
|
||||||
|
* Titlebar and wibox use some pixel arts, so please keep theme at the size of
|
||||||
|
22px.
|
||||||
|
|
||||||
|
* I added some 22-pixel high arrows to the theme. You might wanna use them to
|
||||||
|
rice your desktop in the *powerarrow* way.
|
BIN
awesome/.config/awesome/themes/gruvbox-light/arrows/0.png
Normal file
After Width: | Height: | Size: 272 B |
BIN
awesome/.config/awesome/themes/gruvbox-light/arrows/1.png
Normal file
After Width: | Height: | Size: 270 B |
BIN
awesome/.config/awesome/themes/gruvbox-light/arrows/2.png
Normal file
After Width: | Height: | Size: 270 B |
BIN
awesome/.config/awesome/themes/gruvbox-light/arrows/3.png
Normal file
After Width: | Height: | Size: 272 B |
BIN
awesome/.config/awesome/themes/gruvbox-light/arrows/4.png
Normal file
After Width: | Height: | Size: 271 B |
BIN
awesome/.config/awesome/themes/gruvbox-light/arrows/5.png
Normal file
After Width: | Height: | Size: 268 B |
Before Width: | Height: | Size: 272 B After Width: | Height: | Size: 272 B |
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 229 B After Width: | Height: | Size: 229 B |
Before Width: | Height: | Size: 227 B After Width: | Height: | Size: 227 B |
Before Width: | Height: | Size: 232 B After Width: | Height: | Size: 232 B |
Before Width: | Height: | Size: 231 B After Width: | Height: | Size: 231 B |
Before Width: | Height: | Size: 189 B After Width: | Height: | Size: 189 B |
Before Width: | Height: | Size: 212 B After Width: | Height: | Size: 212 B |
Before Width: | Height: | Size: 231 B After Width: | Height: | Size: 231 B |
Before Width: | Height: | Size: 219 B After Width: | Height: | Size: 219 B |
Before Width: | Height: | Size: 278 B After Width: | Height: | Size: 278 B |
Before Width: | Height: | Size: 238 B After Width: | Height: | Size: 238 B |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 277 B |
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 225 B After Width: | Height: | Size: 225 B |
Before Width: | Height: | Size: 217 B After Width: | Height: | Size: 217 B |
Before Width: | Height: | Size: 234 B After Width: | Height: | Size: 234 B |
Before Width: | Height: | Size: 206 B After Width: | Height: | Size: 206 B |
Before Width: | Height: | Size: 172 B After Width: | Height: | Size: 172 B |
BIN
awesome/.config/awesome/themes/gruvbox-light/taglist/square.png
Normal file
After Width: | Height: | Size: 149 B |
Before Width: | Height: | Size: 151 B After Width: | Height: | Size: 151 B |
|
@ -1,5 +1,5 @@
|
||||||
-- gruvbox awesome theme
|
-- gruvbox awesome theme, light variant
|
||||||
-- Copyright (C) 2016 Raphael McSinyx
|
-- Copyright (C) 2016-2019 Nguyễn Gia Phong
|
||||||
--
|
--
|
||||||
-- This program is free software: you can redistribute it and/or modify
|
-- This program is free software: you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
local theme = {}
|
local theme = {}
|
||||||
|
|
||||||
-- Working directory (where you place this theme)
|
-- Working directory (where you place this theme)
|
||||||
theme.wd = "~/.config/awesome/themes/gruvbox/"
|
theme.wd = "~/.config/awesome/themes/gruvbox-light/"
|
||||||
|
|
||||||
theme.font = "Latin Modern Mono Caps 12"
|
theme.font = "Latin Modern Mono Caps 12"
|
||||||
theme.hotkeys_font = "Latin Modern Mono Bold 12"
|
theme.hotkeys_font = "Latin Modern Mono Bold 12"
|
||||||
|
@ -54,8 +54,8 @@ theme.hotkeys_modifiers_fg = theme.fg_urgent
|
||||||
-- titlebar_[bg|fg]_[normal|focus]
|
-- titlebar_[bg|fg]_[normal|focus]
|
||||||
-- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color]
|
-- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color]
|
||||||
-- mouse_finder_[color|timeout|animate_timeout|radius|factor]
|
-- mouse_finder_[color|timeout|animate_timeout|radius|factor]
|
||||||
-- Example:
|
theme.titlebar_bg_normal = theme.bg_normal
|
||||||
--theme.taglist_bg_focus = "#ff0000"
|
theme.titlebar_bg_focus = theme.bg_normal
|
||||||
|
|
||||||
-- Display the taglist squares
|
-- Display the taglist squares
|
||||||
theme.taglist_squares_sel = theme.wd .. "taglist/squaref.png"
|
theme.taglist_squares_sel = theme.wd .. "taglist/squaref.png"
|
BIN
awesome/.config/awesome/themes/gruvbox-light/titlebar/close.png
Normal file
After Width: | Height: | Size: 399 B |
Before Width: | Height: | Size: 382 B After Width: | Height: | Size: 382 B |
After Width: | Height: | Size: 383 B |
Before Width: | Height: | Size: 383 B After Width: | Height: | Size: 383 B |
After Width: | Height: | Size: 376 B |
After Width: | Height: | Size: 395 B |
BIN
awesome/.config/awesome/themes/gruvbox-light/titlebar/normal.png
Normal file
After Width: | Height: | Size: 310 B |
Before Width: | Height: | Size: 396 B After Width: | Height: | Size: 396 B |
After Width: | Height: | Size: 397 B |
Before Width: | Height: | Size: 384 B After Width: | Height: | Size: 384 B |
After Width: | Height: | Size: 383 B |
25
debian/.Xresources
vendored
|
@ -1,25 +0,0 @@
|
||||||
*background: #fbf1c7
|
|
||||||
*foreground: #3c3836
|
|
||||||
*color0: #fbf1c7
|
|
||||||
*color1: #cc241d
|
|
||||||
*color2: #98971a
|
|
||||||
*color3: #d79921
|
|
||||||
*color4: #458588
|
|
||||||
*color5: #b16286
|
|
||||||
*color6: #689d6a
|
|
||||||
*color7: #a89984
|
|
||||||
*color8: #928374
|
|
||||||
*color9: #9d0006
|
|
||||||
*color10: #79740e
|
|
||||||
*color11: #b57614
|
|
||||||
*color12: #076678
|
|
||||||
*color13: #8f3f71
|
|
||||||
*color14: #427b58
|
|
||||||
*color15: #3c3836
|
|
||||||
*loginShell: true
|
|
||||||
*scrollBar: false
|
|
||||||
*saveLines: 1024
|
|
||||||
*cursorBlink: false
|
|
||||||
*jumpScroll: true
|
|
||||||
URxvt.font: xft:Latin Modern Mono:size=12
|
|
||||||
URxvt.termName: rxvt
|
|
1
debian/.Xresources
vendored
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
.Xresources-dark
|
25
debian/.Xresources-dark
vendored
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
*background: #282828
|
||||||
|
*foreground: #ebdbb2
|
||||||
|
*color0: #282828
|
||||||
|
*color1: #cc241d
|
||||||
|
*color2: #98971a
|
||||||
|
*color3: #d79921
|
||||||
|
*color4: #458588
|
||||||
|
*color5: #b16286
|
||||||
|
*color6: #689d6a
|
||||||
|
*color7: #a89984
|
||||||
|
*color8: #928374
|
||||||
|
*color9: #fb4934
|
||||||
|
*color10: #b8bb26
|
||||||
|
*color11: #fabd2f
|
||||||
|
*color12: #83a598
|
||||||
|
*color13: #d3869b
|
||||||
|
*color14: #8ec07c
|
||||||
|
*color15: #ebdbb2
|
||||||
|
*loginShell: true
|
||||||
|
*scrollBar: false
|
||||||
|
*saveLines: 65535
|
||||||
|
*cursorBlink: false
|
||||||
|
*jumpScroll: true
|
||||||
|
URxvt.font: xft:Latin Modern Mono:size=12
|
||||||
|
URxvt.termName: rxvt
|
25
debian/.Xresources-light
vendored
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
*background: #fbf1c7
|
||||||
|
*foreground: #3c3836
|
||||||
|
*color0: #fbf1c7
|
||||||
|
*color1: #cc241d
|
||||||
|
*color2: #98971a
|
||||||
|
*color3: #d79921
|
||||||
|
*color4: #458588
|
||||||
|
*color5: #b16286
|
||||||
|
*color6: #689d6a
|
||||||
|
*color7: #7c6f64
|
||||||
|
*color8: #928374
|
||||||
|
*color9: #9d0006
|
||||||
|
*color10: #79740e
|
||||||
|
*color11: #b57614
|
||||||
|
*color12: #076678
|
||||||
|
*color13: #8f3f71
|
||||||
|
*color14: #427b58
|
||||||
|
*color15: #3c3836
|
||||||
|
*loginShell: true
|
||||||
|
*scrollBar: false
|
||||||
|
*saveLines: 65535
|
||||||
|
*cursorBlink: false
|
||||||
|
*jumpScroll: true
|
||||||
|
URxvt.font: xft:Latin Modern Mono:size=12
|
||||||
|
URxvt.termName: rxvt
|
5
debian/.bashrc
vendored
|
@ -16,8 +16,8 @@ HISTCONTROL=ignoreboth
|
||||||
shopt -s histappend
|
shopt -s histappend
|
||||||
|
|
||||||
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
|
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
|
||||||
HISTSIZE=1000
|
HISTSIZE=32767
|
||||||
HISTFILESIZE=2000
|
HISTFILESIZE=65536
|
||||||
|
|
||||||
# check the window size after each command and, if necessary,
|
# check the window size after each command and, if necessary,
|
||||||
# update the values of LINES and COLUMNS.
|
# update the values of LINES and COLUMNS.
|
||||||
|
@ -103,6 +103,7 @@ alias fpc='fpc -O1 -XS -gl'
|
||||||
alias mpa='mpv --no-video --loop=inf'
|
alias mpa='mpv --no-video --loop=inf'
|
||||||
alias raku=perl6
|
alias raku=perl6
|
||||||
alias x='cd $HOME && startx && cd -'
|
alias x='cd $HOME && startx && cd -'
|
||||||
|
eval $(thefuck --alias)
|
||||||
|
|
||||||
# enable programmable completion features (you don't need to enable
|
# enable programmable completion features (you don't need to enable
|
||||||
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
|
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
|
||||||
|
|
1
debian/.config/gtk-3.0/settings.ini
vendored
|
@ -1,2 +1,3 @@
|
||||||
[Settings]
|
[Settings]
|
||||||
gtk-font-name = Latin Modern Sans 11
|
gtk-font-name = Latin Modern Sans 11
|
||||||
|
gtk-application-prefer-dark-theme = true
|
||||||
|
|
1
debian/.gtkrc-2.0
vendored
|
@ -1 +1,2 @@
|
||||||
gtk-font-name = "Latin Modern Sans 11"
|
gtk-font-name = "Latin Modern Sans 11"
|
||||||
|
gtk-theme-name = "CleanIce-Marble"
|
||||||
|
|
14
debian/.profile
vendored
|
@ -8,6 +8,13 @@
|
||||||
# for ssh logins, install and configure the libpam-umask package.
|
# for ssh logins, install and configure the libpam-umask package.
|
||||||
#umask 022
|
#umask 022
|
||||||
|
|
||||||
|
export PATH="$HOME/.local/bin:$HOME/.local/share/go/bin:$HOME/.cargo/bin:$PATH"
|
||||||
|
export MANPATH="$HOME/.local/share/man:$MANPATH"
|
||||||
|
export GOPATH="$HOME/.local/share/go"
|
||||||
|
export XMODIFIERS=@im=ibus
|
||||||
|
#export WEBKIT_DISABLE_COMPOSITING_MODE=1
|
||||||
|
export NLTK_DATA="$HOME/Sources/nlp/nltk_data"
|
||||||
|
|
||||||
# if running bash
|
# if running bash
|
||||||
if [ -n "$BASH_VERSION" ]; then
|
if [ -n "$BASH_VERSION" ]; then
|
||||||
# include .bashrc if it exists
|
# include .bashrc if it exists
|
||||||
|
@ -16,12 +23,5 @@ if [ -n "$BASH_VERSION" ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export PATH="$HOME/.local/bin:$HOME/.local/share/go/bin:$HOME/.cargo/bin:$PATH"
|
|
||||||
export MANPATH="$HOME/.local/share/man:$MANPATH"
|
|
||||||
export GOPATH="$HOME/.local/share/go"
|
|
||||||
export XMODIFIERS=@im=ibus
|
|
||||||
#export WEBKIT_DISABLE_COMPOSITING_MODE=1
|
|
||||||
export NLTK_DATA="$HOME/Sources/nlp/nltk_data"
|
|
||||||
|
|
||||||
# OPAM configuration
|
# OPAM configuration
|
||||||
. /home/cnx/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true
|
. /home/cnx/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true
|
||||||
|
|
2
debian/.xinitrc
vendored
|
@ -2,7 +2,7 @@
|
||||||
xrdb -merge ~/.Xresources
|
xrdb -merge ~/.Xresources
|
||||||
setxkbmap -option caps:ctrl_modifier
|
setxkbmap -option caps:ctrl_modifier
|
||||||
xrandr --output DP-1 --mode 1600x900 --primary --right-of eDP-1
|
xrandr --output DP-1 --mode 1600x900 --primary --right-of eDP-1
|
||||||
xsetroot -solid '#fbf1c7'
|
xsetroot -solid '#282828'
|
||||||
xfishtank -df 42 &
|
xfishtank -df 42 &
|
||||||
redshift-gtk -l 21.028333:105.854167 &
|
redshift-gtk -l 21.028333:105.854167 &
|
||||||
mate-power-manager &
|
mate-power-manager &
|
||||||
|
|
1
dev/.config/systemd/user/default.target.wants/ipfs.service
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/home/cnx/.config/systemd/user/ipfs.service
|