Sergey Kiselev
2 months ago
9 changed files with 632 additions and 926 deletions
@ -0,0 +1,71 @@ |
|||||
|
backend = "glx"; |
||||
|
glx-no-stencil = true; |
||||
|
glx-copy-from-front = false; |
||||
|
glx-swap-method = "undefined"; |
||||
|
|
||||
|
shadow = true; |
||||
|
no-dnd-shadow = true; |
||||
|
no-dock-shadow = true; |
||||
|
clear-shadow = true; |
||||
|
shadow-radius = 3; |
||||
|
shadow-offset-x = -3; |
||||
|
shadow-offset-y = -3 |
||||
|
shadow-opacity = 0.5; |
||||
|
|
||||
|
shadow-exclude = [ |
||||
|
"argb", |
||||
|
]; |
||||
|
|
||||
|
menu-opacity = 1; |
||||
|
inactive-opacity = 1; |
||||
|
active-opacity = 1; |
||||
|
frame-opacity = 0.6; |
||||
|
inactive-opacity-override = false; |
||||
|
alpha-step = 0.06; |
||||
|
|
||||
|
blur-background-fixed = true; |
||||
|
blur-background-frame = true; |
||||
|
blur-background = true; |
||||
|
blur-background-exclude = [ |
||||
|
"window_type = 'dock'", |
||||
|
"window_type = 'desktop'" |
||||
|
]; |
||||
|
|
||||
|
blur-kern = [ |
||||
|
"11x11gaussian", |
||||
|
"3x3box", |
||||
|
"5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1", |
||||
|
]; |
||||
|
|
||||
|
fading = true; |
||||
|
fade-delta = 8; |
||||
|
fade-in-step = 0.03; |
||||
|
fade-out-step = 0.03; |
||||
|
fade-exclude = [ ]; |
||||
|
|
||||
|
mark-wmwin-focused = true; |
||||
|
mark-ovredir-focused = true; |
||||
|
use-ewmh-active-win = true; |
||||
|
detect-rounded-corners = true; |
||||
|
detect-client-opacity = true; |
||||
|
refresh-rate = 0; |
||||
|
vsync = "opengl-swc"; |
||||
|
dbe = false; |
||||
|
paint-on-overlay = true; |
||||
|
sw-opti = true; |
||||
|
unredir-if-possible = true; |
||||
|
|
||||
|
focus-exclude = [ ]; |
||||
|
|
||||
|
detect-transient = true; |
||||
|
detect-client-leader = true; |
||||
|
|
||||
|
wintypes: { |
||||
|
tooltip = { |
||||
|
fade = true; |
||||
|
shadow = false; |
||||
|
opacity = 0.85; |
||||
|
focus = true; |
||||
|
}; |
||||
|
}; |
||||
|
|
@ -1,245 +1,89 @@ |
|||||
[global] |
# See dunst(5) for all configuration options |
||||
font = Liberation Sans 9 |
|
||||
|
|
||||
# Allow a small subset of html markup: |
|
||||
# <b>bold</b> |
|
||||
# <i>italic</i> |
|
||||
# <s>strikethrough</s> |
|
||||
# <u>underline</u> |
|
||||
# |
|
||||
# For a complete reference see |
|
||||
# <http://developer.gnome.org/pango/stable/PangoMarkupFormat.html>. |
|
||||
# If markup is not allowed, those tags will be stripped out of the |
|
||||
# message. |
|
||||
allow_markup = yes |
|
||||
|
|
||||
# The format of the message. Possible variables are: |
|
||||
# %a appname |
|
||||
# %s summary |
|
||||
# %b body |
|
||||
# %i iconname (including its path) |
|
||||
# %I iconname (without its path) |
|
||||
# %p progress value if set ([ 0%] to [100%]) or nothing |
|
||||
# Markup is allowed |
|
||||
format = "<b>%s</b>\n%b" |
|
||||
|
|
||||
# Sort messages by urgency. |
[global] |
||||
sort = yes |
monitor = 0 |
||||
|
follow = none |
||||
# Show how many messages are currently hidden (because of geometry). |
width = 300 |
||||
|
height = 300 |
||||
|
origin = top-right |
||||
|
offset = 10x50 |
||||
|
scale = 0 |
||||
|
notification_limit = 5 |
||||
|
progress_bar = true |
||||
|
progress_bar_height = 10 |
||||
|
progress_bar_frame_width = 1 |
||||
|
progress_bar_min_width = 150 |
||||
|
progress_bar_max_width = 280 |
||||
indicate_hidden = yes |
indicate_hidden = yes |
||||
|
|
||||
# Alignment of message text. |
|
||||
# Possible values are "left", "center" and "right". |
|
||||
alignment = left |
|
||||
|
|
||||
# The frequency with wich text that is longer than the notification |
|
||||
# window allows bounces back and forth. |
|
||||
# This option conflicts with "word_wrap". |
|
||||
# Set to 0 to disable. |
|
||||
bounce_freq = 0 |
|
||||
|
|
||||
# Show age of message if message is older than show_age_threshold |
|
||||
# seconds. |
|
||||
# Set to -1 to disable. |
|
||||
show_age_threshold = 60 |
|
||||
|
|
||||
# Split notifications into multiple lines if they don't fit into |
|
||||
# geometry. |
|
||||
word_wrap = yes |
|
||||
|
|
||||
# Ignore newlines '\n' in notifications. |
|
||||
ignore_newline = no |
|
||||
|
|
||||
|
|
||||
# The geometry of the window: |
|
||||
# [{width}]x{height}[+/-{x}+/-{y}] |
|
||||
# The geometry of the message window. |
|
||||
# The height is measured in number of notifications everything else |
|
||||
# in pixels. If the width is omitted but the height is given |
|
||||
# ("-geometry x2"), the message window expands over the whole screen |
|
||||
# (dmenu-like). If width is 0, the window expands to the longest |
|
||||
# message displayed. A positive x is measured from the left, a |
|
||||
# negative from the right side of the screen. Y is measured from |
|
||||
# the top and down respectevly. |
|
||||
# The width can be negative. In this case the actual width is the |
|
||||
# screen width minus the width defined in within the geometry option. |
|
||||
geometry = "300x5+36-36" |
|
||||
|
|
||||
# Shrink window if it's smaller than the width. Will be ignored if |
|
||||
# width is 0. |
|
||||
shrink = no |
|
||||
|
|
||||
# The transparency of the window. Range: [0; 100]. |
|
||||
# This option will only work if a compositing windowmanager is |
|
||||
# present (e.g. xcompmgr, compiz, etc.). |
|
||||
transparency = 0 |
transparency = 0 |
||||
|
|
||||
# Don't remove messages, if the user is idle (no mouse or keyboard input) |
|
||||
# for longer than idle_threshold seconds. |
|
||||
# Set to 0 to disable. |
|
||||
idle_threshold = 120 |
|
||||
|
|
||||
# Which monitor should the notifications be displayed on. |
|
||||
monitor = 0 |
|
||||
|
|
||||
# Display notification on focused monitor. Possible modes are: |
|
||||
# mouse: follow mouse pointer |
|
||||
# keyboard: follow window with keyboard focus |
|
||||
# none: don't follow anything |
|
||||
# |
|
||||
# "keyboard" needs a windowmanager that exports the |
|
||||
# _NET_ACTIVE_WINDOW property. |
|
||||
# This should be the case for almost all modern windowmanagers. |
|
||||
# |
|
||||
# If this option is set to mouse or keyboard, the monitor option |
|
||||
# will be ignored. |
|
||||
follow = mouse |
|
||||
|
|
||||
# Should a notification popped up from history be sticky or timeout |
|
||||
# as if it would normally do. |
|
||||
sticky_history = yes |
|
||||
|
|
||||
# Maximum amount of notifications kept in history |
|
||||
history_length = 20 |
|
||||
|
|
||||
# Display indicators for URLs (U) and actions (A). |
|
||||
show_indicators = yes |
|
||||
|
|
||||
# The height of a single line. If the height is smaller than the |
|
||||
# font height, it will get raised to the font height. |
|
||||
# This adds empty space above and under the text. |
|
||||
line_height = 0 |
|
||||
|
|
||||
# Draw a line of "separatpr_height" pixel height between two |
|
||||
# notifications. |
|
||||
# Set to 0 to disable. |
|
||||
separator_height = 2 |
separator_height = 2 |
||||
|
|
||||
# Padding between text and separator. |
|
||||
padding = 8 |
padding = 8 |
||||
|
|
||||
# Horizontal padding. |
|
||||
horizontal_padding = 8 |
horizontal_padding = 8 |
||||
|
text_icon_padding = 0 |
||||
# Define a color for the separator. |
frame_width = 3 |
||||
# possible values are: |
frame_color = "#aaaaaa" |
||||
# * auto: dunst tries to find a color fitting to the background; |
|
||||
# * foreground: use the same color as the foreground; |
|
||||
# * frame: use the same color as the frame; |
|
||||
# * anything else will be interpreted as a X color. |
|
||||
separator_color = frame |
separator_color = frame |
||||
|
sort = yes |
||||
|
idle_threshold = 120 |
||||
|
font = Liberation Sans 10 |
||||
|
line_height = 0 |
||||
|
markup = full |
||||
|
format = "<b>%s</b>\n%b" |
||||
|
alignment = left |
||||
|
vertical_alignment = center |
||||
|
show_age_threshold = 60 |
||||
|
ellipsize = end |
||||
|
ignore_newline = no |
||||
|
stack_duplicates = true |
||||
|
hide_duplicate_count = false |
||||
|
show_indicators = yes |
||||
|
icon_position = left |
||||
|
min_icon_size = 0 |
||||
|
max_icon_size = 32 |
||||
|
icon_path = /home/cyrax/.icons/Papirus/16x16/status:/home/cyrax/.icons/Papirus/16x16/devices:/usr/local/share/icons/gnome/16x16/status/:/usr/local/share/icons/gnome/16x16/devices/ |
||||
|
sticky_history = yes |
||||
|
history_length = 20 |
||||
|
#dmenu = /usr/local/bin/dmenu -p dunst: |
||||
|
browser = /usr/local/bin/xdg-open |
||||
|
always_run_script = true |
||||
|
title = Dunst |
||||
|
class = Dunst |
||||
|
corner_radius = 4 |
||||
|
ignore_dbusclose = false |
||||
|
|
||||
# Print a notification on startup. |
# layer = top |
||||
# This is mainly for error detection, since dbus (re-)starts dunst |
force_xwayland = false |
||||
# automatically after a crash. |
|
||||
startup_notification = false |
|
||||
|
|
||||
# dmenu path. |
|
||||
# dmenu = /usr/bin/dmenu -p dunst: |
|
||||
|
|
||||
# Browser for opening urls in context menu. |
|
||||
# browser = /usr/bin/firefox -new-tab |
|
||||
|
|
||||
# Align icons left/right/off |
|
||||
icon_position = off |
|
||||
|
|
||||
# Paths to default icons. |
|
||||
icon_folders = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/ |
|
||||
|
|
||||
[frame] |
|
||||
width = 1 |
|
||||
color = "#e4e4e4" |
|
||||
|
|
||||
[shortcuts] |
|
||||
|
|
||||
# Shortcuts are specified as [modifier+][modifier+]...key |
|
||||
# Available modifiers are "ctrl", "mod1" (the alt-key), "mod2", |
|
||||
# "mod3" and "mod4" (windows-key). |
|
||||
# Xev might be helpful to find names for keys. |
|
||||
|
|
||||
# Close notification. |
|
||||
close = ctrl+space |
|
||||
|
|
||||
# Close all notifications. |
force_xinerama = false |
||||
close_all = ctrl+shift+space |
|
||||
|
|
||||
# Redisplay last message(s). |
mouse_left_click = close_current |
||||
# On the US keyboard layout "grave" is normally above TAB and left |
mouse_middle_click = do_action, close_current |
||||
# of "1". |
mouse_right_click = close_all |
||||
history = ctrl+grave |
|
||||
|
|
||||
# Context menu. |
[experimental] |
||||
context = ctrl+shift+period |
per_monitor_dpi = false |
||||
|
|
||||
[urgency_low] |
[urgency_low] |
||||
# IMPORTANT: colors have to be defined in quotation marks. |
|
||||
# Otherwise the "#" and following would be interpreted as a comment. |
|
||||
background = "#222222" |
background = "#222222" |
||||
foreground = "#888888" |
foreground = "#888888" |
||||
timeout = 10 |
timeout = 10 |
||||
|
#default_icon = /path/to/icon |
||||
|
|
||||
[urgency_normal] |
[urgency_normal] |
||||
background = "#285577" |
background = "#285577" |
||||
foreground = "#ffffff" |
foreground = "#ffffff" |
||||
timeout = 10 |
timeout = 10 |
||||
|
#default_icon = /path/to/icon |
||||
|
|
||||
[urgency_critical] |
[urgency_critical] |
||||
background = "#900000" |
background = "#900000" |
||||
foreground = "#ffffff" |
foreground = "#ffffff" |
||||
|
frame_color = "#ff0000" |
||||
timeout = 0 |
timeout = 0 |
||||
|
#default_icon = /path/to/icon |
||||
|
|
||||
|
#[notify-speak] |
||||
|
# summary = "*" |
||||
|
# script = notify-speak |
||||
|
|
||||
# Every section that isn't one of the above is interpreted as a rules to |
|
||||
# override settings for certain messages. |
|
||||
# Messages can be matched by "appname", "summary", "body", "icon", "category", |
|
||||
# "msg_urgency" and you can override the "timeout", "urgency", "foreground", |
|
||||
# "background", "new_icon" and "format". |
|
||||
# Shell-like globbing will get expanded. |
|
||||
# |
|
||||
# SCRIPTING |
|
||||
# You can specify a script that gets run when the rule matches by |
|
||||
# setting the "script" option. |
|
||||
# The script will be called as follows: |
|
||||
# script appname summary body icon urgency |
|
||||
# where urgency can be "LOW", "NORMAL" or "CRITICAL". |
|
||||
# |
|
||||
# NOTE: if you don't want a notification to be displayed, set the format |
|
||||
# to "". |
|
||||
# NOTE: It might be helpful to run dunst -print in a terminal in order |
|
||||
# to find fitting options for rules. |
|
||||
|
|
||||
#[espeak] |
|
||||
# summary = "*" |
|
||||
# script = dunst_espeak.sh |
|
||||
|
|
||||
#[script-test] |
|
||||
# summary = "*script*" |
|
||||
# script = dunst_test.sh |
|
||||
|
|
||||
#[ignore] |
|
||||
# # This notification will not be displayed |
|
||||
# summary = "foobar" |
|
||||
# format = "" |
|
||||
|
|
||||
#[signed_on] |
|
||||
# appname = Pidgin |
|
||||
# summary = "*signed on*" |
|
||||
# urgency = low |
|
||||
# |
|
||||
#[signed_off] |
|
||||
# appname = Pidgin |
|
||||
# summary = *signed off* |
|
||||
# urgency = low |
|
||||
# |
|
||||
#[says] |
|
||||
# appname = Pidgin |
|
||||
# summary = *says* |
|
||||
# urgency = critical |
|
||||
# |
|
||||
#[twitter] |
|
||||
# appname = Pidgin |
|
||||
# summary = *twitter.com* |
|
||||
# urgency = normal |
|
||||
# |
|
||||
# vim: ft=cfg |
# vim: ft=cfg |
||||
|
@ -1,27 +1,42 @@ |
|||||
#!/bin/sh |
#!/bin/sh |
||||
|
|
||||
|
#(dual-screen.sh) |
||||
|
|
||||
|
#(/usr/local/libexec/polkit-gnome-authentication-agent-1) & |
||||
|
|
||||
|
(sleep 2 && compton) & |
||||
|
|
||||
|
(sleep 2 && nitrogen --restore) & |
||||
(sleep 2 && /usr/local/libexec/gconfd-2) & |
(sleep 2 && /usr/local/libexec/gconfd-2) & |
||||
(sleep 2 && xscreensaver -no-splash) & |
(sleep 2 && xscreensaver -no-splash) & |
||||
(sleep 2 && dunst -config ~/.config/dunst.rc) & |
(sleep 2 && dunst -config ~/.config/dunst.rc) & |
||||
|
|
||||
(sleep 2 && nitrogen --restore) & |
(sleep 2 && tint2 -c ~/.config/tint2/panel.tint2rc) & |
||||
|
(sleep 2 && tint2 -c ~/.config/tint2/launcher.tint2rc) & |
||||
(sleep 2 && xcompmgr) & |
(sleep 2 && tint2 -c ~/.config/tint2/voice-panel.tint2rc) & |
||||
|
|
||||
(sleep 2 && tint2 -c ~/.config/tint2/panel.rc) & |
|
||||
(sleep 2 && tint2 -c ~/.config/tint2/launcher.rc) & |
|
||||
(sleep 2 && yeahconsole-start) & |
|
||||
(sleep 2 && bbpager-start) & |
(sleep 2 && bbpager-start) & |
||||
#(sleep 2 && xxkb) & |
(sleep 2 && yeahconsole-start) & |
||||
(sleep 2 && qxkb) & |
|
||||
#(sleep 2 && gtmixer) & |
|
||||
(sleep 2 && dsbmixer -i) & |
|
||||
|
|
||||
#(sleep 2 && cairo-calendar 5) & |
#(sleep 2 && cairo-calendar 5) & |
||||
(sleep 2 && conky-hw-monitor 5) & |
(sleep 2 && conky-hw-monitor 2) & |
||||
(sleep 2 && conky-clock 5) & |
(sleep 2 && conky-clock 2) & |
||||
|
(sleep 2 && conky-mpd5 2) & |
||||
|
|
||||
# Dynamic applications menu |
# Dynamic applications menu |
||||
(sleep 2 && regen-app-menu) & |
(sleep 2 && regen-app-menu) & |
||||
(sleep 2 && apps-monitor) & |
(sleep 2 && apps-monitor) & |
||||
|
|
||||
|
# Syncthing service |
||||
|
(sleep 2 && syncthing -home="${HOME}/.config/syncthing" -no-browser >/dev/null 2>&1) & |
||||
|
|
||||
|
( |
||||
|
I= |
||||
|
while [ "${I}" == "" ]; do |
||||
|
sleep 1 |
||||
|
I=$( xwininfo -name tint2_main_panel | grep id: | cut -d' ' -f4 ) |
||||
|
done |
||||
|
sleep 2 |
||||
|
xxkb & |
||||
|
dsbmixer -i & |
||||
|
) & |
||||
|
|
||||
|
@ -1,73 +1,74 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
<?xml version='1.0' encoding='utf-8'?> |
||||
<openbox_menu xmlns="http://openbox.org/3.4/menu"> |
<openbox_menu xmlns="http://openbox.org/" xmlns:ns0="http://openbox.org/3.4/menu"> |
||||
<menu id="system-menu" label="System"> |
<menu id="system-menu" label="System"> |
||||
<item label="Customize Look and Feel"> |
<item label="Customize Look and Feel"> |
||||
<action name="Execute"> |
<action name="Execute"> |
||||
<command>lxappearance</command> |
<command>lxappearance</command> |
||||
</action> |
</action> |
||||
</item> |
</item> |
||||
<item label="Openbox Configuration Manager"> |
<item label="Openbox Configuration Manager"> |
||||
<action name="Execute"> |
<action name="Execute"> |
||||
<command>obconf</command> |
<command>obconf</command> |
||||
<startupnotify> |
<startupnotify> |
||||
<enabled>yes</enabled> |
<enabled>yes</enabled> |
||||
</startupnotify> |
</startupnotify> |
||||
</action> |
</action> |
||||
</item> |
</item> |
||||
<item label="Openbox Menu Editor"> |
<!-- |
||||
<action name="Execute"> |
<item label="Openbox Menu Editor"> |
||||
<command>obmenu</command> |
<action name="Execute"> |
||||
<startupnotify> |
<command>obmenu</command> |
||||
<enabled>yes</enabled> |
<startupnotify> |
||||
</startupnotify> |
<enabled>yes</enabled> |
||||
</action> |
</startupnotify> |
||||
</item> |
</action> |
||||
<item label="Tint2 Config"> |
</item> |
||||
<action name="Execute"> |
--> |
||||
<command>tint2conf</command> |
<item label="Tint2 Config"> |
||||
</action> |
<action name="Execute"> |
||||
</item> |
<command>tint2conf</command> |
||||
<separator/> |
</action> |
||||
<item label="Reconfigure Openbox"> |
</item> |
||||
<action name="Reconfigure"/> |
<separator /> |
||||
</item> |
<item label="Reconfigure Openbox"> |
||||
<item label="Rebuild applications menu"> |
<action name="Reconfigure" /> |
||||
<action name="Execute"> |
</item> |
||||
<command>regen-app-menu</command> |
<item label="Rebuild applications menu"> |
||||
</action> |
<action name="Execute"> |
||||
</item> |
<command>regen-app-menu</command> |
||||
</menu> |
</action> |
||||
<menu id="root-menu" label="Openbox 3"> |
</item> |
||||
<separator label="Openbox 3" /> |
</menu> |
||||
<item icon="/usr/home/cyrax/.icons/Faience/apps/16/xterm.png" label="X Terminal"> |
<menu id="root-menu" label="Openbox 3"> |
||||
<action name="Execute"> |
<separator label="Openbox 3" /> |
||||
<command>urxvt</command> |
<item icon="/usr/home/cyrax/.icons/Gant/apps/terminal.png" label="X Terminal"> |
||||
</action> |
<action name="Execute"> |
||||
</item> |
<command>urxvt</command> |
||||
<item icon="/usr/home/cyrax/.icons/Faience/apps/16/system-file-manager.png" label="File browser"> |
</action> |
||||
<action name="Execute"> |
</item> |
||||
<command>pcmanfm --no-desktop</command> |
<item icon="/usr/home/cyrax/.icons/Gant/apps/system-file-manager.png" label="File browser"> |
||||
</action> |
<action name="Execute"> |
||||
</item> |
<command>pcmanfm --no-desktop</command> |
||||
<item icon="/usr/home/cyrax/.icons/Faience/apps/16/accessories-text-editor.png" label="Text editor"> |
</action> |
||||
<action name="Execute"> |
</item> |
||||
<command>leafpad</command> |
<item icon="/usr/home/cyrax/.icons/Gant/apps/text-editor.png" label="Text editor"> |
||||
</action> |
<action name="Execute"> |
||||
</item> |
<command>gedit</command> |
||||
<separator/> |
</action> |
||||
<!-- <menu execute="ob-app-menu.pl" icon="/usr/home/cyrax/.icons/Faenza/categories/16/applications-accessories.png" id="applications-pipe-menu" label="Applications"/>--> |
</item> |
||||
<menu execute="cat ~/.cache/openbox/ob-app.menu" icon="/usr/home/cyrax/.icons/Faenza/categories/16/applications-accessories.png" id="applications-pipe-menu" label="Приложения"/> |
<separator /> |
||||
<menu icon="/usr/home/cyrax/.icons/Faenza/categories/16/applications-system.png" id="system-menu"/> |
<menu icon="/usr/home/cyrax/.icons/Gant/categories/applications-all.png" execute="cat ~/.cache/openbox/apps.menu" id="applications-pipe-menu" label="Applications" /> |
||||
<separator/> |
<menu icon="/usr/home/cyrax/.icons/Gant/categories/applications-system.png" id="system-menu" /> |
||||
<item icon="/usr/home/cyrax/.icons/Faenza/actions/16/system-log-out.png" label="Log Out"> |
<separator /> |
||||
<action name="Exit"> |
<item icon="/usr/home/cyrax/.icons/Gant/actions/system-log-out.png" label="Log Out"> |
||||
<prompt>yes</prompt> |
<action name="Exit"> |
||||
</action> |
<prompt>yes</prompt> |
||||
</item> |
</action> |
||||
<item icon="/usr/home/cyrax/.icons/Faenza/actions/16/system-shutdown-panel.png" label="Shutdown"> |
</item> |
||||
<action name="Execute"> |
<item icon="/usr/home/cyrax/.icons/Gant/actions/system-shutdown.png" label="Shutdown"> |
||||
<command>obshutdown</command> |
<action name="Execute"> |
||||
</action> |
<command>obshutdown</command> |
||||
</item> |
</action> |
||||
</menu> |
</item> |
||||
|
</menu> |
||||
</openbox_menu> |
</openbox_menu> |
||||
|
File diff suppressed because it is too large
@ -1,71 +0,0 @@ |
|||||
set nocompatible |
|
||||
set encoding=utf-8 |
|
||||
|
|
||||
set t_Co=256 |
|
||||
colorscheme wombat256 |
|
||||
|
|
||||
set autoindent |
|
||||
set smartindent |
|
||||
set smarttab |
|
||||
|
|
||||
set shiftwidth=4 |
|
||||
set softtabstop=4 |
|
||||
set tabstop=4 |
|
||||
|
|
||||
set colorcolumn=80 |
|
||||
set nomodeline |
|
||||
|
|
||||
set hlsearch |
|
||||
|
|
||||
set noruler |
|
||||
set wildmenu |
|
||||
set cmdheight=1 |
|
||||
set laststatus=2 |
|
||||
set showmode |
|
||||
set showcmd |
|
||||
|
|
||||
filetype plugin indent on |
|
||||
syntax on |
|
||||
|
|
||||
autocmd FileType python set softtabstop=4 shiftwidth=4 expandtab autoindent |
|
||||
|
|
||||
set guifont=DejaVu_Sans_Mono:h10:cRUSSIAN |
|
||||
|
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
|
||||
" Display whitespace characters |
|
||||
set list |
|
||||
set listchars=tab:‣\ ,trail:·,extends:⋯,precedes:⋯,nbsp:• |
|
||||
|
|
||||
" Disable higlighting search result on Enter key |
|
||||
nnoremap <silent> <cr> :nohlsearch<cr><cr> |
|
||||
|
|
||||
" Show matching brackets |
|
||||
set showmatch |
|
||||
" Make < and > match as well |
|
||||
set matchpairs+=<:> |
|
||||
|
|
||||
hi User1 ctermfg=220 ctermbg=235 guifg=#ffd700 guibg=#262626 |
|
||||
hi User2 ctermfg=160 ctermbg=235 guifg=#d70000 guibg=#262626 |
|
||||
hi User3 ctermfg=177 ctermbg=235 guifg=#d787ff guibg=#262626 |
|
||||
hi User4 ctermfg=155 ctermbg=235 guifg=#afff5f guibg=#262626 |
|
||||
hi User5 ctermfg=221 ctermbg=235 guifg=#ffd75f guibg=#262626 |
|
||||
hi User6 ctermfg=239 ctermbg=235 guifg=#4e4e4e guibg=#262626 |
|
||||
|
|
||||
set statusline= |
|
||||
set statusline +=%1*\ %n\ %* " buffer number |
|
||||
set statusline +=%5*%{&ff}\ %* " file format |
|
||||
set statusline +=%3*%y\ %6*\|%* " file type |
|
||||
set statusline +=%4*\ %<%f\ %6*\|%4*%* " full path |
|
||||
set statusline +=%2*\ %m%6*%* " modified flag |
|
||||
set statusline +=%6*%=\|\ %1*%05l%* " current line |
|
||||
set statusline +=%6*\ \|\ %2*%05L%* " total lines |
|
||||
set statusline +=%6*\ \|\ %5*%04v%6*%* " virtual column number |
|
||||
set statusline +=%6*\ \|\ %2*\ %3p%%\ %* " percentage position |
|
||||
|
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
|
||||
" Reload .vimrc after save changing |
|
||||
augroup myvimrc |
|
||||
au! |
|
||||
au BufWritePost .vimrc,_vimrc,vimrc,.gvimrc,_gvimrc,gvimrc so $MYVIMRC | if has('gui_running') | so $MYGVIMRC | endif |
|
||||
augroup END |
|
||||
|
|
@ -0,0 +1,21 @@ |
|||||
|
XXkb.image.path: /usr/home/cyrax/.icons/flags |
||||
|
XXkb.group.base: 1 |
||||
|
XXkb.group.alt: 2 |
||||
|
XXkb.mainwindow.enable: yes |
||||
|
XXkb.mainwindow.type: tray |
||||
|
XXkb.mainwindow.image.1: us.svg |
||||
|
XXkb.mainwindow.image.2: ru.svg |
||||
|
XXkb.mainwindow.image.3: |
||||
|
XXkb.mainwindow.image.4: |
||||
|
XXkb.mainwindow.appicon: no |
||||
|
XXkb.mainwindow.geometry: 24x24+0+0 |
||||
|
XXkb.mainwindow.in_tray: yes |
||||
|
XXkb.button.enable: no |
||||
|
XXkb.controls.add_when_start: yes |
||||
|
XXkb.controls.add_when_create: yes |
||||
|
XXkb.controls.add_when_change: no |
||||
|
XXkb.controls.focusout: no |
||||
|
#XXkb.mainwindow.xpm.1: en15.xpm |
||||
|
#XXkb.mainwindow.xpm.2: ru15.xpm |
||||
|
XXkb.mainwindow.label.enable: no |
||||
|
|
Loading…
Reference in new issue