From 7cf5d06c8c96d3ae3d41d8a54bfc386f13b3c4a4 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 27 Dec 2013 14:43:43 -0200 Subject: Cleaning up modules --- modules/awesome/config.dot/awesome.link/awesompd | 1 - .../awesome/config.dot/awesome.link/awesompd.lua | 57 - .../awesome/config.dot/awesome.link/functions.lua | 4 - modules/awesome/config.dot/awesome.link/keys.lua | 33 - modules/awesome/config.dot/awesome.link/leds.lua | 13 - .../awesome/config.dot/awesome.link/programs.lua | 2 - modules/awesome/config.dot/awesome.link/rc.lua | 391 - .../awesome/config.dot/awesome.link/rc.lua.simple | 13 - modules/awesome/config.dot/awesome.link/theme.lua | 101 - modules/awesome/config.dot/awesome.link/volume.lua | 34 - modules/conky/apps/brweather.link | 1 - modules/conky/brweather.conf.dot.sample | 70 - modules/conky/conky.dot.link/weather/conkyrc | 139 - modules/conky/conkyrc.dot.link | 245 - modules/conky/weather.dot/weatherrc.sample | 2 - .../config.dot/pbuilder/hooks/B90lintian.link | 1 - modules/debian/gbp.conf.dot.link | 12 - modules/debian/pbuilderrc.dot.link | 2 - modules/debian/pydistutils.cfg.dot.link | 2 - modules/debian/quiltrc-dpkg.dot.link | 10 - modules/git/gitconfig.dot.link | 8 - modules/git/gitignore.dot.link | 1 - modules/git/gitk.dot.link | 36 - modules/gtk/config.dot/gtk-3.0/settings.ini.link | 6 - modules/gtk/gtkrc-2.0.dot.link | 2 - .../themes.dot/PrettyOkayish-Prion.link/ICON.png | 0 .../gtk/themes.dot/PrettyOkayish-Prion.link/README | 9 - .../PrettyOkayish-Prion.link/gtk-2.0/gtkrc | 62 - .../themes.dot/PrettyOkayish-Prion.link/gtk/gtkrc | 55 - .../monkeysphere.dot/monkeysphere.conf.link | 1 - modules/mp3blaster/mp3blasterrc.dot.link | 25 - modules/mutt/custom.dot/mutt/aliases.sample | 0 modules/mutt/custom.dot/muttrc.sample | 0 modules/mutt/mailcap.dot.link | 162 - modules/mutt/mailrc.dot.link | 1 - modules/mutt/mime.types.dot.link | 91 - modules/mutt/mutt.dot.link/colors | 90 - modules/mutt/mutt.dot.link/sidebar | 53 - modules/mutt/muttrc.dot.link | 451 - modules/mutt/procmailrc.dot.link | 65 - modules/mutt/urlview.dot.link | 10 - .../newsbeuter/config.dot/newsbeuter/config.link | 3 - .../pentadactyl.dot/plugins.link/links.js | 42 - .../pentadactyl.dot/plugins.link/noscript.js | 460 - .../pentadactyl.dot/plugins.link/toggleproxy | 1 - .../pentadactyl.dot/plugins.link/toggleproxy.js | 1 - .../pentadactyl.dot/plugins.link/toggleproxy.penta | 1 - modules/pentadactyl/pentadactylrc.dot.link | 28 - modules/profile/Xresources.dot.link | 7 - modules/profile/aliases.dot.link | 18 - modules/profile/bash_logout.dot.link | 7 - modules/profile/bashrc.dot.link | 6 - modules/profile/config.dot/user-dirs.dirs.link | 15 - modules/profile/config.dot/user-dirs.locale.link | 1 - modules/profile/dircolorsrc.dot.link | 194 - modules/profile/dmrc.dot.link | 2 - modules/profile/geometry.dot.link | 11 - modules/profile/inputrc.dot.link | 1 - .../share/applications/mimeapps.list.link | 6 - modules/profile/profile.dot.link | 93 - modules/profile/screenrc.dot.link | 156 - modules/profile/terminal.dot.link | 30 - modules/profile/terminfo.dot/s/screen-bce.link | 1 - modules/profile/xinitrc.dot.link | 10 - modules/profile/xprofile.dot.link | 10 - modules/profile/xscreensaver.dot.link | 318 - modules/profile/xsession.dot.link | 79 - modules/profile/zshrc.dot.link | 40 - modules/ripit/ripit.dot/config.link | 722 -- modules/scripts/apps/scripts.link | 1 - modules/ttytter/ttytterrc.dot.link | 6 - modules/unison/unison.dot/default-code.prf.link | 6 - modules/unison/unison.dot/default-home.prf.link | 47 - modules/unison/unison.dot/default-irssi.prf.link | 24 - modules/vim/gvimrc.dot.link | 18 - .../vim.dot.link/after/ftplugin/asp_snippets.vim | 17 - modules/vim/vim.dot.link/after/plugin/snipMate.vim | 35 - modules/vim/vim.dot.link/autoload/pathogen.vim | 245 - modules/vim/vim.dot.link/autoload/snipMate.vim | 433 - modules/vim/vim.dot.link/bundle/nerdtree | 1 - modules/vim/vim.dot.link/bundle/syntastic | 1 - modules/vim/vim.dot.link/bundle/tabular | 1 - modules/vim/vim.dot.link/doc/NERD_tree.txt | 1222 --- modules/vim/vim.dot.link/doc/bufexplorer.txt | 547 -- modules/vim/vim.dot.link/doc/git-vim.txt | 95 - modules/vim/vim.dot.link/doc/indexer.txt | 211 - modules/vim/vim.dot.link/doc/project.txt | 710 -- modules/vim/vim.dot.link/doc/snipMate.txt | 286 - modules/vim/vim.dot.link/doc/taglist.txt | 1501 ---- modules/vim/vim.dot.link/doc/tags | 304 - modules/vim/vim.dot.link/doc/vcscommand.txt | 835 -- modules/vim/vim.dot.link/filetype.vim | 23 - .../vim/vim.dot.link/ftplugin/html_snip_helper.vim | 10 - modules/vim/vim.dot.link/plugin/Rename.vim | 27 - modules/vim/vim.dot.link/plugin/bufexplorer.vim | 1157 --- modules/vim/vim.dot.link/plugin/git.vim | 372 - .../vim/vim.dot.link/plugin/indexer.vim.disabled | 672 -- modules/vim/vim.dot.link/plugin/project.vim | 1293 --- modules/vim/vim.dot.link/plugin/snipMate.vim | 247 - .../plugin/startshell_mapping.vim.disabled | 36 - .../vim/vim.dot.link/plugin/taglist.vim.disable | 4546 ---------- modules/vim/vim.dot.link/plugin/vcsbzr.vim | 262 - modules/vim/vim.dot.link/plugin/vcscommand.vim | 1427 --- modules/vim/vim.dot.link/plugin/vcscvs.vim | 449 - modules/vim/vim.dot.link/plugin/vcsgit.vim | 247 - modules/vim/vim.dot.link/plugin/vcshg.vim | 273 - modules/vim/vim.dot.link/plugin/vcssvk.vim | 257 - modules/vim/vim.dot.link/plugin/vcssvn.vim | 284 - modules/vim/vim.dot.link/snippets/_.snippets | 7 - modules/vim/vim.dot.link/snippets/autoit.snippets | 66 - modules/vim/vim.dot.link/snippets/c.snippets | 110 - modules/vim/vim.dot.link/snippets/cpp.snippets | 30 - modules/vim/vim.dot.link/snippets/html.snippets | 190 - modules/vim/vim.dot.link/snippets/java.snippets | 78 - .../vim/vim.dot.link/snippets/javascript.snippets | 74 - modules/vim/vim.dot.link/snippets/mako.snippets | 54 - modules/vim/vim.dot.link/snippets/objc.snippets | 184 - modules/vim/vim.dot.link/snippets/perl.snippets | 91 - modules/vim/vim.dot.link/snippets/php.snippets | 9397 -------------------- modules/vim/vim.dot.link/snippets/python.snippets | 86 - modules/vim/vim.dot.link/snippets/ruby.snippets | 420 - modules/vim/vim.dot.link/snippets/sh.snippets | 28 - modules/vim/vim.dot.link/snippets/snippet.snippets | 7 - modules/vim/vim.dot.link/snippets/tcl.snippets | 92 - modules/vim/vim.dot.link/snippets/tex.snippets | 115 - modules/vim/vim.dot.link/snippets/vim.snippets | 32 - modules/vim/vim.dot.link/snippets/zsh.snippets | 58 - modules/vim/vim.dot.link/syntax/CVSAnnotate.vim | 45 - modules/vim/vim.dot.link/syntax/SVKAnnotate.vim | 42 - modules/vim/vim.dot.link/syntax/SVNAnnotate.vim | 40 - modules/vim/vim.dot.link/syntax/cvsannotate.vim | 45 - modules/vim/vim.dot.link/syntax/git-diff.vim | 8 - modules/vim/vim.dot.link/syntax/git-log.vim | 3 - modules/vim/vim.dot.link/syntax/git-status.vim | 18 - modules/vim/vim.dot.link/syntax/gitannotate.vim | 44 - modules/vim/vim.dot.link/syntax/hgannotate.vim | 40 - modules/vim/vim.dot.link/syntax/ikiwiki.vim | 71 - modules/vim/vim.dot.link/syntax/mkd.vim | 86 - modules/vim/vim.dot.link/syntax/nginx.vim | 664 -- modules/vim/vim.dot.link/syntax/puppet.vim | 87 - modules/vim/vim.dot.link/syntax/remind.vim | 79 - modules/vim/vim.dot.link/syntax/rest.vim | 169 - modules/vim/vim.dot.link/syntax/snippet.vim | 19 - modules/vim/vim.dot.link/syntax/svkannotate.vim | 42 - modules/vim/vim.dot.link/syntax/svnannotate.vim | 40 - modules/vim/vim.dot.link/syntax/vcscommit.vim | 31 - modules/vim/vimrc.dot.link | 92 - modules/wyrd/remind.dot/cookbook.link/feriados.rem | 79 - .../wyrd/remind.dot/cookbook.link/functions.rem | 3 - modules/wyrd/remind.dot/cookbook.link/seasons.rem | 201 - modules/wyrd/reminders.dot.sample | 69 - modules/wyrd/wyrdrc.dot.link | 170 - modules/xcompose/XCompose.dot.link | 32 - modules/xcompose/xcompose | 1 - 154 files changed, 35991 deletions(-) delete mode 160000 modules/awesome/config.dot/awesome.link/awesompd delete mode 100644 modules/awesome/config.dot/awesome.link/awesompd.lua delete mode 100644 modules/awesome/config.dot/awesome.link/functions.lua delete mode 100644 modules/awesome/config.dot/awesome.link/keys.lua delete mode 100644 modules/awesome/config.dot/awesome.link/leds.lua delete mode 100644 modules/awesome/config.dot/awesome.link/programs.lua delete mode 100644 modules/awesome/config.dot/awesome.link/rc.lua delete mode 100644 modules/awesome/config.dot/awesome.link/rc.lua.simple delete mode 100644 modules/awesome/config.dot/awesome.link/theme.lua delete mode 100644 modules/awesome/config.dot/awesome.link/volume.lua delete mode 160000 modules/conky/apps/brweather.link delete mode 100644 modules/conky/brweather.conf.dot.sample delete mode 100644 modules/conky/conky.dot.link/weather/conkyrc delete mode 100644 modules/conky/conkyrc.dot.link delete mode 100644 modules/conky/weather.dot/weatherrc.sample delete mode 120000 modules/debian/config.dot/pbuilder/hooks/B90lintian.link delete mode 100644 modules/debian/gbp.conf.dot.link delete mode 100644 modules/debian/pbuilderrc.dot.link delete mode 100644 modules/debian/pydistutils.cfg.dot.link delete mode 100644 modules/debian/quiltrc-dpkg.dot.link delete mode 100644 modules/git/gitconfig.dot.link delete mode 100644 modules/git/gitignore.dot.link delete mode 100644 modules/git/gitk.dot.link delete mode 100644 modules/gtk/config.dot/gtk-3.0/settings.ini.link delete mode 100644 modules/gtk/gtkrc-2.0.dot.link delete mode 100644 modules/gtk/themes.dot/PrettyOkayish-Prion.link/ICON.png delete mode 100644 modules/gtk/themes.dot/PrettyOkayish-Prion.link/README delete mode 100644 modules/gtk/themes.dot/PrettyOkayish-Prion.link/gtk-2.0/gtkrc delete mode 100644 modules/gtk/themes.dot/PrettyOkayish-Prion.link/gtk/gtkrc delete mode 100644 modules/monkeysphere/monkeysphere.dot/monkeysphere.conf.link delete mode 100644 modules/mp3blaster/mp3blasterrc.dot.link delete mode 100644 modules/mutt/custom.dot/mutt/aliases.sample delete mode 100644 modules/mutt/custom.dot/muttrc.sample delete mode 100644 modules/mutt/mailcap.dot.link delete mode 100644 modules/mutt/mailrc.dot.link delete mode 100644 modules/mutt/mime.types.dot.link delete mode 100644 modules/mutt/mutt.dot.link/colors delete mode 100644 modules/mutt/mutt.dot.link/sidebar delete mode 100644 modules/mutt/muttrc.dot.link delete mode 100644 modules/mutt/procmailrc.dot.link delete mode 100644 modules/mutt/urlview.dot.link delete mode 100644 modules/newsbeuter/config.dot/newsbeuter/config.link delete mode 100644 modules/pentadactyl/pentadactyl.dot/plugins.link/links.js delete mode 100644 modules/pentadactyl/pentadactyl.dot/plugins.link/noscript.js delete mode 160000 modules/pentadactyl/pentadactyl.dot/plugins.link/toggleproxy delete mode 120000 modules/pentadactyl/pentadactyl.dot/plugins.link/toggleproxy.js delete mode 120000 modules/pentadactyl/pentadactyl.dot/plugins.link/toggleproxy.penta delete mode 100644 modules/pentadactyl/pentadactylrc.dot.link delete mode 100644 modules/profile/Xresources.dot.link delete mode 100644 modules/profile/aliases.dot.link delete mode 100644 modules/profile/bash_logout.dot.link delete mode 100644 modules/profile/bashrc.dot.link delete mode 100644 modules/profile/config.dot/user-dirs.dirs.link delete mode 100644 modules/profile/config.dot/user-dirs.locale.link delete mode 100644 modules/profile/dircolorsrc.dot.link delete mode 100644 modules/profile/dmrc.dot.link delete mode 100644 modules/profile/geometry.dot.link delete mode 100644 modules/profile/inputrc.dot.link delete mode 100644 modules/profile/local.dot/share/applications/mimeapps.list.link delete mode 100644 modules/profile/profile.dot.link delete mode 100644 modules/profile/screenrc.dot.link delete mode 100644 modules/profile/terminal.dot.link delete mode 120000 modules/profile/terminfo.dot/s/screen-bce.link delete mode 100644 modules/profile/xinitrc.dot.link delete mode 100644 modules/profile/xprofile.dot.link delete mode 100644 modules/profile/xscreensaver.dot.link delete mode 100755 modules/profile/xsession.dot.link delete mode 100644 modules/profile/zshrc.dot.link delete mode 100644 modules/ripit/ripit.dot/config.link delete mode 160000 modules/scripts/apps/scripts.link delete mode 100644 modules/ttytter/ttytterrc.dot.link delete mode 100644 modules/unison/unison.dot/default-code.prf.link delete mode 100644 modules/unison/unison.dot/default-home.prf.link delete mode 100644 modules/unison/unison.dot/default-irssi.prf.link delete mode 100644 modules/vim/gvimrc.dot.link delete mode 100644 modules/vim/vim.dot.link/after/ftplugin/asp_snippets.vim delete mode 100644 modules/vim/vim.dot.link/after/plugin/snipMate.vim delete mode 100644 modules/vim/vim.dot.link/autoload/pathogen.vim delete mode 100644 modules/vim/vim.dot.link/autoload/snipMate.vim delete mode 160000 modules/vim/vim.dot.link/bundle/nerdtree delete mode 160000 modules/vim/vim.dot.link/bundle/syntastic delete mode 160000 modules/vim/vim.dot.link/bundle/tabular delete mode 100644 modules/vim/vim.dot.link/doc/NERD_tree.txt delete mode 100644 modules/vim/vim.dot.link/doc/bufexplorer.txt delete mode 100644 modules/vim/vim.dot.link/doc/git-vim.txt delete mode 100644 modules/vim/vim.dot.link/doc/indexer.txt delete mode 100644 modules/vim/vim.dot.link/doc/project.txt delete mode 100644 modules/vim/vim.dot.link/doc/snipMate.txt delete mode 100755 modules/vim/vim.dot.link/doc/taglist.txt delete mode 100644 modules/vim/vim.dot.link/doc/tags delete mode 100644 modules/vim/vim.dot.link/doc/vcscommand.txt delete mode 100644 modules/vim/vim.dot.link/filetype.vim delete mode 100644 modules/vim/vim.dot.link/ftplugin/html_snip_helper.vim delete mode 100644 modules/vim/vim.dot.link/plugin/Rename.vim delete mode 100644 modules/vim/vim.dot.link/plugin/bufexplorer.vim delete mode 100644 modules/vim/vim.dot.link/plugin/git.vim delete mode 100644 modules/vim/vim.dot.link/plugin/indexer.vim.disabled delete mode 100644 modules/vim/vim.dot.link/plugin/project.vim delete mode 100644 modules/vim/vim.dot.link/plugin/snipMate.vim delete mode 100644 modules/vim/vim.dot.link/plugin/startshell_mapping.vim.disabled delete mode 100644 modules/vim/vim.dot.link/plugin/taglist.vim.disable delete mode 100644 modules/vim/vim.dot.link/plugin/vcsbzr.vim delete mode 100644 modules/vim/vim.dot.link/plugin/vcscommand.vim delete mode 100644 modules/vim/vim.dot.link/plugin/vcscvs.vim delete mode 100644 modules/vim/vim.dot.link/plugin/vcsgit.vim delete mode 100644 modules/vim/vim.dot.link/plugin/vcshg.vim delete mode 100644 modules/vim/vim.dot.link/plugin/vcssvk.vim delete mode 100644 modules/vim/vim.dot.link/plugin/vcssvn.vim delete mode 100644 modules/vim/vim.dot.link/snippets/_.snippets delete mode 100644 modules/vim/vim.dot.link/snippets/autoit.snippets delete mode 100644 modules/vim/vim.dot.link/snippets/c.snippets delete mode 100644 modules/vim/vim.dot.link/snippets/cpp.snippets delete mode 100644 modules/vim/vim.dot.link/snippets/html.snippets delete mode 100644 modules/vim/vim.dot.link/snippets/java.snippets delete mode 100644 modules/vim/vim.dot.link/snippets/javascript.snippets delete mode 100644 modules/vim/vim.dot.link/snippets/mako.snippets delete mode 100644 modules/vim/vim.dot.link/snippets/objc.snippets delete mode 100644 modules/vim/vim.dot.link/snippets/perl.snippets delete mode 100644 modules/vim/vim.dot.link/snippets/php.snippets delete mode 100644 modules/vim/vim.dot.link/snippets/python.snippets delete mode 100644 modules/vim/vim.dot.link/snippets/ruby.snippets delete mode 100644 modules/vim/vim.dot.link/snippets/sh.snippets delete mode 100644 modules/vim/vim.dot.link/snippets/snippet.snippets delete mode 100644 modules/vim/vim.dot.link/snippets/tcl.snippets delete mode 100644 modules/vim/vim.dot.link/snippets/tex.snippets delete mode 100644 modules/vim/vim.dot.link/snippets/vim.snippets delete mode 100644 modules/vim/vim.dot.link/snippets/zsh.snippets delete mode 100644 modules/vim/vim.dot.link/syntax/CVSAnnotate.vim delete mode 100644 modules/vim/vim.dot.link/syntax/SVKAnnotate.vim delete mode 100644 modules/vim/vim.dot.link/syntax/SVNAnnotate.vim delete mode 100644 modules/vim/vim.dot.link/syntax/cvsannotate.vim delete mode 100644 modules/vim/vim.dot.link/syntax/git-diff.vim delete mode 100644 modules/vim/vim.dot.link/syntax/git-log.vim delete mode 100644 modules/vim/vim.dot.link/syntax/git-status.vim delete mode 100644 modules/vim/vim.dot.link/syntax/gitannotate.vim delete mode 100644 modules/vim/vim.dot.link/syntax/hgannotate.vim delete mode 100644 modules/vim/vim.dot.link/syntax/ikiwiki.vim delete mode 100644 modules/vim/vim.dot.link/syntax/mkd.vim delete mode 100644 modules/vim/vim.dot.link/syntax/nginx.vim delete mode 100644 modules/vim/vim.dot.link/syntax/puppet.vim delete mode 100644 modules/vim/vim.dot.link/syntax/remind.vim delete mode 100644 modules/vim/vim.dot.link/syntax/rest.vim delete mode 100644 modules/vim/vim.dot.link/syntax/snippet.vim delete mode 100644 modules/vim/vim.dot.link/syntax/svkannotate.vim delete mode 100644 modules/vim/vim.dot.link/syntax/svnannotate.vim delete mode 100644 modules/vim/vim.dot.link/syntax/vcscommit.vim delete mode 100644 modules/vim/vimrc.dot.link delete mode 100644 modules/wyrd/remind.dot/cookbook.link/feriados.rem delete mode 100644 modules/wyrd/remind.dot/cookbook.link/functions.rem delete mode 100644 modules/wyrd/remind.dot/cookbook.link/seasons.rem delete mode 100644 modules/wyrd/reminders.dot.sample delete mode 100644 modules/wyrd/wyrdrc.dot.link delete mode 100644 modules/xcompose/XCompose.dot.link delete mode 160000 modules/xcompose/xcompose (limited to 'modules') diff --git a/modules/awesome/config.dot/awesome.link/awesompd b/modules/awesome/config.dot/awesome.link/awesompd deleted file mode 160000 index 4142a7a..0000000 --- a/modules/awesome/config.dot/awesome.link/awesompd +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 4142a7aa82e938afc7e948c3744ba2b0e520e495 diff --git a/modules/awesome/config.dot/awesome.link/awesompd.lua b/modules/awesome/config.dot/awesome.link/awesompd.lua deleted file mode 100644 index 4af25a3..0000000 --- a/modules/awesome/config.dot/awesome.link/awesompd.lua +++ /dev/null @@ -1,57 +0,0 @@ -require("awesompd/awesompd") - -musicwidget = awesompd:create() -- Create awesompd widget ---musicwidget.font = "Liberation Mono" -- Set widget font -musicwidget.scrolling = true -- If true, the text in the widget will be scrolled -musicwidget.output_size = 30 -- Set the size of widget in symbols -musicwidget.update_interval = 10 -- Set the update interval in seconds --- Set the folder where icons are located (change username to your login name) -musicwidget.path_to_icons = configdir .. "/awesompd/icons" --- Set the default music format for Jamendo streams. You can change --- this option on the fly in awesompd itself. --- possible formats: awesompd.FORMAT_MP3, awesompd.FORMAT_OGG -musicwidget.jamendo_format = awesompd.FORMAT_MP3 --- If true, song notifications for Jamendo tracks and local tracks will also contain --- album cover image. -musicwidget.show_album_cover = false --- Specify how big in pixels should an album cover be. Maximum value --- is 100. -musicwidget.album_cover_size = 50 --- This option is necessary if you want the album covers to be shown --- for your local tracks. ---musicwidget.mpd_config = homedir .. "/.mpdconf" --- Specify the browser you use so awesompd can open links from --- Jamendo in it. -musicwidget.browser = "firefox" --- Specify decorators on the left and the right side of the --- widget. Or just leave empty strings if you decorate the widget --- from outside. -musicwidget.ldecorator = " " -musicwidget.rdecorator = " " --- Set all the servers to work with (here can be any servers you use) --- Set the buttons of the widget -musicwidget:register_buttons({ - --{ "", awesompd.MOUSE_LEFT, musicwidget:command_toggle() }, - --{ "Control", awesompd.MOUSE_SCROLL_UP, musicwidget:command_prev_track() }, - --{ "Control", awesompd.MOUSE_SCROLL_DOWN, musicwidget:command_next_track() }, - { "", "XF86AudioPrev", musicwidget:command_prev_track() }, - { "", "XF86AudioNext", musicwidget:command_next_track() }, - { modkey, "XF86AudioPrev", musicwidget:command_previous_server() }, - { modkey, "XF86AudioNext", musicwidget:command_next_server() }, - --{ "", awesompd.MOUSE_SCROLL_UP, musicwidget:command_volume_up() }, - --{ "", awesompd.MOUSE_SCROLL_DOWN, musicwidget:command_volume_down() }, - { "", awesompd.MOUSE_RIGHT, musicwidget:command_show_menu() }, - --{ "", "XF86AudioLowerVolume", musicwidget:command_volume_down() }, - --{ "", "XF86AudioRaiseVolume", musicwidget:command_volume_up() }, - --{ modkey, "Pause", musicwidget:command_playpause() } }) - { "", "XF86AudioPlay", musicwidget:command_playpause() } }) - --- Put your server definitions in this file, like this: ---musicwidget.servers = { --- { server = "localhost", --- port = 6600 }, --- { server = "192.168.0.72", --- port = 6600 } } -dofile(homedir .. "/.custom/awesome/awesompd.lua") - -musicwidget:run() -- After all configuration is done, run the widget diff --git a/modules/awesome/config.dot/awesome.link/functions.lua b/modules/awesome/config.dot/awesome.link/functions.lua deleted file mode 100644 index aa98502..0000000 --- a/modules/awesome/config.dot/awesome.link/functions.lua +++ /dev/null @@ -1,4 +0,0 @@ -function file_exists(name) - local f=io.open(name,"r") - if f~=nil then io.close(f) return true else return false end -end diff --git a/modules/awesome/config.dot/awesome.link/keys.lua b/modules/awesome/config.dot/awesome.link/keys.lua deleted file mode 100644 index f056aca..0000000 --- a/modules/awesome/config.dot/awesome.link/keys.lua +++ /dev/null @@ -1,33 +0,0 @@ --- Key bindings -globalkeys = awful.util.table.join(root.keys(), - awful.key({ modkey, "Control" }, "f", function () awful.util.spawn("firefox") end), - awful.key({ modkey, "Control" }, "v", function () awful.util.spawn("gvim") end), - awful.key({ modkey, "Control" }, "m", function () awful.util.spawn("terminal mutt") end), - awful.key({ modkey, "Control" }, "g", function () awful.util.spawn("gimp") end), - awful.key({ modkey, "Control" }, "i", function () awful.util.spawn("gqview") end), - awful.key({ modkey, "Control" }, "a", function () awful.util.spawn("audacious") end), - awful.key({ modkey, "Control" }, "l", function () awful.util.spawn("xlock") end), - awful.key({ modkey, "Control" }, "s", function () awful.util.spawn("xsuspend") end), - awful.key({ modkey, "Control" }, "h", function () awful.util.spawn("xhibernate") end), - awful.key({ modkey, "Control" }, "k", function () awful.util.spawn("kedpm") end), - awful.key({ modkey, "Control" }, "c", function () awful.util.spawn("chromium-browser") end), - awful.key({ modkey, "Control" }, "t", function () awful.util.spawn("thunar") end), - awful.key({ modkey, "Control" }, "w", function () awful.util.spawn("terminal 'sleep 0.2 && wyrd'") end), - --awful.key({ modkey, "Control" }, "b", function () awful.util.spawn("terminal irssi") end), - - -- Xlock - awful.key({ }, "XF86ScreenSaver", function () awful.util.spawn("xlock") end), - - -- Volume keys - awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("amixer set Master 9%+", false) end), - awful.key({ }, "XF86AudioLowerVolume", function () awful.util.spawn("amixer set Master 9%-", false) end), - awful.key({ }, "XF86AudioMute", function () awful.util.spawn("amixer sset Master toggle", false) end) -) - --- Append keys from music widget -if awesompd then - musicwidget:append_global_keys() -end - --- Set keys -root.keys(globalkeys) diff --git a/modules/awesome/config.dot/awesome.link/leds.lua b/modules/awesome/config.dot/awesome.link/leds.lua deleted file mode 100644 index 382abdd..0000000 --- a/modules/awesome/config.dot/awesome.link/leds.lua +++ /dev/null @@ -1,13 +0,0 @@ --- See https://bbs.archlinux.org/viewtopic.php?id=68511 -myledbox = widget({ type = "textbox" }) - -function run_leds() - local filedescripter = io.popen('leds') - local value = filedescripter:read() - filedescripter:close() - return value -end - -mytimer = timer({ timeout = 1 }) -mytimer:add_signal("timeout", function() myledbox.text = run_leds() end) -mytimer:start() diff --git a/modules/awesome/config.dot/awesome.link/programs.lua b/modules/awesome/config.dot/awesome.link/programs.lua deleted file mode 100644 index b14083c..0000000 --- a/modules/awesome/config.dot/awesome.link/programs.lua +++ /dev/null @@ -1,2 +0,0 @@ --- Put here all startup command declarations ---awful.util.spawn_with_shell("xwicd") diff --git a/modules/awesome/config.dot/awesome.link/rc.lua b/modules/awesome/config.dot/awesome.link/rc.lua deleted file mode 100644 index e5fe3bb..0000000 --- a/modules/awesome/config.dot/awesome.link/rc.lua +++ /dev/null @@ -1,391 +0,0 @@ --- Standard awesome library -require("awful") -require("awful.autofocus") -require("awful.rules") - --- Theme handling library -require("beautiful") - --- Notification library -require("naughty") - --- Widget libraries -require("vicious") - --- Load Debian menu entries -require("debian.menu") - --- {{{ Variable definitions --- Folders -homedir = os.getenv("HOME") -configdir = homedir .. "/.config/awesome" --- Themes define colours, icons, and wallpapers -beautiful.init(configdir .. "/theme.lua") - --- This is used later as the default terminal and editor to run. -terminal = "terminal" -editor = os.getenv("EDITOR") or "editor" -editor_cmd = terminal .. " " .. editor - --- Default modkey. --- Usually, Mod4 is the key with a logo between Control and Alt. --- If you do not like this or do not have such a key, --- I suggest you to remap Mod4 to another key using xmodmap or other tools. --- However, you can use another modifier like Mod1, but it may interact with others. -modkey = "Mod4" - --- Table of layouts to cover with awful.layout.inc, order matters. -layouts = -{ - awful.layout.suit.max, - awful.layout.suit.floating, - awful.layout.suit.tile, - awful.layout.suit.tile.left, - awful.layout.suit.tile.bottom, - awful.layout.suit.tile.top, - --awful.layout.suit.fair, - --awful.layout.suit.fair.horizontal, - --awful.layout.suit.spiral, - --awful.layout.suit.spiral.dwindle, - --awful.layout.suit.max.fullscreen, - --awful.layout.suit.magnifier -} --- }}} - --- {{{ Misc functions -dofile(configdir .. "/functions.lua") --- }}} - --- {{{ Widgets --- Leds -dofile(configdir .. "/leds.lua") -dofile(configdir .. "/volume.lua") - -if file_exists(homedir .. "/.custom/awesome/awesompd.lua") then - awesompd = true - dofile(configdir .. "/awesompd.lua") -end --- }}} - --- {{{ Tags --- Define a tag table which hold all screen tags. -tags = {} -for s = 1, screen.count() do - -- Each screen has its own tag table. - tags[s] = awful.tag({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, s, layouts[1]) -end --- }}} - --- {{{ Menu --- Create a laucher widget and a main menu -myawesomemenu = { - { "quit", awesome.quit }, - { "restart", awesome.restart }, - { "edit config", editor_cmd .. " " .. awful.util.getdir("config") .. "/rc.lua" } -} - -mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon }, - { "debian", debian.menu.Debian_menu.Debian }, - { "terminal", terminal } - } - }) - -mylauncher = awful.widget.launcher({ image = image(beautiful.awesome_icon), - menu = mymainmenu }) --- }}} - --- {{{ Wibox --- Create a textclock widget -mytextclock = awful.widget.textclock({ align = "right" }) - --- Create a systray -mysystray = widget({ type = "systray" }) - --- Create a wibox for each screen and add it -mywibox = {} -mypromptbox = {} -mylayoutbox = {} -mytaglist = {} -mytaglist.buttons = awful.util.table.join( - awful.button({ }, 1, awful.tag.viewonly), - awful.button({ modkey }, 1, awful.client.movetotag), - awful.button({ }, 3, awful.tag.viewtoggle), - awful.button({ modkey }, 3, awful.client.toggletag), - awful.button({ }, 4, awful.tag.viewnext), - awful.button({ }, 5, awful.tag.viewprev) - ) -mytasklist = {} -mytasklist.buttons = awful.util.table.join( - awful.button({ }, 1, function (c) - if not c:isvisible() then - awful.tag.viewonly(c:tags()[1]) - end - client.focus = c - c:raise() - end), - awful.button({ }, 3, function () - if instance then - instance:hide() - instance = nil - else - instance = awful.menu.clients({ width=250 }) - end - end), - awful.button({ }, 4, function () - awful.client.focus.byidx(1) - if client.focus then client.focus:raise() end - end), - awful.button({ }, 5, function () - awful.client.focus.byidx(-1) - if client.focus then client.focus:raise() end - end)) - -for s = 1, screen.count() do - -- Create a promptbox for each screen - mypromptbox[s] = awful.widget.prompt({ layout = awful.widget.layout.horizontal.leftright }) - -- Create an imagebox widget which will contains an icon indicating which layout we're using. - -- We need one layoutbox per screen. - mylayoutbox[s] = awful.widget.layoutbox(s) - mylayoutbox[s]:buttons(awful.util.table.join( - awful.button({ }, 1, function () awful.layout.inc(layouts, 1) end), - awful.button({ }, 3, function () awful.layout.inc(layouts, -1) end), - awful.button({ }, 4, function () awful.layout.inc(layouts, 1) end), - awful.button({ }, 5, function () awful.layout.inc(layouts, -1) end))) - -- Create a taglist widget - mytaglist[s] = awful.widget.taglist(s, awful.widget.taglist.label.all, mytaglist.buttons) - - -- Create a tasklist widget - mytasklist[s] = awful.widget.tasklist(function(c) - return awful.widget.tasklist.label.currenttags(c, s) - end, mytasklist.buttons) - - -- Create the wibox - mywibox[s] = awful.wibox({ position = "top", screen = s }) - -- Add widgets to the wibox - order matters - mywibox[s].widgets = { - { - mylauncher, - mytaglist[s], - mypromptbox[s], - layout = awful.widget.layout.horizontal.leftright - }, - mylayoutbox[s], - mytextclock, - s == 1 and mysystray or nil, - volume_widget, - myledbox, - awesompd and musicwidget.widget or nil, - mytasklist[s], - layout = awful.widget.layout.horizontal.rightleft - } -end --- }}} - --- {{{ Mouse bindings -root.buttons(awful.util.table.join( - awful.button({ }, 3, function () mymainmenu:toggle() end), - awful.button({ }, 4, awful.tag.viewnext), - awful.button({ }, 5, awful.tag.viewprev) -)) --- }}} - --- {{{ Key bindings -globalkeys = awful.util.table.join( - awful.key({ modkey, }, "Left", awful.tag.viewprev ), - awful.key({ modkey, }, "Right", awful.tag.viewnext ), - awful.key({ modkey, }, "Escape", awful.tag.history.restore), - - awful.key({ modkey, }, "j", - function () - awful.client.focus.byidx( 1) - if client.focus then client.focus:raise() end - end), - awful.key({ modkey, }, "k", - function () - awful.client.focus.byidx(-1) - if client.focus then client.focus:raise() end - end), - awful.key({ modkey, }, "w", function () mymainmenu:show({keygrabber=true}) end), - - -- Layout manipulation - awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end), - awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( -1) end), - awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative( 1) end), - awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative(-1) end), - awful.key({ modkey, }, "u", awful.client.urgent.jumpto), - - --- Default tab behavior - awful.key({ modkey, }, "Tab", - function () - awful.client.focus.history.previous() - if client.focus then - client.focus:raise() - end - end), - - --- Cyclic tab behavior - --- See http://stackoverflow.com/questions/11697102/awesome-alttab-just-switches-between-two-apps - awful.key({ "Mod1", "Shift" }, "Tab", - function () - -- awful.client.focus.history.previous() - awful.client.focus.byidx(-1) - if client.focus then - client.focus:raise() - end - end), - awful.key({ "Mod1", }, "Tab", - function () - -- awful.client.focus.history.previous() - awful.client.focus.byidx(1) - if client.focus then - client.focus:raise() - end - end), - - -- Standard program - awful.key({ modkey, }, "Return", function () awful.util.spawn(terminal) end), - awful.key({ modkey, "Control" }, "r", awesome.restart), - awful.key({ modkey, "Shift" }, "q", awesome.quit), - - awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end), - awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end), - awful.key({ modkey, "Shift" }, "h", function () awful.tag.incnmaster( 1) end), - awful.key({ modkey, "Shift" }, "l", function () awful.tag.incnmaster(-1) end), - awful.key({ modkey, "Control" }, "h", function () awful.tag.incncol( 1) end), - awful.key({ modkey, "Control" }, "l", function () awful.tag.incncol(-1) end), - awful.key({ modkey, }, "space", function () awful.layout.inc(layouts, 1) end), - awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(layouts, -1) end), - - -- Prompt - awful.key({ modkey }, "r", function () mypromptbox[mouse.screen]:run() end), - - awful.key({ modkey }, "x", - function () - awful.prompt.run({ prompt = "Run Lua code: " }, - mypromptbox[mouse.screen].widget, - awful.util.eval, nil, - awful.util.getdir("cache") .. "/history_eval") - end) -) - -clientkeys = awful.util.table.join( - awful.key({ modkey, }, "f", function (c) c.fullscreen = not c.fullscreen end), - awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end), - awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle ), - awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end), - awful.key({ modkey, }, "o", awful.client.movetoscreen ), - awful.key({ modkey, "Shift" }, "r", function (c) c:redraw() end), - awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end), - awful.key({ modkey, }, "n", function (c) c.minimized = not c.minimized end), - awful.key({ modkey, }, "m", - function (c) - c.maximized_horizontal = not c.maximized_horizontal - c.maximized_vertical = not c.maximized_vertical - end) -) - --- Compute the maximum number of digit we need, limited to 9 -keynumber = 0 -for s = 1, screen.count() do - keynumber = math.min(9, math.max(#tags[s], keynumber)); -end - --- Bind all key numbers to tags. --- Be careful: we use keycodes to make it works on any keyboard layout. --- This should map on the top row of your keyboard, usually 1 to 9. -for i = 1, keynumber do - globalkeys = awful.util.table.join(globalkeys, - awful.key({ modkey }, "#" .. i + 9, - function () - local screen = mouse.screen - if tags[screen][i] then - awful.tag.viewonly(tags[screen][i]) - end - end), - awful.key({ modkey, "Control" }, "#" .. i + 9, - function () - local screen = mouse.screen - if tags[screen][i] then - awful.tag.viewtoggle(tags[screen][i]) - end - end), - awful.key({ modkey, "Shift" }, "#" .. i + 9, - function () - if client.focus and tags[client.focus.screen][i] then - awful.client.movetotag(tags[client.focus.screen][i]) - end - end), - awful.key({ modkey, "Control", "Shift" }, "#" .. i + 9, - function () - if client.focus and tags[client.focus.screen][i] then - awful.client.toggletag(tags[client.focus.screen][i]) - end - end)) -end - -clientbuttons = awful.util.table.join( - awful.button({ }, 1, function (c) client.focus = c; c:raise() end), - awful.button({ modkey }, 1, awful.mouse.client.move), - awful.button({ modkey }, 3, awful.mouse.client.resize)) - --- Set keys -root.keys(globalkeys) --- }}} - --- {{{ Rules -awful.rules.rules = { - -- All clients will match this rule. - { rule = { }, - properties = { border_width = beautiful.border_width, - border_color = beautiful.border_normal, - focus = true, - keys = clientkeys, - buttons = clientbuttons } }, - { rule = { class = "MPlayer" }, - properties = { floating = true } }, - { rule = { class = "pinentry" }, - properties = { floating = true } }, - { rule = { class = "gimp" }, - properties = { floating = true } }, - -- Set Firefox to always map on tags number 2 of screen 1. - -- { rule = { class = "Firefox" }, - -- properties = { tag = tags[1][2] } }, -} --- }}} - --- {{{ Signals --- Signal function to execute when a new client appears. -client.add_signal("manage", function (c, startup) - -- Add a titlebar - -- awful.titlebar.add(c, { modkey = modkey }) - - -- Enable sloppy focus (focus on mouse over) - --c:add_signal("mouse::enter", function(c) - -- if awful.layout.get(c.screen) ~= awful.layout.suit.magnifier - -- and awful.client.focus.filter(c) then - -- client.focus = c - -- end - --end) - - if not startup then - -- Set the windows at the slave, - -- i.e. put it at the end of others instead of setting it master. - -- awful.client.setslave(c) - - -- Put windows in a smart way, only if they does not set an initial position. - if not c.size_hints.user_position and not c.size_hints.program_position then - awful.placement.no_overlap(c) - awful.placement.no_offscreen(c) - end - end -end) - -client.add_signal("focus", function(c) c.border_color = beautiful.border_focus end) -client.add_signal("unfocus", function(c) c.border_color = beautiful.border_normal end) --- }}} - --- Key mappings -dofile(configdir .. "/keys.lua") - --- Startup commands -dofile(configdir .. "/programs.lua") diff --git a/modules/awesome/config.dot/awesome.link/rc.lua.simple b/modules/awesome/config.dot/awesome.link/rc.lua.simple deleted file mode 100644 index 0910bca..0000000 --- a/modules/awesome/config.dot/awesome.link/rc.lua.simple +++ /dev/null @@ -1,13 +0,0 @@ --- Environment variables -homedir = os.getenv("HOME") -configdir = homedir .. "/.config/awesome" - --- Include default distro configuration -dofile("/etc/xdg/awesome/rc.lua") -dofile(configdir .. "/keys.lua") - --- Custom changes -terminal = "terminal" - --- Background -awful.util.spawn_with_shell("sleep 1 && awsetbg " .. homedir .. "/themes/backgrounds/background.jpg") diff --git a/modules/awesome/config.dot/awesome.link/theme.lua b/modules/awesome/config.dot/awesome.link/theme.lua deleted file mode 100644 index 913022c..0000000 --- a/modules/awesome/config.dot/awesome.link/theme.lua +++ /dev/null @@ -1,101 +0,0 @@ ---------------------------- --- Default awesome theme -- ---------------------------- - -theme = {} - -theme.font = "sans 8" ---theme.font = "mono 8" - ----theme.bg_normal = "#222222" -theme.bg_normal = "#000000" ----theme.bg_focus = "#535d6c" -theme.bg_focus = "#222222" -theme.bg_urgent = "#ff0000" -theme.bg_minimize = "#444444" - -theme.fg_normal = "#aaaaaa" -theme.fg_focus = "#ffffff" -theme.fg_urgent = "#ffffff" -theme.fg_minimize = "#ffffff" - -theme.border_width = "1" -theme.border_normal = "#000000" ----theme.border_focus = "#535d6c" -theme.border_focus = "#222222" -theme.border_marked = "#91231c" - --- There are other variable sets --- overriding the default one when --- defined, the sets are: --- [taglist|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] --- Example: ---theme.taglist_bg_focus = "#ff0000" - --- Display the taglist squares -theme.taglist_squares_sel = "/usr/share/awesome/themes/default/taglist/squarefw.png" -theme.taglist_squares_unsel = "/usr/share/awesome/themes/default/taglist/squarew.png" - -theme.tasklist_floating_icon = "/usr/share/awesome/themes/default/tasklist/floatingw.png" - --- Variables set for theming the menu: --- menu_[bg|fg]_[normal|focus] --- menu_[border_color|border_width] -theme.menu_submenu_icon = "/usr/share/awesome/themes/default/submenu.png" -theme.menu_height = "15" -theme.menu_width = "100" - --- 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 = "/usr/share/awesome/themes/default/titlebar/close_normal.png" -theme.titlebar_close_button_focus = "/usr/share/awesome/themes/default/titlebar/close_focus.png" - -theme.titlebar_ontop_button_normal_inactive = "/usr/share/awesome/themes/default/titlebar/ontop_normal_inactive.png" -theme.titlebar_ontop_button_focus_inactive = "/usr/share/awesome/themes/default/titlebar/ontop_focus_inactive.png" -theme.titlebar_ontop_button_normal_active = "/usr/share/awesome/themes/default/titlebar/ontop_normal_active.png" -theme.titlebar_ontop_button_focus_active = "/usr/share/awesome/themes/default/titlebar/ontop_focus_active.png" - -theme.titlebar_sticky_button_normal_inactive = "/usr/share/awesome/themes/default/titlebar/sticky_normal_inactive.png" -theme.titlebar_sticky_button_focus_inactive = "/usr/share/awesome/themes/default/titlebar/sticky_focus_inactive.png" -theme.titlebar_sticky_button_normal_active = "/usr/share/awesome/themes/default/titlebar/sticky_normal_active.png" -theme.titlebar_sticky_button_focus_active = "/usr/share/awesome/themes/default/titlebar/sticky_focus_active.png" - -theme.titlebar_floating_button_normal_inactive = "/usr/share/awesome/themes/default/titlebar/floating_normal_inactive.png" -theme.titlebar_floating_button_focus_inactive = "/usr/share/awesome/themes/default/titlebar/floating_focus_inactive.png" -theme.titlebar_floating_button_normal_active = "/usr/share/awesome/themes/default/titlebar/floating_normal_active.png" -theme.titlebar_floating_button_focus_active = "/usr/share/awesome/themes/default/titlebar/floating_focus_active.png" - -theme.titlebar_maximized_button_normal_inactive = "/usr/share/awesome/themes/default/titlebar/maximized_normal_inactive.png" -theme.titlebar_maximized_button_focus_inactive = "/usr/share/awesome/themes/default/titlebar/maximized_focus_inactive.png" -theme.titlebar_maximized_button_normal_active = "/usr/share/awesome/themes/default/titlebar/maximized_normal_active.png" -theme.titlebar_maximized_button_focus_active = "/usr/share/awesome/themes/default/titlebar/maximized_focus_active.png" - --- You can use your own command to set your wallpaper ---theme.wallpaper_cmd = { "awsetbg " .. homedir .. "/themes/backgrounds/background.jpg" } -theme.wallpaper_cmd = { "xsetroot -solid black" } - --- You can use your own layout icons like this: -theme.layout_fairh = "/usr/share/awesome/themes/default/layouts/fairhw.png" -theme.layout_fairv = "/usr/share/awesome/themes/default/layouts/fairvw.png" -theme.layout_floating = "/usr/share/awesome/themes/default/layouts/floatingw.png" -theme.layout_magnifier = "/usr/share/awesome/themes/default/layouts/magnifierw.png" -theme.layout_max = "/usr/share/awesome/themes/default/layouts/maxw.png" -theme.layout_fullscreen = "/usr/share/awesome/themes/default/layouts/fullscreenw.png" -theme.layout_tilebottom = "/usr/share/awesome/themes/default/layouts/tilebottomw.png" -theme.layout_tileleft = "/usr/share/awesome/themes/default/layouts/tileleftw.png" -theme.layout_tile = "/usr/share/awesome/themes/default/layouts/tilew.png" -theme.layout_tiletop = "/usr/share/awesome/themes/default/layouts/tiletopw.png" -theme.layout_spiral = "/usr/share/awesome/themes/default/layouts/spiralw.png" -theme.layout_dwindle = "/usr/share/awesome/themes/default/layouts/dwindlew.png" - -theme.awesome_icon = "/usr/share/awesome/icons/awesome16.png" - -return theme --- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80 diff --git a/modules/awesome/config.dot/awesome.link/volume.lua b/modules/awesome/config.dot/awesome.link/volume.lua deleted file mode 100644 index 0a5bb45..0000000 --- a/modules/awesome/config.dot/awesome.link/volume.lua +++ /dev/null @@ -1,34 +0,0 @@ --- See http://awesome.naquadah.org/wiki/Volume_control_and_display -volume_widget = widget({ type = "textbox", name = "tb_volume", - align = "right" }) - -function update_volume(widget) - local fd = io.popen("amixer sget Master") - local status = fd:read("*all") - fd:close() - - local volume = tonumber(string.match(status, "(%d?%d?%d)%%")) / 100 - -- volume = string.format("% 3d", volume) - - status = string.match(status, "%[(o[^%]]*)%]") - - -- starting colour - local sr, sg, sb = 0x3F, 0x3F, 0x3F - -- ending colour - local er, eg, eb = 0xDC, 0xDC, 0xCC - - local ir = volume * (er - sr) + sr - local ig = volume * (eg - sg) + sg - local ib = volume * (eb - sb) + sb - interpol_colour = string.format("%.2x%.2x%.2x", ir, ig, ib) - if string.find(status, "on", 1, true) then - volume = " " - else - volume = " M " - end - widget.text = volume - end - -mytimer = timer({ timeout = 1 }) -mytimer:add_signal("timeout", function () update_volume(volume_widget) end) -mytimer:start() diff --git a/modules/conky/apps/brweather.link b/modules/conky/apps/brweather.link deleted file mode 160000 index 2bb08fc..0000000 --- a/modules/conky/apps/brweather.link +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 2bb08fc423620145e1c12991ecfaab9e217ebe82 diff --git a/modules/conky/brweather.conf.dot.sample b/modules/conky/brweather.conf.dot.sample deleted file mode 100644 index f199345..0000000 --- a/modules/conky/brweather.conf.dot.sample +++ /dev/null @@ -1,70 +0,0 @@ -# Arquivo de configuração do BrWeather -# Autor: LeandroNKZ -# Acesse o site para maiores instruções: -# http://brweatherproject.blogspot.com/ - -# Pasta base -DIRNAME="$HOME/apps/brweather/brweather" - -# Agora você pode escolher quais serviços de meteorologia utilizar no BrWeather: O nacional INPE ou o internacional Open Weather. -# Recomenda-se que utilize os serviços do Open Weather, apenas se o serviço nacional não funcionar. Como no caso de você residir no exterior, -# ou, no caso de o INPE não fornecer os dados completos para a usa cidade (como as condições atuais). -# Nota: Por questões de compatibilidade e confiabilidade de informações, só é possível utilizar um tipo de serviço ao mesmo tempo. - -# No campo abaixo você ativa/desativa o modo Open Weather. -# Escolha: -# "0" = ATIVAR o serviço Nacinal INPE. -# "1" = DESATIVAR o INPE e utilizar APENAS o serviço internacional Open Weather. -OPEN="0" - -# Escolha o tempo de espera (em segundos) para a conexão. -# Isso é útil para diminuir o tempo de resposta do programa. -# Para conexões rápidas (banda larga), é recomendável deixar entre 5~10. -# Já para conexões lentas, deixe entre 15~20 segundos. -TIME="10" - -# Especifique o intervalo de funcionamento (em segundos) do programa. -# O BrWeather só atualizará as previsões quando este invervalo for alcançado. -# Como os sites que o BrWeather busca os dados costumam atualizar as previsões -# a cada hora, um tempo entre 1800 (30min) e 3600 (1H) já está de bom tamanho. -# Um invervalo menor do que 30min não é recomendado, uma vez que o BrWeather baixaria apenas -# as mesmas previsões. -TIMER="3600" - -# Especifique a codificação de caracteres. -# Na dúvida, deixe o padrão (UTF-8). -# Altere apenas se ocorrer problemas com os acentos das palavras. -CODIGO="UTF-8" - -### Serviço Nacional ### -# Para exibir informações mais precisas e, contar com várias opções, -# o BrWeather utiliza o serviço de meteorologia do CPTEC/INPE (Instituto Nacional de Pesquisas Espaciais). -# Nota: Preencha o campo abaixo, apenas se estiver utilizando o serviço nacional. -# Se estiver utilizando apenas o Open Weather pule para o campo "Serviço Internacional". - -# CPTEC/INPE -# Acesse o site: -# http://www.cptec.inpe.br/cidades/ -# Digite apenas as primeiras letras de sua cidade e clique em "OK". -# Ex.: guaru , são, rio, maca, floria, etc.. -# Nota: Deve-se colocar apenas as primeiras letras do nome da sua cidade. -# Do contrário, se você colocar o nome inteiro, a tela exibirá diretamente as previsões, -# porém, sem o código numérico (necessário para o funcionamento do programa). -# Ao clicar em ok, aparecerá uma lista de cidades que começa com as letras especificadas. -# Selecione e clique em sua cidade. -# Na barra de URL, constará um código numérico. -# Ex.: http://www.cptec.inpe.br/cidades/tempo/4901 -# Anote o número e coloque no campo abaixo, no lugar de "2247". -CPTEC_INPE="244" - -### Observação importante: ### -# Se a sua cidade constar no site do INPE, mas não possuir a previsão completa (com dados como condições atuais, temperatura atual, nível de umidade atual, etc), você deve utilizar o BrWeather no modo Open. - -### Serviço Internacional ### -# Importante: Não é necessário preencher estes campos se você utiliza somente o serviço nacional. -# Acesse o site: http://openweathermap.org -# Procure pela sua cidade no mapa, e clique no ícone de previsão da mesma -# Assim que abrir a página com a previsão completa, veja que na barra de URL constará um código númérico. -# Ex.: http://openweathermap.org/city/3461786 -# Anote o número e adicione no campo abaixo, no lugar de "3461786". -OPEN_ID="3448439" diff --git a/modules/conky/conky.dot.link/weather/conkyrc b/modules/conky/conky.dot.link/weather/conkyrc deleted file mode 100644 index a31d43d..0000000 --- a/modules/conky/conky.dot.link/weather/conkyrc +++ /dev/null @@ -1,139 +0,0 @@ -# -# conky configuration for weather information -# - -# set to yes if you want conky to be forked in the background -background yes - -# X font when Xft is disabled, you can pick one with program xfontsel -#font 5x7 -#font 6x10 -#font 7x13 -#font 8x13 -#font 9x15 -#font *mintsmild.se* -#font -*-*-*-*-*-*-34-*-*-*-*-*-*-* - -# Use Xft? -#use_xft no - -# Xft font when Xft is enabled -xftfont courier-12 - -# Text alpha when using Xft -#xftalpha 0.8 - -# mail spool -#mail_spool $MAIL - -# Update interval in seconds -update_interval 5.0 - -# Create own window instead of using desktop (required in nautilus) -own_window yes -own_window_type override -own_window_transparent yes -own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below - -# Use double buffering (reduces flicker, may not work for everyone) -double_buffer yes - -# Minimum size of text area -#minimum_size 280 5 - -# Draw shades? -#draw_shades yes - -# Draw outlines? -#draw_outline no - -# Draw borders around text -#draw_borders yes - -# Stippled borders? -#stippled_borders 8 - -# border margins -#border_margin 4 - -# border width -#border_width 1 - -# Default colors and also border colors -#default_color white -#default_shade_color black -#default_outline_color black - -# Text alignment, other possible values are commented -alignment top_left -#alignment top_right -#alignment bottom_left -#alignment bottom_right - -# Gap between borders of screen and text -#gap_x 30 -#gap_y 25 -gap_x 20 -gap_y 30 - -# Subtract file system buffers from used memory? -no_buffers yes - -# set to yes if you want all text to be in uppercase -uppercase no - -# increase buffer size -text_buffer_size 400 - -# stuff after 'TEXT' will be formatted on screen - -TEXT -Weather -$stippled_hr -${execi 3600 weather-query weather} - - - -${execpi 3600 weather-query brweather --imagem4=C1 -p 10,100 -s 60x60} -${execpi 3600 weather-query brweather --imagem4=C2 -p 110,100 -s 60x60} -${execpi 3600 weather-query brweather --imagem4=C3 -p 210,100 -s 60x60} - - - -${execi 3600 weather-query brweather --option=Day1 | sed -e 's/á/a/g'}: ${execi 3600 weather-query brweather --option=LT1 | sed -e 's/°/C/g'}/${execi 3600 weather-query brweather --option=HT1 | sed -e 's/°/C/g'} ${goto 100} ${execi 3600 weather-query brweather --option=Day2 | sed -e 's/á/a/g'}: ${execi 3600 weather-query brweather --option=LT2 | sed -e 's/°/C/g'}/${execi 3600 weather-query brweather --option=HT2 | sed -e 's/°/C/g'} ${goto 200} ${execi 3600 weather-query brweather --option=Day3 | sed -e 's/á/a/g'}: ${execi 3600 weather-query brweather --option=LT3 | sed -e 's/°/C/g'}/${execi 3600 weather-query brweather --option=HT3 | sed -e 's/°/C/g'} - - -# segunda -${voffset -35}${goto 345}${execpi 3600 weather-query brweather --option=LUA2D} -# terceira -${voffset -10}${goto 425}${execpi 3600 weather-query brweather --option=LUA3D} -# quarta -${voffset -10}${goto 505}${execpi 3600 weather-query brweather --option=LUA4D} -# Segunda -${voffset 0}${goto 345}${execpi 3600 weather-query brweather --option=LUA2T} -# terceira -${voffset -10}${goto 425}${execpi 3600 weather-query brweather --option=LUA3T} -# quarta -${voffset -10}${goto 505}${execpi 3600 weather-query brweather --option=LUA4T} -# Imagem das luas -# Hoje -${execpi 3600 weather-query brweather --option=LUA1I -s 75x75 -p 405,35} -# Segunda lua -${execpi 3600 weather-query brweather --option=LUA2I -s 30x30 -p 350,115} -# Terceira lua -${execpi 3600 weather-query brweather --option=LUA3I -s 30x30 -p 420,115} -# Quarta lua -${execpi 3600 weather-query brweather --option=LUA4I -s 30x30 -p 500,115} - -${voffset -165}${goto 490}${execpi 3600 weather-query brweather --option=LUA1T} - - - - - - - - - - - diff --git a/modules/conky/conkyrc.dot.link b/modules/conky/conkyrc.dot.link deleted file mode 100644 index 756bdc4..0000000 --- a/modules/conky/conkyrc.dot.link +++ /dev/null @@ -1,245 +0,0 @@ -# -# conky configuration -# -# Resources: -# http://dancingpenguinsoflight.com/2009/01/gorgeous-and-useful-information-configuring-conky/ -# http://cristalinux.blogspot.com.br/2011/03/some-conky-favorites-of-mine_04.html -# http://desktopspotting.com/26/best-conky-configs-for-linux-desktop/ -# http://www.linuxandlife.com/2011/09/beautiful-conky-linux.html - -# set to yes if you want conky to be forked in the background -background yes - -# X font when Xft is disabled, you can pick one with program xfontsel -#font 5x7 -#font 6x10 -#font 7x13 -#font 8x13 -#font 9x15 -#font *mintsmild.se* -#font -*-*-*-*-*-*-34-*-*-*-*-*-*-* - -# Use Xft? -#use_xft no - -# Xft font when Xft is enabled -xftfont courier-12 - -# Text alpha when using Xft -#xftalpha 0.8 - -# mail spool -#mail_spool $MAIL - -# Update interval in seconds -update_interval 5.0 - -# Create own window instead of using desktop (required in nautilus) -own_window no - -# Use double buffering (reduces flicker, may not work for everyone) -double_buffer yes - -# Minimum size of text area -#minimum_size 280 5 - -# Draw shades? -#draw_shades yes - -# Draw outlines? -#draw_outline no - -# Draw borders around text -#draw_borders yes - -# Stippled borders? -#stippled_borders 8 - -# border margins -#border_margin 4 - -# border width -#border_width 1 - -# Default colors and also border colors -#default_color white -#default_shade_color black -#default_outline_color black - -# Text alignment, other possible values are commented -#alignment top_left -alignment top_right -#alignment bottom_left -#alignment bottom_right - -# Gap between borders of screen and text -#gap_x 30 -#gap_y 25 -gap_x 20 -gap_y 30 - -# Subtract file system buffers from used memory? -no_buffers yes - -# set to yes if you want all text to be in uppercase -uppercase no - -# boinc (seti) dir -#seti_dir /usr/local/seti - -# Possible variables to be used: -# -# Variable Arguments Description -# acpiacadapter ACPI ac adapter state. -# acpifan ACPI fan state -# acpitemp ACPI temperature. -# adt746xcpu CPU temperature from therm_adt746x -# adt746xfan Fan speed from therm_adt746x -# battery (num) Remaining capasity in ACPI or APM -# battery. ACPI battery number can be -# given as argument (default is BAT0). -# buffers Amount of memory buffered -# cached Amount of memory cached -# color (color) Change drawing color to color -# cpu CPU usage in percents -# cpubar (height) Bar that shows CPU usage, height is -# bar's height in pixels -# downspeed net Download speed in kilobytes -# downspeedf net Download speed in kilobytes with one -# decimal -# exec shell command Executes a shell command and displays -# the output in torsmo. warning: this -# takes a lot more resources than other -# variables. I'd recommend coding wanted -# behaviour in C and posting a patch :-). -# execi interval, shell Same as exec but with specific interval. -# command Interval can't be less than -# update_interval in configuration. -# fs_bar (height), (fs) Bar that shows how much space is used on -# a file system. height is the height in -# pixels. fs is any file on that file -# system. -# fs_free (fs) Free space on a file system available -# for users. -# fs_free_perc (fs) Free percentage of space on a file -# system available for users. -# fs_size (fs) File system size -# fs_used (fs) File system used space -# hr (height) Horizontal line, height is the height in -# pixels -# i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev -# may be omitted if you have only one I2C -# device. type is either in (or vol) -# meaning voltage, fan meaning fan or temp -# meaning temperature. n is number of the -# sensor. See /sys/bus/i2c/devices/ on -# your local computer. -# kernel Kernel version -# loadavg (1), (2), (3) System load average, 1 is for past 1 -# minute, 2 for past 5 minutes and 3 for -# past 15 minutes. -# machine Machine, i686 for example -# mails Mail count in mail spool. You can use -# program like fetchmail to get mails from -# some server using your favourite -# protocol. See also new_mails. -# mem Amount of memory in use -# membar (height) Bar that shows amount of memory in use -# memmax Total amount of memory -# memperc Percentage of memory in use -# new_mails Unread mail count in mail spool. -# nodename Hostname -# outlinecolor (color) Change outline color -# pre_exec shell command Executes a shell command one time before -# torsmo displays anything and puts output -# as text. -# processes Total processes (sleeping and running) -# running_processes Running processes (not sleeping), -# requires Linux 2.6 -# shadecolor (color) Change shading color -# stippled_hr (space), Stippled (dashed) horizontal line -# (height) -# swapbar (height) Bar that shows amount of swap in use -# swap Amount of swap in use -# swapmax Total amount of swap -# swapperc Percentage of swap in use -# sysname System name, Linux for example -# time (format) Local time, see man strftime to get more -# information about format -# totaldown net Total download, overflows at 4 GB on -# Linux with 32-bit arch and there doesn't -# seem to be a way to know how many times -# it has already done that before torsmo -# has started. -# totalup net Total upload, this one too, may overflow -# updates Number of updates (for debugging) -# upspeed net Upload speed in kilobytes -# upspeedf net Upload speed in kilobytes with one -# decimal -# uptime Uptime -# uptime_short Uptime in a shorter format -# -# seti_prog Seti@home current progress -# seti_progbar (height) Seti@home current progress bar -# seti_credit Seti@hoome total user credit - -#seti_progbar - -# variable is given either in format $variable or in ${variable}. Latter -# allows characters right after the variable and must be used in network -# stuff because of an argument - -# stuff after 'TEXT' will be formatted on screen - -#${color grey}Mails: ${color}$mails${color grey} New: ${color}$new_mails${color grey} -#${color grey}Temperatures: -# CPU:$color ${i2c temp 1}C${color grey} - MB:$color ${i2c temp 2}C - -# feed parser -# $color${execi 900 ~/.conky/scripts/feed_parser/feed_parser.sh} - -TEXT -$nodename - $sysname on $machine -$stippled_hr -${execpi 3600 xconky battery } -${color grey}Uptime$color $uptime -${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 6} -${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 6} -${color grey}${memgraph 000000 7f8ed3 -t} -${color grey}CPU Usage:$color $cpu% ${cpubar 6} -${color grey}CPU Frequency:$color $freq Hz -${color grey}${cpugraph 000000 7f8ed3 -t} -${color grey}Load average:$color $loadavg -${color grey}${loadgraph 000000 7f8ed3} -${color grey}Disk I/O:$color $diskio -${color grey}${diskiograph 000000 7f8ed3} -$color$stippled_hr -${color grey}Networking: -${if_up eth0}${color grey} eth0: Up:$color ${upspeed eth0} k/s${color grey} - Down:$color ${downspeed eth0} k/s -${color grey}${downspeedgraph eth0 32,150 000000 7f8ed3 -l} $alignr${color grey}${upspeedgraph eth0 32,150 000000 7f8ed3 -l}${endif} -${if_up wlan0}${color grey} wlan0: Up:$color ${upspeed wlan0} k/s${color grey} - Down:$color ${downspeed wlan0} k/s -${color grey}${downspeedgraph wlan0 32,150 000000 7f8ed3 -l} $alignr${color grey}${upspeedgraph wlan0 32,150 000000 7f8ed3 -l}${endif} -${if_up ppp0}${color grey} ppp0: Up:$color ${upspeed ppp0} k/s${color grey} - Down:$color ${downspeed ppp0} k/s -${color grey}${downspeedgraph ppp0 32,150 000000 7f8ed3 -l} $alignr${color grey}${upspeedgraph ppp0 32,150 000000 7f8ed3 -l}${endif} -$color$stippled_hr - -${color grey}File systems: - / $color${fs_free /}/${fs_size /} ${fs_bar 6 /} -# /home $color${fs_free /home}/${fs_size /home} ${fs_bar 6 /home} - /var $color${fs_free /var}/${fs_size /var} ${fs_bar 6 /var} -# /var/vservers $color${fs_free /var/vservers}/${fs_size /var/vservers} ${fs_bar 6 /var/vservers} - ${execpi 3600 xconky fs_home } -#${color grey}syslog${hr 2}${color} -#${execi 30 tail -n3 /var/log/daemon | fold -w50} -#${color grey}Fortune${hr 2}${color} -#${execi 240 fortune -s | fold -w50} -$color$stippled_hr - -${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes -${color grey}Processes by mem usage${hr 2}${color} -${color} Name ${alignr} PID CPU% MEM% -${color} ${top_mem name 1} ${alignr} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1} -${color} ${top_mem name 2} ${alignr} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2} - ${top_mem name 3} ${alignr} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3} - ${top_mem name 4} ${alignr} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4} - diff --git a/modules/conky/weather.dot/weatherrc.sample b/modules/conky/weather.dot/weatherrc.sample deleted file mode 100644 index f62cc84..0000000 --- a/modules/conky/weather.dot/weatherrc.sample +++ /dev/null @@ -1,2 +0,0 @@ -[default] -defargs = sbsp diff --git a/modules/debian/config.dot/pbuilder/hooks/B90lintian.link b/modules/debian/config.dot/pbuilder/hooks/B90lintian.link deleted file mode 120000 index 695f301..0000000 --- a/modules/debian/config.dot/pbuilder/hooks/B90lintian.link +++ /dev/null @@ -1 +0,0 @@ -/usr/share/doc/pbuilder/examples/B90lintian \ No newline at end of file diff --git a/modules/debian/gbp.conf.dot.link b/modules/debian/gbp.conf.dot.link deleted file mode 100644 index 368cc25..0000000 --- a/modules/debian/gbp.conf.dot.link +++ /dev/null @@ -1,12 +0,0 @@ -[DEFAULT] -builder = git-pbuilder -cleaner = fakeroot debian/rules clean -pristine-tar = True -color = auto - -[git-buildpackage] -export-dir = ../build-area/ -tarball-dir = ../tarballs/ - -[git-import-orig] -dch = False diff --git a/modules/debian/pbuilderrc.dot.link b/modules/debian/pbuilderrc.dot.link deleted file mode 100644 index ceaf8ef..0000000 --- a/modules/debian/pbuilderrc.dot.link +++ /dev/null @@ -1,2 +0,0 @@ -# Custom hooks -HOOKDIR="$HOME/.config/pbuilder/hooks/" diff --git a/modules/debian/pydistutils.cfg.dot.link b/modules/debian/pydistutils.cfg.dot.link deleted file mode 100644 index 9adb233..0000000 --- a/modules/debian/pydistutils.cfg.dot.link +++ /dev/null @@ -1,2 +0,0 @@ -[sdist_dsc] -force-buildsystem: False diff --git a/modules/debian/quiltrc-dpkg.dot.link b/modules/debian/quiltrc-dpkg.dot.link deleted file mode 100644 index 7f74f4c..0000000 --- a/modules/debian/quiltrc-dpkg.dot.link +++ /dev/null @@ -1,10 +0,0 @@ -d=. ; while [ ! -d $d/debian -a `readlink -e $d` != / ]; do d=$d/..; done -if [ -d $d/debian ] && [ -z $QUILT_PATCHES ]; then - # if in Debian packaging tree with unset $QUILT_PATCHES - QUILT_PATCHES="debian/patches" - QUILT_PATCH_OPTS="--reject-format=unified" - QUILT_DIFF_ARGS="-p ab --no-timestamps --no-index --color=auto" - QUILT_REFRESH_ARGS="-p ab --no-timestamps --no-index" - QUILT_COLORS="diff_hdr=1;32:diff_add=1;34:diff_rem=1;31:diff_hunk=1;33:diff_ctx=35:diff_cctx=33" - if ! [ -d $d/debian/patches ]; then mkdir $d/debian/patches; fi -fi diff --git a/modules/git/gitconfig.dot.link b/modules/git/gitconfig.dot.link deleted file mode 100644 index fcf1a66..0000000 --- a/modules/git/gitconfig.dot.link +++ /dev/null @@ -1,8 +0,0 @@ -[core] - excludesfile = ~/.gitignore - -[color] - ui = auto - -[include] - path = .custom/gitconfig diff --git a/modules/git/gitignore.dot.link b/modules/git/gitignore.dot.link deleted file mode 100644 index d9568ca..0000000 --- a/modules/git/gitignore.dot.link +++ /dev/null @@ -1 +0,0 @@ -*swp diff --git a/modules/git/gitk.dot.link b/modules/git/gitk.dot.link deleted file mode 100644 index 3fea100..0000000 --- a/modules/git/gitk.dot.link +++ /dev/null @@ -1,36 +0,0 @@ -set mainfont {{Nimbus Sans L} 11} -set textfont {{nimbus mono l} 12} -set uifont {{Serto Batnan} 12} -set tabstop 8 -set findmergefiles 0 -set maxgraphpct 50 -set maxwidth 30 -set cmitmode patch -set wrapcomment none -set autoselect 1 -set autosellen 40 -set showneartags 1 -set hideremotes 0 -set showlocalchanges 1 -set datetimeformat {%Y-%m-%d %H:%M:%S} -set limitdiffs 1 -set uicolor grey85 -set want_ttk 1 -set bgcolor white -set fgcolor black -set colors {green red blue magenta darkgrey brown orange} -set diffcolors {red "#00a000" blue} -set markbgcolor #e0e0ff -set diffcontext 3 -set selectbgcolor gray85 -set extdifftool meld -set perfile_attrs 0 -set geometry(main) 1364x713+0+19 -set geometry(state) normal -set geometry(topwidth) 1364 -set geometry(topheight) 242 -set geometry(pwsash0) "628 1" -set geometry(pwsash1) "773 1" -set geometry(botwidth) 699 -set geometry(botheight) 466 -set permviews {} diff --git a/modules/gtk/config.dot/gtk-3.0/settings.ini.link b/modules/gtk/config.dot/gtk-3.0/settings.ini.link deleted file mode 100644 index 1668a61..0000000 --- a/modules/gtk/config.dot/gtk-3.0/settings.ini.link +++ /dev/null @@ -1,6 +0,0 @@ -[Settings] -gtk-application-prefer-dark-theme = false -gtk-theme-name = Adwaita -gtk-fallback-icon-theme = gnome -gtk-icon-theme-name = Gnome -#gtk-font-name = [font name] [font size] diff --git a/modules/gtk/gtkrc-2.0.dot.link b/modules/gtk/gtkrc-2.0.dot.link deleted file mode 100644 index 930fa16..0000000 --- a/modules/gtk/gtkrc-2.0.dot.link +++ /dev/null @@ -1,2 +0,0 @@ -include ".themes/PrettyOkayish-Prion/gtk-2.0/gtkrc" -#include ".gtkrc-2.0.mine" diff --git a/modules/gtk/themes.dot/PrettyOkayish-Prion.link/ICON.png b/modules/gtk/themes.dot/PrettyOkayish-Prion.link/ICON.png deleted file mode 100644 index e69de29..0000000 diff --git a/modules/gtk/themes.dot/PrettyOkayish-Prion.link/README b/modules/gtk/themes.dot/PrettyOkayish-Prion.link/README deleted file mode 100644 index 1b3cfa8..0000000 --- a/modules/gtk/themes.dot/PrettyOkayish-Prion.link/README +++ /dev/null @@ -1,9 +0,0 @@ -PrettyOkayish-Prion - -This is a modification of Tigert's PrettyOkayish Theme [1]. It's not as -yellow as the original and matches the colors of "Interface-Prion-Flat" -(also done by Tigert). - -Nico - http://siriux.net/ - - [1] http://tigert.gimp.org/ diff --git a/modules/gtk/themes.dot/PrettyOkayish-Prion.link/gtk-2.0/gtkrc b/modules/gtk/themes.dot/PrettyOkayish-Prion.link/gtk-2.0/gtkrc deleted file mode 100644 index f297bb7..0000000 --- a/modules/gtk/themes.dot/PrettyOkayish-Prion.link/gtk-2.0/gtkrc +++ /dev/null @@ -1,62 +0,0 @@ -# Edit these colors and fonts however you like. -style "default" -{ - GtkRange::slider_width = 12 - GtkRange::stepper_size = 12 - GtkScrollbar::min_slider_length = 14 - GtkCheckButton::indicator_size = 12 - - fg[NORMAL] = "#000000" - fg[ACTIVE] = "#314a82" - fg[INSENSITIVE] = "#969696" - fg[PRELIGHT] = "#415a92" - fg[SELECTED] = "#ffffff" - - bg[ACTIVE] = "#c2c2be" - bg[NORMAL] = "#e2e2de" - bg[INSENSITIVE] = "#e2e2de" - bg[PRELIGHT] = "#f2f2ee" - bg[SELECTED] = "#a5abba" - - base[NORMAL] = "#ffffff" - base[ACTIVE] = "#ffffff" - base[INSENSITIVE] = "#ffffff" - base[PRELIGHT] = "#eaeaea" - base[SELECTED] = "#a5abba" - - text[NORMAL] = "#000000" - text[ACTIVE] = "#000000" - text[PRELIGHT] = "#000000" - text[SELECTED] = "#000000" - text[INSENSITIVE] = "#000000" - - engine "thinice" - { - # Do you want the scrollbar handles rectangular or a bit shaped? - rect_scrollbar = TRUE - - # The following variables are semi-generic, can be applied to - # different widget classes etc.. - - # Mark type 1 is used on scrollbar handles, handleboxes etc - mark_type1 = DOT - # Mark type 2 is used on scrollbar buttons - mark_type2 = ARROW - } -} - -style "menu" = "default" -{ - bg[PRELIGHT] = "#ffffff" - text[PRELIGHT] = { 1.0, 1.0, 1.0 } - engine "redmond95" { } -} -style "togglebuttons" = "default" -{ - engine "redmond95" { } -} - -class "GtkWidget" style "default" -class "GtkMenuItem*" style "menu" -class "GtkCheckButton" style "togglebuttons" -class "GtkRadioButton" style "togglebuttons" diff --git a/modules/gtk/themes.dot/PrettyOkayish-Prion.link/gtk/gtkrc b/modules/gtk/themes.dot/PrettyOkayish-Prion.link/gtk/gtkrc deleted file mode 100644 index 6499cbe..0000000 --- a/modules/gtk/themes.dot/PrettyOkayish-Prion.link/gtk/gtkrc +++ /dev/null @@ -1,55 +0,0 @@ -style "default" -{ - - fg[NORMAL] = "#000000" - fg[ACTIVE] = "#314a82" - fg[INSENSITIVE] = "#969696" - fg[PRELIGHT] = "#415a92" - fg[SELECTED] = "#ffffff" - - bg[ACTIVE] = "#c2c2be" - bg[NORMAL] = "#e2e2de" - bg[INSENSITIVE] = "#e2e2de" - bg[PRELIGHT] = "#f2f2ee" - bg[SELECTED] = "#a5abba" - - base[NORMAL] = "#ffffff" - base[ACTIVE] = "#ffffff" - base[INSENSITIVE] = "#ffffff" - base[PRELIGHT] = "#eaeaea" - base[SELECTED] = "#a5abba" - - text[NORMAL] = "#000000" - text[ACTIVE] = "#000000" - text[PRELIGHT] = "#000000" - text[SELECTED] = "#000000" - text[INSENSITIVE] = "#000000" - -} - -style "default-ice" = "default" { - engine "thinice" - { - # Do you want the scrollbar handles rectangular or a bit shaped? - rect_scrollbar = TRUE - - # The following variables are semi-generic, can be applied to - # different widget classes etc.. - - # Mark type 1 is used on scrollbar handles, handleboxes etc - mark_type1 = DOT - # Mark type 2 is used on scrollbar buttons - mark_type2 = DOT - } -} - -style "menu" = "default" -{ -# bg_pixmap[PRELIGHT] = "stripebg-dark.png" - bg[PRELIGHT] = "#ffffff" - text[PRELIGHT] = { 1.0, 1.0, 1.0 } - engine "redmond95" { } -} - -class "GtkWidget" style "default-ice" -class "GtkMenuItem*" style "menu" diff --git a/modules/monkeysphere/monkeysphere.dot/monkeysphere.conf.link b/modules/monkeysphere/monkeysphere.dot/monkeysphere.conf.link deleted file mode 100644 index a10a223..0000000 --- a/modules/monkeysphere/monkeysphere.dot/monkeysphere.conf.link +++ /dev/null @@ -1 +0,0 @@ -USE_VALIDATION_AGENT=true diff --git a/modules/mp3blaster/mp3blasterrc.dot.link b/modules/mp3blaster/mp3blasterrc.dot.link deleted file mode 100644 index 1da52fa..0000000 --- a/modules/mp3blaster/mp3blasterrc.dot.link +++ /dev/null @@ -1,25 +0,0 @@ -# black, red, green, yellow, blue, magenta, cyan, white - -Color.Default.fg = white -Color.Default.bg = black -Color.Popup.fg = white -Color.Popup.bg = black -Color.PopupInput.fg = red -Color.PopupInput.bg = black -Color.Error.fg = red -Color.Error.bg = black -Color.Button.fg = green -Color.Button.fg = green -Color.Button.bg = black -Color.ShortCut.fg = red -Color.ShortCut.bg = black -Color.Label.fg = white -Color.Label.bg = black -Color.Number.fg = green -Color.Number.bg = black -Color.FileMp3.fg = green -Color.FileDir.fg = green -Color.FileLst.fg = white -Color.FileWin.fg = white -HideOtherFiles = true -PlaylistDir = /var/data/noise/ diff --git a/modules/mutt/custom.dot/mutt/aliases.sample b/modules/mutt/custom.dot/mutt/aliases.sample deleted file mode 100644 index e69de29..0000000 diff --git a/modules/mutt/custom.dot/muttrc.sample b/modules/mutt/custom.dot/muttrc.sample deleted file mode 100644 index e69de29..0000000 diff --git a/modules/mutt/mailcap.dot.link b/modules/mutt/mailcap.dot.link deleted file mode 100644 index ffb9e37..0000000 --- a/modules/mutt/mailcap.dot.link +++ /dev/null @@ -1,162 +0,0 @@ -application/vnd.sun.xml.writer;soffice %s -application/vnd.sun.xml.writer.global;soffice %s -application/vnd.stardivision.writer;soffice %s -application/vnd.stardivision.writer-global;soffice %s -application/x-starwriter;soffice %s -application/vnd.sun.xml.writer.template;soffice %s -application/msword;soffice %s -application/vnd.sun.xml.calc;soffice %s -application/vnd.stardivision.calc;soffice %s -application/x-starcalc;soffice %s -application/vnd.sun.xml.calc.template;soffice %s -application/excel;soffice %s -application/msexcel;soffice %s -application/vnd.ms-excel;soffice %s -application/x-msexcel;soffice %s -application/vnd.sun.xml.impress;soffice %s -application/vnd.stardivision.impress;soffice %s -application/vnd.stardivision.impress-packed;soffice %s -application/x-starimpress;soffice %s -application/vnd.sun.xml.impress.template;soffice %s -application/powerpoint;soffice %s -application/mspowerpoint;soffice %s -application/vnd.ms-powerpoint;soffice %s -application/x-mspowerpoint;soffice %s -application/vnd.sun.xml.draw;soffice %s -application/vnd.stardivision.draw;soffice %s -application/x-stardraw;soffice %s -application/vnd.sun.xml.draw.template;soffice %s -application/vnd.sun.xml.math;soffice %s -application/vnd.stardivision.math;soffice %s -application/x-starmath;soffice %s -application/vnd.sun.xml.writer;soffice %s -application/vnd.sun.xml.writer.global;soffice %s -application/vnd.stardivision.writer;soffice %s -application/vnd.stardivision.writer-global;soffice %s -application/x-starwriter;soffice %s -application/vnd.sun.xml.writer.template;soffice %s -application/msword;soffice %s -application/vnd.sun.xml.calc;soffice %s -application/vnd.stardivision.calc;soffice %s -application/x-starcalc;soffice %s -application/vnd.sun.xml.calc.template;soffice %s -application/excel;soffice %s -application/msexcel;soffice %s -application/vnd.ms-excel;soffice %s -application/x-msexcel;soffice %s -application/vnd.sun.xml.impress;soffice %s -application/vnd.stardivision.impress;soffice %s -application/vnd.stardivision.impress-packed;soffice %s -application/x-starimpress;soffice %s -application/vnd.sun.xml.impress.template;soffice %s -application/powerpoint;soffice %s -application/mspowerpoint;soffice %s -application/vnd.ms-powerpoint;soffice %s -application/x-mspowerpoint;soffice %s -application/vnd.sun.xml.draw;soffice %s -application/vnd.stardivision.draw;soffice %s -application/x-stardraw;soffice %s -application/vnd.sun.xml.draw.template;soffice %s -application/vnd.sun.xml.math;soffice %s -application/vnd.stardivision.math;soffice %s -application/x-starmath;soffice %s -application/vnd.sun.xml.writer;soffice %s -application/vnd.sun.xml.writer.global;soffice %s -application/vnd.stardivision.writer;soffice %s -application/vnd.stardivision.writer-global;soffice %s -application/x-starwriter;soffice %s -application/vnd.sun.xml.writer.template;soffice %s -application/msword;soffice %s -application/vnd.sun.xml.calc;soffice %s -application/vnd.stardivision.calc;soffice %s -application/x-starcalc;soffice %s -application/vnd.sun.xml.calc.template;soffice %s -application/excel;soffice %s -application/msexcel;soffice %s -application/vnd.ms-excel;soffice %s -application/x-msexcel;soffice %s -application/vnd.sun.xml.impress;soffice %s -application/vnd.stardivision.impress;soffice %s -application/vnd.stardivision.impress-packed;soffice %s -application/x-starimpress;soffice %s -application/vnd.sun.xml.impress.template;soffice %s -application/powerpoint;soffice %s -application/mspowerpoint;soffice %s -application/vnd.ms-powerpoint;soffice %s -application/x-mspowerpoint;soffice %s -application/vnd.sun.xml.draw;soffice %s -application/vnd.stardivision.draw;soffice %s -application/x-stardraw;soffice %s -application/vnd.sun.xml.draw.template;soffice %s -application/vnd.sun.xml.math;soffice %s -application/vnd.stardivision.math;soffice %s -application/x-starmath;soffice %s -application/vnd.sun.xml.writer;soffice %s -application/vnd.sun.xml.writer.global;soffice %s -application/vnd.stardivision.writer;soffice %s -application/vnd.stardivision.writer-global;soffice %s -application/x-starwriter;soffice %s -application/vnd.sun.xml.writer.template;soffice %s -application/msword;soffice %s -application/vnd.sun.xml.calc;soffice %s -application/vnd.stardivision.calc;soffice %s -application/x-starcalc;soffice %s -application/vnd.sun.xml.calc.template;soffice %s -application/excel;soffice %s -application/msexcel;soffice %s -application/vnd.ms-excel;soffice %s -application/x-msexcel;soffice %s -application/vnd.sun.xml.impress;soffice %s -application/vnd.stardivision.impress;soffice %s -application/vnd.stardivision.impress-packed;soffice %s -application/x-starimpress;soffice %s -application/vnd.sun.xml.impress.template;soffice %s -application/powerpoint;soffice %s -application/mspowerpoint;soffice %s -application/vnd.ms-powerpoint;soffice %s -application/x-mspowerpoint;soffice %s -application/vnd.sun.xml.draw;soffice %s -application/vnd.stardivision.draw;soffice %s -application/x-stardraw;soffice %s -application/vnd.sun.xml.draw.template;soffice %s -application/vnd.sun.xml.math;soffice %s -application/vnd.stardivision.math;soffice %s -application/x-starmath;soffice %s -application/vnd.sun.xml.writer;soffice %s -application/vnd.sun.xml.writer.global;soffice %s -application/vnd.stardivision.writer;soffice %s -application/vnd.stardivision.writer-global;soffice %s -application/x-starwriter;soffice %s -application/vnd.sun.xml.writer.template;soffice %s -application/vnd.sun.xml.calc;soffice %s -application/vnd.stardivision.calc;soffice %s -application/x-starcalc;soffice %s -application/vnd.sun.xml.calc.template;soffice %s -application/vnd.sun.xml.impress;soffice %s -application/vnd.stardivision.impress;soffice %s -application/vnd.stardivision.impress-packed;soffice %s -application/x-starimpress;soffice %s -application/vnd.sun.xml.impress.template;soffice %s -application/vnd.sun.xml.draw;soffice %s -application/vnd.stardivision.draw;soffice %s -application/x-stardraw;soffice %s -application/vnd.sun.xml.draw.template;soffice %s -application/vnd.sun.xml.math;soffice %s -application/vnd.stardivision.math;soffice %s -application/x-starmath;soffice %s -applicatiom/rtf; unrtf --text '%s'; copiousoutput; description="M$ Word Text"; nametemplate=%s.doc -text/html; lynx -dump %s; nametemplate=%s.htm; copiousoutput -application/pgp-keys; gpg -f < %s ; copiousoutput -audio/mp3;mpg123 %s -audio/mpeg;mplayer %s -audio/mpegurl;mplayer %s -audio/scpls;mplayer %s -audio/x-mp3;mplayer %s -audio/x-mpeg;mplayer %s -audio/x-mpegurl;mplayer %s -audio/x-scpls;mplayer %s -image/*; image2ascii %s; copiousoutput -application/msword; /usr/bin/antiword '%s'; copiousoutput; description="M$ Word Text"; nametemplate=%s.doc -# Java Web Start -#application/x-java-jnlp-file; /usr/bin/javaws %s -application/pdf; evince %s diff --git a/modules/mutt/mailrc.dot.link b/modules/mutt/mailrc.dot.link deleted file mode 100644 index 19627cf..0000000 --- a/modules/mutt/mailrc.dot.link +++ /dev/null @@ -1 +0,0 @@ -set sendmail="/usr/bin/msmtp" diff --git a/modules/mutt/mime.types.dot.link b/modules/mutt/mime.types.dot.link deleted file mode 100644 index 9e00efa..0000000 --- a/modules/mutt/mime.types.dot.link +++ /dev/null @@ -1,91 +0,0 @@ -application/vnd.sun.xml.writer sxw -application/vnd.sun.xml.writer.template stw -application/vnd.sun.xml.writer.global sxg -application/vnd.stardivision.writer sdw vor -application/vnd.stardivision.writer-global sgl -application/vnd.sun.xml.calc sxc -application/vnd.sun.xml.calc.template stc -application/vnd.stardivision.calc sdc -application/vnd.sun.xml.impress sxi -application/vnd.sun.xml.impress.template sti -application/vnd.stardivision.impress sdd sdp -application/vnd.sun.xml.draw sxd -application/vnd.sun.xml.draw.template std -application/vnd.stardivision.draw sda -application/vnd.sun.xml.math sxm -application/vnd.stardivision.math smf -application/vnd.sun.xml.writer sxw -application/vnd.sun.xml.writer.template stw -application/vnd.sun.xml.writer.global sxg -application/vnd.stardivision.writer sdw vor -application/vnd.stardivision.writer-global sgl -application/vnd.sun.xml.calc sxc -application/vnd.sun.xml.calc.template stc -application/vnd.stardivision.calc sdc -application/vnd.sun.xml.impress sxi -application/vnd.sun.xml.impress.template sti -application/vnd.stardivision.impress sdd sdp -application/vnd.sun.xml.draw sxd -application/vnd.sun.xml.draw.template std -application/vnd.stardivision.draw sda -application/vnd.sun.xml.math sxm -application/vnd.stardivision.math smf -application/vnd.sun.xml.writer sxw -application/vnd.sun.xml.writer.template stw -application/vnd.sun.xml.writer.global sxg -application/vnd.stardivision.writer sdw vor -application/vnd.stardivision.writer-global sgl -application/vnd.sun.xml.calc sxc -application/vnd.sun.xml.calc.template stc -application/vnd.stardivision.calc sdc -application/vnd.sun.xml.impress sxi -application/vnd.sun.xml.impress.template sti -application/vnd.stardivision.impress sdd sdp -application/vnd.sun.xml.draw sxd -application/vnd.sun.xml.draw.template std -application/vnd.stardivision.draw sda -application/vnd.sun.xml.math sxm -application/vnd.stardivision.math smf -application/vnd.sun.xml.writer sxw -application/vnd.sun.xml.writer.template stw -application/vnd.sun.xml.writer.global sxg -application/vnd.stardivision.writer sdw vor -application/vnd.stardivision.writer-global sgl -application/vnd.sun.xml.calc sxc -application/vnd.sun.xml.calc.template stc -application/vnd.stardivision.calc sdc -application/vnd.sun.xml.impress sxi -application/vnd.sun.xml.impress.template sti -application/vnd.stardivision.impress sdd sdp -application/vnd.sun.xml.draw sxd -application/vnd.sun.xml.draw.template std -application/vnd.stardivision.draw sda -application/vnd.sun.xml.math sxm -application/vnd.stardivision.math smf -application/vnd.sun.xml.writer sxw -application/vnd.sun.xml.writer.template stw -application/vnd.sun.xml.writer.global sxg -application/vnd.stardivision.writer sdw vor -application/vnd.stardivision.writer-global sgl -application/vnd.sun.xml.calc sxc -application/vnd.sun.xml.calc.template stc -application/vnd.stardivision.calc sdc -application/vnd.sun.xml.impress sxi -application/vnd.sun.xml.impress.template sti -application/vnd.stardivision.impress sdd sdp -application/vnd.sun.xml.draw sxd -application/vnd.sun.xml.draw.template std -application/vnd.stardivision.draw sda -application/vnd.sun.xml.math sxm -application/vnd.stardivision.math smf -type=audio/x-mpeg -type=audio/x-mp3 -type=audio/x-mpegurl -type=audio/x-scpls -type=audio/mpeg -type=audio/mp3 -type=audio/mpegurl -type=audio/scpls -type=application/vnd.rn-rn_music_package -type=application/x-zinf-theme -type=application/x-java-jnlp-file desc="Java Web Start" exts="jnlp" diff --git a/modules/mutt/mutt.dot.link/colors b/modules/mutt/mutt.dot.link/colors deleted file mode 100644 index 0472c38..0000000 --- a/modules/mutt/mutt.dot.link/colors +++ /dev/null @@ -1,90 +0,0 @@ -# -# colors configuration -# - -#color attachment brightmagenta black # guess :-) -#color error brightwhite red # errors yell at you in red -#color hdrdefault red black # headers -#color indicator brightyellow red # currently selected message, etc -#color markers brightcyan black # the + for wrapped pager lines -#color message brightcyan black # informational messages, *not mail* -#color normal white black # plain text -#color quoted green black # quoted text -#color search brightgreen black # hilite search patterns in the pager -#color signature red black # signature (after "-- ") is red -#color status brightyellow blue # status bar is yellow *on blue* -#color tilde blue black # ~'s after message body -#color tree red black # thread tree in index menu is magenta - -color normal brightwhite default -color indicator brightyellow red -color status white blue -color hdrdefault cyan default -color header brightyellow default ^Subject: -color header brightgreen default ^From: -color quoted cyan default -color quoted1 green default -color quoted2 cyan default -color quoted3 green default -color attachment yellow default -color signature magenta default -color tree red default -color tilde blue default -color markers red default -color error red default -# hiliting bold patterns in body -color bold red default -# hiliting underlined patterns in body -color underline green default - -# INDEX -############################################################################## - -# unread messages -color index brightyellow black ~U -# new messages -color index brightyellow black ~N -# message in reply to mines -#folder-hook . 'color index brightyellow black "~h @kiwi.shadow.net"' -#folder-hook (Inbox*|Outbox*) 'uncolor index brightyellow black "~h @kiwi.shadow.net"' -# my emails -folder-hook . 'color index yellow black ~P' -# don't highlight them in Outbox* -folder-hook (Outbox*|Draft|Outgoing) 'uncolor index ~P' -# mulherio emails -#color index green black "~f check@thisperson.org" -#color index green black "~f check@thisperson.org" -# the message contains a virus -color index blue black "~h X-Virus-Catched:" -# flagged messages -color index cyan black ~F -# tagged messages -color index blue cyan ~T -# the message is spam -color index brightwhite blue "~h X-Bogosity:\\ Yes" -color index brightwhite red "~h X-Bogosity:\\ Unsure ~U" -# deleted messages -color index brightblack black ~D -# deleted spam messages -color index brightblack blue "~h 'X-Bogosity:\\ Yes' ~D" -# mine deleted messages -color index brightblack black "~D ~P" - - -# BODY -############################################################################### - -# url -color body red black "((ftp|http|https)://|(file|news):|www\\.|ftp\\.)[-a-z0-9_.:]*[a-z0-9](/[^][{} \t\n\r\"<>()]*[^][{} \t\n\r\"<>().,:!])?/?" # url -# email address -color body red black "[-a-z_0-9.]+@[-a-z_0-9.]+" -# smiles -# color body yellow black "[#](:|;)[-^]?[][)(><}{|/DP]" -color body brightyellow black "[;:]-{0,1}[)/(PD|]" -# bold text using -color body yellow black ".+" - -# pgp headers -color body green black "-----END PGP .*-----" -color body green black "-----BEGIN PGP .*-----" - diff --git a/modules/mutt/mutt.dot.link/sidebar b/modules/mutt/mutt.dot.link/sidebar deleted file mode 100644 index 248b152..0000000 --- a/modules/mutt/mutt.dot.link/sidebar +++ /dev/null @@ -1,53 +0,0 @@ -# -# http://www.die-welt.net/2011/02/desktop-in-a-shell-mutt/ -# http://www.debian-administration.org/articles/523 -# http://www.lunar-linux.org/mutt-sidebar/ -# - -# set up the sidebar, default not visible -set sidebar_width=20 -set sidebar_visible=no -set sidebar_delim='|' -set sidebar_sort=yes - -# which mailboxes to list in the sidebar -mailboxes =inbox =ml - -# color of folders with new mail -color sidebar_new yellow default - -# ctrl-n, ctrl-p to select next, prev folder -# ctrl-o to open selected folder -#bind index CP sidebar-prev -#bind index CN sidebar-next -#bind index CO sidebar-open -#bind pager CP sidebar-prev -#bind pager CN sidebar-next -#bind pager CO sidebar-open -bind index \Cp sidebar-prev -bind index \Cn sidebar-next -bind index \Co sidebar-open -bind pager \Cp sidebar-prev -bind pager \Cn sidebar-next -bind pager \Co sidebar-open - -# I don’t need these. just for documentation purposes. See below. -# sidebar-scroll-up -# sidebar-scroll-down - -# b toggles sidebar visibility -#macro index b ‘toggle sidebar_visible’ -#macro pager b ‘toggle sidebar_visible’ -#macro index b 'toggle sidebar_visible' -#macro pager b 'toggle sidebar_visible' -macro index \Cb 'toggle sidebar_visible' -macro pager \Cb 'toggle sidebar_visible' - -# Remap bounce-message function to “B” -bind index B bounce-message - -# -# Mario Holbe suggests: -# macro index b ‘toggle sidebar_visible’ -# macro pager b ‘toggle sidebar_visible’ -# diff --git a/modules/mutt/muttrc.dot.link b/modules/mutt/muttrc.dot.link deleted file mode 100644 index eebef6e..0000000 --- a/modules/mutt/muttrc.dot.link +++ /dev/null @@ -1,451 +0,0 @@ -# -# file : muttrc -# __, by : rhatto at riseup.net -# \\,_O -# /~ -# - -#--------------------- -# Custom configuration -#--------------------- -source "~/.custom/muttrc" - -# ----------- -# Color setup -# ----------- -source "~/.mutt/colors" - -# -------------------- -# General mutt options -# -------------------- -# reset all -set tmpdir = "~/temp/mutt/misc" -set reply_to = ask-yes -set reverse_name = yes -set reverse_realname = yes -set gecos_mask = "^[^,]*" -set hidden_host = no -set hostname = "localhost" -#set wait_key = yes -#set weed = yes -#set status_on_top = no -#set suspend = yes -#set timeout = 600 -set beep = no -set user_agent = no -#set delete_untag = yes -#set prompt_after = yes -set quit = yes -set read_inc = 10 -set mail_check = 120 -set menu_scroll = no -#set meta_key = no -set help = yes -#set history = 10 -#set read_only = no -#set date_format = "!%a, %b %d, %Y at %I:%M:%S%p %Z" -set delete = yes -#set dotlock_program = "/usr/local/bin/mutt_dotlock" -#set beep_new = no -#set charset = "iso-8859-1" -set charset = "utf-8" -#set check_new = yes - -# ---------------------- -# OS Specifiques options -# ---------------------- -set print = ask-no -#set print_command = "lpr" -#set print_decode = yes -#set ispell = "ispell" -set ispell="aspell -e -c --lang=pt_BR" -#set locale = "C" -#set shell = "" -set spoolfile = "~/mail/INBOX" - -# ---------- -# Menu index -# ---------- -#set wrap_search = yes -set thorough_search=yes -#set sort_re = yes -#set status_chars = "-*%A" -set status_format = "-%r-Mutt: %f [Msgs:%?M?%M/?%m%?n? Novas:%n?%?o? Velhas:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---" -set strict_threads = yes -#set thorough_search = no -#set to_chars = " +TCF" -#set simple_search = "~f %s | ~s %s" -set sort = threads -set sort_aux = date-received -#set sort_aux = date-sent -#set resolve = yes -#set index_format = "%4C %Z %{%b %d} %-15.15L (%4l) %s" -#set mark_old = yes -#set allow_8bit = yes -#set arrow_cursor = no -#set ascii_chars = no -#set auto_tag = no -#set collapse_unread = yes -#set uncollapse_jump = no - -# -------------- -# Internal Pager -# -------------- -set visual = "" -set sig_dashes = yes -set smart_wrap = yes -set smileys = "(>From )|(:[-^]?[][)(><}{|/DP])" -set quote_regexp = "^([ \t]*[|>:}#])+" -set pager = "builtin" -set pager_context = 0 -set pager_format = "-%Z- %C/%m: %-20.20n %s" -set pager_index_lines = 0 -set pager_stop = no -set pager_index_lines=8 -set markers = no -set escape = "~" -set tilde = no - -# --------- -# Composing -# --------- -set editor = "vim -X" -#set use_domain = yes -#set postpone = ask-yes -set postponed = "~/temp/mutt/postponed" -#set query_command = "" -#set recall = ask-yes -#set fast_reply = no -#set abort_nosubject = ask-yes -#set abort_unmodified = yes -#set askbcc = yes -#set askcc = yes - -# -------- -# Replying -# -------- -set attribution = "Em %d, %n escreveu:" -#set post_indent_string = "" -#set reply_regexp = "^(re([\\[0-9\\]+])*|aw):[ \t]*" -#set reply_self = no -#set indent_string = "> " -#set in_reply_to = "%i; from %a on %{!%a, %b %d, %Y at %I:%M:%S%p %Z}" -#set honor_followup_to = yes -#set ignore_list_reply_to = no -#set include = ask-yes -#set bounce_delivered = yes - -# ---------- -# Forwarding -# ---------- -#set forward_decrypt = yes -#set forward_decode = yes -#set forward_quote = no -#set forward_format = "[%a: %s]" -set forward_format = "Fwd: %s" - -# ------------------ -# Folder and Mailbox -# ------------------ -set folder = "~/mail" -set record="mail/INBOX.Sent" -set move = no -#set write_inc = 10 -#set sort_browser = alpha -#set pipe_split = no -#set pipe_decode = no -#set pipe_sep = "\n" -#set mask = "!^\\.[^.]" -#set mbox = "~/mbox" -#set mbox_type = mbox -#set mh_purge = no -#set confirmappend = yes -#set confirmcreate = yes -#set copy = yes -#set default_hook = "~f %s !~P | (~P ~C %s)" -#set fcc_attach = yes -#set fcc_clear = no -#set folder_format = "%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %f" -#set force_name = no -#set mbox_pane_width="20" -#set mbox_pane_show="no" -#macro index \cA set mbox_pane_show="yes" -#macro pager \cA set mbox_pane_show="yes" -#macro index \cA set mbox_pane_show="no" -#macro pager \cA set mbox_pane_show="no" -#bind index next-mbox -#bind pager next-mbox -#bind index previous-mbox -#bind pager previous-mbox -#bind index X open-mbox -#bind pager X open-mbox - -# ------- -# Headers -# ------- -#set hdrs = yes -#set header = no -#set edit_headers = no -#set autoedit = no - -# ------- -# Sending -# ------- -set use_from = yes -set save_address = yes -set envelope_from = yes -#set write_bcc = yes -#set save_empty = yes -#set save_name = no -#set send_charset = "" -#set mix_entry_format = "%4n %c %-16s %a" -#set metoo = no -#set encode_from = no -#use_envelope_from=yes -#set followup_to = yes - -# ----- -# Alias -# ----- -set alias_file = "~/.custom/mutt/aliases" -source "~/.custom/mutt/aliases" -#set sort_alias = alias -#set reverse_alias = no -#set alias_format = "%4n %t %-10a %r" - -# ------------------ -# Attached documents -# ------------------ -set attach_format = "%u%D%I %t%4n %T%.40d%> [%.7m/%.10M, %.6e%?C?, %C?, %s] " -set attach_sep = "\n" -set attach_split = yes - -# ---- -# MIME -# ---- -set rfc2047_parameters = no -set mime_forward_rest = yes -set message_format = "%s" -set mailcap_path = ".mailcap" -set mailcap_sanitize = yes -set mime_forward = no -set mime_forward_decode = no -set implicit_autoview = no - -# ---- -# IMAP -# ---- -#set imap_checkinterval = 60 -#set imap_list_subscribed = no -#set imap_user = user -#set imap_cramkey = "" -#set imap_pass = nada -#set imap_passive = yes -#set imap_servernoise = yes -#set imap_home_namespace = "" -#set imap_preconnect = "" -#account-hook . 'unset imap_user; unset imap_pass; unset tunnel' -#account-hook imap://mail.example.og/ 'set imap_user=user imap_pass=lalala' - -# --- -# SSL -# --- -#set entropy_file = "" -#set ssl_usesystemcerts = yes -#set ssl_use_sslv3 = yes -#set ssl_use_tlsv1 = yes -#set imap_force_ssl = no - -# ------- -# Scoring -# ------- -#set score = yes -#set score_threshold_delete = -1 -#set score_threshold_flag = 9999 -#set score_threshold_read = -1 - -# -------- -# Sendmail -# -------- -set use_8bitmime = no -set sendmail = "/usr/bin/msmtp" -#set sendmail = "/usr/sbin/sendmail -oem -oi" -#set sendmail_wait = 2 -#set dsn_notify = "" -#set dsn_return = "" - -# --- -# GPG -# --- -macro index S ":toggle pgp_verify_sig\n" # define S to toggle sig check -macro index A ":toggle pgp_autosign\n" # define A to toggle autosign -set pgp_verify_sig=yes -set pgp_autosign - -# -------------- -# GnuPG commands -# -------------- -set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f" -set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f" -set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f" -set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --digest-algo sha256 --detach-sign --textmode %?a?-u %a? %f" -set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --digest-algo sha256 --textmode --clearsign %?a?-u %a? %f"set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap gpg -v --batch --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f" -set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap gpg --passphrase-fd 0 -v --batch --output - --digest-algo sha256 --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" -set pgp_import_command="gpg --no-verbose --import -v %f" -set pgp_export_command="gpg --no-verbose --export --armor %r" -set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r" -set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r" -set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r" -set pgp_getkeys_command="" -set pgp_good_sign="^gpg: Assinatura correta de" - -# --------------------------- -# Patch: pgp-menu-traditional -# --------------------------- -# * introduce pgp_replyinline boolean (default no) -# When set, this option will (attempt) to reply to -# inline (traditional) messages as inline (traditional). -# * introduce pgp_autoinline boolean (default no) -# When set, this option will (attempt) to send messages as inline (traditional). -# * change pgp_create_traditional to a synonym for pgp_autoinline -# Warning: this changes pgp_create_traditional from a quad variable to a boolean. -# * introduce pgp_mime_ask quad option (default no) - -# -------------------------- -# Patch: multiple-crypt-hook -# -------------------------- -# Allows multiple key-ids for the same pattern With this patch, you can have -# multiple crypt-hook instances with the same pattern (recipient). This allows -# one to specify multiple key-ids for a particular pattern (recipient). - -# ------------------------- -# Patch: confirm-crypt-hook -# ------------------------- -# This patch adds the variable crypt_confirmhook (default yes), -# to allow you to skip the "Use keyID" prompt, which is frustrating -# for so many people. Typical (for me) use of crypt-hook implies -# selection of a known key (assuming no typos), so crypt_confirmhook -# can be unset if you know your crypt-hooks are valid; you won't be -# prompted for confirmation anymore. You should verify all your -# crypt-hooks are correct before unsetting this variable. -# -# set crypt_confirmhook = no -# pgp-hook mailing@lists.org listname -# pgp-hook mailing@lists.org KEYID_1 -# pgp-hook mailing@lists.org KEYID_2 -# - -# --------- -# Mailboxes -# --------- -mailboxes `echo $HOME/mail/*` -mailboxes `echo $HOME/mail/Sync/*/*` - -# -------------- -# Mail reception -# -------------- -#macro pager f "!clear;offlineimap;fetchmail;philter.sh\n" "Sync remote with local mail" -#macro index f "!clear;offlineimap;fetchmail;philter.sh\n" "Sync remote with local mail" -#macro pager f "!clear;fetchmail -v;philter.sh\n" "Sync remote with local mail" -#macro index f "!clear;fetchmail -v;philter.sh\n" "Sync remote with local mail" -#macro pager f "!clear;fetchmail;philter.sh\n" "Sync remote with local mail" -#macro index f "!clear;fetchmail;philter.sh\n" "Sync remote with local mail" -#macro pager f "!clear;fetchmail\n" "Fecth new mail" -#macro index f "!clear;fetchmail\n" "Fetch new mail" -macro pager G "unset wait_key\n!clear ; fetchmail || [ $? -eq 1 ]\n=INBOX/\n" "Fetch new mail" -macro index G "unset wait_key\n!clear ; fetchmail || [ $? -eq 1 ]\n=INBOX/\n" "Fetch new mail" -#macro index $ "=INBOX/\n" "Sync mailbox and refresh list of new messages" -macro index n "" -macro pager n "" - -# ------------- -# Ignore fields -# ------------- -ignore X -ignore Delivered-To -ignore Precedence -ignore List -ignore Errors-To -ignore In-Reply-To -ignore Importance -ignore Mail-Followup-To -ignore Organization -ignore Thread -ignore ReSent -ignore Disposition -ignore Return -ignore RT -ignore Priority -ignore DomainKey-Signature -ignore Message -ignore MIME -ignore Received -ignore References -ignore Content -ignore DKIM-Signature -unignore X-Mailer -unignore User-Agent -unignore List-Archive - -# --------- -# Auto view -# --------- -auto_view text/html -auto_view application/msword -auto_view text/richtext -auto_view image/* -macro pager \cb 'urlview' 'Follow links with urlview' - -# ------ -# Mairix -# ------ -#macro index \es "mairix " "Run a Mairix search" -#macro index \em "=INBOX.Search/\n" "Switch to Mairix virtual folder" - -# ---------------------------------------------------------------------------------------- -# Notmuch -# For info look at http://upsilon.cc/~zack/blog/posts/2011/01/how_to_use_Notmuch_with_Mutt -# ---------------------------------------------------------------------------------------- -macro browser "unset wait_keymutt-notmuch --prompt search\ - ../.cache/mutt_results" "search mail (using notmuch)" - -macro index "~/apps/scripts/mutt-notmuch-tag" "Tag messages (using notmuch)" - -# ---------- -# Bogofilter -# ---------- -macro index s "unset wait_key\nbogofilter -MSn\nset wait_key\n" -macro pager s "unset wait_key\nbogofilter -MSn\nset wait_key\n" -macro index r "unset wait_key\nbogofilter -Mn\nset wait_key\n" -macro pager r "unset wait_key\nbogofilter -Mn\nset wait_key\n" -macro index g "unset wait_key\nbogofilter -Mn\nset wait_key\n" -macro pager g "unset wait_key\nbogofilter -Mn\nset wait_key\n" -macro index l "unset wait_key\nbogofilter -Mn\nset wait_key\n" -macro pager l "unset wait_key\nbogofilter -Mn\nset wait_key\n" -macro index X "unset wait_key\nbogofilter -MNs\nset wait_key\n" -macro pager X "unset wait_key\nbogofilter -MNs\nset wait_key\n" -macro index H "unset wait_key\nbogofilter -n\n" "Learn as ham and save" -macro pager H "unset wait_key\nbogofilter -n\n" "Learn as ham and save" - -# Schleuder config -# see http://schleuder2.nadir.org/contrib/schleuder-with-mutt.html -color body red default "^From: .*" -color body red default "^To: .*" -color body red default "^Cc: .*" -color body red default "^Date: .*" -color body brightred default "^Enc: unenc.*" -color body red default "^Enc: enc.*" -color body brightred default "^Sig: [^G]?.*" -color body red default "^Sig: Good signature.*" -color body red default "^Resent-to: .*" -color body brightred default "^Note: .*" - -# Macro for jumping to the next important message -macro index,pager \' "~F" "Jump to next important message" - -# Sidebar -source "~/.mutt/sidebar" - -# http://wiki.mutt.org/?MuttFaq/Attachment -macro attach W ~/load/ -macro attach E ~/load/ diff --git a/modules/mutt/procmailrc.dot.link b/modules/mutt/procmailrc.dot.link deleted file mode 100644 index 95129a9..0000000 --- a/modules/mutt/procmailrc.dot.link +++ /dev/null @@ -1,65 +0,0 @@ -# -# Procmail rules -# - -MAILDIR=$HOME/mail -LOGFILE=$HOME/temp/misc/procmaillog -LOGABSTRACT=no -VERBOSE=off -FORMAIL=/usr/bin/formail -NL=" -" -##recipe lines begin with :0 -##dont put comments on recipe lines -##disable a recipe with the false condition ! -##condition lines begin with * and regex is your friend -##conditions are anded and everything after * is fed straight into egrep -##one action line follows the conditions, in this case it is a mailbox name - -# -# SPAM handling -# - -# Send mail through bogofilter -# See http://www.exstrom.com/journal/comp/bogofilter.html -# http://www.linuxjournal.com/article/6439 -# http://bogofilter.sourceforge.net/faq.shtml -:0fw -| /usr/bin/bogofilter -uep - -# Custom recipes -INCLUDERC=$HOME/.custom/procmailrc - -# Put mail bogofilter deems as spam in spam folder -:0: -* ^X-Bogosity: Spam, tests=bogofilter -INBOX.Trash/new - -# Put mail bogofilter deems as unsure in spam folder -#:0: -#* ^X-Bogosity: Unsure, tests=bogofilter -#INBOX.Trash/new - -:0: -*^X-Spam-Level: ****** -INBOX.Trash/new - -:0: -* ^X-Spam-Flag: YES -INBOX.Trash/new - -:0: -*^Subject:.*(SPAM) -INBOX.Trash/new - -:0: -*^X-Bogosity:.*Yes -INBOX.Trash/new - -################################ -# Last rule: mail that gets # -# this far goes in default box # -################################ -:0 -* .* -INBOX/new diff --git a/modules/mutt/urlview.dot.link b/modules/mutt/urlview.dot.link deleted file mode 100644 index ee88893..0000000 --- a/modules/mutt/urlview.dot.link +++ /dev/null @@ -1,10 +0,0 @@ -# -# Sample urlview(1) configuration file -# - -# regular expression to use to match URLs -REGEXP ((((ht|f)tp)|mailto):(//)?[^ >"\t]*|(www|ftp)\.[-a-z0-9.]+|[-a-z0-9_\.]+@[-a-z0-9.]+)[^ .,;\t>">)] - -# Use url_handler. -COMMAND lynx %s - diff --git a/modules/newsbeuter/config.dot/newsbeuter/config.link b/modules/newsbeuter/config.dot/newsbeuter/config.link deleted file mode 100644 index 0e36631..0000000 --- a/modules/newsbeuter/config.dot/newsbeuter/config.link +++ /dev/null @@ -1,3 +0,0 @@ -download-timeout 10 -max-items 100 -auto-reload yes diff --git a/modules/pentadactyl/pentadactyl.dot/plugins.link/links.js b/modules/pentadactyl/pentadactyl.dot/plugins.link/links.js deleted file mode 100644 index 21434ef..0000000 --- a/modules/pentadactyl/pentadactyl.dot/plugins.link/links.js +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Links plugin. - */ - -"use strict"; - -XML.ignoreWhitespace = false; -XML.prettyPrinting = false; - -/* use strict */ -var INFO = -["plugin", { name: "links", - version: "0.1", - href: "http://dactyl.sf.net/pentadactyl/plugins#links-plugin", - summary: "Scuttle published", - xmlns: "dactyl" }, -["author", { email: "rhatto@riseup.net" }, "Silvio Rhatto"], -["license", { href: "http://opensource.org/licenses/mit-license.php" }, "MIT"], -["project", { name: "Pentadactyl", "min-version": "1.0" }], - ["p", {}, - "This plugin provides a shortcut command to publish a link to a Scuttle site."], - ["item", {}, - ["tags", {}, ":link"], - ["strut"], - ["spec", {}, ":link"], - ["description", {}, - ["p", {}, - "Add the current page into the Scuttle site." - ]]]]; - -group.commands.add(["link"], - "Add link to scuttle", - function (args) { - var instance = 'https://links.sarava.org/bookmarks?action=add&address='; - var doc = content.document; - var href = encodeURIComponent(doc.location.href); - var title = encodeURIComponent(doc.title); - var desc = encodeURIComponent(doc.getSelection()); - var tags = encodeURIComponent(args.toString().replace(/,,/g, ';').replace(/,/g, ' ').replace(/;/g, ', ')); - commands.execute('tabopen ' + instance + href + '&title=' + title + '&description=' + desc + '&tags=' + tags); - }, - { argCount: "*" }, true); diff --git a/modules/pentadactyl/pentadactyl.dot/plugins.link/noscript.js b/modules/pentadactyl/pentadactyl.dot/plugins.link/noscript.js deleted file mode 100644 index 87d50c9..0000000 --- a/modules/pentadactyl/pentadactyl.dot/plugins.link/noscript.js +++ /dev/null @@ -1,460 +0,0 @@ -/* - * Copyright ©2010 Kris Maglione - * Distributable under the terms of the MIT license. - * - * Documentation is at the tail of this file. - */ -"use strict"; - -dactyl.assert("noscriptOverlay" in window, - "This plugin requires the NoScript add-on."); - -/* - * this.globalJS ? !this.alwaysBlockUntrustedContent || !this.untrustedSites.matches(s) - * : this.jsPolicySites.matches(s) && !this.untrustedSites.matches(s) && !this.isForbiddenByHttpsStatus(s)); - */ - -function getSites() { - // This logic comes directly from NoScript. To my mind, it's insane. - const ns = services.noscript; - const global = options["script"]; - const groups = { allowed: ns.jsPolicySites, temp: ns.tempSites, untrusted: ns.untrustedSites }; - const show = Set(options["noscript-list"]); - const sites = window.noscriptOverlay.getSites(); - - const blockUntrusted = global && ns.alwaysBlockUntrustedContent; - - let res = []; - for (let site in array.iterValues(Array.concat(sites.topSite, sites))) { - let ary = []; - - let untrusted = groups.untrusted.matches(site); - let matchingSite = null; - if (!untrusted) - matchingSite = groups.allowed.matches(site) || blockUntrusted && site; - - let enabled = Boolean(matchingSite); - if (site == sites.topSite && !ns.dom.getDocShellForWindow(content).allowJavascript) - enabled = false; - - let hasPort = /:\d+$/.test(site); - - if (enabled && !global || untrusted) { - if (!enabled || global) - matchingSite = untrusted; - - if (hasPort && ns.ignorePorts) - if (site = groups.allowed.matches(site.replace(/:\d+$/, ""))) - matchingSite = site; - ary.push(matchingSite); - } - else { - if ((!hasPort || ns.ignorePorts) && (show.full || show.base)) { - let domain = !ns.isForbiddenByHttpsStatus(site) && ns.getDomain(site); - if (domain && ns.isJSEnabled(domain) == enabled) { - ary = util.subdomains(domain); - if (!show.base && ary.length > 1) - ary = ary.slice(1); - if (!show.full) - ary = ary.slice(0, 1); - } - } - - if (show.address || ary.length == 0) { - ary.push(site); - - if (hasPort && ns.ignorePorts) { - site = site.replace(/:\d+$/, ""); - if (!groups.allowed.matches(site)) - ary.push(site); - } - } - } - res = res.concat(ary); - } - - let seen = {}; - return res.filter(function (h) !Set.add(seen, h)); -} -function getObjects() { - let sites = noscriptOverlay.getSites(); - let general = [], specific = []; - for (let group in values(sites.pluginExtras)) - for (let obj in array.iterValues(group)) { - if (!obj.placeholder && (ns.isAllowedObject(obj.url, obj.mime) || obj.tag)) - continue; - specific.push(obj.mime + "@" + obj.url); - general.push("*@" + obj.url); - general.push("*@" + obj.site); - } - let sites = buffer.allFrames().map(function (f) f.location.host); - for (let filter in values(options["noscript-objects"])) { - let host = util.getHost(util.split(filter, /@/, 2)[1]); - if (sites.some(function (s) s == host)) - specific.push(filter); - } - let seen = {}; - return specific.concat(general).filter(function (site) !Set.add(seen, site)); -} - -var onUnload = overlay.overlayObject(gBrowser, { - // Extend NoScript's bookmarklet handling hack to the command-line - // Modified from NoScript's own wrapper. - loadURIWithFlags: function loadURIWithFlags(url) { - let args = arguments; - function load() loadURIWithFlags.superapply(gBrowser, args); - - if (!commandline.command || !util.isDactyl(Components.stack.caller)) - return load(); - - try { - for (let [cmd, args] in commands.parseCommands(commandline.command)) - var origURL = args.literalArg; - - let isJS = function isJS(url) /^(?:data|javascript):/i.test(url); - let allowJS = prefs.get("noscript.allowURLBarJS", true); - - if (isJS(origURL) && allowJS) { - if (services.noscript.executeJSURL(origURL, load)) - return; - } - else if (url != origURL && isJS(url)) { - if(services.noscript.handleBookmark(url, load)) - return; - } - } - catch (e) { - util.reportError(e); - } - return load(); - } -}); - -highlight.loadCSS(literal(/* - NoScriptAllowed color: green; - NoScriptBlocked color: #444; font-style: italic; - NoScriptTemp color: blue; - NoScriptUntrusted color: #c00; font-style: italic; -*/)); - -let groupProto = {}; -["temp", "jsPolicy", "untrusted"].forEach(function (group) - memoize(groupProto, group, function () services.noscript[group + "Sites"].matches(this.site))); -let groupDesc = { - NoScriptTemp: "Temporarily allowed", - NoScriptAllowed: "Allowed permanently", - NoScriptUntrusted: "Untrusted", - NoScriptBlocked: "Blocked" -}; - -function splitContext(context, list) { - for (let [name, title, filter] in values(list)) { - let ctxt = context.split(name); - ctxt.title = [title]; - ctxt.filters.push(filter); - } -} - -completion.noscriptObjects = function (context) { - let whitelist = options.get("noscript-objects").set; - context = context.fork(); - context.compare = CompletionContext.Sort.unsorted; - context.generate = getObjects; - context.keys = { - text: util.identity, - description: function (key) Set.has(whitelist, key) ? "Allowed" : "Forbidden" - }; - splitContext(context, getObjects, [ - ["forbidden", "Forbidden objects", function (item) !Set.has(whitelist, item.item)], - ["allowed", "Allowed objects", function (item) Set.has(whitelist, item.item)]]); -}; -completion.noscriptSites = function (context) { - context.compare = CompletionContext.Sort.unsorted; - context.generate = getSites; - context.keys = { - text: util.identity, - description: function (site) groupDesc[this.highlight] + - (this.groups.untrusted && this.highlight != "NoScriptUntrusted" ? " (untrusted)" : ""), - - highlight: function (site) this.groups.temp ? "NoScriptTemp" : - this.groups.jsPolicy ? "NoScriptAllowed" : - this.groups.untrusted ? "NoScriptUntrusted" : - "NoScriptBlocked", - groups: function (site) ({ site: site, __proto__: groupProto }) - }; - splitContext(context, [ - ["normal", "Active sites", function (item) item.groups.jsPolicy || !item.groups.untrusted], - ["untrusted", "Untrusted sites", function (item) !item.groups.jsPolicy && item.groups.untrusted]]); - context.maxItems = 100; -} - -services.add("noscript", "@maone.net/noscript-service;1"); - -var PrefBase = "noscript."; -var Pref = Struct("text", "pref", "description"); -let prefs = { - forbid: [ - ["bookmarklet", "forbidBookmarklets", "Forbid bookmarklets"], - ["collapse", "collapseObject", "Collapse forbidden objects"], - ["flash", "forbidFlash", "Block Adobe® Flash® animations"], - ["fonts", "forbidFonts", "Forbid remote font loading"], - ["frame", "forbidFrames", "Block foreign elements"], - ["iframe", "forbidIFrames", "Block foreign