diff options
78 files changed, 321 insertions, 83 deletions
diff --git a/.gitignore b/.gitignore index dde1b40..17ad192 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ vim/.cache/vim/viminfo vim/.vim/__pycache__ vim/.vim/plugged meta/.config/gtk-3.0/bookmarks +awesome/.config/awesome/vicious/ diff --git a/README.md b/README.md index 87b5a58..f3995fb 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,9 @@ # dotfiles -Dotfiles of my Debian testing and Fedora systems, managed by GNU Stow. +Dotfiles of my Debian testing, managed by GNU Stow. ![](debian-screenshot.png) The Debian desktop uses awesome, bash, Git, Luakit, ranger, Vim, XTerm and Zathura. Most of these applications are themed with the -[gruvbox](https://github.com/morhetz/gruvbox) colorscheme's light version. - -![](fedora-screenshot.png) - -The newly-set-up Fedora is simply GNOME and Emacs. +[srcery](https://github.com/srcery-colors/srcery-vim) colorscheme. diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index 4855c57..4ffa8a3 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -44,7 +44,7 @@ end -- {{{ Variable definitions -- Themes define colours, icons, font and wallpapers. -beautiful.init"~/.config/awesome/themes/gruvbox/theme.lua" +beautiful.init"~/.config/awesome/themes/srcery/theme.lua" -- This is used later as the default terminal and editor to run. local terminal = "x-terminal-emulator" @@ -173,8 +173,8 @@ vicious.register(mybattery_text, vicious.widgets.bat, function (widget, args) return (" %s%03d%%"):format(args[1], args[2]) end, 7, "BAT0") -local mybattery = wibox.container.background(mybattery_text, "#98971a") -mybattery.fg = "#282828" +local mybattery = wibox.container.background(mybattery_text, beautiful.green) +mybattery.fg = beautiful.gray mybattery:buttons(awful.util.table.join( awful.button({}, 1, spawner"mate-power-statistics"), awful.button({}, 3, spawner"mate-power-preferences") @@ -205,8 +205,8 @@ local function volume_mute(parameter) update_widget("pulsemixer --toggle-mute", myvolume_text) end -local myvolume = wibox.container.background(myvolume_text, "#689d6a") -myvolume.fg = "#282828" +local myvolume = wibox.container.background(myvolume_text, beautiful.cyan) +myvolume.fg = beautiful.gray myvolume:buttons(awful.util.table.join( awful.button({}, 1, volume_setter"-5"), awful.button({}, 2, volume_mute), @@ -230,8 +230,8 @@ local function audacious_seeker(time) end end -local myplayer = wibox.container.background(myplayer_text, "#b16286") -myplayer.fg = "#282828" +local myplayer = wibox.container.background(myplayer_text, beautiful.magenta) +myplayer.fg = beautiful.gray myplayer:buttons(awful.util.table.join( awful.button({}, 1, spawner(audacious_rewind)), awful.button({}, 2, spawner(audacious_play_pause)), @@ -331,18 +331,18 @@ awful.screen.connect_for_each_screen(function (s) layout = wibox.layout.fixed.horizontal, -- mylauncher, {mytextclock, - bg = "#cc241d", - fg = "#282828", + bg = beautiful.red, + fg = beautiful.gray, widget = wibox.container.background}, wibox.widget.imagebox(beautiful.arrow0), {mycpuusage, - bg = "#d65d0e", - fg = "#282828", + bg = beautiful.orange, + fg = beautiful.gray, widget = wibox.container.background}, wibox.widget.imagebox(beautiful.arrow1), {mymemusage, - bg = "#d79921", - fg = "#282828", + bg = beautiful.yellow, + fg = beautiful.gray, widget = wibox.container.background}, wibox.widget.imagebox(beautiful.arrow2), mybattery, @@ -350,8 +350,8 @@ awful.screen.connect_for_each_screen(function (s) myvolume, wibox.widget.imagebox(beautiful.arrow4), {myweather, - bg = "#458588", - fg = "#282828", + bg = beautiful.blue, + fg = beautiful.gray, widget = wibox.container.background}, wibox.widget.imagebox(beautiful.arrow5), myplayer, @@ -443,7 +443,7 @@ local globalkeys = awful.util.table.join( {description = "open a root terminal", group = "launcher"}), awful.key({modkey}, "v", spawner(editor), {description = "open GVim", group = "launcher"}), - awful.key({modkey}, "e", spawner"emacs", + awful.key({modkey}, "e", spawner"emacsclient -c", {description = "open Emacs", group = "launcher"}), awful.key({modkey}, "b", spawner"luakit", {description = "open Luakit", group = "launcher"}), @@ -455,6 +455,8 @@ local globalkeys = awful.util.table.join( {description = "open Tor Browser", group = "launcher"}), awful.key({modkey}, "t", spawner"thunderbird", {description = "open Thunderbird", group = "launcher"}), + awful.key({modkey}, "g", spawner"gimp", + {description = "open GIMP", group = "launcher"}), awful.key({modkey, "Shift"}, "m", spawner"moodledesktop", {description = "open Moodle Desktop", group = "launcher"}), awful.key({modkey}, "r", spawner(ranger), @@ -465,7 +467,7 @@ local globalkeys = awful.util.table.join( {description = "open Python 3 interpreter", group = "launcher"}), awful.key({modkey, "Shift"}, "p", spawner(perl6), {description = "open Perl 6", group = "launcher"}), - awful.key({modkey}, "g", spawner(guile), + awful.key({modkey, "Shift"}, "g", spawner(guile), {description = "open Guile interpreter", group = "launcher"}), awful.key({modkey}, "o", spawner(octave), {description = "open Octave", group = "launcher"}), diff --git a/awesome/.config/awesome/themes/gruvbox b/awesome/.config/awesome/themes/gruvbox deleted file mode 120000 index 280a41b..0000000 --- a/awesome/.config/awesome/themes/gruvbox +++ /dev/null @@ -1 +0,0 @@ -gruvbox-dark \ No newline at end of file diff --git a/awesome/.config/awesome/themes/srcery/README.md b/awesome/.config/awesome/themes/srcery/README.md new file mode 100644 index 0000000..dc3f262 --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/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/srcery/arrows/0.png b/awesome/.config/awesome/themes/srcery/arrows/0.png new file mode 100644 index 0000000..7a8f092 --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/arrows/0.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/arrows/1.png b/awesome/.config/awesome/themes/srcery/arrows/1.png new file mode 100644 index 0000000..03b22c0 --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/arrows/1.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/arrows/2.png b/awesome/.config/awesome/themes/srcery/arrows/2.png new file mode 100644 index 0000000..70e205d --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/arrows/2.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/arrows/3.png b/awesome/.config/awesome/themes/srcery/arrows/3.png new file mode 100644 index 0000000..b3ae828 --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/arrows/3.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/arrows/4.png b/awesome/.config/awesome/themes/srcery/arrows/4.png new file mode 100644 index 0000000..a095256 --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/arrows/4.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/arrows/5.png b/awesome/.config/awesome/themes/srcery/arrows/5.png new file mode 100644 index 0000000..86b425d --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/arrows/5.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/arrows/6.png b/awesome/.config/awesome/themes/srcery/arrows/6.png new file mode 100644 index 0000000..155f1ff --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/arrows/6.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/awesome.png b/awesome/.config/awesome/themes/srcery/awesome.png new file mode 100644 index 0000000..1add8b1 --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/awesome.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/background-2048x1152.png b/awesome/.config/awesome/themes/srcery/background-2048x1152.png new file mode 100644 index 0000000..e46df7a --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/background-2048x1152.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/background-2048x1280.png b/awesome/.config/awesome/themes/srcery/background-2048x1280.png new file mode 100644 index 0000000..c0cc6d7 --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/background-2048x1280.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/background-2048x1536.png b/awesome/.config/awesome/themes/srcery/background-2048x1536.png new file mode 100644 index 0000000..7e95e50 --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/background-2048x1536.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/layouts/cornerne.png b/awesome/.config/awesome/themes/srcery/layouts/cornerne.png new file mode 100644 index 0000000..6b84a0f --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/layouts/cornerne.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/layouts/cornernw.png b/awesome/.config/awesome/themes/srcery/layouts/cornernw.png new file mode 100644 index 0000000..d4f7020 --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/layouts/cornernw.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/layouts/cornerse.png b/awesome/.config/awesome/themes/srcery/layouts/cornerse.png new file mode 100644 index 0000000..60213d3 --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/layouts/cornerse.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/layouts/cornersw.png b/awesome/.config/awesome/themes/srcery/layouts/cornersw.png new file mode 100644 index 0000000..6675588 --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/layouts/cornersw.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/layouts/dwindle.png b/awesome/.config/awesome/themes/srcery/layouts/dwindle.png new file mode 100644 index 0000000..8719c14 --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/layouts/dwindle.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/layouts/fairh.png b/awesome/.config/awesome/themes/srcery/layouts/fairh.png new file mode 100644 index 0000000..05a68fd --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/layouts/fairh.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/layouts/fairv.png b/awesome/.config/awesome/themes/srcery/layouts/fairv.png new file mode 100644 index 0000000..927acac --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/layouts/fairv.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/layouts/floating.png b/awesome/.config/awesome/themes/srcery/layouts/floating.png new file mode 100644 index 0000000..e6db7d5 --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/layouts/floating.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/layouts/fullscreen.png b/awesome/.config/awesome/themes/srcery/layouts/fullscreen.png new file mode 100644 index 0000000..6b80b25 --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/layouts/fullscreen.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/layouts/magnifier.png b/awesome/.config/awesome/themes/srcery/layouts/magnifier.png new file mode 100644 index 0000000..532d397 --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/layouts/magnifier.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/layouts/max.png b/awesome/.config/awesome/themes/srcery/layouts/max.png new file mode 100644 index 0000000..74a608f --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/layouts/max.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/layouts/spiral.png b/awesome/.config/awesome/themes/srcery/layouts/spiral.png new file mode 100644 index 0000000..b847e22 --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/layouts/spiral.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/layouts/tile.png b/awesome/.config/awesome/themes/srcery/layouts/tile.png new file mode 100644 index 0000000..02b7df1 --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/layouts/tile.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/layouts/tilebottom.png b/awesome/.config/awesome/themes/srcery/layouts/tilebottom.png new file mode 100644 index 0000000..dd2dd03 --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/layouts/tilebottom.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/layouts/tileleft.png b/awesome/.config/awesome/themes/srcery/layouts/tileleft.png new file mode 100644 index 0000000..052f308 --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/layouts/tileleft.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/layouts/tiletop.png b/awesome/.config/awesome/themes/srcery/layouts/tiletop.png new file mode 100644 index 0000000..723f00e --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/layouts/tiletop.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/submenu.png b/awesome/.config/awesome/themes/srcery/submenu.png new file mode 100644 index 0000000..f87ee0d --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/submenu.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/taglist/square.png b/awesome/.config/awesome/themes/srcery/taglist/square.png new file mode 100644 index 0000000..4ba2919 --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/taglist/square.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/taglist/squaref.png b/awesome/.config/awesome/themes/srcery/taglist/squaref.png new file mode 100644 index 0000000..83f00fe --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/taglist/squaref.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/theme.lua b/awesome/.config/awesome/themes/srcery/theme.lua new file mode 100644 index 0000000..0d08cae --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/theme.lua @@ -0,0 +1,151 @@ +-- srcery awesome theme +-- Copyright (C) 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/srcery/" + +theme.font = "Latin Modern Mono Caps 12" +theme.hotkeys_font = "Latin Modern Mono Bold 12" +theme.hotkeys_description_font = theme.font + +-- Auxiliary colors +theme.black = '#1c1b19' +theme.gray = '#2d2c29' +theme.red = '#ef2f27' +theme.orange = '#ff5f00' +theme.yellow = '#fbb829' +theme.green = '#519f50' +theme.cyan = '#0aaeb3' +theme.blue = '#2c78bf' +theme.magenta = '#e02c6d' +theme.grey = '#918175' +theme.white = '#fce8c3' + +theme.bg_normal = theme.black +theme.bg_focus = theme.gray +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 = theme.white +theme.fg_focus = theme.fg_normal +theme.fg_urgent = theme.grey +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 = theme.orange +theme.border_marked = theme.red + +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/srcery/titlebar/close.png b/awesome/.config/awesome/themes/srcery/titlebar/close.png new file mode 100644 index 0000000..a93db9c --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/titlebar/close.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/titlebar/floating_active.png b/awesome/.config/awesome/themes/srcery/titlebar/floating_active.png new file mode 100644 index 0000000..1594b7b --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/titlebar/floating_active.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/titlebar/floating_inactive.png b/awesome/.config/awesome/themes/srcery/titlebar/floating_inactive.png new file mode 100644 index 0000000..54b02ac --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/titlebar/floating_inactive.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/titlebar/maximized_active.png b/awesome/.config/awesome/themes/srcery/titlebar/maximized_active.png new file mode 100644 index 0000000..4bc4a40 --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/titlebar/maximized_active.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/titlebar/maximized_inactive.png b/awesome/.config/awesome/themes/srcery/titlebar/maximized_inactive.png new file mode 100644 index 0000000..9479470 --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/titlebar/maximized_inactive.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/titlebar/minimize.png b/awesome/.config/awesome/themes/srcery/titlebar/minimize.png new file mode 100644 index 0000000..0e6b4c4 --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/titlebar/minimize.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/titlebar/normal.png b/awesome/.config/awesome/themes/srcery/titlebar/normal.png new file mode 100644 index 0000000..37ba5bd --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/titlebar/normal.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/titlebar/ontop_active.png b/awesome/.config/awesome/themes/srcery/titlebar/ontop_active.png new file mode 100644 index 0000000..5af6619 --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/titlebar/ontop_active.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/titlebar/ontop_inactive.png b/awesome/.config/awesome/themes/srcery/titlebar/ontop_inactive.png new file mode 100644 index 0000000..5b88a47 --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/titlebar/ontop_inactive.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/titlebar/sticky_active.png b/awesome/.config/awesome/themes/srcery/titlebar/sticky_active.png new file mode 100644 index 0000000..2530757 --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/titlebar/sticky_active.png Binary files differdiff --git a/awesome/.config/awesome/themes/srcery/titlebar/sticky_inactive.png b/awesome/.config/awesome/themes/srcery/titlebar/sticky_inactive.png new file mode 100644 index 0000000..ef6262f --- /dev/null +++ b/awesome/.config/awesome/themes/srcery/titlebar/sticky_inactive.png Binary files differdiff --git a/debian/.Xresources-dark b/debian/.Xresources-dark deleted file mode 100644 index 9cadf83..0000000 --- a/debian/.Xresources-dark +++ /dev/null @@ -1,25 +0,0 @@ -*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-unicode-256color diff --git a/dev/.config/systemd/user/default.target.wants/emacs.service b/dev/.config/systemd/user/default.target.wants/emacs.service new file mode 120000 index 0000000..003173b --- /dev/null +++ b/dev/.config/systemd/user/default.target.wants/emacs.service @@ -0,0 +1 @@ +/usr/lib/systemd/user/emacs.service \ No newline at end of file diff --git a/fedora-screenshot.png b/fedora-screenshot.png deleted file mode 100644 index 20f189b..0000000 --- a/fedora-screenshot.png +++ /dev/null Binary files differdiff --git a/fedora/.bash_profile b/fedora/.bash_profile deleted file mode 100644 index 6e8c62c..0000000 --- a/fedora/.bash_profile +++ /dev/null @@ -1,11 +0,0 @@ -# .bash_profile - -# Get the aliases and functions -if [ -f ~/.bashrc ]; then - . ~/.bashrc -fi - -# User specific environment and startup programs -PATH=$PATH:$HOME/.local/bin:$HOME/bin:$HOME/.local/share/go/bin:$HOME/.cargo/bin -export PATH -export GOPATH=$HOME/.local/share/go diff --git a/fedora/.bashrc b/fedora/.bashrc deleted file mode 100644 index 271b8f7..0000000 --- a/fedora/.bashrc +++ /dev/null @@ -1,13 +0,0 @@ -# .bashrc - -# Source global definitions -if [ -f /etc/bashrc ]; then - . /etc/bashrc -fi - -# Uncomment the following line if you don't like systemctl's auto-paging feature: -# export SYSTEMD_PAGER= - -# User specific aliases and functions -alias stow='stow -t /home/436e58' -alias raku=perl6 diff --git a/luakit/.config/luakit/theme.lua b/luakit/.config/luakit/theme.lua index 9f8dbc3..bbdac14 120000..100644 --- a/luakit/.config/luakit/theme.lua +++ b/luakit/.config/luakit/theme.lua @@ -1 +1,104 @@ -theme-dark.lua \ No newline at end of file +-- srcery luakit theme +-- Copyright (C) 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 = {} +local color = {black = '#1C1B19', red = '#EF2F27', green = '#519F50', + yellow = '#FBB829', blue = '#2C78BF', magenta = '#E02C6D', + cyan = '#0AAEB3', white = '#918175', brightblack = '#2D2C29', + brightred = '#F75341', brightgreen = '#98BC37', + brightyellow = '#FED06E', brightblue = '#68A8E4', + brightmagenta = '#FF5C8F', brightcyan = '#53FDE9', + brightwhite = '#FCE8C3'} + + +-- Default settings +theme.font = '12pt Latin Modern Mono' +theme.fg = color.brightwhite +theme.bg = color.black + +-- General colours +theme.success_fg = color.brightgreen +theme.loaded_fg = color.brightblue +theme.error_fg = theme.fg +theme.error_bg = color.red + +-- Warning colours +theme.warning_fg = color.red +theme.warning_bg = theme.bg + +-- Notification colours +theme.notif_fg = color.yellow +theme.notif_bg = theme.bg + +-- Menu colours +theme.menu_fg = theme.fg +theme.menu_bg = color.brightblack +theme.menu_selected_fg = theme.menu_fg +theme.menu_selected_bg = color.magenta +theme.menu_title_bg = theme.menu_bg +theme.menu_primary_title_fg = color.green +theme.menu_secondary_title_fg = color.cyan + +theme.menu_disabled_fg = color.white +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 = color.red +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 = color.green +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 = color.brightred + +-- Input bar specific +theme.ibar_fg = theme.fg +theme.ibar_bg = theme.bg + +-- Tab label +theme.tab_fg = theme.fg +theme.tab_bg = color.brightblack +theme.tab_hover_bg = color.blue +theme.tab_ntheme = color.white +theme.selected_fg = theme.fg +theme.selected_bg = theme.bg +theme.selected_ntheme = color.white +theme.loading_fg = theme.loaded_fg +theme.loading_bg = theme.loaded_bg + +theme.selected_private_tab_bg = color.brightmagenta +theme.private_tab_bg = color.magenta + +-- Trusted/untrusted ssl colours +theme.trust_fg = color.brightgreen +theme.notrust_fg = color.brightred + +-- General colour pairings +theme.ok = {fg = theme.fg, bg = theme.bg} +theme.warn = {fg = color.brightred, bg = theme.bg} +theme.error = {fg = theme.fg, bg = color.red} + +return theme diff --git a/debian/.Xresources b/meta/.Xresources index c4d7dd6..c4d7dd6 120000 --- a/debian/.Xresources +++ b/meta/.Xresources diff --git a/meta/.Xresources-dark b/meta/.Xresources-dark new file mode 100644 index 0000000..4bb55d2 --- /dev/null +++ b/meta/.Xresources-dark @@ -0,0 +1,26 @@ +*foreground: #fce8c3 +*background: #1c1b19 +*cursorColor: #fce8c3 +*.color0: #1c1b19 +*.color1: #ef2f27 +*.color2: #519f50 +*.color3: #fbb829 +*.color4: #2c78bf +*.color5: #e02c6d +*.color6: #0aaeb3 +*.color7: #918175 +*.color8: #2D2C29 +*.color9: #f75341 +*.color10: #98bc37 +*.color11: #fed06e +*.color12: #68A8E4 +*.color13: #ff5c8f +*.color14: #53fde9 +*.color15: #fce8c3 +*loginShell: true +*scrollBar: false +*saveLines: 65535 +*cursorBlink: false +*jumpScroll: true +URxvt.font: xft:Latin Modern Mono:size=12 +URxvt.termName: rxvt-unicode-256color diff --git a/debian/.Xresources-light b/meta/.Xresources-light index 3123694..3123694 100644 --- a/debian/.Xresources-light +++ b/meta/.Xresources-light diff --git a/debian/.bashrc b/meta/.bashrc index f4a52ce..f4a52ce 100644 --- a/debian/.bashrc +++ b/meta/.bashrc diff --git a/debian/.config/gtk-3.0/gtkcss b/meta/.config/gtk-3.0/gtkcss index e7ff883..e7ff883 100644 --- a/debian/.config/gtk-3.0/gtkcss +++ b/meta/.config/gtk-3.0/gtkcss diff --git a/debian/.config/gtk-3.0/settings.ini b/meta/.config/gtk-3.0/settings.ini index 4635233..4635233 100644 --- a/debian/.config/gtk-3.0/settings.ini +++ b/meta/.config/gtk-3.0/settings.ini diff --git a/debian/.fonts/DancingScript-Bold.ttf b/meta/.fonts/DancingScript-Bold.ttf index f1e0d65..f1e0d65 100644 --- a/debian/.fonts/DancingScript-Bold.ttf +++ b/meta/.fonts/DancingScript-Bold.ttf Binary files differdiff --git a/debian/.fonts/DancingScript-Regular.ttf b/meta/.fonts/DancingScript-Regular.ttf index 72db835..72db835 100644 --- a/debian/.fonts/DancingScript-Regular.ttf +++ b/meta/.fonts/DancingScript-Regular.ttf Binary files differdiff --git a/debian/.fonts/Inconsolata-Bold.ttf b/meta/.fonts/Inconsolata-Bold.ttf index 809c1f5..809c1f5 100644 --- a/debian/.fonts/Inconsolata-Bold.ttf +++ b/meta/.fonts/Inconsolata-Bold.ttf Binary files differdiff --git a/debian/.fonts/Inconsolata-Regular.ttf b/meta/.fonts/Inconsolata-Regular.ttf index fc981ce..fc981ce 100644 --- a/debian/.fonts/Inconsolata-Regular.ttf +++ b/meta/.fonts/Inconsolata-Regular.ttf Binary files differdiff --git a/debian/.fonts/Pacifico-Regular.ttf b/meta/.fonts/Pacifico-Regular.ttf index ccbe0f3..ccbe0f3 100644 --- a/debian/.fonts/Pacifico-Regular.ttf +++ b/meta/.fonts/Pacifico-Regular.ttf Binary files differdiff --git a/meta/.fonts/SansForgetica-Regular.otf b/meta/.fonts/SansForgetica-Regular.otf new file mode 100644 index 0000000..27deedb --- /dev/null +++ b/meta/.fonts/SansForgetica-Regular.otf Binary files differdiff --git a/debian/.fonts/SpaceMono-Bold.ttf b/meta/.fonts/SpaceMono-Bold.ttf index 4acd36a..4acd36a 100644 --- a/debian/.fonts/SpaceMono-Bold.ttf +++ b/meta/.fonts/SpaceMono-Bold.ttf Binary files differdiff --git a/debian/.fonts/SpaceMono-BoldItalic.ttf b/meta/.fonts/SpaceMono-BoldItalic.ttf index 0702475..0702475 100644 --- a/debian/.fonts/SpaceMono-BoldItalic.ttf +++ b/meta/.fonts/SpaceMono-BoldItalic.ttf Binary files differdiff --git a/debian/.fonts/SpaceMono-Italic.ttf b/meta/.fonts/SpaceMono-Italic.ttf index 8799738..8799738 100644 --- a/debian/.fonts/SpaceMono-Italic.ttf +++ b/meta/.fonts/SpaceMono-Italic.ttf Binary files differdiff --git a/debian/.fonts/SpaceMono-Regular.ttf b/meta/.fonts/SpaceMono-Regular.ttf index 28d7ff7..28d7ff7 100644 --- a/debian/.fonts/SpaceMono-Regular.ttf +++ b/meta/.fonts/SpaceMono-Regular.ttf Binary files differdiff --git a/debian/.fonts/VT323-Regular.ttf b/meta/.fonts/VT323-Regular.ttf index afa6909..afa6909 100644 --- a/debian/.fonts/VT323-Regular.ttf +++ b/meta/.fonts/VT323-Regular.ttf Binary files differdiff --git a/debian/.gtkrc-2.0 b/meta/.gtkrc-2.0 index 01f826b..01f826b 100644 --- a/debian/.gtkrc-2.0 +++ b/meta/.gtkrc-2.0 diff --git a/debian/.mailcap b/meta/.mailcap index 6cca665..6cca665 100644 --- a/debian/.mailcap +++ b/meta/.mailcap diff --git a/debian/.profile b/meta/.profile index ac7e0b9..6c8b86e 100644 --- a/debian/.profile +++ b/meta/.profile @@ -8,9 +8,9 @@ # 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 PATH="$HOME/.local/bin:$GOPATH/bin:$HOME/.cargo/bin:$HOME/.luarocks/bin:$PATH" +export MANPATH="$HOME/.local/share/man:$MANPATH" export XMODIFIERS=@im=ibus #export WEBKIT_DISABLE_COMPOSITING_MODE=1 export NLTK_DATA="$HOME/Sources/nlp/nltk_data" @@ -25,6 +25,3 @@ fi # OPAM configuration . /home/cnx/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true - -# Gruvbox colorscheme -source "$HOME/.vim/plugged/gruvbox/gruvbox_256palette.sh" diff --git a/debian/.screenlayout/dual.sh b/meta/.screenlayout/dual.sh index 755f7cc..755f7cc 100755 --- a/debian/.screenlayout/dual.sh +++ b/meta/.screenlayout/dual.sh diff --git a/debian/.screenlayout/single.sh b/meta/.screenlayout/single.sh index c7185ab..c7185ab 100755 --- a/debian/.screenlayout/single.sh +++ b/meta/.screenlayout/single.sh diff --git a/debian/.xinitrc b/meta/.xinitrc index 734c8d0..70e0687 100644 --- a/debian/.xinitrc +++ b/meta/.xinitrc @@ -1,7 +1,7 @@ #!/bin/sh xrdb -merge ~/.Xresources xrandr --output DP-1 --mode 1600x900 --primary --right-of eDP-1 -xsetroot -solid '#282828' +xsetroot -solid '#1c1b19' redshift-gtk -l 21.028333:105.854167 & mate-power-manager & ibus-daemon -drx diff --git a/debian-screenshot.png b/screenshot.png index d48a351..d48a351 100644 --- a/debian-screenshot.png +++ b/screenshot.png Binary files differdiff --git a/vim/.vim/vimrc b/vim/.vim/vimrc index 7cb989c..fc2b0ef 100755 --- a/vim/.vim/vimrc +++ b/vim/.vim/vimrc @@ -32,7 +32,7 @@ command W w call plug#begin('~/.vim/plugged') Plug 'https://github.com/sheerun/vim-polyglot.git' -Plug 'https://github.com/morhetz/gruvbox.git' +Plug 'https://github.com/srcery-colors/srcery-vim.git' Plug 'https://github.com/tpope/vim-abolish.git' Plug 'https://github.com/drmikehenry/vim-fontsize.git' Plug 'https://github.com/lervag/vimtex.git', {'for': 'tex'} @@ -40,5 +40,4 @@ Plug 'https://github.com/kovisoft/slimv', {'for': 'lisp'} call plug#end() set t_Co=256 -set background=dark -colorscheme gruvbox +colorscheme srcery |