diff --git a/dot/.Xdefaults b/dot/.Xdefaults index 01529b9..975ab39 100644 --- a/dot/.Xdefaults +++ b/dot/.Xdefaults @@ -1,7 +1,7 @@ URxvt.urgentOnBell: false URxvt.multichar_encoding: utf-8 URxvt.depth: 32 -URxvt.background: [90]black +URxvt.background: black URxvt.foreground: white URxvt.colorBD: yellow URxvt.colorUL: green @@ -14,9 +14,15 @@ URxvt.scrollWithBuffer: True ! lines and multi-term URxvt.saveLines: 1000000 -! URxvt.font: xft:YaHei Consolas Hybrid:size=13 -URxvt.font: xft:Microsoft Yahei:size=13 -! URxvt.font: xft:Ubuntu Mono:size=13 -! URxvt.font: xft:Consolas:size=13 -! URxvt.font: xft:Source Code Pro:size=13 -! URxvt.font: xft:xos4 Terminus:size=14 +URxvt.font: xft:Operator Mono Book:size=14,\ +xft:Source Code Pro:size=14,\ +xft:xos4 Terminus:size=14\, +xft:Consolas:size=14,\ +xft:YaHei Consolas Hybrid:size=14,\ +xft:Microsoft Yahei:size=14 + +XTerm*background: black +XTerm*foreground: white +XTerm*faceName: Operator Mono:style=Book:size=14 +XTerm*faceNameDoublesize: YaHei Consolas Hybrid:size=14 +XTerm*forceBoxChars: true diff --git a/dot/.eslintrc.json b/dot/.eslintrc.json index 92a651c..ea9508f 100644 --- a/dot/.eslintrc.json +++ b/dot/.eslintrc.json @@ -1,18 +1,19 @@ { - "env": { - "browser": true, - "node": true - }, - "extends": "airbnb", - "rules": { - "comma-dangle": [2, "never"], - "spaced-comment": "off", - "quotes": "off", - "indent": "off", - "func-names": "off", - "no-console": "off", - "no-plusplus": "off", - "wrap-iife": ["error", "any"], - "react/jsx-filename-extension": "off" - } + "env": { + "browser": true, + "node": true + }, + "extends": "airbnb", + "rules": { + "comma-dangle": [2, "never"], + "spaced-comment": "off", + "quotes": "off", + "indent": "off", + "func-names": "off", + "no-console": "off", + "no-plusplus": "off", + "no-param-reassign": "off", + "wrap-iife": ["error", "any"], + "react/jsx-filename-extension": "off" + } } diff --git a/dot/.jsbeautifyrc b/dot/.jsbeautifyrc index 7d59738..e727a29 100644 --- a/dot/.jsbeautifyrc +++ b/dot/.jsbeautifyrc @@ -1,23 +1,23 @@ { - "indent_size": 2, - "indent_char": " ", - "eol": "\n", - "indent_level": 0, - "indent_with_tabs": false, - "preserve_newlines": true, - "max_preserve_newlines": 2, - "jslint_happy": false, - "space_after_anon_function": false, - "brace_style": "collapse", - "keep_array_indentation": false, - "keep_function_indentation": false, - "space_before_conditional": true, - "break_chained_methods": true, - "eval_code": false, - "unescape_strings": false, - "wrap_line_length": 80, - "wrap_attributes": "auto", - "wrap_attributes_indent_size": 2, - "e4x": true, - "end_with_newline": true + "indent_size": 2, + "indent_char": " ", + "eol": "\n", + "indent_level": 0, + "indent_with_tabs": false, + "preserve_newlines": true, + "max_preserve_newlines": 2, + "jslint_happy": false, + "space_after_anon_function": false, + "brace_style": "collapse", + "keep_array_indentation": false, + "keep_function_indentation": false, + "space_before_conditional": true, + "break_chained_methods": true, + "eval_code": false, + "unescape_strings": false, + "wrap_line_length": 80, + "wrap_attributes": "auto", + "wrap_attributes_indent_size": 2, + "e4x": true, + "end_with_newline": true } diff --git a/dot/.tern-project b/dot/.tern-project index fd068c5..e14e645 100644 --- a/dot/.tern-project +++ b/dot/.tern-project @@ -1,23 +1,23 @@ { - "libs": [ - "ecma5", - "ecma6", - "browser", - "jquery", - "react", - "node" - ], - "plugins": { - "node": {}, - "es_modules": {}, - "doc_comment": { - "fullDocs": true, - "strong": true + "libs": [ + "ecma5", + "ecma6", + "browser", + "jquery", + "react", + "node" + ], + "plugins": { + "node": {}, + "es_modules": {}, + "doc_comment": { + "fullDocs": true, + "strong": true + } + }, + "ecmaVersion": 6, + "env": { + "browser": true, + "node": true } - }, - "ecmaVersion": 6, - "env": { - "browser": true, - "node": true - } } diff --git a/dot/.xprofile b/dot/.xprofile index 95da053..ca164dc 100644 --- a/dot/.xprofile +++ b/dot/.xprofile @@ -2,11 +2,16 @@ #xrandr --output HDMI-1 --same-as LVDS-1 -export GTK_IM_MODULE=fcitx -export QT_IM_MODULE=fcitx -export XMODIFIERS="@im=fcitx" +eval "$(dbus-launch --sh-syntax --exit-with-session)" + +export XMODIFIERS=@im=SCIM +export GTK_IM_MODULE="xim" +export QT_IM_MODULE="scim" +scim -d + +# xcompmgr -c & +# nm-applet & -#xcompmgr -c & #fcitx -d & > /dev/null #sogou-qimpanel & > /dev/null @@ -16,8 +21,7 @@ export XMODIFIERS="@im=fcitx" # export SSH_AUTH_SOCK # export GPG_AGENT_INFO -#nm-applet & -#/usr/libexec/polkit-gnome-authentication-agent-1 & +/usr/libexec/polkit-gnome-authentication-agent-1 & # stardict -h & > /dev/null &2 > /dev/null # sudo sslocal -d start -p 443 -s zedhugh.me -k BlsEYioG1w > /dev/null