diff options
author | Nguyễn Gia Phong <vn.mcsinyx@gmail.com> | 2019-03-24 17:40:44 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <vn.mcsinyx@gmail.com> | 2019-03-24 17:40:44 +0700 |
commit | 90848e777c435328acf4b81773d8d7684bfcf21f (patch) | |
tree | 5d56c11061e2537e8c12bfb11dcad6a6eb4c6edb | |
parent | 2b76a36ad07d776988104ba0587958384808603a (diff) | |
download | dotfiles-90848e777c435328acf4b81773d8d7684bfcf21f.tar.gz |
Update 2019-03-24
106 files changed, 509 insertions, 221 deletions
diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index 1173325..2bdc2be 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -173,6 +173,7 @@ vicious.register(mybattery_text, vicious.widgets.bat, return (" %s%03d%%"):format(args[1], args[2]) end, 7, "BAT0") local mybattery = wibox.container.background(mybattery_text, "#98971a") +mybattery.fg = "#282828" mybattery:buttons(awful.util.table.join( awful.button({}, 1, spawner"mate-power-statistics"), awful.button({}, 3, spawner"mate-power-preferences") @@ -204,6 +205,7 @@ local function volume_mute(parameter) end local myvolume = wibox.container.background(myvolume_text, "#689d6a") +myvolume.fg = "#282828" myvolume:buttons(awful.util.table.join( awful.button({}, 1, volume_setter"-5"), awful.button({}, 2, volume_mute), @@ -228,6 +230,7 @@ local function audacious_seeker(time) end local myplayer = wibox.container.background(myplayer_text, "#b16286") +myplayer.fg = "#282828" myplayer:buttons(awful.util.table.join( awful.button({}, 1, spawner(audacious_rewind)), 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} -- Add widgets to the wibox - s.mywibox:setup { + s.mywibox:setup{ layout = wibox.layout.align.horizontal, - { -- Left widgets - layout = wibox.layout.fixed.horizontal, - -- mylauncher, - wibox.container.background(mytextclock, "#cc241d"), - wibox.widget.imagebox(beautiful.arrow0), - wibox.container.background(mycpuusage, "#d65d0e"), - wibox.widget.imagebox(beautiful.arrow1), - wibox.container.background(mymemusage, "#d79921"), - wibox.widget.imagebox(beautiful.arrow2), - mybattery, - wibox.widget.imagebox(beautiful.arrow3), - myvolume, - wibox.widget.imagebox(beautiful.arrow4), - wibox.container.background(myweather, "#458588"), - wibox.widget.imagebox(beautiful.arrow5), - myplayer, - wibox.widget.imagebox(beautiful.arrow6), - s.mypromptbox + {-- Left widgets + layout = wibox.layout.fixed.horizontal, + -- mylauncher, + {mytextclock, + bg = "#cc241d", + fg = "#282828", + widget = wibox.container.background}, + wibox.widget.imagebox(beautiful.arrow0), + {mycpuusage, + bg = "#d65d0e", + fg = "#282828", + widget = wibox.container.background}, + wibox.widget.imagebox(beautiful.arrow1), + {mymemusage, + bg = "#d79921", + fg = "#282828", + widget = wibox.container.background}, + 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 - layout = wibox.layout.fixed.horizontal, + {-- Middle widget + layout = wibox.layout.fixed.horizontal, }, -- s.mytasklist, { -- Right widgets @@ -433,6 +448,10 @@ local globalkeys = awful.util.table.join( {description = "open Luakit", group = "launcher"}), awful.key({modkey, "Shift"}, "b", spawner"torify luakit --nounique", {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), {description = "open ranger file manager", group = "launcher"}), 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( - awful.key({modkey}, "f", + awful.key({modkey, "Control"}, "f", function (c) - awful.titlebar.show(c) + --awful.titlebar.show(c) c.fullscreen = not c.fullscreen c:raise() end, @@ -716,22 +735,22 @@ client.connect_signal( end) ) - awful.titlebar(c, {size=22}) : setup { - { -- Left - awful.titlebar.widget.closebutton(c), - awful.titlebar.widget.ontopbutton(c), - awful.titlebar.widget.stickybutton(c), - awful.titlebar.widget.maximizedbutton(c), - awful.titlebar.widget.floatingbutton(c), - layout = wibox.layout.fixed.horizontal + awful.titlebar(c, {size=22}):setup{ + {-- Left + awful.titlebar.widget.closebutton(c), + awful.titlebar.widget.ontopbutton(c), + awful.titlebar.widget.stickybutton(c), + awful.titlebar.widget.maximizedbutton(c), + awful.titlebar.widget.floatingbutton(c), + layout = wibox.layout.fixed.horizontal }, - { -- Middle - { -- Title - align = "center", - widget = awful.titlebar.widget.titlewidget(c) - }, - buttons = buttons, - layout = wibox.layout.flex.horizontal + {-- Middle + {-- Title + align = "center", + widget = awful.titlebar.widget.titlewidget(c) + }, + buttons = buttons, + layout = wibox.layout.flex.horizontal }, { -- Right awful.titlebar.widget.iconwidget(c), @@ -742,25 +761,25 @@ client.connect_signal( } -- Show titlebar if client is floating, hide otherwise. - if not c.floating and - awful.layout.get(c.screen) ~= awful.layout.suit.floating then - awful.titlebar.hide(c) - end + --if not c.floating and + -- awful.layout.get(c.screen) ~= awful.layout.suit.floating then + -- awful.titlebar.hide(c) + --end end ) -- Show titlebar if client is floating, hide otherwise. -client.connect_signal( - "property::floating", - function (c) - if c.floating or - awful.layout.get(c.screen) == awful.layout.suit.floating then - awful.titlebar.show(c) - else - awful.titlebar.hide(c) - end - end -) +--client.connect_signal( +-- "property::floating", +-- function (c) +-- if c.floating or +-- awful.layout.get(c.screen) == awful.layout.suit.floating then +-- awful.titlebar.show(c) +-- else +-- awful.titlebar.hide(c) +-- end +-- end +--) -- Enable sloppy focus, so that focus follows mouse. client.connect_signal( @@ -779,16 +798,16 @@ client.connect_signal("unfocus", function (c) c.border_color = beautiful.border_normal end) -- Show titlebar if client is floating, hide otherwise. -tag.connect_signal( - "property::layout", - function (t) - if t.layout == awful.layout.suit.floating then - for _, c in pairs(t:clients()) do awful.titlebar.show(c) end - else - for _, c in pairs(t:clients()) do - if not c.floating then awful.titlebar.hide(c) end - end - end - end -) +--tag.connect_signal( +-- "property::layout", +-- function (t) +-- if t.layout == awful.layout.suit.floating then +-- for _, c in pairs(t:clients()) do awful.titlebar.show(c) end +-- else +-- for _, c in pairs(t:clients()) do +-- if not c.floating then awful.titlebar.hide(c) end +-- end +-- end +-- end +--) -- }}} diff --git a/awesome/.config/awesome/themes/gruvbox b/awesome/.config/awesome/themes/gruvbox new file mode 120000 index 0000000..280a41b --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox @@ -0,0 +1 @@ +gruvbox-dark \ No newline at end of file diff --git a/awesome/.config/awesome/themes/gruvbox/README.md b/awesome/.config/awesome/themes/gruvbox-dark/README.md index dc3f262..dc3f262 100644 --- a/awesome/.config/awesome/themes/gruvbox/README.md +++ b/awesome/.config/awesome/themes/gruvbox-dark/README.md diff --git a/awesome/.config/awesome/themes/gruvbox/arrows/0.png b/awesome/.config/awesome/themes/gruvbox-dark/arrows/0.png index 44abbcc..44abbcc 100644 --- a/awesome/.config/awesome/themes/gruvbox/arrows/0.png +++ b/awesome/.config/awesome/themes/gruvbox-dark/arrows/0.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/arrows/1.png b/awesome/.config/awesome/themes/gruvbox-dark/arrows/1.png index a6c21d1..a6c21d1 100644 --- a/awesome/.config/awesome/themes/gruvbox/arrows/1.png +++ b/awesome/.config/awesome/themes/gruvbox-dark/arrows/1.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/arrows/2.png b/awesome/.config/awesome/themes/gruvbox-dark/arrows/2.png index e82ca2c..e82ca2c 100644 --- a/awesome/.config/awesome/themes/gruvbox/arrows/2.png +++ b/awesome/.config/awesome/themes/gruvbox-dark/arrows/2.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/arrows/3.png b/awesome/.config/awesome/themes/gruvbox-dark/arrows/3.png index 9c51661..9c51661 100644 --- a/awesome/.config/awesome/themes/gruvbox/arrows/3.png +++ b/awesome/.config/awesome/themes/gruvbox-dark/arrows/3.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/arrows/4.png b/awesome/.config/awesome/themes/gruvbox-dark/arrows/4.png index 33b7496..33b7496 100644 --- a/awesome/.config/awesome/themes/gruvbox/arrows/4.png +++ b/awesome/.config/awesome/themes/gruvbox-dark/arrows/4.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/arrows/5.png b/awesome/.config/awesome/themes/gruvbox-dark/arrows/5.png index d5719a3..d5719a3 100644 --- a/awesome/.config/awesome/themes/gruvbox/arrows/5.png +++ b/awesome/.config/awesome/themes/gruvbox-dark/arrows/5.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-dark/arrows/6.png b/awesome/.config/awesome/themes/gruvbox-dark/arrows/6.png new file mode 100644 index 0000000..b276fe4 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-dark/arrows/6.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-dark/awesome.png b/awesome/.config/awesome/themes/gruvbox-dark/awesome.png new file mode 100644 index 0000000..c0385fe --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-dark/awesome.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-dark/background-2048x1152.png b/awesome/.config/awesome/themes/gruvbox-dark/background-2048x1152.png new file mode 100644 index 0000000..595b815 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-dark/background-2048x1152.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-dark/background-2048x1280.png b/awesome/.config/awesome/themes/gruvbox-dark/background-2048x1280.png new file mode 100644 index 0000000..a478b98 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-dark/background-2048x1280.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-dark/background-2048x1536.png b/awesome/.config/awesome/themes/gruvbox-dark/background-2048x1536.png new file mode 100644 index 0000000..4976ad4 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-dark/background-2048x1536.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-dark/layouts/cornerne.png b/awesome/.config/awesome/themes/gruvbox-dark/layouts/cornerne.png new file mode 100644 index 0000000..0055c98 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-dark/layouts/cornerne.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-dark/layouts/cornernw.png b/awesome/.config/awesome/themes/gruvbox-dark/layouts/cornernw.png new file mode 100644 index 0000000..0951497 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-dark/layouts/cornernw.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-dark/layouts/cornerse.png b/awesome/.config/awesome/themes/gruvbox-dark/layouts/cornerse.png new file mode 100644 index 0000000..c40d4f8 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-dark/layouts/cornerse.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-dark/layouts/cornersw.png b/awesome/.config/awesome/themes/gruvbox-dark/layouts/cornersw.png new file mode 100644 index 0000000..b0fd9cd --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-dark/layouts/cornersw.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-dark/layouts/dwindle.png b/awesome/.config/awesome/themes/gruvbox-dark/layouts/dwindle.png new file mode 100644 index 0000000..d05ed6e --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-dark/layouts/dwindle.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-dark/layouts/fairh.png b/awesome/.config/awesome/themes/gruvbox-dark/layouts/fairh.png new file mode 100644 index 0000000..75d44d8 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-dark/layouts/fairh.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-dark/layouts/fairv.png b/awesome/.config/awesome/themes/gruvbox-dark/layouts/fairv.png new file mode 100644 index 0000000..3d290e2 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-dark/layouts/fairv.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-dark/layouts/floating.png b/awesome/.config/awesome/themes/gruvbox-dark/layouts/floating.png new file mode 100644 index 0000000..e003913 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-dark/layouts/floating.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-dark/layouts/fullscreen.png b/awesome/.config/awesome/themes/gruvbox-dark/layouts/fullscreen.png new file mode 100644 index 0000000..33ea6f6 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-dark/layouts/fullscreen.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-dark/layouts/magnifier.png b/awesome/.config/awesome/themes/gruvbox-dark/layouts/magnifier.png new file mode 100644 index 0000000..f6d753f --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-dark/layouts/magnifier.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-dark/layouts/max.png b/awesome/.config/awesome/themes/gruvbox-dark/layouts/max.png new file mode 100644 index 0000000..fc5d8e6 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-dark/layouts/max.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-dark/layouts/spiral.png b/awesome/.config/awesome/themes/gruvbox-dark/layouts/spiral.png new file mode 100644 index 0000000..591d99d --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-dark/layouts/spiral.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-dark/layouts/tile.png b/awesome/.config/awesome/themes/gruvbox-dark/layouts/tile.png new file mode 100644 index 0000000..4b27ce0 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-dark/layouts/tile.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-dark/layouts/tilebottom.png b/awesome/.config/awesome/themes/gruvbox-dark/layouts/tilebottom.png new file mode 100644 index 0000000..286d6a1 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-dark/layouts/tilebottom.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-dark/layouts/tileleft.png b/awesome/.config/awesome/themes/gruvbox-dark/layouts/tileleft.png new file mode 100644 index 0000000..03463ee --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-dark/layouts/tileleft.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-dark/layouts/tiletop.png b/awesome/.config/awesome/themes/gruvbox-dark/layouts/tiletop.png new file mode 100644 index 0000000..c07b4f6 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-dark/layouts/tiletop.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-dark/submenu.png b/awesome/.config/awesome/themes/gruvbox-dark/submenu.png new file mode 100644 index 0000000..53f03b4 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-dark/submenu.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/taglist/square.png b/awesome/.config/awesome/themes/gruvbox-dark/taglist/square.png index 16eb9dc..16eb9dc 100644 --- a/awesome/.config/awesome/themes/gruvbox/taglist/square.png +++ b/awesome/.config/awesome/themes/gruvbox-dark/taglist/square.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-dark/taglist/squaref.png b/awesome/.config/awesome/themes/gruvbox-dark/taglist/squaref.png new file mode 100644 index 0000000..7199951 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-dark/taglist/squaref.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-dark/theme.lua b/awesome/.config/awesome/themes/gruvbox-dark/theme.lua new file mode 100644 index 0000000..ca7e078 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-dark/theme.lua @@ -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 diff --git a/awesome/.config/awesome/themes/gruvbox/titlebar/close.png b/awesome/.config/awesome/themes/gruvbox-dark/titlebar/close.png index 6c5c53f..6c5c53f 100644 --- a/awesome/.config/awesome/themes/gruvbox/titlebar/close.png +++ b/awesome/.config/awesome/themes/gruvbox-dark/titlebar/close.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-dark/titlebar/floating_active.png b/awesome/.config/awesome/themes/gruvbox-dark/titlebar/floating_active.png new file mode 100644 index 0000000..9a04f1f --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-dark/titlebar/floating_active.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/titlebar/floating_inactive.png b/awesome/.config/awesome/themes/gruvbox-dark/titlebar/floating_inactive.png index 0988a71..0988a71 100644 --- a/awesome/.config/awesome/themes/gruvbox/titlebar/floating_inactive.png +++ b/awesome/.config/awesome/themes/gruvbox-dark/titlebar/floating_inactive.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-dark/titlebar/maximized_active.png b/awesome/.config/awesome/themes/gruvbox-dark/titlebar/maximized_active.png new file mode 100644 index 0000000..b5a5b67 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-dark/titlebar/maximized_active.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/titlebar/maximized_inactive.png b/awesome/.config/awesome/themes/gruvbox-dark/titlebar/maximized_inactive.png index 0d701bd..0d701bd 100644 --- a/awesome/.config/awesome/themes/gruvbox/titlebar/maximized_inactive.png +++ b/awesome/.config/awesome/themes/gruvbox-dark/titlebar/maximized_inactive.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/titlebar/minimize.png b/awesome/.config/awesome/themes/gruvbox-dark/titlebar/minimize.png index 464c553..464c553 100644 --- a/awesome/.config/awesome/themes/gruvbox/titlebar/minimize.png +++ b/awesome/.config/awesome/themes/gruvbox-dark/titlebar/minimize.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/titlebar/normal.png b/awesome/.config/awesome/themes/gruvbox-dark/titlebar/normal.png index 4c54de3..4c54de3 100644 --- a/awesome/.config/awesome/themes/gruvbox/titlebar/normal.png +++ b/awesome/.config/awesome/themes/gruvbox-dark/titlebar/normal.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-dark/titlebar/ontop_active.png b/awesome/.config/awesome/themes/gruvbox-dark/titlebar/ontop_active.png new file mode 100644 index 0000000..b4bc52e --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-dark/titlebar/ontop_active.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/titlebar/ontop_inactive.png b/awesome/.config/awesome/themes/gruvbox-dark/titlebar/ontop_inactive.png index 1cf8e20..1cf8e20 100644 --- a/awesome/.config/awesome/themes/gruvbox/titlebar/ontop_inactive.png +++ b/awesome/.config/awesome/themes/gruvbox-dark/titlebar/ontop_inactive.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-dark/titlebar/sticky_active.png b/awesome/.config/awesome/themes/gruvbox-dark/titlebar/sticky_active.png new file mode 100644 index 0000000..3acda5f --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-dark/titlebar/sticky_active.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/titlebar/sticky_inactive.png b/awesome/.config/awesome/themes/gruvbox-dark/titlebar/sticky_inactive.png index cc03ad4..cc03ad4 100644 --- a/awesome/.config/awesome/themes/gruvbox/titlebar/sticky_inactive.png +++ b/awesome/.config/awesome/themes/gruvbox-dark/titlebar/sticky_inactive.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-light/README.md b/awesome/.config/awesome/themes/gruvbox-light/README.md new file mode 100644 index 0000000..dc3f262 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-light/README.md @@ -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. diff --git a/awesome/.config/awesome/themes/gruvbox-light/arrows/0.png b/awesome/.config/awesome/themes/gruvbox-light/arrows/0.png new file mode 100644 index 0000000..44abbcc --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-light/arrows/0.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-light/arrows/1.png b/awesome/.config/awesome/themes/gruvbox-light/arrows/1.png new file mode 100644 index 0000000..a6c21d1 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-light/arrows/1.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-light/arrows/2.png b/awesome/.config/awesome/themes/gruvbox-light/arrows/2.png new file mode 100644 index 0000000..e82ca2c --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-light/arrows/2.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-light/arrows/3.png b/awesome/.config/awesome/themes/gruvbox-light/arrows/3.png new file mode 100644 index 0000000..9c51661 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-light/arrows/3.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-light/arrows/4.png b/awesome/.config/awesome/themes/gruvbox-light/arrows/4.png new file mode 100644 index 0000000..33b7496 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-light/arrows/4.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-light/arrows/5.png b/awesome/.config/awesome/themes/gruvbox-light/arrows/5.png new file mode 100644 index 0000000..d5719a3 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-light/arrows/5.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/arrows/6.png b/awesome/.config/awesome/themes/gruvbox-light/arrows/6.png index ab5dd0b..ab5dd0b 100644 --- a/awesome/.config/awesome/themes/gruvbox/arrows/6.png +++ b/awesome/.config/awesome/themes/gruvbox-light/arrows/6.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/awesome.png b/awesome/.config/awesome/themes/gruvbox-light/awesome.png index 812060e..812060e 100644 --- a/awesome/.config/awesome/themes/gruvbox/awesome.png +++ b/awesome/.config/awesome/themes/gruvbox-light/awesome.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/background-2048x1152.png b/awesome/.config/awesome/themes/gruvbox-light/background-2048x1152.png index f6e56b4..f6e56b4 100644 --- a/awesome/.config/awesome/themes/gruvbox/background-2048x1152.png +++ b/awesome/.config/awesome/themes/gruvbox-light/background-2048x1152.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/background-2048x1280.png b/awesome/.config/awesome/themes/gruvbox-light/background-2048x1280.png index f977b04..f977b04 100644 --- a/awesome/.config/awesome/themes/gruvbox/background-2048x1280.png +++ b/awesome/.config/awesome/themes/gruvbox-light/background-2048x1280.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/background-2048x1536.png b/awesome/.config/awesome/themes/gruvbox-light/background-2048x1536.png index 477da23..477da23 100644 --- a/awesome/.config/awesome/themes/gruvbox/background-2048x1536.png +++ b/awesome/.config/awesome/themes/gruvbox-light/background-2048x1536.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/layouts/cornerne.png b/awesome/.config/awesome/themes/gruvbox-light/layouts/cornerne.png index b597376..b597376 100644 --- a/awesome/.config/awesome/themes/gruvbox/layouts/cornerne.png +++ b/awesome/.config/awesome/themes/gruvbox-light/layouts/cornerne.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/layouts/cornernw.png b/awesome/.config/awesome/themes/gruvbox-light/layouts/cornernw.png index 3132710..3132710 100644 --- a/awesome/.config/awesome/themes/gruvbox/layouts/cornernw.png +++ b/awesome/.config/awesome/themes/gruvbox-light/layouts/cornernw.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/layouts/cornerse.png b/awesome/.config/awesome/themes/gruvbox-light/layouts/cornerse.png index ea15307..ea15307 100644 --- a/awesome/.config/awesome/themes/gruvbox/layouts/cornerse.png +++ b/awesome/.config/awesome/themes/gruvbox-light/layouts/cornerse.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/layouts/cornersw.png b/awesome/.config/awesome/themes/gruvbox-light/layouts/cornersw.png index dc93a13..dc93a13 100644 --- a/awesome/.config/awesome/themes/gruvbox/layouts/cornersw.png +++ b/awesome/.config/awesome/themes/gruvbox-light/layouts/cornersw.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/layouts/dwindle.png b/awesome/.config/awesome/themes/gruvbox-light/layouts/dwindle.png index 730fb5f..730fb5f 100644 --- a/awesome/.config/awesome/themes/gruvbox/layouts/dwindle.png +++ b/awesome/.config/awesome/themes/gruvbox-light/layouts/dwindle.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/layouts/fairh.png b/awesome/.config/awesome/themes/gruvbox-light/layouts/fairh.png index f048c4e..f048c4e 100644 --- a/awesome/.config/awesome/themes/gruvbox/layouts/fairh.png +++ b/awesome/.config/awesome/themes/gruvbox-light/layouts/fairh.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/layouts/fairv.png b/awesome/.config/awesome/themes/gruvbox-light/layouts/fairv.png index 802d935..802d935 100644 --- a/awesome/.config/awesome/themes/gruvbox/layouts/fairv.png +++ b/awesome/.config/awesome/themes/gruvbox-light/layouts/fairv.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/layouts/floating.png b/awesome/.config/awesome/themes/gruvbox-light/layouts/floating.png index d3e8274..d3e8274 100644 --- a/awesome/.config/awesome/themes/gruvbox/layouts/floating.png +++ b/awesome/.config/awesome/themes/gruvbox-light/layouts/floating.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/layouts/fullscreen.png b/awesome/.config/awesome/themes/gruvbox-light/layouts/fullscreen.png index 957dee3..957dee3 100644 --- a/awesome/.config/awesome/themes/gruvbox/layouts/fullscreen.png +++ b/awesome/.config/awesome/themes/gruvbox-light/layouts/fullscreen.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/layouts/magnifier.png b/awesome/.config/awesome/themes/gruvbox-light/layouts/magnifier.png index bc1b1a8..bc1b1a8 100644 --- a/awesome/.config/awesome/themes/gruvbox/layouts/magnifier.png +++ b/awesome/.config/awesome/themes/gruvbox-light/layouts/magnifier.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/layouts/max.png b/awesome/.config/awesome/themes/gruvbox-light/layouts/max.png index c1efe5d..c1efe5d 100644 --- a/awesome/.config/awesome/themes/gruvbox/layouts/max.png +++ b/awesome/.config/awesome/themes/gruvbox-light/layouts/max.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/layouts/spiral.png b/awesome/.config/awesome/themes/gruvbox-light/layouts/spiral.png index 98749a5..98749a5 100644 --- a/awesome/.config/awesome/themes/gruvbox/layouts/spiral.png +++ b/awesome/.config/awesome/themes/gruvbox-light/layouts/spiral.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/layouts/tile.png b/awesome/.config/awesome/themes/gruvbox-light/layouts/tile.png index a2cbf30..a2cbf30 100644 --- a/awesome/.config/awesome/themes/gruvbox/layouts/tile.png +++ b/awesome/.config/awesome/themes/gruvbox-light/layouts/tile.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/layouts/tilebottom.png b/awesome/.config/awesome/themes/gruvbox-light/layouts/tilebottom.png index af39eae..af39eae 100644 --- a/awesome/.config/awesome/themes/gruvbox/layouts/tilebottom.png +++ b/awesome/.config/awesome/themes/gruvbox-light/layouts/tilebottom.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/layouts/tileleft.png b/awesome/.config/awesome/themes/gruvbox-light/layouts/tileleft.png index bdff47e..bdff47e 100644 --- a/awesome/.config/awesome/themes/gruvbox/layouts/tileleft.png +++ b/awesome/.config/awesome/themes/gruvbox-light/layouts/tileleft.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/layouts/tiletop.png b/awesome/.config/awesome/themes/gruvbox-light/layouts/tiletop.png index 681a873..681a873 100644 --- a/awesome/.config/awesome/themes/gruvbox/layouts/tiletop.png +++ b/awesome/.config/awesome/themes/gruvbox-light/layouts/tiletop.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/submenu.png b/awesome/.config/awesome/themes/gruvbox-light/submenu.png index 15ca0b8..15ca0b8 100644 --- a/awesome/.config/awesome/themes/gruvbox/submenu.png +++ b/awesome/.config/awesome/themes/gruvbox-light/submenu.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-light/taglist/square.png b/awesome/.config/awesome/themes/gruvbox-light/taglist/square.png new file mode 100644 index 0000000..16eb9dc --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-light/taglist/square.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/taglist/squaref.png b/awesome/.config/awesome/themes/gruvbox-light/taglist/squaref.png index ab9e201..ab9e201 100644 --- a/awesome/.config/awesome/themes/gruvbox/taglist/squaref.png +++ b/awesome/.config/awesome/themes/gruvbox-light/taglist/squaref.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/theme.lua b/awesome/.config/awesome/themes/gruvbox-light/theme.lua index 0aa79b3..5dd851b 100644 --- a/awesome/.config/awesome/themes/gruvbox/theme.lua +++ b/awesome/.config/awesome/themes/gruvbox-light/theme.lua @@ -1,5 +1,5 @@ --- gruvbox awesome theme --- Copyright (C) 2016 Raphael McSinyx +-- gruvbox awesome theme, light 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 @@ -17,7 +17,7 @@ local 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.hotkeys_font = "Latin Modern Mono Bold 12" @@ -54,8 +54,8 @@ theme.hotkeys_modifiers_fg = theme.fg_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] --- Example: ---theme.taglist_bg_focus = "#ff0000" +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" diff --git a/awesome/.config/awesome/themes/gruvbox-light/titlebar/close.png b/awesome/.config/awesome/themes/gruvbox-light/titlebar/close.png new file mode 100644 index 0000000..6c5c53f --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-light/titlebar/close.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/titlebar/floating_active.png b/awesome/.config/awesome/themes/gruvbox-light/titlebar/floating_active.png index bbaebb9..bbaebb9 100644 --- a/awesome/.config/awesome/themes/gruvbox/titlebar/floating_active.png +++ b/awesome/.config/awesome/themes/gruvbox-light/titlebar/floating_active.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-light/titlebar/floating_inactive.png b/awesome/.config/awesome/themes/gruvbox-light/titlebar/floating_inactive.png new file mode 100644 index 0000000..0988a71 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-light/titlebar/floating_inactive.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/titlebar/maximized_active.png b/awesome/.config/awesome/themes/gruvbox-light/titlebar/maximized_active.png index de6bc5b..de6bc5b 100644 --- a/awesome/.config/awesome/themes/gruvbox/titlebar/maximized_active.png +++ b/awesome/.config/awesome/themes/gruvbox-light/titlebar/maximized_active.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-light/titlebar/maximized_inactive.png b/awesome/.config/awesome/themes/gruvbox-light/titlebar/maximized_inactive.png new file mode 100644 index 0000000..0d701bd --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-light/titlebar/maximized_inactive.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-light/titlebar/minimize.png b/awesome/.config/awesome/themes/gruvbox-light/titlebar/minimize.png new file mode 100644 index 0000000..464c553 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-light/titlebar/minimize.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-light/titlebar/normal.png b/awesome/.config/awesome/themes/gruvbox-light/titlebar/normal.png new file mode 100644 index 0000000..4c54de3 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-light/titlebar/normal.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/titlebar/ontop_active.png b/awesome/.config/awesome/themes/gruvbox-light/titlebar/ontop_active.png index e1f42fd..e1f42fd 100644 --- a/awesome/.config/awesome/themes/gruvbox/titlebar/ontop_active.png +++ b/awesome/.config/awesome/themes/gruvbox-light/titlebar/ontop_active.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-light/titlebar/ontop_inactive.png b/awesome/.config/awesome/themes/gruvbox-light/titlebar/ontop_inactive.png new file mode 100644 index 0000000..1cf8e20 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-light/titlebar/ontop_inactive.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox/titlebar/sticky_active.png b/awesome/.config/awesome/themes/gruvbox-light/titlebar/sticky_active.png index 7ed573e..7ed573e 100644 --- a/awesome/.config/awesome/themes/gruvbox/titlebar/sticky_active.png +++ b/awesome/.config/awesome/themes/gruvbox-light/titlebar/sticky_active.png Binary files differdiff --git a/awesome/.config/awesome/themes/gruvbox-light/titlebar/sticky_inactive.png b/awesome/.config/awesome/themes/gruvbox-light/titlebar/sticky_inactive.png new file mode 100644 index 0000000..cc03ad4 --- /dev/null +++ b/awesome/.config/awesome/themes/gruvbox-light/titlebar/sticky_inactive.png Binary files differdiff --git a/debian/.Xresources b/debian/.Xresources index 915c95f..c4d7dd6 100644..120000 --- a/debian/.Xresources +++ b/debian/.Xresources @@ -1,25 +1 @@ -*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 +.Xresources-dark \ No newline at end of file diff --git a/debian/.Xresources-dark b/debian/.Xresources-dark new file mode 100644 index 0000000..50b6269 --- /dev/null +++ b/debian/.Xresources-dark @@ -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 diff --git a/debian/.Xresources-light b/debian/.Xresources-light new file mode 100644 index 0000000..3123694 --- /dev/null +++ b/debian/.Xresources-light @@ -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 diff --git a/debian/.bashrc b/debian/.bashrc index 9fa6a6e..f4a52ce 100644 --- a/debian/.bashrc +++ b/debian/.bashrc @@ -16,8 +16,8 @@ HISTCONTROL=ignoreboth shopt -s histappend # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) -HISTSIZE=1000 -HISTFILESIZE=2000 +HISTSIZE=32767 +HISTFILESIZE=65536 # check the window size after each command and, if necessary, # 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 raku=perl6 alias x='cd $HOME && startx && cd -' +eval $(thefuck --alias) # enable programmable completion features (you don't need to enable # this, if it's already enabled in /etc/bash.bashrc and /etc/profile diff --git a/debian/.config/gtk-3.0/settings.ini b/debian/.config/gtk-3.0/settings.ini index 80d630a..92de323 100644 --- a/debian/.config/gtk-3.0/settings.ini +++ b/debian/.config/gtk-3.0/settings.ini @@ -1,2 +1,3 @@ [Settings] gtk-font-name = Latin Modern Sans 11 +gtk-application-prefer-dark-theme = true diff --git a/debian/.gtkrc-2.0 b/debian/.gtkrc-2.0 index be8dc8e..b7cb57c 100644 --- a/debian/.gtkrc-2.0 +++ b/debian/.gtkrc-2.0 @@ -1 +1,2 @@ gtk-font-name = "Latin Modern Sans 11" +gtk-theme-name = "CleanIce-Marble" diff --git a/debian/.profile b/debian/.profile index bab962f..068d63b 100644 --- a/debian/.profile +++ b/debian/.profile @@ -8,6 +8,13 @@ # for ssh logins, install and configure the libpam-umask package. #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 [ -n "$BASH_VERSION" ]; then # include .bashrc if it exists @@ -16,12 +23,5 @@ if [ -n "$BASH_VERSION" ]; then 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 . /home/cnx/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true diff --git a/debian/.xinitrc b/debian/.xinitrc index 92bf43e..338faea 100644 --- a/debian/.xinitrc +++ b/debian/.xinitrc @@ -2,7 +2,7 @@ xrdb -merge ~/.Xresources setxkbmap -option caps:ctrl_modifier xrandr --output DP-1 --mode 1600x900 --primary --right-of eDP-1 -xsetroot -solid '#fbf1c7' +xsetroot -solid '#282828' xfishtank -df 42 & redshift-gtk -l 21.028333:105.854167 & mate-power-manager & diff --git a/dev/.config/systemd/user/default.target.wants/ipfs.service b/dev/.config/systemd/user/default.target.wants/ipfs.service new file mode 120000 index 0000000..c6e8f95 --- /dev/null +++ b/dev/.config/systemd/user/default.target.wants/ipfs.service @@ -0,0 +1 @@ +/home/cnx/.config/systemd/user/ipfs.service \ No newline at end of file diff --git a/icc/.local/share/icc/Hewlett Packard Compaq F201 (medium) 2018-08-29 12-07-06 i1-display3.icc b/icc/.local/share/icc/Hewlett Packard Compaq F201 (medium) 2018-08-29 12-07-06 i1-display3.icc deleted file mode 100644 index 28db512..0000000 --- a/icc/.local/share/icc/Hewlett Packard Compaq F201 (medium) 2018-08-29 12-07-06 i1-display3.icc +++ /dev/null Binary files differdiff --git a/icc/.local/share/icc/Hewlett Packard HP ProBook 450 G5 (medium) 2018-08-29 13-00-07 i1-display3.icc b/icc/.local/share/icc/Hewlett Packard HP ProBook 450 G5 (medium) 2018-08-29 13-00-07 i1-display3.icc deleted file mode 100644 index 247ed95..0000000 --- a/icc/.local/share/icc/Hewlett Packard HP ProBook 450 G5 (medium) 2018-08-29 13-00-07 i1-display3.icc +++ /dev/null Binary files differdiff --git a/icc/.local/share/icc/edid-4bb1d5cafae5a2702a0c3fadec0d4d85.icc b/icc/.local/share/icc/edid-4bb1d5cafae5a2702a0c3fadec0d4d85.icc deleted file mode 100644 index e821037..0000000 --- a/icc/.local/share/icc/edid-4bb1d5cafae5a2702a0c3fadec0d4d85.icc +++ /dev/null Binary files differdiff --git a/icc/.local/share/icc/edid-909f476f16e47663aa9924cb2e5f4524.icc b/icc/.local/share/icc/edid-909f476f16e47663aa9924cb2e5f4524.icc deleted file mode 100644 index 0372f52..0000000 --- a/icc/.local/share/icc/edid-909f476f16e47663aa9924cb2e5f4524.icc +++ /dev/null Binary files differdiff --git a/luakit/.config/luakit/theme-dark.lua b/luakit/.config/luakit/theme-dark.lua new file mode 100644 index 0000000..15efcb9 --- /dev/null +++ b/luakit/.config/luakit/theme-dark.lua @@ -0,0 +1,86 @@ +-------------------------- +-- Default luakit theme -- +-------------------------- + +local theme = {} + +-- Default settings +theme.font = "12pt Latin Modern Mono" +theme.fg = "#ebdbb2" +theme.bg = "#282828" + +-- General colours +theme.success_fg = "#b8bb26" +theme.loaded_fg = "#83a598" +theme.error_fg = theme.fg +theme.error_bg = "#cc241d" + +-- Warning colours +theme.warning_fg = "fb4934" +theme.warning_bg = theme.bg + +-- Notification colours +theme.notif_fg = "#a89984" +theme.notif_bg = theme.bg + +-- Menu colours +theme.menu_fg = theme.fg +theme.menu_bg = "#504945" +theme.menu_selected_fg = theme.menu_bg +theme.menu_selected_bg = "#83a598" +theme.menu_title_bg = "#3c3836" +theme.menu_primary_title_fg = theme.fg +theme.menu_secondary_title_fg = theme.fg + +theme.menu_disabled_fg = "#928374" +theme.menu_disabled_bg = theme.menu_bg +theme.menu_enabled_fg = theme.menu_fg +theme.menu_enabled_bg = theme.menu_bg +theme.menu_active_fg = "#b8bb26" +theme.menu_active_bg = theme.menu_bg + +-- Proxy manager +theme.proxy_active_menu_fg = theme.fg +theme.proxy_active_menu_bg = theme.bg +theme.proxy_inactive_menu_fg = '#928374' +theme.proxy_inactive_menu_bg = theme.bg + +-- Statusbar specific +theme.sbar_fg = theme.fg +theme.sbar_bg = theme.bg + +-- Downloadbar specific +theme.dbar_fg = theme.fg +theme.dbar_bg = theme.bg +theme.dbar_error_fg = "#fb4934" + +-- Input bar specific +theme.ibar_fg = theme.fg +theme.ibar_bg = theme.bg + +-- Tab label +theme.tab_fg = theme.fg +theme.tab_bg = "#504945" +theme.tab_hover_bg = "#3c3836" +theme.tab_ntheme = "#a89984" +theme.selected_fg = theme.fg +theme.selected_bg = theme.bg +theme.selected_ntheme = "#a89984" +theme.loading_fg = theme.loaded_fg +theme.loading_bg = theme.loaded_bg + +theme.selected_private_tab_bg = "#b16296" +theme.private_tab_bg = "#8f3f71" + +-- Trusted/untrusted ssl colours +theme.trust_fg = "#b8bb26" +theme.notrust_fg = "#fb4934" + +-- General colour pairings +theme.ok = { fg = theme.fg, bg = theme.bg } +theme.warn = { fg = "#fb4934", bg = theme.bg } +theme.error = { fg = theme.fg, bg = "#cc241d" } + +return theme + +-- vim: et:sw=4:ts=8:sts=4:tw=80 diff --git a/luakit/.config/luakit/theme-light.lua b/luakit/.config/luakit/theme-light.lua new file mode 100644 index 0000000..e3d763f --- /dev/null +++ b/luakit/.config/luakit/theme-light.lua @@ -0,0 +1,86 @@ +-------------------------- +-- Default luakit theme -- +-------------------------- + +local theme = {} + +-- Default settings +theme.font = "12pt Latin Modern Mono" +theme.fg = "#3c3836" +theme.bg = "#fbf1c7" + +-- General colours +theme.success_fg = "#79740e" +theme.loaded_fg = "#076678" +theme.error_fg = theme.fg +theme.error_bg = "#cc241d" + +-- Warning colours +theme.warning_fg = "9d0006" +theme.warning_bg = theme.bg + +-- Notification colours +theme.notif_fg = "#7c6f64" +theme.notif_bg = theme.bg + +-- Menu colours +theme.menu_fg = theme.fg +theme.menu_bg = "#d5c4a1" +theme.menu_selected_fg = theme.menu_bg +theme.menu_selected_bg = "#076678" +theme.menu_title_bg = "#ebdbb2" +theme.menu_primary_title_fg = theme.fg +theme.menu_secondary_title_fg = theme.fg + +theme.menu_disabled_fg = "#928374" +theme.menu_disabled_bg = theme.menu_bg +theme.menu_enabled_fg = theme.menu_fg +theme.menu_enabled_bg = theme.menu_bg +theme.menu_active_fg = "#79740e" +theme.menu_active_bg = theme.menu_bg + +-- Proxy manager +theme.proxy_active_menu_fg = theme.fg +theme.proxy_active_menu_bg = theme.bg +theme.proxy_inactive_menu_fg = '#928374' +theme.proxy_inactive_menu_bg = theme.bg + +-- Statusbar specific +theme.sbar_fg = theme.fg +theme.sbar_bg = theme.bg + +-- Downloadbar specific +theme.dbar_fg = theme.fg +theme.dbar_bg = theme.bg +theme.dbar_error_fg = "#9d0006" + +-- Input bar specific +theme.ibar_fg = theme.fg +theme.ibar_bg = theme.bg + +-- Tab label +theme.tab_fg = theme.fg +theme.tab_bg = "#d5c4a1" +theme.tab_hover_bg = "#ebdbb2" +theme.tab_ntheme = "#7c6f64" +theme.selected_fg = theme.fg +theme.selected_bg = theme.bg +theme.selected_ntheme = "#7c6f64" +theme.loading_fg = theme.loaded_fg +theme.loading_bg = theme.loaded_bg + +theme.selected_private_tab_bg = "#b16296" +theme.private_tab_bg = "#d3869b" + +-- Trusted/untrusted ssl colours +theme.trust_fg = "#79740e" +theme.notrust_fg = "#9d0006" + +-- General colour pairings +theme.ok = { fg = theme.fg, bg = theme.bg } +theme.warn = { fg = "#9d0006", bg = theme.bg } +theme.error = { fg = theme.fg, bg = "#cc241d" } + +return theme + +-- vim: et:sw=4:ts=8:sts=4:tw=80 diff --git a/luakit/.config/luakit/theme.lua b/luakit/.config/luakit/theme.lua index e3d763f..9f8dbc3 100644..120000 --- a/luakit/.config/luakit/theme.lua +++ b/luakit/.config/luakit/theme.lua @@ -1,86 +1 @@ --------------------------- --- Default luakit theme -- --------------------------- - -local theme = {} - --- Default settings -theme.font = "12pt Latin Modern Mono" -theme.fg = "#3c3836" -theme.bg = "#fbf1c7" - --- General colours -theme.success_fg = "#79740e" -theme.loaded_fg = "#076678" -theme.error_fg = theme.fg -theme.error_bg = "#cc241d" - --- Warning colours -theme.warning_fg = "9d0006" -theme.warning_bg = theme.bg - --- Notification colours -theme.notif_fg = "#7c6f64" -theme.notif_bg = theme.bg - --- Menu colours -theme.menu_fg = theme.fg -theme.menu_bg = "#d5c4a1" -theme.menu_selected_fg = theme.menu_bg -theme.menu_selected_bg = "#076678" -theme.menu_title_bg = "#ebdbb2" -theme.menu_primary_title_fg = theme.fg -theme.menu_secondary_title_fg = theme.fg - -theme.menu_disabled_fg = "#928374" -theme.menu_disabled_bg = theme.menu_bg -theme.menu_enabled_fg = theme.menu_fg -theme.menu_enabled_bg = theme.menu_bg -theme.menu_active_fg = "#79740e" -theme.menu_active_bg = theme.menu_bg - --- Proxy manager -theme.proxy_active_menu_fg = theme.fg -theme.proxy_active_menu_bg = theme.bg -theme.proxy_inactive_menu_fg = '#928374' -theme.proxy_inactive_menu_bg = theme.bg - --- Statusbar specific -theme.sbar_fg = theme.fg -theme.sbar_bg = theme.bg - --- Downloadbar specific -theme.dbar_fg = theme.fg -theme.dbar_bg = theme.bg -theme.dbar_error_fg = "#9d0006" - --- Input bar specific -theme.ibar_fg = theme.fg -theme.ibar_bg = theme.bg - --- Tab label -theme.tab_fg = theme.fg -theme.tab_bg = "#d5c4a1" -theme.tab_hover_bg = "#ebdbb2" -theme.tab_ntheme = "#7c6f64" -theme.selected_fg = theme.fg -theme.selected_bg = theme.bg -theme.selected_ntheme = "#7c6f64" -theme.loading_fg = theme.loaded_fg -theme.loading_bg = theme.loaded_bg - -theme.selected_private_tab_bg = "#b16296" -theme.private_tab_bg = "#d3869b" - --- Trusted/untrusted ssl colours -theme.trust_fg = "#79740e" -theme.notrust_fg = "#9d0006" - --- General colour pairings -theme.ok = { fg = theme.fg, bg = theme.bg } -theme.warn = { fg = "#9d0006", bg = theme.bg } -theme.error = { fg = theme.fg, bg = "#cc241d" } - -return theme - --- vim: et:sw=4:ts=8:sts=4:tw=80 +theme-dark.lua \ No newline at end of file diff --git a/vim/.vim/gvimrc b/vim/.vim/gvimrc index dca5a8e..3f43115 100755 --- a/vim/.vim/gvimrc +++ b/vim/.vim/gvimrc @@ -7,6 +7,6 @@ set guicursor+=a:blinkon0 if has("patch-7.4.710") set listchars+=space:·,tab:\ \ endif -set background=light +set background=dark colorscheme gruvbox autocmd FileType python syntax keyword pythonBoolean False True None diff --git a/zathura/.config/zathura/zathurarc b/zathura/.config/zathura/zathurarc index 9ee74cd..6e5b0be 100644 --- a/zathura/.config/zathura/zathurarc +++ b/zathura/.config/zathura/zathurarc @@ -1,36 +1,37 @@ -set completion-bg \#a89984 +set completion-bg \#504945 set completion-fg \#fbf1c7 -set completion-group-bg \#ebdbb2 -set completion-group-fg \#3c3836 -set completion-highlight-bg \#076678 -set completion-highlight-fg \#d5c4a1 -set default-fg \#3c3836 -set default-bg \#ebdbb2 +set completion-group-bg \#3c3836 +set completion-group-fg \#ebdbb2 +set completion-highlight-bg \#458588 +set completion-highlight-fg \#ebdbb2 +set default-fg \#ebdbb2 +set default-bg \#282828 set font Latin\ Modern\ Mono\ 12 -set guioptions cs -set inputbar-fg \#3c3836 -set inputbar-bg \#fbf1c7 -set notification-bg \#fbf1c7 -set notification-fg \#3c3836 -set notification-error-bg \#9d0006 -set notification-error-fg \#fbf1c7 +set inputbar-fg \#ebdbb2 +set inputbar-bg \#282828 +set notification-bg \#282828 +set notification-fg \#fe8019 +set notification-error-bg \#cc241d +set notification-error-fg \#282828 set notification-warning-bg \#fbf1c7 -set notification-warning-fg \#9d0006 -set statusbar-bg \#a89984 -set statusbar-fg \#fbf1c7 +set notification-warning-fg \#282828 +set statusbar-bg \#504945 +set statusbar-fg \#ebdbb2 set adjust-open width set incremental-search false -set highlight-color \#ebdbb2 -set highlight-active-color \#3c3836 +set highlight-color \#3c3836 +set highlight-active-color \#ebdbb2 set recolor true -set recolor-darkcolor \#3c3836 -set recolor-lightcolor \#fbf1c7 -set recolor-reverse-video false -set render-loading-bg \#fbf1c7 -set render-loading-fg \#3c3836 -set statusbar-home-tilde true -set selection-clipboard primary -set index-bg \#fbf1c7 -set index-fg \#98971a -set index-active-bg \#ebdbb2 +set recolor-lightcolor \#1d2021 +set recolor-darkcolor \#ebdbb2 +set render-loading-bg \#282828 +set render-loading-fg \#ebdbb2 +set index-bg \#282828 +set index-fg \#b8bb26 +set index-active-bg \#282828 set index-active-fg \#98971a +set guioptions cs +set show-recent 0 +set smooth-scroll true +set statusbar-home-tilde true +set window-title-home-tilde true |