From 2f5a29f4dfebc144e3d82283b2b0af64b5c8b218 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Mon, 27 May 2019 22:28:01 +0700 Subject: Update 2019-05-27 --- .gitignore | 1 + README.md | 8 +- awesome/.config/awesome/rc.lua | 36 ++--- awesome/.config/awesome/themes/gruvbox | 1 - awesome/.config/awesome/themes/srcery/README.md | 12 ++ awesome/.config/awesome/themes/srcery/arrows/0.png | Bin 0 -> 2257 bytes awesome/.config/awesome/themes/srcery/arrows/1.png | Bin 0 -> 2529 bytes awesome/.config/awesome/themes/srcery/arrows/2.png | Bin 0 -> 2888 bytes awesome/.config/awesome/themes/srcery/arrows/3.png | Bin 0 -> 1822 bytes awesome/.config/awesome/themes/srcery/arrows/4.png | Bin 0 -> 2171 bytes awesome/.config/awesome/themes/srcery/arrows/5.png | Bin 0 -> 2003 bytes awesome/.config/awesome/themes/srcery/arrows/6.png | Bin 0 -> 2769 bytes awesome/.config/awesome/themes/srcery/awesome.png | Bin 0 -> 3237 bytes .../awesome/themes/srcery/background-2048x1152.png | Bin 0 -> 15098 bytes .../awesome/themes/srcery/background-2048x1280.png | Bin 0 -> 16283 bytes .../awesome/themes/srcery/background-2048x1536.png | Bin 0 -> 18922 bytes .../awesome/themes/srcery/layouts/cornerne.png | Bin 0 -> 4321 bytes .../awesome/themes/srcery/layouts/cornernw.png | Bin 0 -> 4315 bytes .../awesome/themes/srcery/layouts/cornerse.png | Bin 0 -> 4308 bytes .../awesome/themes/srcery/layouts/cornersw.png | Bin 0 -> 4423 bytes .../awesome/themes/srcery/layouts/dwindle.png | Bin 0 -> 3286 bytes .../awesome/themes/srcery/layouts/fairh.png | Bin 0 -> 3507 bytes .../awesome/themes/srcery/layouts/fairv.png | Bin 0 -> 3718 bytes .../awesome/themes/srcery/layouts/floating.png | Bin 0 -> 3339 bytes .../awesome/themes/srcery/layouts/fullscreen.png | Bin 0 -> 5536 bytes .../awesome/themes/srcery/layouts/magnifier.png | Bin 0 -> 3959 bytes .../.config/awesome/themes/srcery/layouts/max.png | Bin 0 -> 5091 bytes .../awesome/themes/srcery/layouts/spiral.png | Bin 0 -> 3105 bytes .../.config/awesome/themes/srcery/layouts/tile.png | Bin 0 -> 4556 bytes .../awesome/themes/srcery/layouts/tilebottom.png | Bin 0 -> 4388 bytes .../awesome/themes/srcery/layouts/tileleft.png | Bin 0 -> 4470 bytes .../awesome/themes/srcery/layouts/tiletop.png | Bin 0 -> 4442 bytes awesome/.config/awesome/themes/srcery/submenu.png | Bin 0 -> 1804 bytes .../awesome/themes/srcery/taglist/square.png | Bin 0 -> 1146 bytes .../awesome/themes/srcery/taglist/squaref.png | Bin 0 -> 1205 bytes awesome/.config/awesome/themes/srcery/theme.lua | 151 +++++++++++++++++++++ .../awesome/themes/srcery/titlebar/close.png | Bin 0 -> 4256 bytes .../themes/srcery/titlebar/floating_active.png | Bin 0 -> 4450 bytes .../themes/srcery/titlebar/floating_inactive.png | Bin 0 -> 4288 bytes .../themes/srcery/titlebar/maximized_active.png | Bin 0 -> 4582 bytes .../themes/srcery/titlebar/maximized_inactive.png | Bin 0 -> 4365 bytes .../awesome/themes/srcery/titlebar/minimize.png | Bin 0 -> 4531 bytes .../awesome/themes/srcery/titlebar/normal.png | Bin 0 -> 3785 bytes .../themes/srcery/titlebar/ontop_active.png | Bin 0 -> 4518 bytes .../themes/srcery/titlebar/ontop_inactive.png | Bin 0 -> 4537 bytes .../themes/srcery/titlebar/sticky_active.png | Bin 0 -> 4109 bytes .../themes/srcery/titlebar/sticky_inactive.png | Bin 0 -> 4090 bytes debian-screenshot.png | Bin 536021 -> 0 bytes debian/.Xresources | 1 - debian/.Xresources-dark | 25 ---- debian/.Xresources-light | 25 ---- debian/.bashrc | 123 ----------------- debian/.config/gtk-3.0/gtkcss | 4 - debian/.config/gtk-3.0/settings.ini | 4 - debian/.fonts/DancingScript-Bold.ttf | Bin 122748 -> 0 bytes debian/.fonts/DancingScript-Regular.ttf | Bin 123760 -> 0 bytes debian/.fonts/Inconsolata-Bold.ttf | Bin 109948 -> 0 bytes debian/.fonts/Inconsolata-Regular.ttf | Bin 96964 -> 0 bytes debian/.fonts/Pacifico-Regular.ttf | Bin 196324 -> 0 bytes debian/.fonts/SpaceMono-Bold.ttf | Bin 89020 -> 0 bytes debian/.fonts/SpaceMono-BoldItalic.ttf | Bin 97732 -> 0 bytes debian/.fonts/SpaceMono-Italic.ttf | Bin 105932 -> 0 bytes debian/.fonts/SpaceMono-Regular.ttf | Bin 93252 -> 0 bytes debian/.fonts/VT323-Regular.ttf | Bin 153116 -> 0 bytes debian/.gtkrc-2.0 | 3 - debian/.mailcap | 69 ---------- debian/.profile | 30 ---- debian/.screenlayout/dual.sh | 2 - debian/.screenlayout/single.sh | 2 - debian/.xinitrc | 12 -- .../user/default.target.wants/emacs.service | 1 + fedora-screenshot.png | Bin 3897619 -> 0 bytes fedora/.bash_profile | 11 -- fedora/.bashrc | 13 -- luakit/.config/luakit/theme.lua | 105 +++++++++++++- meta/.Xresources | 1 + meta/.Xresources-dark | 26 ++++ meta/.Xresources-light | 25 ++++ meta/.bashrc | 123 +++++++++++++++++ meta/.config/gtk-3.0/gtkcss | 4 + meta/.config/gtk-3.0/settings.ini | 4 + meta/.fonts/DancingScript-Bold.ttf | Bin 0 -> 122748 bytes meta/.fonts/DancingScript-Regular.ttf | Bin 0 -> 123760 bytes meta/.fonts/Inconsolata-Bold.ttf | Bin 0 -> 109948 bytes meta/.fonts/Inconsolata-Regular.ttf | Bin 0 -> 96964 bytes meta/.fonts/Pacifico-Regular.ttf | Bin 0 -> 196324 bytes meta/.fonts/SansForgetica-Regular.otf | Bin 0 -> 102192 bytes meta/.fonts/SpaceMono-Bold.ttf | Bin 0 -> 89020 bytes meta/.fonts/SpaceMono-BoldItalic.ttf | Bin 0 -> 97732 bytes meta/.fonts/SpaceMono-Italic.ttf | Bin 0 -> 105932 bytes meta/.fonts/SpaceMono-Regular.ttf | Bin 0 -> 93252 bytes meta/.fonts/VT323-Regular.ttf | Bin 0 -> 153116 bytes meta/.gtkrc-2.0 | 3 + meta/.mailcap | 69 ++++++++++ meta/.profile | 27 ++++ meta/.screenlayout/dual.sh | 2 + meta/.screenlayout/single.sh | 2 + meta/.xinitrc | 12 ++ screenshot.png | Bin 0 -> 536021 bytes vim/.vim/vimrc | 5 +- 100 files changed, 590 insertions(+), 352 deletions(-) delete mode 120000 awesome/.config/awesome/themes/gruvbox create mode 100644 awesome/.config/awesome/themes/srcery/README.md create mode 100644 awesome/.config/awesome/themes/srcery/arrows/0.png create mode 100644 awesome/.config/awesome/themes/srcery/arrows/1.png create mode 100644 awesome/.config/awesome/themes/srcery/arrows/2.png create mode 100644 awesome/.config/awesome/themes/srcery/arrows/3.png create mode 100644 awesome/.config/awesome/themes/srcery/arrows/4.png create mode 100644 awesome/.config/awesome/themes/srcery/arrows/5.png create mode 100644 awesome/.config/awesome/themes/srcery/arrows/6.png create mode 100644 awesome/.config/awesome/themes/srcery/awesome.png create mode 100644 awesome/.config/awesome/themes/srcery/background-2048x1152.png create mode 100644 awesome/.config/awesome/themes/srcery/background-2048x1280.png create mode 100644 awesome/.config/awesome/themes/srcery/background-2048x1536.png create mode 100644 awesome/.config/awesome/themes/srcery/layouts/cornerne.png create mode 100644 awesome/.config/awesome/themes/srcery/layouts/cornernw.png create mode 100644 awesome/.config/awesome/themes/srcery/layouts/cornerse.png create mode 100644 awesome/.config/awesome/themes/srcery/layouts/cornersw.png create mode 100644 awesome/.config/awesome/themes/srcery/layouts/dwindle.png create mode 100644 awesome/.config/awesome/themes/srcery/layouts/fairh.png create mode 100644 awesome/.config/awesome/themes/srcery/layouts/fairv.png create mode 100644 awesome/.config/awesome/themes/srcery/layouts/floating.png create mode 100644 awesome/.config/awesome/themes/srcery/layouts/fullscreen.png create mode 100644 awesome/.config/awesome/themes/srcery/layouts/magnifier.png create mode 100644 awesome/.config/awesome/themes/srcery/layouts/max.png create mode 100644 awesome/.config/awesome/themes/srcery/layouts/spiral.png create mode 100644 awesome/.config/awesome/themes/srcery/layouts/tile.png create mode 100644 awesome/.config/awesome/themes/srcery/layouts/tilebottom.png create mode 100644 awesome/.config/awesome/themes/srcery/layouts/tileleft.png create mode 100644 awesome/.config/awesome/themes/srcery/layouts/tiletop.png create mode 100644 awesome/.config/awesome/themes/srcery/submenu.png create mode 100644 awesome/.config/awesome/themes/srcery/taglist/square.png create mode 100644 awesome/.config/awesome/themes/srcery/taglist/squaref.png create mode 100644 awesome/.config/awesome/themes/srcery/theme.lua create mode 100644 awesome/.config/awesome/themes/srcery/titlebar/close.png create mode 100644 awesome/.config/awesome/themes/srcery/titlebar/floating_active.png create mode 100644 awesome/.config/awesome/themes/srcery/titlebar/floating_inactive.png create mode 100644 awesome/.config/awesome/themes/srcery/titlebar/maximized_active.png create mode 100644 awesome/.config/awesome/themes/srcery/titlebar/maximized_inactive.png create mode 100644 awesome/.config/awesome/themes/srcery/titlebar/minimize.png create mode 100644 awesome/.config/awesome/themes/srcery/titlebar/normal.png create mode 100644 awesome/.config/awesome/themes/srcery/titlebar/ontop_active.png create mode 100644 awesome/.config/awesome/themes/srcery/titlebar/ontop_inactive.png create mode 100644 awesome/.config/awesome/themes/srcery/titlebar/sticky_active.png create mode 100644 awesome/.config/awesome/themes/srcery/titlebar/sticky_inactive.png delete mode 100644 debian-screenshot.png delete mode 120000 debian/.Xresources delete mode 100644 debian/.Xresources-dark delete mode 100644 debian/.Xresources-light delete mode 100644 debian/.bashrc delete mode 100644 debian/.config/gtk-3.0/gtkcss delete mode 100644 debian/.config/gtk-3.0/settings.ini delete mode 100644 debian/.fonts/DancingScript-Bold.ttf delete mode 100644 debian/.fonts/DancingScript-Regular.ttf delete mode 100644 debian/.fonts/Inconsolata-Bold.ttf delete mode 100644 debian/.fonts/Inconsolata-Regular.ttf delete mode 100644 debian/.fonts/Pacifico-Regular.ttf delete mode 100644 debian/.fonts/SpaceMono-Bold.ttf delete mode 100644 debian/.fonts/SpaceMono-BoldItalic.ttf delete mode 100644 debian/.fonts/SpaceMono-Italic.ttf delete mode 100644 debian/.fonts/SpaceMono-Regular.ttf delete mode 100644 debian/.fonts/VT323-Regular.ttf delete mode 100644 debian/.gtkrc-2.0 delete mode 100644 debian/.mailcap delete mode 100644 debian/.profile delete mode 100755 debian/.screenlayout/dual.sh delete mode 100755 debian/.screenlayout/single.sh delete mode 100644 debian/.xinitrc create mode 120000 dev/.config/systemd/user/default.target.wants/emacs.service delete mode 100644 fedora-screenshot.png delete mode 100644 fedora/.bash_profile delete mode 100644 fedora/.bashrc mode change 120000 => 100644 luakit/.config/luakit/theme.lua create mode 120000 meta/.Xresources create mode 100644 meta/.Xresources-dark create mode 100644 meta/.Xresources-light create mode 100644 meta/.bashrc create mode 100644 meta/.config/gtk-3.0/gtkcss create mode 100644 meta/.config/gtk-3.0/settings.ini create mode 100644 meta/.fonts/DancingScript-Bold.ttf create mode 100644 meta/.fonts/DancingScript-Regular.ttf create mode 100644 meta/.fonts/Inconsolata-Bold.ttf create mode 100644 meta/.fonts/Inconsolata-Regular.ttf create mode 100644 meta/.fonts/Pacifico-Regular.ttf create mode 100644 meta/.fonts/SansForgetica-Regular.otf create mode 100644 meta/.fonts/SpaceMono-Bold.ttf create mode 100644 meta/.fonts/SpaceMono-BoldItalic.ttf create mode 100644 meta/.fonts/SpaceMono-Italic.ttf create mode 100644 meta/.fonts/SpaceMono-Regular.ttf create mode 100644 meta/.fonts/VT323-Regular.ttf create mode 100644 meta/.gtkrc-2.0 create mode 100644 meta/.mailcap create mode 100644 meta/.profile create mode 100755 meta/.screenlayout/dual.sh create mode 100755 meta/.screenlayout/single.sh create mode 100644 meta/.xinitrc create mode 100644 screenshot.png 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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/arrows/0.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/arrows/1.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/arrows/2.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/arrows/3.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/arrows/4.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/arrows/5.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/arrows/6.png differ diff --git a/awesome/.config/awesome/themes/srcery/awesome.png b/awesome/.config/awesome/themes/srcery/awesome.png new file mode 100644 index 0000000..1add8b1 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/awesome.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/background-2048x1152.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/background-2048x1280.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/background-2048x1536.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/layouts/cornerne.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/layouts/cornernw.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/layouts/cornerse.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/layouts/cornersw.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/layouts/dwindle.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/layouts/fairh.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/layouts/fairv.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/layouts/floating.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/layouts/fullscreen.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/layouts/magnifier.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/layouts/max.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/layouts/spiral.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/layouts/tile.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/layouts/tilebottom.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/layouts/tileleft.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/layouts/tiletop.png differ diff --git a/awesome/.config/awesome/themes/srcery/submenu.png b/awesome/.config/awesome/themes/srcery/submenu.png new file mode 100644 index 0000000..f87ee0d Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/submenu.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/taglist/square.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/taglist/squaref.png differ diff --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 . + +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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/titlebar/close.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/titlebar/floating_active.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/titlebar/floating_inactive.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/titlebar/maximized_active.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/titlebar/maximized_inactive.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/titlebar/minimize.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/titlebar/normal.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/titlebar/ontop_active.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/titlebar/ontop_inactive.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/titlebar/sticky_active.png differ diff --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 Binary files /dev/null and b/awesome/.config/awesome/themes/srcery/titlebar/sticky_inactive.png differ diff --git a/debian-screenshot.png b/debian-screenshot.png deleted file mode 100644 index d48a351..0000000 Binary files a/debian-screenshot.png and /dev/null differ diff --git a/debian/.Xresources b/debian/.Xresources deleted file mode 120000 index c4d7dd6..0000000 --- a/debian/.Xresources +++ /dev/null @@ -1 +0,0 @@ -.Xresources-dark \ No newline at end of file diff --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/debian/.Xresources-light b/debian/.Xresources-light deleted file mode 100644 index 3123694..0000000 --- a/debian/.Xresources-light +++ /dev/null @@ -1,25 +0,0 @@ -*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 deleted file mode 100644 index f4a52ce..0000000 --- a/debian/.bashrc +++ /dev/null @@ -1,123 +0,0 @@ -# ~/.bashrc: executed by bash(1) for non-login shells. -# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) -# for examples - -# If not running interactively, don't do anything -case $- in - *i*) ;; - *) return;; -esac - -# don't put duplicate lines or lines starting with space in the history. -# See bash(1) for more options -HISTCONTROL=ignoreboth - -# append to the history file, don't overwrite it -shopt -s histappend - -# for setting history length see HISTSIZE and HISTFILESIZE in bash(1) -HISTSIZE=32767 -HISTFILESIZE=65536 - -# check the window size after each command and, if necessary, -# update the values of LINES and COLUMNS. -shopt -s checkwinsize - -# If set, the pattern "**" used in a pathname expansion context will -# match all files and zero or more directories and subdirectories. -#shopt -s globstar - -# make less more friendly for non-text input files, see lesspipe(1) -#[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" - -# set variable identifying the chroot you work in (used in the prompt below) -if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then - debian_chroot=$(cat /etc/debian_chroot) -fi - -# set a fancy prompt (non-color, unless we know we "want" color) -case "$TERM" in - xterm-color|*-256color) color_prompt=yes;; -esac - -# uncomment for a colored prompt, if the terminal has the capability; turned -# off by default to not distract the user: the focus in a terminal window -# should be on the output of commands, not on the prompt -force_color_prompt=yes - -if [ -n "$force_color_prompt" ]; then - if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then - # We have color support; assume it's compliant with Ecma-48 - # (ISO/IEC-6429). (Lack of such support is extremely rare, and such - # a case would tend to support setf rather than setaf.) - color_prompt=yes - else - color_prompt= - fi -fi - -if [ "$color_prompt" = yes ]; then - PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' -else - PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' -fi -unset color_prompt force_color_prompt - -# If this is an xterm set the title to user@host:dir -case "$TERM" in -xterm*|rxvt*) - PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" - ;; -*) - ;; -esac - -# enable color support of ls and also add handy aliases -if [ -x /usr/bin/dircolors ]; then - test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" - alias ls='ls --color=auto' - alias dir='dir --color=auto' - alias vdir='vdir --color=auto' - - alias grep='grep --color=auto' - alias fgrep='fgrep --color=auto' - alias egrep='egrep --color=auto' -fi - -# colored GCC warnings and errors -export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' - -# some more ls aliases -alias ll='ls -l' -alias la='ls -A' -#alias l='ls -CF' - -# Alias definitions. -# You may want to put all your additions into a separate file like -# ~/.bash_aliases, instead of adding them here directly. -# See /usr/share/doc/bash-doc/examples in the bash-doc package. -alias r=ranger -alias gcc='gcc -O2 -lm' -alias g++='g++ -O2 -lm' -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 -# sources /etc/bash.bashrc). -if ! shopt -oq posix; then - if [ -f /usr/share/bash-completion/bash_completion ]; then - . /usr/share/bash-completion/bash_completion - elif [ -f /etc/bash_completion ]; then - . /etc/bash_completion - fi -fi - -# emacs mode input -set -o emacs - -export EDITOR=vim -export PAGER=less diff --git a/debian/.config/gtk-3.0/gtkcss b/debian/.config/gtk-3.0/gtkcss deleted file mode 100644 index e7ff883..0000000 --- a/debian/.config/gtk-3.0/gtkcss +++ /dev/null @@ -1,4 +0,0 @@ -.window-frame { - box-shadow: none; - margin: 0; -} diff --git a/debian/.config/gtk-3.0/settings.ini b/debian/.config/gtk-3.0/settings.ini deleted file mode 100644 index 4635233..0000000 --- a/debian/.config/gtk-3.0/settings.ini +++ /dev/null @@ -1,4 +0,0 @@ -[Settings] -gtk-font-name = Latin Modern Sans 11 -gtk-application-prefer-dark-theme = true -gtk-key-theme-name = Emacs diff --git a/debian/.fonts/DancingScript-Bold.ttf b/debian/.fonts/DancingScript-Bold.ttf deleted file mode 100644 index f1e0d65..0000000 Binary files a/debian/.fonts/DancingScript-Bold.ttf and /dev/null differ diff --git a/debian/.fonts/DancingScript-Regular.ttf b/debian/.fonts/DancingScript-Regular.ttf deleted file mode 100644 index 72db835..0000000 Binary files a/debian/.fonts/DancingScript-Regular.ttf and /dev/null differ diff --git a/debian/.fonts/Inconsolata-Bold.ttf b/debian/.fonts/Inconsolata-Bold.ttf deleted file mode 100644 index 809c1f5..0000000 Binary files a/debian/.fonts/Inconsolata-Bold.ttf and /dev/null differ diff --git a/debian/.fonts/Inconsolata-Regular.ttf b/debian/.fonts/Inconsolata-Regular.ttf deleted file mode 100644 index fc981ce..0000000 Binary files a/debian/.fonts/Inconsolata-Regular.ttf and /dev/null differ diff --git a/debian/.fonts/Pacifico-Regular.ttf b/debian/.fonts/Pacifico-Regular.ttf deleted file mode 100644 index ccbe0f3..0000000 Binary files a/debian/.fonts/Pacifico-Regular.ttf and /dev/null differ diff --git a/debian/.fonts/SpaceMono-Bold.ttf b/debian/.fonts/SpaceMono-Bold.ttf deleted file mode 100644 index 4acd36a..0000000 Binary files a/debian/.fonts/SpaceMono-Bold.ttf and /dev/null differ diff --git a/debian/.fonts/SpaceMono-BoldItalic.ttf b/debian/.fonts/SpaceMono-BoldItalic.ttf deleted file mode 100644 index 0702475..0000000 Binary files a/debian/.fonts/SpaceMono-BoldItalic.ttf and /dev/null differ diff --git a/debian/.fonts/SpaceMono-Italic.ttf b/debian/.fonts/SpaceMono-Italic.ttf deleted file mode 100644 index 8799738..0000000 Binary files a/debian/.fonts/SpaceMono-Italic.ttf and /dev/null differ diff --git a/debian/.fonts/SpaceMono-Regular.ttf b/debian/.fonts/SpaceMono-Regular.ttf deleted file mode 100644 index 28d7ff7..0000000 Binary files a/debian/.fonts/SpaceMono-Regular.ttf and /dev/null differ diff --git a/debian/.fonts/VT323-Regular.ttf b/debian/.fonts/VT323-Regular.ttf deleted file mode 100644 index afa6909..0000000 Binary files a/debian/.fonts/VT323-Regular.ttf and /dev/null differ diff --git a/debian/.gtkrc-2.0 b/debian/.gtkrc-2.0 deleted file mode 100644 index 01f826b..0000000 --- a/debian/.gtkrc-2.0 +++ /dev/null @@ -1,3 +0,0 @@ -gtk-font-name = "Latin Modern Sans 11" -gtk-theme-name = "CleanIce-Marble" -gtk-key-theme-name = "Emacs" diff --git a/debian/.mailcap b/debian/.mailcap deleted file mode 100644 index 6cca665..0000000 --- a/debian/.mailcap +++ /dev/null @@ -1,69 +0,0 @@ -# Example mailcap file for Reddit Terminal Viewer -# https://github.com/michael-lazar/rtv/ -# -# Copy the contents of this file to {HOME}/.mailcap, or point to using $MAILCAPS -# Then launch RTV using the --enable-media flag. All shell commands defined in -# this file depend on external programs that must be installed on your system. -# -# HELP REQUESTED! If you come up with your own commands (especially for OS X) -# and would like to share, please post an issue on the GitHub tracker and we -# can get them added to this file as references. -# -# -# Mailcap 101 -# - The first entry with a matching MIME type will be executed, * is a wildcard -# - %s will be replaced with the image or video url -# - Add ``test=test -n "$DISPLAY"`` if your command opens a new window -# - Add ``needsterminal`` for commands that use the terminal -# - Add ``copiousoutput`` for commands that dump text to stdout - -############################################################################### -# Commands below this point will open media in a separate window without -# pausing execution of RTV. -############################################################################### - -# Feh is a simple and effective image viewer -# Note that rtv returns a list of urls for imgur albums, so we don't put quotes -# around the `%s` -image/x-imgur-album; feh %s; test=test -n "$DISPLAY" -image/gif; mpv '%s' --loop=inf; test=test -n "$DISPLAY" -image/*; feh '%s'; test=test -n "$DISPLAY" - -# Youtube videos are assigned a custom mime-type, which can be streamed with -# vlc or youtube-dl. -video/x-youtube; mpv '%s'; test=test -n "$DISPLAY" - -# Mpv is a simple and effective video streamer -video/*; mpv '%s' --loop=inf; test=test -n "$DISPLAY" - -############################################################################### -# Commands below this point will attempt to display media directly in the -# terminal when X is not available. -############################################################################### - -# View images directly in your terminal with iTerm2 -# curl -L https://iterm2.com/misc/install_shell_integration_and_utilities.sh | bash -# image/*; curl -s %s | ~/.iterm2/imgcat && read -n 1; needsterminal - -# View true images in the terminal, supported by rxvt-unicode, xterm and st -# Requires the w3m-img package -image/*; w3m -o 'ext_image_viewer=off' '%s'; needsterminal - -# Don't have a solution for albums yet -image/x-imgur-album; echo - -# 256 color images using half-width unicode characters -# Much higher quality that img2txt, but must be built from source -# https://github.com/rossy/img2xterm -#image/*; curl -s '%s' | convert -resize 80x80 - jpg:/tmp/rtv.jpg && img2xterm /tmp/rtv.jpg; needsterminal; copiousoutput - -# Display images in classic ascii using img2txt and lib-caca -image/*; curl -s '%s' | convert - jpg:/tmp/rtv.jpg && img2txt -f utf8 /tmp/rtv.jpg; needsterminal; copiousoutput - -# Full motion videos - requires a framebuffer to view -video/x-youtube; mpv -vo drm -quiet '%s'; needsterminal -video/*; mpv -vo drm -quiet '%s'; needsterminal - -# Ascii videos -# video/x-youtube; youtube-dl -q -o - '%s' | mplayer -cache 8192 -vo caca -quiet -; needsterminal -# video/*; wget '%s' -O - | mplayer -cache 8192 -vo caca -quiet -; needsterminal diff --git a/debian/.profile b/debian/.profile deleted file mode 100644 index ac7e0b9..0000000 --- a/debian/.profile +++ /dev/null @@ -1,30 +0,0 @@ -# ~/.profile: executed by the command interpreter for login shells. -# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login -# exists. -# see /usr/share/doc/bash/examples/startup-files for examples. -# the files are located in the bash-doc package. - -# the default umask is set in /etc/profile; for setting the umask -# 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 - if [ -f "$HOME/.bashrc" ]; then - . "$HOME/.bashrc" - fi -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/debian/.screenlayout/dual.sh deleted file mode 100755 index 755f7cc..0000000 --- a/debian/.screenlayout/dual.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -xrandr --output DP-1 --primary --mode 1600x900 --pos 1920x0 --rotate normal --output HDMI-1 --off --output eDP-1 --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-2 --off diff --git a/debian/.screenlayout/single.sh b/debian/.screenlayout/single.sh deleted file mode 100755 index c7185ab..0000000 --- a/debian/.screenlayout/single.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -xrandr --output DP-1 --off --output HDMI-1 --off --output eDP-1 --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-2 --off diff --git a/debian/.xinitrc b/debian/.xinitrc deleted file mode 100644 index 734c8d0..0000000 --- a/debian/.xinitrc +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -xrdb -merge ~/.Xresources -xrandr --output DP-1 --mode 1600x900 --primary --right-of eDP-1 -xsetroot -solid '#282828' -redshift-gtk -l 21.028333:105.854167 & -mate-power-manager & -ibus-daemon -drx -blueman-applet & -nm-applet & -keynav & -diodon & -exec awesome 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 Binary files a/fedora-screenshot.png and /dev/null differ diff --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 deleted file mode 120000 index 9f8dbc3..0000000 --- a/luakit/.config/luakit/theme.lua +++ /dev/null @@ -1 +0,0 @@ -theme-dark.lua \ No newline at end of file diff --git a/luakit/.config/luakit/theme.lua b/luakit/.config/luakit/theme.lua new file mode 100644 index 0000000..bbdac14 --- /dev/null +++ b/luakit/.config/luakit/theme.lua @@ -0,0 +1,104 @@ +-- 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 . + +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/meta/.Xresources b/meta/.Xresources new file mode 120000 index 0000000..c4d7dd6 --- /dev/null +++ b/meta/.Xresources @@ -0,0 +1 @@ +.Xresources-dark \ No newline at end of file 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/meta/.Xresources-light b/meta/.Xresources-light new file mode 100644 index 0000000..3123694 --- /dev/null +++ b/meta/.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/meta/.bashrc b/meta/.bashrc new file mode 100644 index 0000000..f4a52ce --- /dev/null +++ b/meta/.bashrc @@ -0,0 +1,123 @@ +# ~/.bashrc: executed by bash(1) for non-login shells. +# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) +# for examples + +# If not running interactively, don't do anything +case $- in + *i*) ;; + *) return;; +esac + +# don't put duplicate lines or lines starting with space in the history. +# See bash(1) for more options +HISTCONTROL=ignoreboth + +# append to the history file, don't overwrite it +shopt -s histappend + +# for setting history length see HISTSIZE and HISTFILESIZE in bash(1) +HISTSIZE=32767 +HISTFILESIZE=65536 + +# check the window size after each command and, if necessary, +# update the values of LINES and COLUMNS. +shopt -s checkwinsize + +# If set, the pattern "**" used in a pathname expansion context will +# match all files and zero or more directories and subdirectories. +#shopt -s globstar + +# make less more friendly for non-text input files, see lesspipe(1) +#[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" + +# set variable identifying the chroot you work in (used in the prompt below) +if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then + debian_chroot=$(cat /etc/debian_chroot) +fi + +# set a fancy prompt (non-color, unless we know we "want" color) +case "$TERM" in + xterm-color|*-256color) color_prompt=yes;; +esac + +# uncomment for a colored prompt, if the terminal has the capability; turned +# off by default to not distract the user: the focus in a terminal window +# should be on the output of commands, not on the prompt +force_color_prompt=yes + +if [ -n "$force_color_prompt" ]; then + if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then + # We have color support; assume it's compliant with Ecma-48 + # (ISO/IEC-6429). (Lack of such support is extremely rare, and such + # a case would tend to support setf rather than setaf.) + color_prompt=yes + else + color_prompt= + fi +fi + +if [ "$color_prompt" = yes ]; then + PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' +else + PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' +fi +unset color_prompt force_color_prompt + +# If this is an xterm set the title to user@host:dir +case "$TERM" in +xterm*|rxvt*) + PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" + ;; +*) + ;; +esac + +# enable color support of ls and also add handy aliases +if [ -x /usr/bin/dircolors ]; then + test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" + alias ls='ls --color=auto' + alias dir='dir --color=auto' + alias vdir='vdir --color=auto' + + alias grep='grep --color=auto' + alias fgrep='fgrep --color=auto' + alias egrep='egrep --color=auto' +fi + +# colored GCC warnings and errors +export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' + +# some more ls aliases +alias ll='ls -l' +alias la='ls -A' +#alias l='ls -CF' + +# Alias definitions. +# You may want to put all your additions into a separate file like +# ~/.bash_aliases, instead of adding them here directly. +# See /usr/share/doc/bash-doc/examples in the bash-doc package. +alias r=ranger +alias gcc='gcc -O2 -lm' +alias g++='g++ -O2 -lm' +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 +# sources /etc/bash.bashrc). +if ! shopt -oq posix; then + if [ -f /usr/share/bash-completion/bash_completion ]; then + . /usr/share/bash-completion/bash_completion + elif [ -f /etc/bash_completion ]; then + . /etc/bash_completion + fi +fi + +# emacs mode input +set -o emacs + +export EDITOR=vim +export PAGER=less diff --git a/meta/.config/gtk-3.0/gtkcss b/meta/.config/gtk-3.0/gtkcss new file mode 100644 index 0000000..e7ff883 --- /dev/null +++ b/meta/.config/gtk-3.0/gtkcss @@ -0,0 +1,4 @@ +.window-frame { + box-shadow: none; + margin: 0; +} diff --git a/meta/.config/gtk-3.0/settings.ini b/meta/.config/gtk-3.0/settings.ini new file mode 100644 index 0000000..4635233 --- /dev/null +++ b/meta/.config/gtk-3.0/settings.ini @@ -0,0 +1,4 @@ +[Settings] +gtk-font-name = Latin Modern Sans 11 +gtk-application-prefer-dark-theme = true +gtk-key-theme-name = Emacs diff --git a/meta/.fonts/DancingScript-Bold.ttf b/meta/.fonts/DancingScript-Bold.ttf new file mode 100644 index 0000000..f1e0d65 Binary files /dev/null and b/meta/.fonts/DancingScript-Bold.ttf differ diff --git a/meta/.fonts/DancingScript-Regular.ttf b/meta/.fonts/DancingScript-Regular.ttf new file mode 100644 index 0000000..72db835 Binary files /dev/null and b/meta/.fonts/DancingScript-Regular.ttf differ diff --git a/meta/.fonts/Inconsolata-Bold.ttf b/meta/.fonts/Inconsolata-Bold.ttf new file mode 100644 index 0000000..809c1f5 Binary files /dev/null and b/meta/.fonts/Inconsolata-Bold.ttf differ diff --git a/meta/.fonts/Inconsolata-Regular.ttf b/meta/.fonts/Inconsolata-Regular.ttf new file mode 100644 index 0000000..fc981ce Binary files /dev/null and b/meta/.fonts/Inconsolata-Regular.ttf differ diff --git a/meta/.fonts/Pacifico-Regular.ttf b/meta/.fonts/Pacifico-Regular.ttf new file mode 100644 index 0000000..ccbe0f3 Binary files /dev/null and b/meta/.fonts/Pacifico-Regular.ttf differ diff --git a/meta/.fonts/SansForgetica-Regular.otf b/meta/.fonts/SansForgetica-Regular.otf new file mode 100644 index 0000000..27deedb Binary files /dev/null and b/meta/.fonts/SansForgetica-Regular.otf differ diff --git a/meta/.fonts/SpaceMono-Bold.ttf b/meta/.fonts/SpaceMono-Bold.ttf new file mode 100644 index 0000000..4acd36a Binary files /dev/null and b/meta/.fonts/SpaceMono-Bold.ttf differ diff --git a/meta/.fonts/SpaceMono-BoldItalic.ttf b/meta/.fonts/SpaceMono-BoldItalic.ttf new file mode 100644 index 0000000..0702475 Binary files /dev/null and b/meta/.fonts/SpaceMono-BoldItalic.ttf differ diff --git a/meta/.fonts/SpaceMono-Italic.ttf b/meta/.fonts/SpaceMono-Italic.ttf new file mode 100644 index 0000000..8799738 Binary files /dev/null and b/meta/.fonts/SpaceMono-Italic.ttf differ diff --git a/meta/.fonts/SpaceMono-Regular.ttf b/meta/.fonts/SpaceMono-Regular.ttf new file mode 100644 index 0000000..28d7ff7 Binary files /dev/null and b/meta/.fonts/SpaceMono-Regular.ttf differ diff --git a/meta/.fonts/VT323-Regular.ttf b/meta/.fonts/VT323-Regular.ttf new file mode 100644 index 0000000..afa6909 Binary files /dev/null and b/meta/.fonts/VT323-Regular.ttf differ diff --git a/meta/.gtkrc-2.0 b/meta/.gtkrc-2.0 new file mode 100644 index 0000000..01f826b --- /dev/null +++ b/meta/.gtkrc-2.0 @@ -0,0 +1,3 @@ +gtk-font-name = "Latin Modern Sans 11" +gtk-theme-name = "CleanIce-Marble" +gtk-key-theme-name = "Emacs" diff --git a/meta/.mailcap b/meta/.mailcap new file mode 100644 index 0000000..6cca665 --- /dev/null +++ b/meta/.mailcap @@ -0,0 +1,69 @@ +# Example mailcap file for Reddit Terminal Viewer +# https://github.com/michael-lazar/rtv/ +# +# Copy the contents of this file to {HOME}/.mailcap, or point to using $MAILCAPS +# Then launch RTV using the --enable-media flag. All shell commands defined in +# this file depend on external programs that must be installed on your system. +# +# HELP REQUESTED! If you come up with your own commands (especially for OS X) +# and would like to share, please post an issue on the GitHub tracker and we +# can get them added to this file as references. +# +# +# Mailcap 101 +# - The first entry with a matching MIME type will be executed, * is a wildcard +# - %s will be replaced with the image or video url +# - Add ``test=test -n "$DISPLAY"`` if your command opens a new window +# - Add ``needsterminal`` for commands that use the terminal +# - Add ``copiousoutput`` for commands that dump text to stdout + +############################################################################### +# Commands below this point will open media in a separate window without +# pausing execution of RTV. +############################################################################### + +# Feh is a simple and effective image viewer +# Note that rtv returns a list of urls for imgur albums, so we don't put quotes +# around the `%s` +image/x-imgur-album; feh %s; test=test -n "$DISPLAY" +image/gif; mpv '%s' --loop=inf; test=test -n "$DISPLAY" +image/*; feh '%s'; test=test -n "$DISPLAY" + +# Youtube videos are assigned a custom mime-type, which can be streamed with +# vlc or youtube-dl. +video/x-youtube; mpv '%s'; test=test -n "$DISPLAY" + +# Mpv is a simple and effective video streamer +video/*; mpv '%s' --loop=inf; test=test -n "$DISPLAY" + +############################################################################### +# Commands below this point will attempt to display media directly in the +# terminal when X is not available. +############################################################################### + +# View images directly in your terminal with iTerm2 +# curl -L https://iterm2.com/misc/install_shell_integration_and_utilities.sh | bash +# image/*; curl -s %s | ~/.iterm2/imgcat && read -n 1; needsterminal + +# View true images in the terminal, supported by rxvt-unicode, xterm and st +# Requires the w3m-img package +image/*; w3m -o 'ext_image_viewer=off' '%s'; needsterminal + +# Don't have a solution for albums yet +image/x-imgur-album; echo + +# 256 color images using half-width unicode characters +# Much higher quality that img2txt, but must be built from source +# https://github.com/rossy/img2xterm +#image/*; curl -s '%s' | convert -resize 80x80 - jpg:/tmp/rtv.jpg && img2xterm /tmp/rtv.jpg; needsterminal; copiousoutput + +# Display images in classic ascii using img2txt and lib-caca +image/*; curl -s '%s' | convert - jpg:/tmp/rtv.jpg && img2txt -f utf8 /tmp/rtv.jpg; needsterminal; copiousoutput + +# Full motion videos - requires a framebuffer to view +video/x-youtube; mpv -vo drm -quiet '%s'; needsterminal +video/*; mpv -vo drm -quiet '%s'; needsterminal + +# Ascii videos +# video/x-youtube; youtube-dl -q -o - '%s' | mplayer -cache 8192 -vo caca -quiet -; needsterminal +# video/*; wget '%s' -O - | mplayer -cache 8192 -vo caca -quiet -; needsterminal diff --git a/meta/.profile b/meta/.profile new file mode 100644 index 0000000..6c8b86e --- /dev/null +++ b/meta/.profile @@ -0,0 +1,27 @@ +# ~/.profile: executed by the command interpreter for login shells. +# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login +# exists. +# see /usr/share/doc/bash/examples/startup-files for examples. +# the files are located in the bash-doc package. + +# the default umask is set in /etc/profile; for setting the umask +# for ssh logins, install and configure the libpam-umask package. +#umask 022 + +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" + +# if running bash +if [ -n "$BASH_VERSION" ]; then + # include .bashrc if it exists + if [ -f "$HOME/.bashrc" ]; then + . "$HOME/.bashrc" + fi +fi + +# OPAM configuration +. /home/cnx/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true diff --git a/meta/.screenlayout/dual.sh b/meta/.screenlayout/dual.sh new file mode 100755 index 0000000..755f7cc --- /dev/null +++ b/meta/.screenlayout/dual.sh @@ -0,0 +1,2 @@ +#!/bin/sh +xrandr --output DP-1 --primary --mode 1600x900 --pos 1920x0 --rotate normal --output HDMI-1 --off --output eDP-1 --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-2 --off diff --git a/meta/.screenlayout/single.sh b/meta/.screenlayout/single.sh new file mode 100755 index 0000000..c7185ab --- /dev/null +++ b/meta/.screenlayout/single.sh @@ -0,0 +1,2 @@ +#!/bin/sh +xrandr --output DP-1 --off --output HDMI-1 --off --output eDP-1 --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-2 --off diff --git a/meta/.xinitrc b/meta/.xinitrc new file mode 100644 index 0000000..70e0687 --- /dev/null +++ b/meta/.xinitrc @@ -0,0 +1,12 @@ +#!/bin/sh +xrdb -merge ~/.Xresources +xrandr --output DP-1 --mode 1600x900 --primary --right-of eDP-1 +xsetroot -solid '#1c1b19' +redshift-gtk -l 21.028333:105.854167 & +mate-power-manager & +ibus-daemon -drx +blueman-applet & +nm-applet & +keynav & +diodon & +exec awesome diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000..d48a351 Binary files /dev/null and b/screenshot.png differ diff --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 -- cgit 1.4.1