forked from calculate/calculate-overlay
parent
f31625df40
commit
88d90f28f5
@ -0,0 +1 @@
|
||||
# Calculate append=skip merge(net-irc/hexchat)!=
|
@ -0,0 +1 @@
|
||||
# Calculate append=skip pkg(net-irc/hexchat)!=&&ini(desktop.chat)==||pkg(net-irc/hexchat)!=&&ini(desktop.chat)==hexchat
|
@ -0,0 +1,5 @@
|
||||
# Calculate format=compiz protected
|
||||
|
||||
# Update info
|
||||
#-ini(desktop.updating, on)-#
|
||||
#-ini(desktop.chat, hexchat)-#
|
@ -0,0 +1,5 @@
|
||||
# Calculate format=samba path=/etc/calculate name=ini.env ac_install_unmerge==on&&pkg(net-irc/hexchat)==&&ini(desktop.chat)==hexchat
|
||||
|
||||
[desktop]
|
||||
!chat=
|
||||
chat-removing=on
|
@ -1,4 +1,4 @@
|
||||
# Calculate format=compiz protected ini(desktop.chat-removing)==on merge=net-irc/konversation,net-irc/xchat
|
||||
# Calculate format=compiz protected ini(desktop.chat-removing)==on merge=net-irc/konversation,net-irc/xchat,net-irc/hexchat
|
||||
|
||||
#-ini(desktop.chat-removing,)-#
|
||||
|
||||
|
@ -0,0 +1,2 @@
|
||||
# Calculate append=skip merge()!=&&pkg()!=
|
||||
|
@ -0,0 +1,12 @@
|
||||
# Calculate format=kde path=/usr/share/applications name=calculate-chat.desktop ini(desktop.chat)==hexchat
|
||||
|
||||
[Desktop Entry]
|
||||
#?os_locale_language==fr#
|
||||
Exec=hexchat "--url=irc://irc.freenode.net:6667/#calculate-fr"
|
||||
#os_locale_language#
|
||||
#?os_locale_language==ru#
|
||||
Exec=hexchat "--url=irc://irc.freenode.net:6667/#calculate-ru"
|
||||
#os_locale_language#
|
||||
#?in(os_locale_language,ru,fr)==#
|
||||
Exec=hexchat "--url=irc://irc.freenode.net:6667/#calculate"
|
||||
#in#
|
@ -1,3 +0,0 @@
|
||||
# Calculate format=patch ini(ver.urxvt)!=
|
||||
<reg>:Droid Sans Mono:</reg>
|
||||
<text>:Droid Sans Mono Slashed:</text>
|
@ -1 +0,0 @@
|
||||
# Calculate append=skip merge(sys-apps/calculate-utilities)!=&&ini(update.patch)!=off&&ini(ver.patch)<3.0.1.1
|
@ -1,3 +0,0 @@
|
||||
# Calculate ini(ver.claws-mail)!= path=~/.claws-mail format=patch
|
||||
<reg>message_font_gtk2=Droid Sans Mono 10</reg>
|
||||
<text>message_font_gtk2=Droid Sans Mono Slashed 10</text>
|
@ -1,7 +0,0 @@
|
||||
# Calculate format=samba path=~/.calculate
|
||||
|
||||
[ver]
|
||||
patch = 3.0.1.1
|
||||
|
||||
[update]
|
||||
patch = on
|
@ -1,6 +0,0 @@
|
||||
# Calculate format=kde ini(ver.kde)!= path=~/.kde4/share/config
|
||||
[General]
|
||||
#?pkg(media-fonts/droid)!=#
|
||||
fixed=Droid Sans Mono Slashed,10,-1,5,50,0,0,0,0,0
|
||||
#pkg#
|
||||
|
@ -1,4 +0,0 @@
|
||||
# Calculate ini(ver.leafpad)!= path=~/.config/leafpad format=patch
|
||||
<reg>Droid Sans Mono 10</reg>
|
||||
<text>Droid Sans Mono Slashed 10</text>
|
||||
|
@ -1,4 +0,0 @@
|
||||
# Calculate ini(ver.pidgin)!= path=~/.purple format=patch
|
||||
<reg><pref name='placement' type='string' value='last'/></reg>
|
||||
<text><pref name='placement' type='string' value='new'/></text>
|
||||
|
@ -1,4 +0,0 @@
|
||||
# Calculate ini(ver.xfce)!= format=kde path=~/.config/Terminal
|
||||
[Configuration]
|
||||
FontName=Droid Sans Mono Slashed 10
|
||||
|
@ -1,2 +0,0 @@
|
||||
# Calculate format=procmail ini(ver.xchat)!= path=~/.xchat2
|
||||
text_font = Droid Sans Mono Slashed 10
|
@ -1 +0,0 @@
|
||||
# Calculate append=skip merge(sys-apps/calculate-utilities)!=&&ini(update.patch)!=off&&ini(ver.patch)<3.0.1
|
@ -1,9 +0,0 @@
|
||||
# Calculate format=patch pkg(mail-client/claws-mail)!=&&exists(/etc/mime.types)!= link=/etc/mime.types force mirror comment=#
|
||||
<reg>(\n|\A)#.*</reg>
|
||||
<text></text>
|
||||
<reg>(\n|\A)\s*(?=\n)</reg>
|
||||
<text></text>
|
||||
<reg>\A\s*\n</reg>
|
||||
<text></text>
|
||||
<reg>((?:\n|\A)\S+).*</reg>
|
||||
<text>\1; xdg-open '%s'</text>
|
@ -1,13 +0,0 @@
|
||||
# Calculate format=patch path=~/.claws-mail pkg(sys-apps/calculate-desktop)>=2.2.29-r2
|
||||
<reg>uri_open_command=.*</reg>
|
||||
<text>uri_open_command=xdg-open '%s'</text>
|
||||
<reg>ext_editor_command=.*</reg>
|
||||
<text>ext_editor_command=xdg-open '%s'</text>
|
||||
<reg>mime_textviewer=.*</reg>
|
||||
<text>mime_textviewer=xdg-open '%s'</text>
|
||||
<reg>hide_when_iconified=.*</reg>
|
||||
<text>hide_when_iconified=0</text>
|
||||
#?pkg(x11-themes/claws-mail-theme-calculate)!=#
|
||||
<reg>pixmap_theme_path=.*</reg>
|
||||
<text>pixmap_theme_path=/usr/share/claws-mail/themes/Calculate</text>
|
||||
#pkg#
|
@ -1,7 +0,0 @@
|
||||
# Calculate format=samba path=~/.calculate
|
||||
|
||||
[ver]
|
||||
patch = 3.0.1
|
||||
|
||||
[update]
|
||||
patch = on
|
@ -1,12 +0,0 @@
|
||||
# Calculate format=xml_xfce path=~/.config/xfce4/xfconf/xfce-perchannel-xml
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="xfce4-panel" version="1.0">
|
||||
<property name="plugins" type="empty">
|
||||
<property name="clipman" type="empty">
|
||||
<property name="settings" type="empty">
|
||||
<property name="add-primary-clipboard" type="bool" value="false"/>
|
||||
</property>
|
||||
</property>
|
||||
</property>
|
||||
</channel>
|
@ -1,8 +0,0 @@
|
||||
# Calculate format=xml_xfce path=~/.config/xfce4/xfconf/xfce-perchannel-xml
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="xfwm4" version="1.0">
|
||||
<property name="general" type="empty">
|
||||
<property name="mousewheel_rollup" type="bool" value="false"/>
|
||||
</property>
|
||||
</channel>
|
@ -1 +0,0 @@
|
||||
# Calculate append=skip merge(sys-apps/calculate-utilities)!=&&ini(update.patch)!=off&&ini(ver.patch)<3.0.2
|
@ -1,4 +0,0 @@
|
||||
# Calculate ini(ver.claws-mail)!= path=~/.claws-mail format=patch
|
||||
<reg>\[Plugins_GTK2\]</reg>
|
||||
<text>[Plugins_GTK2]
|
||||
/usr/lib/claws-mail/plugins/address_keeper.so</text>
|
@ -1,4 +0,0 @@
|
||||
# Calculate ini(ver.claws-mail)!= path=~/.claws-mail append=after name=clawsrc
|
||||
[AddressKeeper]
|
||||
addressbook_folder=addrbook-000001.xml
|
||||
|
@ -1,5 +0,0 @@
|
||||
# Calculate ini(ver.audacious)!=&&os_locale_lang==ru_RU path=~/.config/audacious format=samba
|
||||
|
||||
[audacious]
|
||||
chardet_detector=russian
|
||||
|
@ -1,7 +0,0 @@
|
||||
# Calculate format=samba path=~/.calculate
|
||||
|
||||
[ver]
|
||||
patch = 3.0.2
|
||||
|
||||
[update]
|
||||
patch = on
|
@ -1,7 +0,0 @@
|
||||
# Calculate ini(ver.xfce)!= path=~/.config/xfce4/xfconf/xfce-perchannel-xml format=xml_xfce
|
||||
<channel name="xfce4-desktop" version="1.0">
|
||||
<property name="desktop-menu" type="empty">
|
||||
<property name="show" type="bool" value="false"/>
|
||||
<property name="show-icons" type="bool" value="false"/>
|
||||
</property>
|
||||
</channel>
|
@ -1,10 +0,0 @@
|
||||
# Calculate ini(ver.xfce)!= path=~/.config/xfce4/xfconf/xfce-perchannel-xml format=xml_xfce
|
||||
<channel name="xfce4-panel" version="1.0">
|
||||
<property name="plugins" type="empty">
|
||||
<property name="clipman" type="empty">
|
||||
<property name="settings" type="empty">
|
||||
<property name="history-ignore-primary-clipboard" type="bool" value="false"/>
|
||||
</property>
|
||||
</property>
|
||||
</property>
|
||||
</channel>
|
@ -1 +0,0 @@
|
||||
# Calculate append=skip merge(sys-apps/calculate-utilities)!=&&ini(update.patch)!=off&&ini(ver.patch)<3.0.3||merge(xfce-extra/xfce4-mixer)!=&&ini(update.patch)!=off&&ini(ver.patch)<3.0.3
|
@ -1,7 +0,0 @@
|
||||
# Calculate format=samba path=~/.calculate
|
||||
|
||||
[ver]
|
||||
patch = 3.0.3
|
||||
|
||||
[update]
|
||||
patch = on
|
@ -1,6 +0,0 @@
|
||||
# Calculate ini(ver.xfce)!= path=~/.config/xfce4/xfconf/xfce-perchannel-xml format=patch
|
||||
<reg><property name="plugin-11" type="string" value="xfce4-mixer-plugin"/></reg>
|
||||
<text><property name="plugin-11" type="string" value="mixer">
|
||||
<property name="sound-card" type="string" value="#-cl_desktop_gst_card-#"/>
|
||||
<property name="track" type="string" value="#-cl_desktop_gst_masterchannel-#"/>
|
||||
</property></text>
|
@ -1 +0,0 @@
|
||||
# Calculate append=skip merge(sys-apps/calculate-utilities)!=&&ini(update.patch)!=off&&ini(ver.patch)<3.0.5
|
@ -1,7 +0,0 @@
|
||||
# Calculate format=samba path=~/.calculate
|
||||
|
||||
[ver]
|
||||
patch = 3.0.5
|
||||
|
||||
[update]
|
||||
patch = on
|
@ -1,23 +0,0 @@
|
||||
# Calculate ini(ver.xfce)!= path=~/.config/xfce4/xfconf/xfce-perchannel-xml format=xml_xfce
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="xfce4-panel" version="1.0">
|
||||
<property name="plugins" type="empty">
|
||||
<property name="plugin-20" type="string" value="directorymenu">
|
||||
<property name="hidden-files" type="bool" value="false"/>
|
||||
<property name="file-pattern" type="string" value="*"/>
|
||||
</property>
|
||||
<property name="plugin-21" type="string" value="directorymenu">
|
||||
<property name="hidden-files" type="bool" value="false"/>
|
||||
<property name="file-pattern" type="string" value="*"/>
|
||||
</property>
|
||||
<property name="plugin-22" type="string" value="directorymenu">
|
||||
<property name="hidden-files" type="bool" value="false"/>
|
||||
<property name="file-pattern" type="string" value="*"/>
|
||||
</property>
|
||||
<property name="plugin-23" type="string" value="directorymenu">
|
||||
<property name="hidden-files" type="bool" value="false"/>
|
||||
<property name="file-pattern" type="string" value="*"/>
|
||||
</property>
|
||||
</property>
|
||||
</channel>
|
@ -1,7 +0,0 @@
|
||||
# Calculate ini(ver.gnome)!= path=~/.gconf/apps/gnome-terminal/profiles/Default name=%gconf.xml format=xml_gconf
|
||||
<?xml version="1.0"?>
|
||||
<gconf>
|
||||
<entry name="palette" type="string">
|
||||
<stringvalue>#2C2C2C2C2C2C:#707050505050:#6060B4B48A8A:#DFDFAFAF8F8F:#9A9AB8B8D7D7:#DCDC8C8CC3C3:#8C8CD0D0D3D3:#DCDCDCDCCCCC:#707090908080:#DCDCA3A3A3A3:#7272D5D5A3A3:#F0F0DFDFAFAF:#9494BFBFF3F3:#ECEC9393D3D3:#9393E0E0E3E3:#FFFFFFFFFFFF</stringvalue>
|
||||
</entry>
|
||||
</gconf>
|
@ -1 +0,0 @@
|
||||
# Calculate append=skip merge(sys-apps/calculate-utilities)!=&&ini(update.patch)!=off&&ini(ver.patch)<3.0.6
|
@ -1,74 +0,0 @@
|
||||
# Calculate ini(ver.kde)!= path=~/.kde4/share/apps/konsole name=Calculate.colorscheme format=kde
|
||||
[Background]
|
||||
Color=44,44,44
|
||||
|
||||
[BackgroundIntense]
|
||||
Bold=true
|
||||
Color=44,44,44
|
||||
|
||||
[Color0]
|
||||
Color=44,44,44
|
||||
|
||||
[Color0Intense]
|
||||
Bold=true
|
||||
Color=112,144,128
|
||||
|
||||
[Color1]
|
||||
Color=112,80,80
|
||||
|
||||
[Color1Intense]
|
||||
Bold=true
|
||||
Color=220,163,163
|
||||
|
||||
[Color2]
|
||||
Color=96,180,138
|
||||
|
||||
[Color2Intense]
|
||||
Bold=true
|
||||
Color=114,213,163
|
||||
|
||||
[Color3]
|
||||
Color=223,175,143
|
||||
|
||||
[Color3Intense]
|
||||
Bold=true
|
||||
Color=240,223,175
|
||||
|
||||
[Color4]
|
||||
Color=154,184,215
|
||||
|
||||
[Color4Intense]
|
||||
Bold=true
|
||||
Color=148,191,243
|
||||
|
||||
[Color5]
|
||||
Color=220,140,195
|
||||
|
||||
[Color5Intense]
|
||||
Bold=true
|
||||
Color=236,147,211
|
||||
|
||||
[Color6]
|
||||
Color=140,208,211
|
||||
|
||||
[Color6Intense]
|
||||
Bold=true
|
||||
Color=147,224,227
|
||||
|
||||
[Color7]
|
||||
Color=220,220,204
|
||||
|
||||
[Color7Intense]
|
||||
Bold=true
|
||||
Color=255,255,255
|
||||
|
||||
[Foreground]
|
||||
Color=220,220,204
|
||||
|
||||
[ForegroundIntense]
|
||||
Bold=true
|
||||
Color=220,220,204
|
||||
|
||||
[General]
|
||||
Description=Calculate
|
||||
Opacity=1
|
@ -1,3 +0,0 @@
|
||||
# Calculate ini(ver.kde)!= path=~/.kde4/share/apps/konsole name=Shell.profile format=kde
|
||||
[Appearance]
|
||||
ColorScheme=Calculate
|
@ -1,7 +0,0 @@
|
||||
# Calculate format=samba path=~/.calculate
|
||||
|
||||
[ver]
|
||||
patch = 3.0.6
|
||||
|
||||
[update]
|
||||
patch = on
|
@ -1,3 +0,0 @@
|
||||
# Calculate ini(ver.xfce)!= path=~/.config/Terminal name=terminalrc format=kde
|
||||
[Configuration]
|
||||
ColorPalette1=#2c2c2c2c2c2c
|
@ -1 +0,0 @@
|
||||
# Calculate append=skip merge(sys-apps/calculate-utilities)!=&&ini(update.patch)!=off&&ini(ver.patch)<3.0.7
|
@ -1,7 +0,0 @@
|
||||
# Calculate format=samba path=~/.calculate
|
||||
|
||||
[ver]
|
||||
patch = 3.0.7
|
||||
|
||||
[update]
|
||||
patch = on
|
@ -1,8 +0,0 @@
|
||||
# Calculate ini(ver.xfce)!= path=~/.config/xfce4/xfconf/xfce-perchannel-xml name=xfwm4.xml format=xml_xfce
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="xfwm4" version="1.0">
|
||||
<property name="general" type="empty">
|
||||
<property name="theme" type="string" value="Default-4.6"/>
|
||||
</property>
|
||||
</channel>
|
@ -0,0 +1,7 @@
|
||||
# Calculate format=samba
|
||||
|
||||
[ver]
|
||||
hexchat = 2.8
|
||||
|
||||
[update]
|
||||
hexchat = on
|
@ -0,0 +1 @@
|
||||
# Calculate append=skip merge()!=&&ini(update.hexchat)!=off&&ini(ver.hexchat)==&&pkg()>=2.8
|
@ -0,0 +1,36 @@
|
||||
#!/usr/bin/env python
|
||||
# Calculate comment=#
|
||||
__module_name__ = "let me search that for you (/gog)"
|
||||
__module_version__ = "1.2"
|
||||
__module_description__ = "Operates search engines for you"
|
||||
|
||||
import xchat
|
||||
import string
|
||||
import urllib
|
||||
|
||||
TINYURL_API_URL="http://tinyurl.com/api-create.php?url=[url]"
|
||||
GOOGLE_FOR_YOU="http://lmgtfy.com/?q=[term]"
|
||||
|
||||
print "\0034",__module_name__, __module_version__,"loading...\003"
|
||||
|
||||
def getTinyUrl(searchEngine, searchTerms, turlApiURL):
|
||||
finalUrl = searchEngine.replace("[term]",searchTerms)
|
||||
finalUrl = turlApiURL.replace("[url]",finalUrl)
|
||||
return finalUrl
|
||||
|
||||
def doWork(word, searchEngine):
|
||||
if len(word) < 2:
|
||||
print ("Very little...");
|
||||
return;
|
||||
wordStr = "+".join(word[2:])
|
||||
wordStr = string.strip(wordStr)
|
||||
tinyUrl=getTinyUrl(searchEngine,wordStr,TINYURL_API_URL)
|
||||
endUrl = urllib.urlopen(tinyUrl).read()
|
||||
# print endUrl
|
||||
xchat.command("SAY " + word[1]+ ", " + endUrl)
|
||||
|
||||
|
||||
def letmegoogleit(word, word_eol, userdata):
|
||||
doWork(word, GOOGLE_FOR_YOU)
|
||||
|
||||
xchat.hook_command("gog", letmegoogleit, help="/gog <nick> <message> Operates search engines for user")
|
Loading…
Reference in new issue