@ -1,36 +0,0 @@
@@ -1,36 +0,0 @@
|
||||
! Настройка клавиатуры HP |
||||
! |
||||
!keycode 146 = Help |
||||
!keycode 37 = Control_L |
||||
!keycode 180 = XF86HomePage |
||||
!keycode 235 = XF86Display |
||||
!keycode 150 = XF86Sleep |
||||
!keycode 160 = XF86ScreenSaver |
||||
!keycode 232 = XF86MonBrightnessDown |
||||
!keycode 233 = XF86MonBrightnessUp |
||||
!keycode 121 = XF86AudioMute |
||||
!keycode 122 = XF86AudioLowerVolume |
||||
!keycode 123 = XF86AudioRaiseVolume |
||||
|
||||
! Настройка клавиатуры ASUS |
||||
! |
||||
!keycode 146 = Help |
||||
!keycode 37 = Control_L |
||||
!keycode 180 = XF86HomePage |
||||
!keycode 235 = XF86Display |
||||
!keycode 150 = XF86Sleep |
||||
!keycode 160 = XF86ScreenSaver |
||||
!keycode 232 = XF86MonBrightnessDown |
||||
!keycode 233 = XF86MonBrightnessUp |
||||
!keycode 121 = XF86AudioMute |
||||
!keycode 122 = XF86AudioLowerVolume |
||||
!keycode 123 = XF86AudioRaiseVolume |
||||
|
||||
! Замена <Caps Lock> на <ESC> |
||||
clear Lock |
||||
keycode 0x42 = Escape |
||||
|
||||
! Использование правого Ctrl в качестве Mod1 наряду с Alt_L |
||||
clear control |
||||
add control = Control_L |
||||
add mod1 = Control_R |
@ -0,0 +1,8 @@
@@ -0,0 +1,8 @@
|
||||
! Замена <Caps Lock> на <ESC> |
||||
clear Lock |
||||
keycode 0x42 = Escape |
||||
|
||||
! Использование правого Ctrl в качестве Mod1 наряду с Alt_L |
||||
clear control |
||||
add control = Control_L |
||||
add mod1 = Control_R |
@ -1,5 +1,4 @@
@@ -1,5 +1,4 @@
|
||||
! Настройка мультимедийных клавиш Genius KB-21 |
||||
|
||||
keycode 121 = XF86AudioMute |
||||
keycode 122 = XF86AudioLowerVolume |
||||
keycode 123 = XF86AudioRaiseVolume |
@ -1,11 +0,0 @@
@@ -1,11 +0,0 @@
|
||||
display -window root $SHELLRC/etc/wm/img/wallpaper.$(uname -i).jpg |
||||
|
||||
setxkbmap -model pc104 -layout us,ru -variant , |
||||
setxkbmap -option -option terminate:ctrl_alt_bksp,caps:escape,grp:lwin_toggle |
||||
|
||||
xmodmap $SHELLRC/etc/X/Xmodmaprc.$(uname -i) |
||||
xmodmap -e "keysym Menu = Super_R" |
||||
|
||||
sleep 0.5 |
||||
exec musca |
||||
|
@ -0,0 +1,392 @@
@@ -0,0 +1,392 @@
|
||||
# stylish-haskell configuration file |
||||
# ================================== |
||||
|
||||
# The stylish-haskell tool is mainly configured by specifying steps. These steps |
||||
# are a list, so they have an order, and one specific step may appear more than |
||||
# once (if needed). Each file is processed by these steps in the given order. |
||||
steps: |
||||
# Convert some ASCII sequences to their Unicode equivalents. This is disabled |
||||
# by default. |
||||
# - unicode_syntax: |
||||
# # In order to make this work, we also need to insert the UnicodeSyntax |
||||
# # language pragma. If this flag is set to true, we insert it when it's |
||||
# # not already present. You may want to disable it if you configure |
||||
# # language extensions using some other method than pragmas. Default: |
||||
# # true. |
||||
# add_language_pragma: true |
||||
|
||||
# Format module header |
||||
# |
||||
# Currently, this option is not configurable and will format all exports and |
||||
# module declarations to minimize diffs |
||||
# |
||||
# - module_header: |
||||
# # How many spaces use for indentation in the module header. |
||||
# indent: 4 |
||||
# |
||||
# # Should export lists be sorted? Sorting is only performed within the |
||||
# # export section, as delineated by Haddock comments. |
||||
# sort: true |
||||
# |
||||
# # See `separate_lists` for the `imports` step. |
||||
# separate_lists: true |
||||
|
||||
# Format record definitions. This is disabled by default. |
||||
# |
||||
# You can control the layout of record fields. The only rules that can't be configured |
||||
# are these: |
||||
# |
||||
# - "|" is always aligned with "=" |
||||
# - "," in fields is always aligned with "{" |
||||
# - "}" is likewise always aligned with "{" |
||||
# |
||||
- records: |
||||
# # How to format equals sign between type constructor and data constructor. |
||||
# # Possible values: |
||||
# # - "same_line" -- leave "=" AND data constructor on the same line as the type constructor. |
||||
# # - "indent N" -- insert a new line and N spaces from the beginning of the next line. |
||||
# equals: "same_line", "first_field": "same_line" |
||||
equals: "same_line" |
||||
# |
||||
# # How to format first field of each record constructor. |
||||
# # Possible values: |
||||
# # - "same_line" -- "{" and first field goes on the same line as the data constructor. |
||||
# # - "indent N" -- insert a new line and N spaces from the beginning of the data constructor |
||||
first_field: "same_line" |
||||
# |
||||
# # How many spaces to insert between the column with "," and the beginning of the comment in the next line. |
||||
field_comment: 2 |
||||
# |
||||
# # How many spaces to insert before "deriving" clause. Deriving clauses are always on separate lines. |
||||
deriving: 8 |
||||
# |
||||
# # How many spaces to insert before "via" clause counted from indentation of deriving clause |
||||
# # Possible values: |
||||
# # - "same_line" -- "via" part goes on the same line as "deriving" keyword. |
||||
# # - "indent N" -- insert a new line and N spaces from the beginning of "deriving" keyword. |
||||
via: "same_line" |
||||
# |
||||
# # Sort typeclass names in the "deriving" list alphabetically. |
||||
sort_deriving: true |
||||
# |
||||
# # Wheter or not to break enums onto several lines |
||||
# # |
||||
# # Default: false |
||||
break_enums: false |
||||
# |
||||
# # Whether or not to break single constructor data types before `=` sign |
||||
# # |
||||
# # Default: true |
||||
break_single_constructors: true |
||||
# |
||||
# # Whether or not to curry constraints on function. |
||||
# # |
||||
# # E.g: @allValues :: Enum a => Bounded a => Proxy a -> [a]@ |
||||
# # |
||||
# # Instead of @allValues :: (Enum a, Bounded a) => Proxy a -> [a]@ |
||||
# # |
||||
# # Default: false |
||||
curried_context: false |
||||
|
||||
# Align the right hand side of some elements. This is quite conservative |
||||
# and only applies to statements where each element occupies a single |
||||
# line. |
||||
# Possible values: |
||||
# - always - Always align statements. |
||||
# - adjacent - Align statements that are on adjacent lines in groups. |
||||
# - never - Never align statements. |
||||
# All default to always. |
||||
- simple_align: |
||||
cases: always |
||||
top_level_patterns: always |
||||
records: always |
||||
multi_way_if: always |
||||
|
||||
# Import cleanup |
||||
- imports: |
||||
# There are different ways we can align names and lists. |
||||
# |
||||
# - global: Align the import names and import list throughout the entire |
||||
# file. |
||||
# |
||||
# - file: Like global, but don't add padding when there are no qualified |
||||
# imports in the file. |
||||
# |
||||
# - group: Only align the imports per group (a group is formed by adjacent |
||||
# import lines). |
||||
# |
||||
# - none: Do not perform any alignment. |
||||
# |
||||
# Default: global. |
||||
align: group |
||||
|
||||
# The following options affect only import list alignment. |
||||
# |
||||
# List align has following options: |
||||
# |
||||
# - after_alias: Import list is aligned with end of import including |
||||
# 'as' and 'hiding' keywords. |
||||
# |
||||
# > import qualified Data.List as List (concat, foldl, foldr, head, |
||||
# > init, last, length) |
||||
# |
||||
# - with_alias: Import list is aligned with start of alias or hiding. |
||||
# |
||||
# > import qualified Data.List as List (concat, foldl, foldr, head, |
||||
# > init, last, length) |
||||
# |
||||
# - with_module_name: Import list is aligned `list_padding` spaces after |
||||
# the module name. |
||||
# |
||||
# > import qualified Data.List as List (concat, foldl, foldr, head, |
||||
# init, last, length) |
||||
# |
||||
# This is mainly intended for use with `pad_module_names: false`. |
||||
# |
||||
# > import qualified Data.List as List (concat, foldl, foldr, head, |
||||
# init, last, length, scanl, scanr, take, drop, |
||||
# sort, nub) |
||||
# |
||||
# - new_line: Import list starts always on new line. |
||||
# |
||||
# > import qualified Data.List as List |
||||
# > (concat, foldl, foldr, head, init, last, length) |
||||
# |
||||
# - repeat: Repeat the module name to align the import list. |
||||
# |
||||
# > import qualified Data.List as List (concat, foldl, foldr, head) |
||||
# > import qualified Data.List as List (init, last, length) |
||||
# |
||||
# Default: after_alias |
||||
list_align: after_alias |
||||
|
||||
# Right-pad the module names to align imports in a group: |
||||
# |
||||
# - true: a little more readable |
||||
# |
||||
# > import qualified Data.List as List (concat, foldl, foldr, |
||||
# > init, last, length) |
||||
# > import qualified Data.List.Extra as List (concat, foldl, foldr, |
||||
# > init, last, length) |
||||
# |
||||
# - false: diff-safe |
||||
# |
||||
# > import qualified Data.List as List (concat, foldl, foldr, init, |
||||
# > last, length) |
||||
# > import qualified Data.List.Extra as List (concat, foldl, foldr, |
||||
# > init, last, length) |
||||
# |
||||
# Default: true |
||||
pad_module_names: true |
||||
|
||||
# Long list align style takes effect when import is too long. This is |
||||
# determined by 'columns' setting. |
||||
# |
||||
# - inline: This option will put as much specs on same line as possible. |
||||
# |
||||
# - new_line: Import list will start on new line. |
||||
# |
||||
# - new_line_multiline: Import list will start on new line when it's |
||||
# short enough to fit to single line. Otherwise it'll be multiline. |
||||
# |
||||
# - multiline: One line per import list entry. |
||||
# Type with constructor list acts like single import. |
||||
# |
||||
# > import qualified Data.Map as M |
||||
# > ( empty |
||||
# > , singleton |
||||
# > , ... |
||||
# > , delete |
||||
# > ) |
||||
# |
||||
# Default: inline |
||||
long_list_align: inline |
||||
|
||||
# Align empty list (importing instances) |
||||
# |
||||
# Empty list align has following options |
||||
# |
||||
# - inherit: inherit list_align setting |
||||
# |
||||
# - right_after: () is right after the module name: |
||||
# |
||||
# > import Vector.Instances () |
||||
# |
||||
# Default: inherit |
||||
empty_list_align: inherit |
||||
|
||||
# List padding determines indentation of import list on lines after import. |
||||
# This option affects 'long_list_align'. |
||||
# |
||||
# - <integer>: constant value |
||||
# |
||||
# - module_name: align under start of module name. |
||||
# Useful for 'file' and 'group' align settings. |
||||
# |
||||
# Default: 4 |
||||
list_padding: "module_name" |
||||
|
||||
# Separate lists option affects formatting of import list for type |
||||
# or class. The only difference is single space between type and list |
||||
# of constructors, selectors and class functions. |
||||
# |
||||
# - true: There is single space between Foldable type and list of it's |
||||
# functions. |
||||
# |
||||
# > import Data.Foldable (Foldable (fold, foldl, foldMap)) |
||||
# |
||||
# - false: There is no space between Foldable type and list of it's |
||||
# functions. |
||||
# |
||||
# > import Data.Foldable (Foldable(fold, foldl, foldMap)) |
||||
# |
||||
# Default: true |
||||
separate_lists: true |
||||
|
||||
# Space surround option affects formatting of import lists on a single |
||||
# line. The only difference is single space after the initial |
||||
# parenthesis and a single space before the terminal parenthesis. |
||||
# |
||||
# - true: There is single space associated with the enclosing |
||||
# parenthesis. |
||||
# |
||||
# > import Data.Foo ( foo ) |
||||
# |
||||
# - false: There is no space associated with the enclosing parenthesis |
||||
# |
||||
# > import Data.Foo (foo) |
||||
# |
||||
# Default: false |
||||
space_surround: false |
||||
|
||||
# Enabling this argument will use the new GHC lib parse to format imports. |
||||
# |
||||
# This currently assumes a few things, it will assume that you want post |
||||
# qualified imports. It is also not as feature complete as the old |
||||
# imports formatting. |
||||
# |
||||
# It does not remove redundant lines or merge lines. As such, the full |
||||
# feature scope is still pending. |
||||
# |
||||
# It _is_ however, a fine alternative if you are using features that are |
||||
# not parseable by haskell src extensions and you're comfortable with the |
||||
# presets. |
||||
# |
||||
# Default: false |
||||
ghc_lib_parser: false |
||||
|
||||
# Language pragmas |
||||
- language_pragmas: |
||||
# We can generate different styles of language pragma lists. |
||||
# |
||||
# - vertical: Vertical-spaced language pragmas, one per line. |
||||
# |
||||
# - compact: A more compact style. |
||||
# |
||||
# - compact_line: Similar to compact, but wrap each line with |
||||
# `{-#LANGUAGE #-}'. |
||||
# |
||||
# Default: vertical. |
||||
style: vertical |
||||
|
||||
# Align affects alignment of closing pragma brackets. |
||||
# |
||||
# - true: Brackets are aligned in same column. |
||||
# |
||||
# - false: Brackets are not aligned together. There is only one space |
||||
# between actual import and closing bracket. |
||||
# |
||||
# Default: true |
||||
align: true |
||||
|
||||
# stylish-haskell can detect redundancy of some language pragmas. If this |
||||
# is set to true, it will remove those redundant pragmas. Default: true. |
||||
remove_redundant: true |
||||
|
||||
# Language prefix to be used for pragma declaration, this allows you to |
||||
# use other options non case-sensitive like "language" or "Language". |
||||
# If a non correct String is provided, it will default to: LANGUAGE. |
||||
language_prefix: LANGUAGE |
||||
|
||||
# Replace tabs by spaces. This is disabled by default. |
||||
- tabs: |
||||
# # Number of spaces to use for each tab. Default: 8, as specified by the |
||||
# # Haskell report. |
||||
spaces: 8 |
||||
|
||||
# Remove trailing whitespace |
||||
- trailing_whitespace: {} |
||||
|
||||
# Squash multiple spaces between the left and right hand sides of some |
||||
# elements into single spaces. Basically, this undoes the effect of |
||||
# simple_align but is a bit less conservative. |
||||
# - squash: {} |
||||
|
||||
# A common setting is the number of columns (parts of) code will be wrapped |
||||
# to. Different steps take this into account. |
||||
# |
||||
# Set this to null to disable all line wrapping. |
||||
# |
||||
# Default: 80. |
||||
columns: 120 |
||||
|
||||
# By default, line endings are converted according to the OS. You can override |
||||
# preferred format here. |
||||
# |
||||
# - native: Native newline format. CRLF on Windows, LF on other OSes. |
||||
# |
||||
# - lf: Convert to LF ("\n"). |
||||
# |
||||
# - crlf: Convert to CRLF ("\r\n"). |
||||
# |
||||
# Default: native. |
||||
newline: native |
||||
|
||||
# Sometimes, language extensions are specified in a cabal file or from the |
||||
# command line instead of using language pragmas in the file. stylish-haskell |
||||
# needs to be aware of these, so it can parse the file correctly. |
||||
# |
||||
# No language extensions are enabled by default. |
||||
# language_extensions: |
||||
# - TemplateHaskell |
||||
# - QuasiQuotes |
||||
|
||||
language_extensions: |
||||
- BangPatterns |
||||
- ConstraintKinds |
||||
- DataKinds |
||||
- DefaultSignatures |
||||
- DeriveAnyClass |
||||
- DeriveDataTypeable |
||||
- DeriveGeneric |
||||
- DerivingStrategies |
||||
- DerivingVia |
||||
- ExplicitNamespaces |
||||
- FlexibleContexts |
||||
- FlexibleInstances |
||||
- FunctionalDependencies |
||||
- GADTs |
||||
- GeneralizedNewtypeDeriving |
||||
- InstanceSigs |
||||
- KindSignatures |
||||
- LambdaCase |
||||
- MultiParamTypeClasses |
||||
- MultiWayIf |
||||
- NamedFieldPuns |
||||
- NoImplicitPrelude |
||||
- OverloadedStrings |
||||
- QuasiQuotes |
||||
- RecordWildCards |
||||
- ScopedTypeVariables |
||||
- StandaloneDeriving |
||||
- TemplateHaskell |
||||
- TupleSections |
||||
- TypeApplications |
||||
- TypeFamilies |
||||
- ViewPatterns |
||||
|
||||
# Attempt to find the cabal file in ancestors of the current directory, and |
||||
# parse options (currently only language extensions) from that. |
||||
# |
||||
# Default: true |
||||
cabal: true |
@ -0,0 +1,210 @@
@@ -0,0 +1,210 @@
|
||||
{ |
||||
"parserOptions": { |
||||
"ecmaVersion": 2020, |
||||
"ecmaFeatures": { |
||||
"jsx": true |
||||
}, |
||||
"sourceType": "module" |
||||
}, |
||||
|
||||
"env": { |
||||
"es6": true, |
||||
"node": true |
||||
}, |
||||
|
||||
"globals": { |
||||
"document": "readonly", |
||||
"navigator": "readonly", |
||||
"window": "readonly" |
||||
}, |
||||
|
||||
"rules": { |
||||
"accessor-pairs": "error", |
||||
"array-bracket-spacing": ["error", "never"], |
||||
"arrow-spacing": ["error", { "before": true, "after": true }], |
||||
"block-spacing": ["error", "always"], |
||||
"brace-style": ["error", "1tbs", { "allowSingleLine": true }], |
||||
"camelcase": ["off", { "properties": "never" }], |
||||
"comma-dangle": ["error", { |
||||
"arrays": "never", |
||||
"objects": "never", |
||||
"imports": "never", |
||||
"exports": "never", |
||||
"functions": "never" |
||||
}], |
||||
"comma-spacing": ["error", { "before": false, "after": true }], |
||||
"comma-style": ["error", "last"], |
||||
"computed-property-spacing": ["error", "never"], |
||||
"constructor-super": "error", |
||||
"curly": ["error", "multi-line"], |
||||
"dot-location": ["error", "property"], |
||||
"dot-notation": ["error", { "allowKeywords": true }], |
||||
"eol-last": "error", |
||||
"eqeqeq": ["error", "always", { "null": "ignore" }], |
||||
"func-call-spacing": ["error", "never"], |
||||
"generator-star-spacing": ["error", { "before": true, "after": true }], |
||||
"handle-callback-err": ["error", "^(err|error)$" ], |
||||
"indent": ["off", 2, { |
||||
"SwitchCase": 1, |
||||
"VariableDeclarator": 1, |
||||
"outerIIFEBody": 1, |
||||
"MemberExpression": 1, |
||||
"FunctionDeclaration": { "parameters": 1, "body": 1 }, |
||||
"FunctionExpression": { "parameters": 1, "body": 1 }, |
||||
"CallExpression": { "arguments": 1 }, |
||||
"ArrayExpression": 1, |
||||
"ObjectExpression": 1, |
||||
"ImportDeclaration": 1, |
||||
"flatTernaryExpressions": false, |
||||
"ignoreComments": false, |
||||
"ignoredNodes": ["TemplateLiteral *"] |
||||
}], |
||||
"key-spacing": ["error", { "beforeColon": false, "afterColon": true }], |
||||
"keyword-spacing": ["error", { "before": true, "after": true }], |
||||
"lines-between-class-members": ["error", "always", { "exceptAfterSingleLine": true }], |
||||
"new-cap": ["error", { "newIsCap": true, "capIsNew": false, "properties": true }], |
||||
"new-parens": "error", |
||||
"no-array-constructor": "error", |
||||
"no-async-promise-executor": "error", |
||||
"no-caller": "error", |
||||
"no-case-declarations": "error", |
||||
"no-class-assign": "error", |
||||
"no-compare-neg-zero": "error", |
||||
"no-cond-assign": "error", |
||||
"no-const-assign": "error", |
||||
"no-constant-condition": ["error", { "checkLoops": false }], |
||||
"no-control-regex": "error", |
||||
"no-debugger": "error", |
||||
"no-delete-var": "error", |
||||
"no-dupe-args": "error", |
||||
"no-dupe-class-members": "error", |
||||
"no-dupe-keys": "error", |
||||
"no-duplicate-case": "error", |
||||
"no-empty-character-class": "error", |
||||
"no-empty-pattern": "error", |
||||
"no-eval": "error", |
||||
"no-ex-assign": "error", |
||||
"no-extend-native": "error", |
||||
"no-extra-bind": "error", |
||||
"no-extra-boolean-cast": "error", |
||||
"no-extra-parens": ["error", "functions"], |
||||
"no-fallthrough": "error", |
||||
"no-floating-decimal": "error", |
||||
"no-func-assign": "error", |
||||
"no-global-assign": "error", |
||||
"no-implied-eval": "error", |
||||
"no-inner-declarations": ["error", "functions"], |
||||
"no-invalid-regexp": "error", |
||||
"no-irregular-whitespace": "error", |
||||
"no-iterator": "error", |
||||
"no-labels": ["error", { "allowLoop": false, "allowSwitch": false }], |
||||
"no-lone-blocks": "error", |
||||
"no-misleading-character-class": "error", |
||||
"no-prototype-builtins": "error", |
||||
"no-useless-catch": "error", |
||||
"no-mixed-operators": ["error", { |
||||
"groups": [ |
||||
["==", "!=", "===", "!==", ">", ">=", "<", "<="], |
||||
["&&", "||"], |
||||
["in", "instanceof"] |
||||
], |
||||
"allowSamePrecedence": true |
||||
}], |
||||
"no-mixed-spaces-and-tabs": "error", |
||||
"no-multi-spaces": "off", |
||||
"no-multi-str": "off", |
||||
"no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 1 }], |
||||
"no-negated-in-lhs": "error", |
||||
"no-new": "error", |
||||
"no-new-func": "error", |
||||
"no-new-object": "error", |
||||
"no-new-require": "error", |
||||
"no-new-symbol": "error", |
||||
"no-new-wrappers": "error", |
||||
"no-obj-calls": "error", |
||||
"no-octal": "error", |
||||
"no-octal-escape": "error", |
||||
"no-path-concat": "error", |
||||
"no-proto": "error", |
||||
"no-redeclare": ["error", { "builtinGlobals": false }], |
||||
"no-regex-spaces": "error", |
||||
"no-return-assign": ["error", "except-parens"], |
||||
"no-return-await": "error", |
||||
"no-self-assign": ["error", { "props": true }], |
||||
"no-self-compare": "error", |
||||
"no-sequences": "error", |
||||
"no-shadow-restricted-names": "error", |
||||
"no-sparse-arrays": "error", |
||||
"no-tabs": "off", |
||||
"no-template-curly-in-string": "error", |
||||
"no-this-before-super": "error", |
||||
"no-throw-literal": "error", |
||||
"no-trailing-spaces": "error", |
||||
"no-undef": "error", |
||||
"no-undef-init": "error", |
||||
"no-unexpected-multiline": "error", |
||||
"no-unmodified-loop-condition": "error", |
||||
"no-unneeded-ternary": ["error", { "defaultAssignment": false }], |
||||
"no-unreachable": "error", |
||||
"no-unsafe-finally": "error", |
||||
"no-unsafe-negation": "error", |
||||
"no-unused-expressions": ["error", { "allowShortCircuit": true, "allowTernary": true, "allowTaggedTemplates": true }], |
||||
"no-unused-vars": ["error", { "vars": "all", "args": "none", "ignoreRestSiblings": true }], |
||||
"no-use-before-define": ["error", { "functions": false, "classes": false, "variables": false }], |
||||
"no-useless-call": "error", |
||||
"no-useless-computed-key": "error", |
||||
"no-useless-constructor": "error", |
||||
"no-useless-escape": "error", |
||||
"no-useless-rename": "error", |
||||
"no-useless-return": "error", |
||||
"no-void": "error", |
||||
"no-whitespace-before-property": "error", |
||||
"no-with": "error", |
||||
"object-curly-newline": ["error", { "multiline": true, "consistent": true }], |
||||
"object-curly-spacing": ["error", "always"], |
||||
"object-property-newline": ["error", { "allowMultiplePropertiesPerLine": true }], |
||||
"one-var": ["error", { "initialized": "never" }], |
||||
"operator-linebreak": ["off", "after", { "overrides": { "?": "before", ":": "before", "|>": "before" } }], |
||||
"padded-blocks": ["error", { "blocks": "never", "switches": "never", "classes": "never" }], |
||||
"prefer-const": ["error", {"destructuring": "all"}], |
||||
"prefer-promise-reject-errors": "error", |
||||
"quote-props": ["error", "as-needed"], |
||||
"quotes": ["error", "single", { "avoidEscape": true, "allowTemplateLiterals": false }], |
||||
"rest-spread-spacing": ["error", "never"], |
||||
"semi": ["off", "never"], |
||||
"semi-spacing": ["error", { "before": false, "after": true }], |
||||
"space-before-blocks": ["error", "always"], |
||||
"space-before-function-paren": ["off", "always"], |
||||
"space-in-parens": ["error", "never"], |
||||
"space-infix-ops": "error", |
||||
"space-unary-ops": ["error", { "words": true, "nonwords": false }], |
||||
"spaced-comment": ["error", "always", { |
||||
"line": { "markers": ["*package", "!", "/", ",", "="] }, |
||||
"block": { "balanced": true, "markers": ["*package", "!", ",", ":", "::", "flow-include"], "exceptions": ["*"] } |
||||
}], |
||||
"symbol-description": "error", |
||||
"template-curly-spacing": ["error", "never"], |
||||
"template-tag-spacing": ["error", "never"], |
||||
"unicode-bom": ["error", "never"], |
||||
"use-isnan": "error", |
||||
"valid-typeof": ["error", { "requireStringLiterals": true }], |
||||
"wrap-iife": ["error", "any", { "functionPrototypeMethods": true }], |
||||
"yield-star-spacing": ["error", "both"], |
||||
"yoda": ["error", "never"], |
||||
|
||||
"import/export": "off", |
||||
"import/first": "off", |
||||
"import/no-absolute-path": ["off", { "esmodule": true, "commonjs": true, "amd": false }], |
||||
"import/no-duplicates": "off", |
||||
"import/no-named-default": "off", |
||||
"import/no-webpack-loader-syntax": "off", |
||||
|
||||
"node/no-deprecated-api": "off", |
||||
"node/process-exit-as-throw": "off", |
||||
|
||||
"promise/param-names": "off", |
||||
|
||||
"standard/no-callback-literal": "off" |
||||
} |
||||
} |
||||
|
@ -0,0 +1,85 @@
@@ -0,0 +1,85 @@
|
||||
config { |
||||
# Enable all default rules. |
||||
disabled_by_default = false |
||||
|
||||
# Module Inspection. |
||||
module = false |
||||
|
||||
force = false |
||||
} |
||||
|
||||
# ------------------------------------------------------------------------------ |
||||
# Built-in rules |
||||
# ------------------------------------------------------------------------------ |
||||
|
||||
rule "terraform_deprecated_interpolation" { |
||||
enabled = true |
||||
} |
||||
|
||||
rule "terraform_deprecated_index" { |
||||
enabled = true |
||||
} |
||||
|
||||
rule "terraform_unused_declarations" { |
||||
enabled = true |
||||
} |
||||
|
||||
rule "terraform_comment_syntax" { |
||||
enabled = true |
||||
} |
||||
|
||||
rule "terraform_documented_outputs" { |
||||
enabled = true |
||||
} |
||||
|
||||
rule "terraform_documented_variables" { |
||||
enabled = true |
||||
} |
||||
|
||||
rule "terraform_typed_variables" { |
||||
enabled = true |
||||
} |
||||
|
||||
rule "terraform_module_pinned_source" { |
||||
enabled = true |
||||
} |
||||
|
||||
rule "terraform_naming_convention" { |
||||
enabled = true |
||||
} |
||||
|
||||
rule "terraform_required_version" { |
||||
enabled = true |
||||
} |
||||
|
||||
rule "terraform_required_providers" { |
||||
enabled = true |
||||
} |
||||
|
||||
rule "terraform_unused_required_providers" { |
||||
enabled = true |
||||
} |
||||
|
||||
rule "terraform_standard_module_structure" { |
||||
enabled = false |
||||
} |
||||
|
||||
rule "terraform_workspace_remote" { |
||||
enabled = true |
||||
} |
||||
|
||||
# ------------------------------------------------------------------------------ |
||||
# Azure rules |
||||
# ------------------------------------------------------------------------------ |
||||
|
||||
# plugin "azurerm" { |
||||
# enabled = true |
||||
# version = "0.12.0" |
||||
# source = "github.com/terraform-linters/tflint-ruleset-azurerm" |
||||
# } |
||||
|
||||
# A list of VM sizes is incomplete, e.g. Standard_D2_v4 VM is absent. |
||||
# rule "azurerm_kubernetes_cluster_default_node_pool_invalid_vm_size" { |
||||
# enabled = false |
||||
# } |
||||
|
@ -1,48 +0,0 @@
@@ -1,48 +0,0 @@
|
||||
background yes |
||||
use_xft yes |
||||
xftfont DejaVu Sans Mono:size=9 |
||||
xftalpha 1 |
||||
update_interval 2.0 |
||||
total_run_times 0 |
||||
own_window yes |
||||
own_window_type desktop |
||||
own_window_transparent no |
||||
own_window_colour black |
||||
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager |
||||
double_buffer yes |
||||
minimum_size 1366 1 |
||||
draw_shades no |
||||
draw_outline no |
||||
draw_borders no |
||||
draw_graph_borders yes |
||||
stippled_borders 0 |
||||
border_width 1 |
||||
default_shade_color white |
||||
default_outline_color darkgray |
||||
alignment top_left |
||||
gap_x 2 |
||||
gap_y 2 |
||||
no_buffers yes |
||||
uppercase no |
||||
cpu_avg_samples 2 |
||||
net_avg_samples 2 |
||||
override_utf8_locale yes |
||||
use_spacer right |
||||
|
||||
background yes |
||||
|
||||
default_color black |
||||
|
||||
own_window_colour D9D9D9 |
||||
|
||||
TEXT |
||||
[ ${color darkblue}${execi 2 SHELL=/bin/sh musca -c "silent show groups" \ |
||||
| cut -f 2- -d ' ' \ |
||||
| sed -e :a -e '$b;N;s/\n/ | /;ba' \ |
||||
| sed 's/- //g;s/\*/✻/g' |
||||
} ]${offset 55}\ |
||||
${if_mounted /}$color /: ${color brown}${fs_free /}${endif}\ |
||||
${goto 1098}\ |
||||
${color darkblue}[${execi 2 SHELL=/bin/sh skb 1}]$color | \ |
||||
${color black}${time %H:%M} (${time %d.%m.%Y}) |
||||
|
Before Width: | Height: | Size: 139 KiB |
Before Width: | Height: | Size: 139 KiB |
Before Width: | Height: | Size: 359 KiB |
Before Width: | Height: | Size: 655 KiB After Width: | Height: | Size: 655 KiB |
Before Width: | Height: | Size: 282 KiB After Width: | Height: | Size: 282 KiB |
Before Width: | Height: | Size: 692 KiB |
@ -1,207 +0,0 @@
@@ -1,207 +0,0 @@
|
||||
[~/.musca_start] |
||||
|
||||
# |
||||
# Изменён: Чт. 10 апр. 2014 10:39:09 |
||||
# |
||||
|
||||
#Цветовая схема#{{{ |
||||
set border_focus DarkGrey |
||||
set border_unfocus Grey |
||||
|
||||
set border_dedicate_focus #3283CD |
||||
set border_dedicate_unfocus #225888 |
||||
|
||||
set border_catchall_focus #CD327F |
||||
set border_catchall_unfocus #882255 |
||||
#}}} |
||||
|
||||
#Рабочие группы#{{{ |
||||
name work |
||||
hook on add pad 0 0 18 0 |
||||
add web |
||||
add skype |
||||
add α |
||||
add β |
||||
add γ |
||||
add δ |
||||
border off |
||||
hook on add pad 0 0 0 0 |
||||
use work |
||||
hook on add pad 0 0 18 0 |
||||
refresh |
||||
|
||||
#Два дисплея |
||||
#screen (next) |
||||
#hook on add pad 0 0 0 0 |
||||
#name work |
||||
#add vim |
||||
#use video |
||||
#border off |
||||
#use work |
||||
|
||||
#screen (prev) |
||||
#hook on add pad 0 0 21 0 |
||||
#use work |
||||
#refresh |
||||
#}}} |
||||
|
||||
#Использование dmenu#{{{ |
||||
|
||||
# Терминал |
||||
bind on Mod4+t exec urxvtc |
||||
|
||||
# dmenu |
||||
bind on Mod4+x exec dmenu_exec |
||||
|
||||
# Файловый менеджер dmenu |
||||
bind on Mod4+z exec dmenfm |
||||
bind on Mod4+Shift+z exec dmenfm |
||||
|
||||
#Управление mpd |
||||
bind on Mod4+p exec dmpc |
||||
|
||||
#Выбор виртуальной машины для запуска |
||||
bind on Mod4+Shift+V exec VM |
||||
|
||||
#Монтирование устройств |
||||
bind on Mod4+Shift+m exec mountmenu |
||||
|
||||
# dmenu с перечнем всех окон |
||||
bind on Mod4+Shift+w switch window |
||||
|
||||
# dmenu с перечнем всех групп |
||||
bind on Mod4+Shift+g switch group |
||||
|
||||
#}}} |
||||
|
||||
#Комбинации клавиш#{{{ |
||||
|
||||
# Деление фрейма на две части |
||||
bind on Mod4+h hsplit 1/2 |
||||
bind on Mod4+v vsplit 1/2 |
||||
|
||||
# Удаление фрейма |
||||
bind on Mod4+Shift+r remove |
||||
|
||||
# Удаление всех фреймов |
||||
bind on Mod4+Shift+o only |
||||
|
||||
# Аварийное завершение работы текущего окна |
||||
bind on Mod4+q kill |
||||
bind on Mod1+F4 kill |
||||
|
||||
# Переключение между окнами текущей группы |
||||
bind on Mod4+c cycle local next |
||||
bind on Mod4+Shift+c cycle local prev |
||||
bind on Control+Tab cycle prev |
||||
bind on Mod1+Shif+Tab cycle prev |
||||
|
||||
# Выбор текущего фрейма в группе |
||||
# --- Курсорные клавиши |
||||
bind on Mod4+Left focus left |
||||
bind on Mod4+Right focus right |
||||
bind on Mod4+Up focus up |
||||
bind on Mod4+Down focus down |
||||
|
||||
# --- Vi-like клавиши |
||||
bind on Mod4+Control+h focus left |
||||
bind on Mod4+Control+l focus right |
||||
bind on Mod4+Control+k focus up |
||||
bind on Mod4+Control+j focus down |
||||
|
||||
# Переключение между группами |
||||
bind on Mod4+Next use (next) |
||||
bind on Mod4+Prior use (prev) |
||||
#bind on Mod4+Tab use (next) |
||||
bind on Mod4+Control+Tab use (prev) |
||||
|
||||
# Переход на другой монитор |
||||
bind on Mod4+Tab screen (next) |
||||
|
||||
# Пометить фрейм как занятый для открывающихся окон |
||||
bind on Mod4+Shift+d dedicate flip |
||||
|
||||
# Пометить фрейм для размещения в нём всех новых окон |
||||
bind on Mod4+Shift+a catchall flip |
||||
|
||||
# Отмена последней манипуляции с musca (!) |
||||
bind on Mod4+Shift+u undo |
||||
|
||||
# Переключение в режим плавающих окон |
||||
bind on Mod4+Shift+s stack flip |
||||
|
||||
# Перетаскивания окна между фреймами |
||||
# --- Курсорные клавиши |
||||
bind on Mod4+Shift+Left swap left |
||||
bind on Mod4+Shift+Right swap right |
||||
bind on Mod4+Shift+Up swap up |
||||
bind on Mod4+Shift+Down swap down |
||||
|
||||
# --- Vi-like клавиши |
||||
bind on Mod4+Shift+h swap left |
||||
bind on Mod4+Shift+l swap right |
||||
bind on Mod4+Shift+k swap up |
||||
bind on Mod4+Shift+j swap down |
||||
|
||||
# Изменение размеров текущего фрейма |
||||
# --- Курсорные клавиши |
||||
bind on Mod4+Control+Left resize left |
||||
bind on Mod4+Control+Right resize right |
||||
bind on Mod4+Control+Up resize up |
||||
bind on Mod4+Control+Down resize down |
||||
|
||||
# --- Vim-like клавиши |
||||
bind on Mod4+Mod1+h resize left |
||||
bind on Mod4+Mod1+l resize right |
||||
bind on Mod4+Mod1+k resize up |
||||
bind on Mod4+Mod1+j resize down |
||||
|
||||
# Перерисовка текущего окна |
||||
bind on Mod4+f refresh |
||||
|
||||
# Создание группы |
||||
bind on Mod4+Insert add work |
||||
|
||||
# Удаление группы |
||||
bind on Mod4+Delete drop work |
||||
|
||||
# Включение/выключение рамки окна |
||||
bind on Mod4+b border on |
||||
bind on Mod4+Shift+b border off |
||||
|
||||
# Открытие группы по номеру |
||||
bind on Mod4+1 use 0 |
||||
bind on Mod4+2 use 1 |
||||
bind on Mod4+3 use 2 |
||||
bind on Mod4+4 use 3 |
||||
bind on Mod4+5 use 4 |
||||
bind on Mod4+6 use 5 |
||||
bind on Mod4+7 use 6 |
||||
#bind on Mod4+8 use 7 |
||||
#bind on Mod4+9 use 8 |
||||
|
||||
# Выход из musca |
||||
bind on Mod4+Shift+q exec poweroff |
||||
|
||||
#}}} |
||||
|
||||
#Прочие настройки#{{{ |
||||
|
||||
# Нефреймовые окна |
||||
manage off Conky |
||||
|
||||
# По умолчанию новое окно открывается в пустом фрейме |
||||
set window_open_frame empty |
||||
|
||||
# Формат запуска dmenu |
||||
set dmenu dmenu -i -fn '-*-fixed-*-*-*-*-15-*-*-*-*-*-*-*' |
||||
#}}} |
||||
|
||||
# Запуск программ#{{{ |
||||
exec conky |
||||
exec xbindkeys -f $SHELLRC/etc/X/xbindkeysrc.$(uname -i) |
||||
exec urxvtd -q -o -f |
||||
|
||||
#exec xmodmap $SHELLRC/etc/X/Xmodmaprc.AuthenticAMD |
||||
#}}} |
||||
|