Compare commits
3 Commits
arch-linux
...
pop-os
Author | SHA1 | Date | |
---|---|---|---|
|
93489c6c6b | ||
|
8688db153f | ||
|
b851c9239a |
63
.Xresources
63
.Xresources
@@ -19,28 +19,6 @@
|
||||
#define CYAN2 #9AEDFE
|
||||
#define ORANGE #FFB86C
|
||||
|
||||
! Regular DPI Parameters
|
||||
#define DPI 96
|
||||
#define BAR_HEIGHT 25
|
||||
#define MODULE_MARGIN 2
|
||||
#define TRAY_MAXSIZE 15
|
||||
#define TRAY_SCALE 1
|
||||
#define BORDER_SIZE 2
|
||||
#define INNER_GAPS 20
|
||||
#define OUTER_GAPS 10
|
||||
#define MAXLEN 75
|
||||
|
||||
! ! HiDPI Parameters
|
||||
! #define DPI 192
|
||||
! #define BAR_HEIGHT 50
|
||||
! #define MODULE_MARGIN 1
|
||||
! #define TRAY_MAXSIZE 30
|
||||
! #define TRAY_SCALE 1
|
||||
! #define BORDER_SIZE 4
|
||||
! #define INNER_GAPS 40
|
||||
! #define OUTER_GAPS 20
|
||||
! #define MAXLEN 45
|
||||
|
||||
! Dracula Xresources Palette
|
||||
*.foreground: FOREGROUND
|
||||
*.background: BACKGROUND
|
||||
@@ -61,44 +39,3 @@
|
||||
*.color7: WHITE2
|
||||
*.color15: WHITE1
|
||||
*.color16: ORANGE
|
||||
|
||||
! DWM
|
||||
dwm.normbgcolor: BACKGROUND
|
||||
dwm.normbordercolor: BLACK2
|
||||
dwm.normfgcolor: FOREGROUND
|
||||
dwm.selfgcolor: BACKGROUND
|
||||
dwm.selbordercolor: PURPLE1
|
||||
dwm.selbgcolor: PURPLE1
|
||||
dwm.borderpx: BORDER_SIZE
|
||||
dwm.gappih: INNER_GAPS
|
||||
dwm.gappiv: INNER_GAPS
|
||||
dwm.gappoh: OUTER_GAPS
|
||||
dwm.gappov: OUTER_GAPS
|
||||
|
||||
! Polybar
|
||||
polybar.bar-height: BAR_HEIGHT
|
||||
polybar.module-margin: MODULE_MARGIN
|
||||
polybar.tray-maxsize: TRAY_MAXSIZE
|
||||
polybar.tray-scale: TRAY_SCALE
|
||||
polybar.maxlen: MAXLEN
|
||||
|
||||
! Dunst
|
||||
dunst.geometry-x: OUTER_GAPS
|
||||
dunst.geometry-y: BAR_HEIGHT
|
||||
dunst.sep-height: BORDER_SIZE
|
||||
dunst.padding: OUTER_GAPS
|
||||
dunst.horiz-padding: OUTER_GAPS
|
||||
dunst.max-icon-size: DPI
|
||||
dunst.frame-width: BORDER_SIZE
|
||||
dunst.low-background: BACKGROUND
|
||||
dunst.low-foreground: FOREGROUND
|
||||
dunst.low-frame: PURPLE1
|
||||
dunst.normal-background: BACKGROUND
|
||||
dunst.normal-foreground: FOREGROUND
|
||||
dunst.normal-frame: PURPLE1
|
||||
dunst.critical-background: RED1
|
||||
dunst.critical-foreground: FOREGROUND
|
||||
dunst.critical-frame: PURPLE1
|
||||
|
||||
! Display Scaling
|
||||
*.dpi: DPI
|
||||
|
11
.bashrc
11
.bashrc
@@ -116,15 +116,14 @@ if ! shopt -oq posix; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# Run neofetch when opening terminal
|
||||
neofetch
|
||||
|
||||
# ALIASES
|
||||
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
|
||||
|
||||
# EXPORTS
|
||||
# ENVIRONMENT VARIABLES
|
||||
export EDITOR="code -w"
|
||||
export TERM=xterm-256color
|
||||
export QT_STYLE_OVERRIDE=kvantum
|
||||
export XDG_CONFIG_HOME=$HOME/.config
|
||||
|
||||
# Starship Prompt
|
||||
eval "$(starship init bash)"
|
||||
# Set fish as interactive shell only
|
||||
exec fish
|
||||
|
@@ -1,439 +0,0 @@
|
||||
[global]
|
||||
### Display ###
|
||||
|
||||
# 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 window manager that exports the
|
||||
# _NET_ACTIVE_WINDOW property.
|
||||
# This should be the case for almost all modern window managers.
|
||||
#
|
||||
# If this option is set to mouse or keyboard, the monitor option
|
||||
# will be ignored.
|
||||
follow = keyboard
|
||||
|
||||
# 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 respectively.
|
||||
# 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 = "0x0-10+40"
|
||||
|
||||
# Show how many messages are currently hidden (because of geometry).
|
||||
indicate_hidden = yes
|
||||
|
||||
# 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 window manager is
|
||||
# present (e.g. xcompmgr, compiz, etc.).
|
||||
transparency = 15
|
||||
|
||||
# The height of the entire notification. If the height is smaller
|
||||
# than the font height and padding combined, it will be raised
|
||||
# to the font height and padding.
|
||||
notification_height = 0
|
||||
|
||||
# Draw a line of "separator_height" pixel height between two
|
||||
# notifications.
|
||||
# Set to 0 to disable.
|
||||
separator_height = 1
|
||||
|
||||
# Padding between text and separator.
|
||||
padding = 8
|
||||
|
||||
# Horizontal padding.
|
||||
horizontal_padding = 10
|
||||
|
||||
# Defines width in pixels of frame around the notification window.
|
||||
# Set to 0 to disable.
|
||||
frame_width = 2
|
||||
|
||||
# Defines color of the frame around the notification window.
|
||||
frame_color = "#aaaaaa"
|
||||
|
||||
# Define a color for the separator.
|
||||
# possible values are:
|
||||
# * 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 = auto
|
||||
|
||||
# Sort messages by urgency.
|
||||
sort = yes
|
||||
|
||||
# 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.
|
||||
# A client can set the 'transient' hint to bypass this. See the rules
|
||||
# section for how to disable this if necessary
|
||||
idle_threshold = 120
|
||||
|
||||
### Text ###
|
||||
|
||||
font = Monospace 10
|
||||
|
||||
# The spacing between lines. If the height is smaller than the
|
||||
# font height, it will get raised to the font height.
|
||||
line_height = 0
|
||||
|
||||
# Possible values are:
|
||||
# full: Allow a small subset of html markup in notifications:
|
||||
# <b>bold</b>
|
||||
# <i>italic</i>
|
||||
# <s>strikethrough</s>
|
||||
# <u>underline</u>
|
||||
#
|
||||
# For a complete reference see
|
||||
# <https://developer.gnome.org/pango/stable/pango-Markup.html>.
|
||||
#
|
||||
# strip: This setting is provided for compatibility with some broken
|
||||
# clients that send markup even though it's not enabled on the
|
||||
# server. Dunst will try to strip the markup but the parsing is
|
||||
# simplistic so using this option outside of matching rules for
|
||||
# specific applications *IS GREATLY DISCOURAGED*.
|
||||
#
|
||||
# no: Disable markup parsing, incoming notifications will be treated as
|
||||
# plain text. Dunst will not advertise that it has the body-markup
|
||||
# capability if this is set as a global setting.
|
||||
#
|
||||
# It's important to note that markup inside the format option will be parsed
|
||||
# regardless of what this is set to.
|
||||
markup = full
|
||||
|
||||
# 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
|
||||
# %n progress value if set without any extra characters
|
||||
# %% Literal %
|
||||
# Markup is allowed
|
||||
format = "<b>%s</b> | <i>%a</i> %p\n%b"
|
||||
|
||||
# Alignment of message text.
|
||||
# Possible values are "left", "center" and "right".
|
||||
alignment = center
|
||||
|
||||
# Vertical alignment of message text and icon.
|
||||
# Possible values are "top", "center" and "bottom".
|
||||
vertical_alignment = center
|
||||
|
||||
# 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
|
||||
|
||||
# When word_wrap is set to no, specify where to make an ellipsis in long lines.
|
||||
# Possible values are "start", "middle" and "end".
|
||||
ellipsize = middle
|
||||
|
||||
# Ignore newlines '\n' in notifications.
|
||||
ignore_newline = no
|
||||
|
||||
# Stack together notifications with the same content
|
||||
stack_duplicates = true
|
||||
|
||||
# Hide the count of stacked notifications with the same content
|
||||
hide_duplicate_count = false
|
||||
|
||||
# Display indicators for URLs (U) and actions (A).
|
||||
show_indicators = yes
|
||||
|
||||
### Icons ###
|
||||
|
||||
# Align icons left/right/off
|
||||
icon_position = left
|
||||
|
||||
# Scale small icons up to this size, set to 0 to disable. Helpful
|
||||
# for e.g. small files or high-dpi screens. In case of conflict,
|
||||
# max_icon_size takes precedence over this.
|
||||
min_icon_size = 0
|
||||
|
||||
# Scale larger icons down to this size, set to 0 to disable
|
||||
max_icon_size = 96
|
||||
|
||||
# Paths to default icons.
|
||||
icon_path = /usr/share/icons/Papirus-Dark/16x16/status/:/usr/share/icons/Papirus-Dark/16x16/devices/:/usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
|
||||
|
||||
### History ###
|
||||
|
||||
# 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
|
||||
|
||||
### Misc/Advanced ###
|
||||
|
||||
# dmenu path.
|
||||
dmenu = /usr/bin/rofi -dmenu -p dunst:
|
||||
|
||||
# Browser for opening urls in context menu.
|
||||
browser = /usr/bin/vivaldi-stable
|
||||
|
||||
# Always run rule-defined scripts, even if the notification is suppressed
|
||||
always_run_script = true
|
||||
|
||||
# Define the title of the windows spawned by dunst
|
||||
title = Dunst
|
||||
|
||||
# Define the class of the windows spawned by dunst
|
||||
class = Dunst
|
||||
|
||||
# Print a notification on startup.
|
||||
# This is mainly for error detection, since dbus (re-)starts dunst
|
||||
# automatically after a crash.
|
||||
startup_notification = true
|
||||
|
||||
# Manage dunst's desire for talking
|
||||
# Can be one of the following values:
|
||||
# crit: Critical features. Dunst aborts
|
||||
# warn: Only non-fatal warnings
|
||||
# mesg: Important Messages
|
||||
# info: all unimportant stuff
|
||||
# debug: all less than unimportant stuff
|
||||
verbosity = mesg
|
||||
|
||||
# Define the corner radius of the notification window
|
||||
# in pixel size. If the radius is 0, you have no rounded
|
||||
# corners.
|
||||
# The radius will be automatically lowered if it exceeds half of the
|
||||
# notification height to avoid clipping text and/or icons.
|
||||
corner_radius = 10
|
||||
|
||||
# Ignore the dbus closeNotification message.
|
||||
# Useful to enforce the timeout set by dunst configuration. Without this
|
||||
# parameter, an application may close the notification sent before the
|
||||
# user defined timeout.
|
||||
ignore_dbusclose = false
|
||||
|
||||
### Legacy
|
||||
|
||||
# Use the Xinerama extension instead of RandR for multi-monitor support.
|
||||
# This setting is provided for compatibility with older nVidia drivers that
|
||||
# do not support RandR and using it on systems that support RandR is highly
|
||||
# discouraged.
|
||||
#
|
||||
# By enabling this setting dunst will not be able to detect when a monitor
|
||||
# is connected or disconnected which might break follow mode if the screen
|
||||
# layout changes.
|
||||
force_xinerama = false
|
||||
|
||||
### mouse
|
||||
|
||||
# Defines list of actions for each mouse event
|
||||
# Possible values are:
|
||||
# * none: Don't do anything.
|
||||
# * do_action: If the notification has exactly one action, or one is marked as default,
|
||||
# invoke it. If there are multiple and no default, open the context menu.
|
||||
# * close_current: Close current notification.
|
||||
# * close_all: Close all notifications.
|
||||
# These values can be strung together for each mouse event, and
|
||||
# will be executed in sequence.
|
||||
mouse_left_click = close_current
|
||||
mouse_middle_click = close_all
|
||||
mouse_right_click = do_action, close_current
|
||||
|
||||
# Experimental features that may or may not work correctly. Do not expect them
|
||||
# to have a consistent behaviour across releases.
|
||||
[experimental]
|
||||
# Calculate the dpi to use on a per-monitor basis.
|
||||
# If this setting is enabled the Xft.dpi value will be ignored and instead
|
||||
# dunst will attempt to calculate an appropriate dpi value for each monitor
|
||||
# using the resolution and physical size. This might be useful in setups
|
||||
# where there are multiple screens with very different dpi values.
|
||||
per_monitor_dpi = false
|
||||
|
||||
[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.
|
||||
# close_all = ctrl+shift+space
|
||||
|
||||
# Redisplay last message(s).
|
||||
# On the US keyboard layout "grave" is normally above TAB and left
|
||||
# of "1". Make sure this key actually exists on your keyboard layout,
|
||||
# e.g. check output of 'xmodmap -pke'
|
||||
# history = ctrl+grave
|
||||
|
||||
# Context menu.
|
||||
# context = ctrl+shift+period
|
||||
|
||||
[urgency_low]
|
||||
# IMPORTANT: colors have to be defined in quotation marks.
|
||||
# Otherwise the "#" and following would be interpreted as a comment.
|
||||
# background = "#222222"
|
||||
# foreground = "#888888"
|
||||
frame_color = "#bd93f9"
|
||||
background = "#282a36"
|
||||
foreground = "#f8f8f2"
|
||||
timeout = 10
|
||||
# Icon for notifications with low urgency, uncomment to enable
|
||||
#icon = /path/to/icon
|
||||
|
||||
[urgency_normal]
|
||||
# background = "#285577"
|
||||
# foreground = "#ffffff"
|
||||
frame_color = "#bd93f9"
|
||||
background = "#282a36"
|
||||
foreground = "#f8f8f2"
|
||||
timeout = 10
|
||||
# Icon for notifications with normal urgency, uncomment to enable
|
||||
#icon = /path/to/icon
|
||||
|
||||
[urgency_critical]
|
||||
# background = "#900000"
|
||||
# foreground = "#ffffff"
|
||||
frame_color = "#282a36"
|
||||
background = "#ff5555"
|
||||
foreground = "#f8f8f2"
|
||||
timeout = 0
|
||||
# Icon for notifications with critical urgency, uncomment to enable
|
||||
#icon = /path/to/icon
|
||||
|
||||
# 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 (discouraged, see desktop_entry)
|
||||
# body
|
||||
# category
|
||||
# desktop_entry
|
||||
# icon
|
||||
# match_transient
|
||||
# msg_urgency
|
||||
# stack_tag
|
||||
# summary
|
||||
#
|
||||
# and you can override the
|
||||
# background
|
||||
# foreground
|
||||
# format
|
||||
# frame_color
|
||||
# fullscreen
|
||||
# new_icon
|
||||
# set_stack_tag
|
||||
# set_transient
|
||||
# timeout
|
||||
# urgency
|
||||
#
|
||||
# Shell-like globbing will get expanded.
|
||||
#
|
||||
# Instead of the appname filter, it's recommended to use the desktop_entry filter.
|
||||
# GLib based applications export their desktop-entry name. In comparison to the appname,
|
||||
# the desktop-entry won't get localized.
|
||||
#
|
||||
# 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.
|
||||
|
||||
# Disable the transient hint so that idle_threshold cannot be bypassed from the
|
||||
# client
|
||||
#[transient_disable]
|
||||
# match_transient = yes
|
||||
# set_transient = no
|
||||
#
|
||||
# Make the handling of transient notifications more strict by making them not
|
||||
# be placed in history.
|
||||
#[transient_history_ignore]
|
||||
# match_transient = yes
|
||||
# history_ignore = yes
|
||||
|
||||
# fullscreen values
|
||||
# show: show the notifications, regardless if there is a fullscreen window opened
|
||||
# delay: displays the new notification, if there is no fullscreen window active
|
||||
# If the notification is already drawn, it won't get undrawn.
|
||||
# pushback: same as delay, but when switching into fullscreen, the notification will get
|
||||
# withdrawn from screen again and will get delayed like a new notification
|
||||
#[fullscreen_delay_everything]
|
||||
# fullscreen = delay
|
||||
#[fullscreen_show_critical]
|
||||
# msg_urgency = critical
|
||||
# fullscreen = show
|
||||
|
||||
#[espeak]
|
||||
# summary = "*"
|
||||
# script = dunst_espeak.sh
|
||||
|
||||
#[script-test]
|
||||
# summary = "*script*"
|
||||
# script = dunst_test.sh
|
||||
|
||||
#[ignore]
|
||||
# # This notification will not be displayed
|
||||
# summary = "foobar"
|
||||
# format = ""
|
||||
|
||||
#[history-ignore]
|
||||
# # This notification will not be saved in history
|
||||
# summary = "foobar"
|
||||
# history_ignore = yes
|
||||
|
||||
#[skip-display]
|
||||
# # This notification will not be displayed, but will be included in the history
|
||||
# summary = "foobar"
|
||||
# skip_display = yes
|
||||
|
||||
#[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
|
||||
#
|
||||
#[stack-volumes]
|
||||
# appname = "some_volume_notifiers"
|
||||
# set_stack_tag = "volume"
|
||||
#
|
||||
# vim: ft=cfg
|
@@ -1,38 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Get values from Xresources
|
||||
config=~/.config/dunst/dunstrc
|
||||
geometry_x=$(xgetres dunst.geometry-x)
|
||||
geometry_y=$(xgetres dunst.geometry-y)
|
||||
separator_height=$(xgetres dunst.sep-height)
|
||||
padding=$(xgetres dunst.padding)
|
||||
horizontal_padding=$(xgetres dunst.horiz-padding)
|
||||
max_icon_size=$(xgetres dunst.max-icon-size)
|
||||
frame_width=$(xgetres dunst.frame-width)
|
||||
lb=$(xgetres dunst.low-background)
|
||||
lf=$(xgetres dunst.low-foreground)
|
||||
lfr=$(xgetres dunst.low-frame)
|
||||
nb=$(xgetres dunst.normal-background)
|
||||
nf=$(xgetres dunst.normal-foreground)
|
||||
nfr=$(xgetres dunst.normal-frame)
|
||||
cb=$(xgetres dunst.critical-background)
|
||||
cf=$(xgetres dunst.critical-foreground)
|
||||
cfr=$(xgetres dunst.critical-frame)
|
||||
|
||||
# Kill and running dunst instances and start
|
||||
killall dunst;/usr/bin/dunst -config $config \
|
||||
-geometry "0x0-$geometry_x+$geometry_y" \
|
||||
-separator_height "$separator_height" \
|
||||
-padding "$padding" \
|
||||
-horizontal_padding "$horizontal_padding" \
|
||||
-max_icon_size "$max_icon_size" \
|
||||
-frame_width "$frame_width" \
|
||||
-lb "$lb" \
|
||||
-lf "$lf" \
|
||||
-lfr "$lfr" \
|
||||
-nb "$nb" \
|
||||
-nf "$nf" \
|
||||
-nfr "$nfr" \
|
||||
-cb "$cb" \
|
||||
-cf "$cf" \
|
||||
-cfr "$cfr"
|
Submodule .config/dwm deleted from 8e4f659772
@@ -13,13 +13,13 @@ set -l pink ff79c6
|
||||
# Syntax Highlighting Colors
|
||||
set -g fish_color_normal $foreground
|
||||
set -g fish_color_command $cyan
|
||||
set -g fish_color_keyword $pink
|
||||
set -g fish_color_quote $yellow
|
||||
set -g fish_color_redirection $foreground
|
||||
set -g fish_color_end $orange
|
||||
set -g fish_color_error $red
|
||||
set -g fish_color_param $purple
|
||||
set -g fish_color_comment $comment
|
||||
set -g fish_color_match --background=$selection
|
||||
set -g fish_color_selection --background=$selection
|
||||
set -g fish_color_search_match --background=$selection
|
||||
set -g fish_color_operator $green
|
||||
|
@@ -2,15 +2,8 @@
|
||||
# GREETING #
|
||||
############
|
||||
function fish_greeting
|
||||
# Indices of colorscripts that don't block prompt
|
||||
set colorscript_indices 2 3 5 6 7 13 14 15 16 17 18 19 20 21 22 23 25 26 27 28 29 30 31 36 37 38 39 40 41 43 44 46 47 48 49 50 51
|
||||
# Get length of array
|
||||
set length (count $colorscript_indices)
|
||||
# Randomly select array index
|
||||
set i (math (random) % $length + 1)
|
||||
# Output randomly selected colorscript from approved list
|
||||
colorscript -e $colorscript_indices[$i]
|
||||
# Output swimming fish string
|
||||
clear
|
||||
neofetch
|
||||
echo "¸.·´¯`·.´¯`·.¸¸.·´¯`·.¸><(((º>"
|
||||
end
|
||||
|
||||
|
19
.config/kitty/diff.conf
Normal file
19
.config/kitty/diff.conf
Normal file
@@ -0,0 +1,19 @@
|
||||
foreground #f8f8f2
|
||||
background #282a36
|
||||
title_fg #f8f8f2
|
||||
title_bg #282a36
|
||||
margin_bg #6272a4
|
||||
margin_fg #44475a
|
||||
removed_bg #ff5555
|
||||
highlight_removed_bg #ff5555
|
||||
removed_margin_bg #ff5555
|
||||
added_bg #50fa7b
|
||||
highlight_added_bg #50fa7b
|
||||
added_margin_bg #50fa7b
|
||||
filler_bg #44475a
|
||||
hunk_margin_bg #44475a
|
||||
hunk_bg #bd93f9
|
||||
search_bg #8be9fd
|
||||
search_fg #282a36
|
||||
select_bg #f1fa8c
|
||||
select_fg #282a36
|
@@ -427,7 +427,7 @@ window_resize_step_lines 2
|
||||
#: resizing windows. The cells value is used for horizontal resizing
|
||||
#: and the lines value for vertical resizing.
|
||||
|
||||
window_border_width 0.5pt
|
||||
window_border_width 0.5
|
||||
|
||||
#: The width of window borders. Can be either in pixels (px) or pts
|
||||
#: (pt). Values in pts will be rounded to the nearest number of pixels
|
||||
@@ -1311,4 +1311,4 @@ map kitty_mod+delete clear_terminal reset active
|
||||
|
||||
# }}}
|
||||
|
||||
include dracula.conf
|
||||
include dracula.conf
|
||||
|
@@ -1,45 +0,0 @@
|
||||
# default options
|
||||
display_on=0
|
||||
span_image=false
|
||||
lock_timeout=300
|
||||
fx_list=(dim blur dimblur pixel dimpixel color)
|
||||
dim_level=40
|
||||
blur_level=1
|
||||
pixel_scale=10,1000
|
||||
solid_color=333333
|
||||
|
||||
# # default theme options
|
||||
# loginbox=00000066
|
||||
# loginshadow=00000000
|
||||
# locktext="Type password to unlock..."
|
||||
# font="sans-serif"
|
||||
# ringcolor=ffffffff
|
||||
# insidecolor=00000000
|
||||
# separatorcolor=00000000
|
||||
# ringvercolor=ffffffff
|
||||
# insidevercolor=00000000
|
||||
# ringwrongcolor=ffffffff
|
||||
# insidewrongcolor=d23c3dff
|
||||
# keyhlcolor=d23c3dff
|
||||
# bshlcolor=d23c3dff
|
||||
# verifcolor=ffffffff
|
||||
# timecolor=ffffffff
|
||||
# datecolor=ffffffff
|
||||
|
||||
# Dracula theme options
|
||||
loginbox=282a3666
|
||||
loginshadow=282a3600
|
||||
locktext="Type password to unlock..."
|
||||
font="sans-serif"
|
||||
ringcolor=8be9fdff
|
||||
insidecolor=00000000
|
||||
separatorcolor=00000000
|
||||
ringvercolor=50fa7bff
|
||||
insidevercolor=50fa7bff
|
||||
ringwrongcolor=ff5555ff
|
||||
insidewrongcolor=ff5555ff
|
||||
keyhlcolor=bd93f9ff
|
||||
bshlcolor=bd93f9ff
|
||||
verifcolor=ffffffff
|
||||
timecolor=f8f8f2ff
|
||||
datecolor=f8f8f2ff
|
@@ -10,29 +10,29 @@ print_info() {
|
||||
info "Uptime" uptime
|
||||
info "Packages" packages
|
||||
info "Shell" shell
|
||||
info "Resolution" resolution
|
||||
info "DE" de
|
||||
info "WM" wm
|
||||
info "WM Theme" wm_theme
|
||||
info "Theme" theme
|
||||
info "Icons" icons
|
||||
info "Terminal" term
|
||||
info "Terminal Font" term_font
|
||||
info "CPU" cpu
|
||||
info "GPU" gpu
|
||||
# info "Resolution" resolution
|
||||
# info "DE" de
|
||||
# info "WM" wm
|
||||
# info "WM Theme" wm_theme
|
||||
# info "Theme" theme
|
||||
# info "Icons" icons
|
||||
# info "Terminal" term
|
||||
# info "Terminal Font" term_font
|
||||
# info "CPU" cpu
|
||||
# info "GPU" gpu
|
||||
# info "GPU Driver" gpu_driver # Linux/macOS only
|
||||
info "CPU Usage" cpu_usage
|
||||
info "Memory" memory
|
||||
info "GPU Driver" gpu_driver # Linux/macOS only
|
||||
# info "CPU Usage" cpu_usage
|
||||
# info "Disk" disk
|
||||
info "Disk" disk
|
||||
info "Battery" battery
|
||||
info "Font" font
|
||||
# info "Font" font
|
||||
# info "Song" song
|
||||
# [[ "$player" ]] && prin "Music Player" "$player"
|
||||
# info "Local IP" local_ip
|
||||
# info "Public IP" public_ip
|
||||
# info "Users" users
|
||||
# info "Locale" locale # This only works on glibc systems.
|
||||
# info cols
|
||||
info cols
|
||||
}
|
||||
|
||||
# Title
|
||||
|
@@ -1,534 +0,0 @@
|
||||
################################
|
||||
# Animations #
|
||||
#################################
|
||||
# requires https://github.com/jonaburg/picom
|
||||
|
||||
# length of animation in milliseconds (default: 300)
|
||||
transition-length = 150;
|
||||
|
||||
# animation easing on the x-axis (default: 0.1)
|
||||
transition-pow-x = 0.1;
|
||||
|
||||
# animation easing on the y-axis (default: 0.1)
|
||||
transition-pow-y = 0.1;
|
||||
|
||||
#animation easing on the window width (default: 0.1)
|
||||
transition-pow-w = 0.1;
|
||||
|
||||
# animation easing on the window height (default: 0.1)
|
||||
transition-pow-h = 0.1;
|
||||
|
||||
# whether to animate window size changes (default: true)
|
||||
size-transition = true;
|
||||
|
||||
# whether to animate new windows from the center of the screen (default: false)
|
||||
spawn-center-screen = false;
|
||||
|
||||
# whether to animate new windows from their own center (default: true)
|
||||
spawn-center = true;
|
||||
|
||||
# Whether to animate down scaling (some programs handle this poorly) (default: false)
|
||||
no-scale-down = true;
|
||||
|
||||
|
||||
#################################
|
||||
# Corners #
|
||||
#################################
|
||||
# requires: https://github.com/sdhand/compton or https://github.com/jonaburg/picom
|
||||
corner-radius = 10.0;
|
||||
rounded-corners-exclude = [
|
||||
# "window_type = 'normal'",
|
||||
# "class_g = 'awesome'",
|
||||
# "class_g = 'URxvt'",
|
||||
# "class_g = 'XTerm'",
|
||||
# "class_g = 'kitty'",
|
||||
# "class_g = 'Alacritty'",
|
||||
"class_g = 'Polybar'",
|
||||
# "class_g = 'code-oss'",
|
||||
#"class_g = 'TelegramDesktop'",
|
||||
# "class_g = 'firefox'",
|
||||
# "class_g = 'Thunderbird'"
|
||||
];
|
||||
round-borders = 1;
|
||||
round-borders-exclude = [
|
||||
#"class_g = 'TelegramDesktop'",
|
||||
];
|
||||
|
||||
|
||||
#################################
|
||||
# Shadows #
|
||||
#################################
|
||||
|
||||
# Enabled client-side shadows on windows. Note desktop windows
|
||||
# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
|
||||
# unless explicitly requested using the wintypes option.
|
||||
#
|
||||
# shadow = false
|
||||
shadow = false;
|
||||
|
||||
# The blur radius for shadows, in pixels. (defaults to 12)
|
||||
# shadow-radius = 12
|
||||
shadow-radius = 7;
|
||||
|
||||
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
|
||||
# shadow-opacity = .75
|
||||
|
||||
# The left offset for shadows, in pixels. (defaults to -15)
|
||||
# shadow-offset-x = -15
|
||||
shadow-offset-x = -7;
|
||||
|
||||
# The top offset for shadows, in pixels. (defaults to -15)
|
||||
# shadow-offset-y = -15
|
||||
shadow-offset-y = -7;
|
||||
|
||||
# Avoid drawing shadows on dock/panel windows. This option is deprecated,
|
||||
# you should use the *wintypes* option in your config file instead.
|
||||
#
|
||||
# no-dock-shadow = false
|
||||
|
||||
# Don't draw shadows on drag-and-drop windows. This option is deprecated,
|
||||
# you should use the *wintypes* option in your config file instead.
|
||||
#
|
||||
# no-dnd-shadow = false
|
||||
|
||||
# Red color value of shadow (0.0 - 1.0, defaults to 0).
|
||||
# shadow-red = 0
|
||||
|
||||
# Green color value of shadow (0.0 - 1.0, defaults to 0).
|
||||
# shadow-green = 0
|
||||
|
||||
# Blue color value of shadow (0.0 - 1.0, defaults to 0).
|
||||
# shadow-blue = 0
|
||||
|
||||
# Do not paint shadows on shaped windows. Note shaped windows
|
||||
# here means windows setting its shape through X Shape extension.
|
||||
# Those using ARGB background is beyond our control.
|
||||
# Deprecated, use
|
||||
# shadow-exclude = 'bounding_shaped'
|
||||
# or
|
||||
# shadow-exclude = 'bounding_shaped && !rounded_corners'
|
||||
# instead.
|
||||
#
|
||||
# shadow-ignore-shaped = ''
|
||||
|
||||
# Specify a list of conditions of windows that should have no shadow.
|
||||
#
|
||||
# examples:
|
||||
# shadow-exclude = "n:e:Notification";
|
||||
#
|
||||
# shadow-exclude = []
|
||||
shadow-exclude = [
|
||||
# "name = 'Notification'",
|
||||
# "class_g = 'Conky'",
|
||||
# "class_g ?= 'Notify-osd'",
|
||||
# "class_g = 'Cairo-clock'",
|
||||
# "class_g = 'slop'",
|
||||
# "class_g = 'Polybar'",
|
||||
# "_GTK_FRAME_EXTENTS@:c"
|
||||
];
|
||||
|
||||
# Specify a X geometry that describes the region in which shadow should not
|
||||
# be painted in, such as a dock window region. Use
|
||||
# shadow-exclude-reg = "x10+0+0"
|
||||
# for example, if the 10 pixels on the bottom of the screen should not have shadows painted on.
|
||||
#
|
||||
# shadow-exclude-reg = ""
|
||||
|
||||
# Crop shadow of a window fully on a particular Xinerama screen to the screen.
|
||||
# xinerama-shadow-crop = false
|
||||
|
||||
|
||||
#################################
|
||||
# Fading #
|
||||
#################################
|
||||
|
||||
# Fade windows in/out when opening/closing and when opacity changes,
|
||||
# unless no-fading-openclose is used.
|
||||
# fading = false
|
||||
fading = true;
|
||||
|
||||
# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
|
||||
# fade-in-step = 0.028
|
||||
fade-in-step = 0.03;
|
||||
|
||||
# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
|
||||
# fade-out-step = 0.03
|
||||
fade-out-step = 0.03;
|
||||
|
||||
# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
|
||||
# fade-delta = 10
|
||||
|
||||
# Specify a list of conditions of windows that should not be faded.
|
||||
# don't need this, we disable fading for all normal windows with wintypes: {}
|
||||
fade-exclude = [
|
||||
# "class_g = 'slop'" # maim
|
||||
]
|
||||
|
||||
# Do not fade on window open/close.
|
||||
# no-fading-openclose = false
|
||||
no-fading-openclose = true
|
||||
|
||||
# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc.
|
||||
# no-fading-destroyed-argb = false
|
||||
|
||||
|
||||
#################################
|
||||
# Transparency / Opacity #
|
||||
#################################
|
||||
|
||||
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
|
||||
inactive-opacity = 1
|
||||
# inactive-opacity = 0.8;
|
||||
|
||||
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
|
||||
frame-opacity = 1.0
|
||||
# frame-opacity = 0.7;
|
||||
|
||||
# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0)
|
||||
# menu-opacity = 1.0
|
||||
# menu-opacity is depreciated use dropdown-menu and popup-menu instead.
|
||||
|
||||
#If using these 2 below change their values in line 530 & 531 aswell
|
||||
# popup_menu = { opacity = 0.8; }
|
||||
popup_menu = { opacity = 1.0; }
|
||||
# dropdown_menu = { opacity = 0.8; }
|
||||
dropdown_menu = { opacity = 1.0; }
|
||||
|
||||
|
||||
# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows.
|
||||
# inactive-opacity-override = true
|
||||
inactive-opacity-override = false;
|
||||
|
||||
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
|
||||
active-opacity = 1.0;
|
||||
|
||||
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
|
||||
# inactive-dim = 0.0
|
||||
|
||||
# Specify a list of conditions of windows that should always be considered focused.
|
||||
# focus-exclude = []
|
||||
focus-exclude = [
|
||||
# "class_g = 'Cairo-clock'",
|
||||
# "class_g = 'Bar'", # lemonbar
|
||||
# "class_g = 'slop'" # maim
|
||||
];
|
||||
|
||||
# Use fixed inactive dim value, instead of adjusting according to window opacity.
|
||||
# inactive-dim-fixed = 1.0
|
||||
|
||||
# Specify a list of opacity rules, in the format `PERCENT:PATTERN`,
|
||||
# like `50:name *= "Firefox"`. picom-trans is recommended over this.
|
||||
# Note we don't make any guarantee about possible conflicts with other
|
||||
# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows.
|
||||
# example:
|
||||
# opacity-rule = [ "80:class_g = 'URxvt'" ];
|
||||
#
|
||||
# opacity-rule = []
|
||||
opacity-rule = [
|
||||
# "80:class_g = 'Bar'", # lemonbar
|
||||
# "100:class_g = 'slop'", # maim
|
||||
# "100:class_g = 'XTerm'",
|
||||
# "100:class_g = 'URxvt'",
|
||||
# "100:class_g = 'kitty'",
|
||||
# "100:class_g = 'Alacritty'",
|
||||
# "80:class_g = 'Polybar'",
|
||||
# "100:class_g = 'code-oss'",
|
||||
# "100:class_g = 'Meld'",
|
||||
# "70:class_g = 'TelegramDesktop'",
|
||||
# "90:class_g = 'Joplin'",
|
||||
# "100:class_g = 'firefox'",
|
||||
# "100:class_g = 'Thunderbird'"
|
||||
];
|
||||
|
||||
|
||||
#################################
|
||||
# Background-Blurring #
|
||||
#################################
|
||||
|
||||
# Parameters for background blurring, see the *BLUR* section for more information.
|
||||
# blur-method =
|
||||
# blur-size = 12
|
||||
#
|
||||
# blur-deviation = false
|
||||
|
||||
# Blur background of semi-transparent / ARGB windows.
|
||||
# Bad in performance, with driver-dependent behavior.
|
||||
# The name of the switch may change without prior notifications.
|
||||
#
|
||||
# blur-background = true;
|
||||
|
||||
# Blur background of windows when the window frame is not opaque.
|
||||
# Implies:
|
||||
# blur-background
|
||||
# Bad in performance, with driver-dependent behavior. The name may change.
|
||||
#
|
||||
# blur-background-frame = false;
|
||||
|
||||
|
||||
# Use fixed blur strength rather than adjusting according to window opacity.
|
||||
# blur-background-fixed = false;
|
||||
|
||||
|
||||
# Specify the blur convolution kernel, with the following format:
|
||||
# example:
|
||||
# blur-kern = "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";
|
||||
#
|
||||
# blur-kern = ''
|
||||
# blur-kern = "3x3box";
|
||||
|
||||
blur: {
|
||||
# requires: https://github.com/ibhagwan/picom
|
||||
method = "kawase";
|
||||
#method = "kernel";
|
||||
strength = 7;
|
||||
# deviation = 1.0;
|
||||
# kernel = "11x11gaussian";
|
||||
background = false;
|
||||
background-frame = false;
|
||||
background-fixed = false;
|
||||
kern = "3x3box";
|
||||
}
|
||||
|
||||
# Exclude conditions for background blur.
|
||||
blur-background-exclude = [
|
||||
#"window_type = 'dock'",
|
||||
#"window_type = 'desktop'",
|
||||
#"class_g = 'URxvt'",
|
||||
#
|
||||
# prevents picom from blurring the background
|
||||
# when taking selection screenshot with `main`
|
||||
# https://github.com/naelstrof/maim/issues/130
|
||||
"class_g = 'slop'",
|
||||
"_GTK_FRAME_EXTENTS@:c"
|
||||
];
|
||||
|
||||
|
||||
#################################
|
||||
# General Settings #
|
||||
#################################
|
||||
|
||||
# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers.
|
||||
# daemon = false
|
||||
|
||||
# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
|
||||
# `xrender` is the default one.
|
||||
#
|
||||
experimental-backends = true;
|
||||
backend = "glx";
|
||||
#backend = "xrender";
|
||||
|
||||
|
||||
# Enable/disable VSync.
|
||||
# vsync = false
|
||||
vsync = false
|
||||
|
||||
# Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
|
||||
# dbus = false
|
||||
|
||||
# Try to detect WM windows (a non-override-redirect window with no
|
||||
# child that has 'WM_STATE') and mark them as active.
|
||||
#
|
||||
# mark-wmwin-focused = false
|
||||
mark-wmwin-focused = true;
|
||||
|
||||
# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused.
|
||||
# mark-ovredir-focused = false
|
||||
mark-ovredir-focused = true;
|
||||
|
||||
# Try to detect windows with rounded corners and don't consider them
|
||||
# shaped windows. The accuracy is not very high, unfortunately.
|
||||
#
|
||||
# detect-rounded-corners = false
|
||||
detect-rounded-corners = true;
|
||||
|
||||
# Detect '_NET_WM_OPACITY' on client windows, useful for window managers
|
||||
# not passing '_NET_WM_OPACITY' of client windows to frame windows.
|
||||
#
|
||||
# detect-client-opacity = false
|
||||
detect-client-opacity = true;
|
||||
|
||||
# Specify refresh rate of the screen. If not specified or 0, picom will
|
||||
# try detecting this with X RandR extension.
|
||||
#
|
||||
# refresh-rate = 60
|
||||
refresh-rate = 0
|
||||
|
||||
# Limit picom to repaint at most once every 1 / 'refresh_rate' second to
|
||||
# boost performance. This should not be used with
|
||||
# vsync drm/opengl/opengl-oml
|
||||
# as they essentially does sw-opti's job already,
|
||||
# unless you wish to specify a lower refresh rate than the actual value.
|
||||
#
|
||||
# sw-opti =
|
||||
|
||||
# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
|
||||
# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy,
|
||||
# provided that the WM supports it.
|
||||
#
|
||||
# use-ewmh-active-win = false
|
||||
|
||||
# Unredirect all windows if a full-screen opaque window is detected,
|
||||
# to maximize performance for full-screen windows. Known to cause flickering
|
||||
# when redirecting/unredirecting windows. paint-on-overlay may make the flickering less obvious.
|
||||
#
|
||||
# unredir-if-possible = false
|
||||
|
||||
# Delay before unredirecting the window, in milliseconds. Defaults to 0.
|
||||
# unredir-if-possible-delay = 0
|
||||
|
||||
# Conditions of windows that shouldn't be considered full-screen for unredirecting screen.
|
||||
# unredir-if-possible-exclude = []
|
||||
|
||||
# Use 'WM_TRANSIENT_FOR' to group windows, and consider windows
|
||||
# in the same group focused at the same time.
|
||||
#
|
||||
# detect-transient = false
|
||||
detect-transient = true
|
||||
|
||||
# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same
|
||||
# group focused at the same time. 'WM_TRANSIENT_FOR' has higher priority if
|
||||
# detect-transient is enabled, too.
|
||||
#
|
||||
# detect-client-leader = false
|
||||
detect-client-leader = true
|
||||
|
||||
# Resize damaged region by a specific number of pixels.
|
||||
# A positive value enlarges it while a negative one shrinks it.
|
||||
# If the value is positive, those additional pixels will not be actually painted
|
||||
# to screen, only used in blur calculation, and such. (Due to technical limitations,
|
||||
# with use-damage, those pixels will still be incorrectly painted to screen.)
|
||||
# Primarily used to fix the line corruption issues of blur,
|
||||
# in which case you should use the blur radius value here
|
||||
# (e.g. with a 3x3 kernel, you should use `--resize-damage 1`,
|
||||
# with a 5x5 one you use `--resize-damage 2`, and so on).
|
||||
# May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly.
|
||||
#
|
||||
# resize-damage = 1
|
||||
|
||||
# Specify a list of conditions of windows that should be painted with inverted color.
|
||||
# Resource-hogging, and is not well tested.
|
||||
#
|
||||
# invert-color-include = []
|
||||
|
||||
# GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer.
|
||||
# Might cause incorrect opacity when rendering transparent content (but never
|
||||
# practically happened) and may not work with blur-background.
|
||||
# My tests show a 15% performance boost. Recommended.
|
||||
#
|
||||
# glx-no-stencil = false
|
||||
|
||||
# GLX backend: Avoid rebinding pixmap on window damage.
|
||||
# Probably could improve performance on rapid window content changes,
|
||||
# but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.).
|
||||
# Recommended if it works.
|
||||
#
|
||||
# glx-no-rebind-pixmap = false
|
||||
|
||||
# Disable the use of damage information.
|
||||
# This cause the whole screen to be redrawn everytime, instead of the part of the screen
|
||||
# has actually changed. Potentially degrades the performance, but might fix some artifacts.
|
||||
# The opposing option is use-damage
|
||||
#
|
||||
# no-use-damage = false
|
||||
#use-damage = true (Causing Weird Black semi opaque rectangles when terminal is opened)
|
||||
#Changing use-damage to false fixes the problem
|
||||
use-damage = false
|
||||
|
||||
# Use X Sync fence to sync clients' draw calls, to make sure all draw
|
||||
# calls are finished before picom starts drawing. Needed on nvidia-drivers
|
||||
# with GLX backend for some users.
|
||||
#
|
||||
# xrender-sync-fence = false
|
||||
|
||||
# GLX backend: Use specified GLSL fragment shader for rendering window contents.
|
||||
# See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl`
|
||||
# in the source tree for examples.
|
||||
#
|
||||
# glx-fshader-win = ''
|
||||
|
||||
# Force all windows to be painted with blending. Useful if you
|
||||
# have a glx-fshader-win that could turn opaque pixels transparent.
|
||||
#
|
||||
# force-win-blend = false
|
||||
|
||||
# Do not use EWMH to detect fullscreen windows.
|
||||
# Reverts to checking if a window is fullscreen based only on its size and coordinates.
|
||||
#
|
||||
# no-ewmh-fullscreen = false
|
||||
|
||||
# Dimming bright windows so their brightness doesn't exceed this set value.
|
||||
# Brightness of a window is estimated by averaging all pixels in the window,
|
||||
# so this could comes with a performance hit.
|
||||
# Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0)
|
||||
#
|
||||
# max-brightness = 1.0
|
||||
|
||||
# Make transparent windows clip other windows like non-transparent windows do,
|
||||
# instead of blending on top of them.
|
||||
#
|
||||
# transparent-clipping = false
|
||||
|
||||
# Set the log level. Possible values are:
|
||||
# "trace", "debug", "info", "warn", "error"
|
||||
# in increasing level of importance. Case doesn't matter.
|
||||
# If using the "TRACE" log level, it's better to log into a file
|
||||
# using *--log-file*, since it can generate a huge stream of logs.
|
||||
#
|
||||
# log-level = "debug"
|
||||
log-level = "info";
|
||||
|
||||
# Set the log file.
|
||||
# If *--log-file* is never specified, logs will be written to stderr.
|
||||
# Otherwise, logs will to written to the given file, though some of the early
|
||||
# logs might still be written to the stderr.
|
||||
# When setting this option from the config file, it is recommended to use an absolute path.
|
||||
#
|
||||
# log-file = '/path/to/your/log/file'
|
||||
|
||||
# Show all X errors (for debugging)
|
||||
# show-all-xerrors = false
|
||||
|
||||
# Write process ID to a file.
|
||||
# write-pid-path = '/path/to/your/log/file'
|
||||
|
||||
# Window type settings
|
||||
#
|
||||
# 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard:
|
||||
# "unknown", "desktop", "dock", "toolbar", "menu", "utility",
|
||||
# "splash", "dialog", "normal", "dropdown_menu", "popup_menu",
|
||||
# "tooltip", "notification", "combo", and "dnd".
|
||||
#
|
||||
# Following per window-type options are available: ::
|
||||
#
|
||||
# fade, shadow:::
|
||||
# Controls window-type-specific shadow and fade settings.
|
||||
#
|
||||
# opacity:::
|
||||
# Controls default opacity of the window type.
|
||||
#
|
||||
# focus:::
|
||||
# Controls whether the window of this type is to be always considered focused.
|
||||
# (By default, all window types except "normal" and "dialog" has this on.)
|
||||
#
|
||||
# full-shadow:::
|
||||
# Controls whether shadow is drawn under the parts of the window that you
|
||||
# normally won't be able to see. Useful when the window has parts of it
|
||||
# transparent, and you want shadows in those areas.
|
||||
#
|
||||
# redir-ignore:::
|
||||
# Controls whether this type of windows should cause screen to become
|
||||
# redirected again after been unredirected. If you have unredir-if-possible
|
||||
# set, and doesn't want certain window to cause unnecessary screen redirection,
|
||||
# you can set this to `true`.
|
||||
#
|
||||
wintypes:
|
||||
{
|
||||
normal = { fade = false; shadow = false; }
|
||||
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
|
||||
dock = { shadow = false; }
|
||||
dnd = { shadow = false; }
|
||||
# popup_menu = { opacity = 0.8; }
|
||||
popup_menu = { opacity = 1.0; }
|
||||
# dropdown_menu = { opacity = 0.8; }
|
||||
dropdown_menu = { opacity = 1.0; }
|
||||
};
|
@@ -1,66 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
helpmenu() {
|
||||
echo "Script to toggle picom ON/OFF. Use only one argument at a time."
|
||||
echo "Usage: toggle_picom.sh [--toggle | -t] [--on] [--off] [--help | -h]"
|
||||
echo " - Toggle: toggle_picom.sh OR toggle_picom.sh --toggle OR toggle_picom.sh -t"
|
||||
echo " - Turn On: toggle_picom.sh --on"
|
||||
echo " - Turn Off: toggle_picom.sh --off"
|
||||
echo " - Help: toggle_picom.sh --help OR toggle_picom.sh -h"
|
||||
}
|
||||
|
||||
check_running() {
|
||||
if pgrep -x picom >/dev/null; then
|
||||
echo 1
|
||||
else
|
||||
echo 0
|
||||
fi
|
||||
}
|
||||
|
||||
turn_on() {
|
||||
notify-send "Turning Picom ON"
|
||||
|
||||
if [ $(check_running) -eq '0' ]; then
|
||||
picom --config /home/sravan/.config/picom/picom.conf &
|
||||
fi
|
||||
}
|
||||
|
||||
turn_off() {
|
||||
notify-send "Turning Picom OFF"
|
||||
|
||||
if [ $(check_running) -eq '1' ]; then
|
||||
killall picom
|
||||
fi
|
||||
}
|
||||
|
||||
toggle() {
|
||||
if [ $(check_running) -eq '1' ]; then
|
||||
turn_off
|
||||
else
|
||||
turn_on
|
||||
fi
|
||||
}
|
||||
|
||||
main() {
|
||||
if [ $# -eq 0 ]; then
|
||||
# No arguments
|
||||
toggle
|
||||
else
|
||||
case $1 in
|
||||
--help | -h)
|
||||
helpmenu
|
||||
;;
|
||||
--toggle | -t)
|
||||
toggle
|
||||
;;
|
||||
--on)
|
||||
turn_on
|
||||
;;
|
||||
--off)
|
||||
turn_off
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
}
|
||||
|
||||
main $@
|
Submodule .config/polybar deleted from 13a0ee5c2b
@@ -1,146 +0,0 @@
|
||||
configuration {
|
||||
modi: "drun,run,clipboard:greenclip print,ssh";
|
||||
/* width: 50;*/
|
||||
/* lines: 15;*/
|
||||
/* columns: 1;*/
|
||||
font: "NotoSans Nerd Font 12";
|
||||
/* bw: 1;*/
|
||||
/* location: 0;*/
|
||||
/* padding: 5;*/
|
||||
/* yoffset: 0;*/
|
||||
/* xoffset: 0;*/
|
||||
/* fixed-num-lines: true;*/
|
||||
show-icons: true;
|
||||
terminal: "kitty";
|
||||
/* ssh-client: "ssh";*/
|
||||
/* ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]";*/
|
||||
/* run-command: "{cmd}";*/
|
||||
/* run-list-command: "";*/
|
||||
/* run-shell-command: "{terminal} -e {cmd}";*/
|
||||
/* window-command: "wmctrl -i -R {window}";*/
|
||||
/* window-match-fields: "all";*/
|
||||
icon-theme: "Papirus-Dark";
|
||||
/* drun-match-fields: "name,generic,exec,categories";*/
|
||||
/* drun-show-actions: false;*/
|
||||
/* drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";*/
|
||||
/* disable-history: false;*/
|
||||
/* ignored-prefixes: "";*/
|
||||
/* sort: false;*/
|
||||
/* sorting-method: ;*/
|
||||
/* case-sensitive: false;*/
|
||||
/* cycle: true;*/
|
||||
/* sidebar-mode: false;*/
|
||||
/* eh: 1;*/
|
||||
/* auto-select: false;*/
|
||||
/* parse-hosts: false;*/
|
||||
/* parse-known-hosts: true;*/
|
||||
/* combi-modi: "window,run";*/
|
||||
/* matching: "normal";*/
|
||||
/* tokenize: true;*/
|
||||
/* m: "-5";*/
|
||||
/* line-margin: 2;*/
|
||||
/* line-padding: 1;*/
|
||||
/* filter: ;*/
|
||||
/* separator-style: "dash";*/
|
||||
/* hide-scrollbar: false;*/
|
||||
/* fullscreen: false;*/
|
||||
/* fake-transparency: false;*/
|
||||
/* dpi: -1;*/
|
||||
/* threads: 0;*/
|
||||
/* scrollbar-width: 8;*/
|
||||
/* scroll-method: 0;*/
|
||||
/* fake-background: "screenshot";*/
|
||||
/* window-format: "{w} {c} {t}";*/
|
||||
/* click-to-exit: true;*/
|
||||
/* show-match: true;*/
|
||||
/* theme: ;*/
|
||||
/* color-normal: ;*/
|
||||
/* color-urgent: ;*/
|
||||
/* color-active: ;*/
|
||||
/* color-window: ;*/
|
||||
/* max-history-size: 25;*/
|
||||
/* combi-hide-mode-prefix: false;*/
|
||||
/* matching-negate-char: '-' /* unsupported */;*/
|
||||
/* cache-dir: ;*/
|
||||
/* pid: "/run/user/1000/rofi.pid";*/
|
||||
/* display-window: ;*/
|
||||
/* display-windowcd: ;*/
|
||||
/* display-run: ;*/
|
||||
/* display-ssh: ;*/
|
||||
/* display-drun: ;*/
|
||||
/* display-combi: ;*/
|
||||
/* display-keys: ;*/
|
||||
/* kb-primary-paste: "Control+V,Shift+Insert";*/
|
||||
/* kb-secondary-paste: "Control+v,Insert";*/
|
||||
/* kb-clear-line: "Control+w";*/
|
||||
/* kb-move-front: "Control+a";*/
|
||||
/* kb-move-end: "Control+e";*/
|
||||
/* kb-move-word-back: "Alt+b,Control+Left";*/
|
||||
/* kb-move-word-forward: "Alt+f,Control+Right";*/
|
||||
/* kb-move-char-back: "Left,Control+b";*/
|
||||
/* kb-move-char-forward: "Right,Control+f";*/
|
||||
/* kb-remove-word-back: "Control+Alt+h,Control+BackSpace";*/
|
||||
/* kb-remove-word-forward: "Control+Alt+d";*/
|
||||
/* kb-remove-char-forward: "Delete,Control+d";*/
|
||||
/* kb-remove-char-back: "BackSpace,Shift+BackSpace,Control+h";*/
|
||||
/* kb-remove-to-eol: "Control+k";*/
|
||||
/* kb-remove-to-sol: "Control+u";*/
|
||||
/* kb-accept-entry: "Control+j,Control+m,Return,KP_Enter";*/
|
||||
/* kb-accept-custom: "Control+Return";*/
|
||||
/* kb-accept-alt: "Shift+Return";*/
|
||||
/* kb-delete-entry: "Shift+Delete";*/
|
||||
/* kb-mode-next: "Shift+Right,Control+Tab";*/
|
||||
/* kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab";*/
|
||||
/* kb-row-left: "Control+Page_Up";*/
|
||||
/* kb-row-right: "Control+Page_Down";*/
|
||||
/* kb-row-up: "Up,Control+p,ISO_Left_Tab";*/
|
||||
/* kb-row-down: "Down,Control+n";*/
|
||||
/* kb-row-tab: "Tab";*/
|
||||
/* kb-page-prev: "Page_Up";*/
|
||||
/* kb-page-next: "Page_Down";*/
|
||||
/* kb-row-first: "Home,KP_Home";*/
|
||||
/* kb-row-last: "End,KP_End";*/
|
||||
/* kb-row-select: "Control+space";*/
|
||||
/* kb-screenshot: "Alt+S";*/
|
||||
/* kb-ellipsize: "Alt+period";*/
|
||||
/* kb-toggle-case-sensitivity: "grave,dead_grave";*/
|
||||
/* kb-toggle-sort: "Alt+grave";*/
|
||||
/* kb-cancel: "Escape,Control+g,Control+bracketleft";*/
|
||||
/* kb-custom-1: "Alt+1";*/
|
||||
/* kb-custom-2: "Alt+2";*/
|
||||
/* kb-custom-3: "Alt+3";*/
|
||||
/* kb-custom-4: "Alt+4";*/
|
||||
/* kb-custom-5: "Alt+5";*/
|
||||
/* kb-custom-6: "Alt+6";*/
|
||||
/* kb-custom-7: "Alt+7";*/
|
||||
/* kb-custom-8: "Alt+8";*/
|
||||
/* kb-custom-9: "Alt+9";*/
|
||||
/* kb-custom-10: "Alt+0";*/
|
||||
/* kb-custom-11: "Alt+exclam";*/
|
||||
/* kb-custom-12: "Alt+at";*/
|
||||
/* kb-custom-13: "Alt+numbersign";*/
|
||||
/* kb-custom-14: "Alt+dollar";*/
|
||||
/* kb-custom-15: "Alt+percent";*/
|
||||
/* kb-custom-16: "Alt+dead_circumflex";*/
|
||||
/* kb-custom-17: "Alt+ampersand";*/
|
||||
/* kb-custom-18: "Alt+asterisk";*/
|
||||
/* kb-custom-19: "Alt+parenleft";*/
|
||||
/* kb-select-1: "Super+1";*/
|
||||
/* kb-select-2: "Super+2";*/
|
||||
/* kb-select-3: "Super+3";*/
|
||||
/* kb-select-4: "Super+4";*/
|
||||
/* kb-select-5: "Super+5";*/
|
||||
/* kb-select-6: "Super+6";*/
|
||||
/* kb-select-7: "Super+7";*/
|
||||
/* kb-select-8: "Super+8";*/
|
||||
/* kb-select-9: "Super+9";*/
|
||||
/* kb-select-10: "Super+0";*/
|
||||
/* ml-row-left: "ScrollLeft";*/
|
||||
/* ml-row-right: "ScrollRight";*/
|
||||
/* ml-row-up: "ScrollUp";*/
|
||||
/* ml-row-down: "ScrollDown";*/
|
||||
/* me-select-entry: "MousePrimary";*/
|
||||
/* me-accept-entry: "MouseDPrimary";*/
|
||||
/* me-accept-custom: "Control+MouseDPrimary";*/
|
||||
}
|
||||
@import "./themes/dracula-blurry-full.rasi"
|
@@ -1,42 +0,0 @@
|
||||
/**
|
||||
* ROFI Color theme: dmenu-dracula
|
||||
* User: balajsra
|
||||
* Copyright: Sravan Balaji
|
||||
*/
|
||||
* {
|
||||
background-color: #282a36;
|
||||
text-color: #f8f8f2;
|
||||
font: "NotoSans Nerd Font 12";
|
||||
}
|
||||
|
||||
#window {
|
||||
anchor: north;
|
||||
location: north;
|
||||
width: 100%;
|
||||
padding: 2px 5px 2px 5px; /* top right bottom left */
|
||||
children: [ horibox ];
|
||||
}
|
||||
|
||||
#horibox {
|
||||
orientation: horizontal;
|
||||
children: [ prompt, entry, listview ];
|
||||
}
|
||||
|
||||
#listview {
|
||||
layout: horizontal;
|
||||
spacing: 10px;
|
||||
lines: 100;
|
||||
}
|
||||
|
||||
#entry {
|
||||
expand: false;
|
||||
width: 10em;
|
||||
}
|
||||
|
||||
#element {
|
||||
padding: 1px 5px 1px 5px; /* top right bottom left */
|
||||
}
|
||||
#element selected {
|
||||
background-color: #bd93f9;
|
||||
text-color: #282a36;
|
||||
}
|
@@ -1,138 +0,0 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya (adi1090x)
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Reddit : @adi1090x
|
||||
*
|
||||
* Dracula Theme Colors : Sravan Balaji (balajsra)
|
||||
* Mail: balajsra@umich.edu
|
||||
* Github: @balajsra
|
||||
*/
|
||||
|
||||
configuration {
|
||||
drun-display-format: "{name}";
|
||||
threads: 0;
|
||||
scroll-method: 0;
|
||||
disable-history: false;
|
||||
fullscreen: false;
|
||||
hide-scrollbar: true;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
* {
|
||||
background: #00000000;
|
||||
background-color: #282a36cc;
|
||||
background-entry: #44475acc;
|
||||
background-alt: #44475acc;
|
||||
foreground: #f8f8f2cc;
|
||||
foreground-selected: #50fa7bcc;
|
||||
urgent: #ff5555cc;
|
||||
urgent-selected: #ff5555cc;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
location: northwest;
|
||||
anchor: northwest;
|
||||
x-offset: 0;
|
||||
y-offset: 0;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: false;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
background-color: @background-alt;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border-radius: 6px;
|
||||
margin: 0px 430px 0px 430px;
|
||||
padding: 10px 10px 10px 10px;
|
||||
position: north;
|
||||
}
|
||||
|
||||
entry {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
placeholder-color: @foreground;
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
placeholder: "Search applications";
|
||||
blink: true;
|
||||
}
|
||||
|
||||
case-indicator {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
spacing: 0;
|
||||
}
|
||||
|
||||
listview {
|
||||
background-color: @background;
|
||||
columns: 7;
|
||||
spacing: 4px;
|
||||
cycle: false;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background-color;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 25px;
|
||||
padding: 70px 135px 55px 135px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 9px;
|
||||
padding: 20px 0px 20px 0px;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 65px;
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 5px 10px 0px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @urgent;
|
||||
text-color: @foreground;
|
||||
border-radius: 9px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @background-alt;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @background-alt;
|
||||
text-color: @foreground-selected;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @urgent-selected;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @background-alt;
|
||||
color: @foreground-selected;
|
||||
}
|
@@ -1,122 +0,0 @@
|
||||
/*Dracula theme based on the Purple official rofi theme*/
|
||||
|
||||
* {
|
||||
font: "Jetbrains Mono 12";
|
||||
foreground: #f8f8f2;
|
||||
background-color: #282a36;
|
||||
active-background: #6272a4;
|
||||
urgent-background: #ff5555;
|
||||
selected-background: @active-background;
|
||||
selected-urgent-background: @urgent-background;
|
||||
selected-active-background: @active-background;
|
||||
separatorcolor: @active-background;
|
||||
bordercolor: @active-background;
|
||||
}
|
||||
|
||||
#window {
|
||||
background-color: @background;
|
||||
border: 1;
|
||||
border-radius: 6;
|
||||
border-color: @bordercolor;
|
||||
padding: 5;
|
||||
}
|
||||
#mainbox {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#message {
|
||||
border: 1px dash 0px 0px ;
|
||||
border-color: @separatorcolor;
|
||||
padding: 1px ;
|
||||
}
|
||||
#textbox {
|
||||
text-color: @foreground;
|
||||
}
|
||||
#listview {
|
||||
fixed-height: 0;
|
||||
border: 2px dash 0px 0px ;
|
||||
border-color: @bordercolor;
|
||||
spacing: 2px ;
|
||||
scrollbar: false;
|
||||
padding: 2px 0px 0px ;
|
||||
}
|
||||
#element {
|
||||
border: 0;
|
||||
padding: 1px ;
|
||||
}
|
||||
#element.normal.normal {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.normal.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @urgent-foreground;
|
||||
}
|
||||
#element.normal.active {
|
||||
background-color: @active-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.selected.normal {
|
||||
background-color: @selected-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.selected.urgent {
|
||||
background-color: @selected-urgent-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.selected.active {
|
||||
background-color: @selected-active-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.alternate.normal {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.alternate.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.alternate.active {
|
||||
background-color: @active-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#scrollbar {
|
||||
width: 2px ;
|
||||
border: 0;
|
||||
handle-width: 8px ;
|
||||
padding: 0;
|
||||
}
|
||||
#sidebar {
|
||||
border: 2px dash 0px 0px ;
|
||||
border-color: @separatorcolor;
|
||||
}
|
||||
#button.selected {
|
||||
background-color: @selected-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#inputbar {
|
||||
spacing: 0;
|
||||
text-color: @foreground;
|
||||
padding: 1px ;
|
||||
}
|
||||
#case-indicator {
|
||||
spacing: 0;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#entry {
|
||||
spacing: 0;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#prompt {
|
||||
spacing: 0;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#inputbar {
|
||||
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
|
||||
}
|
||||
#textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: ":";
|
||||
margin: 0px 0.3em 0em 0em ;
|
||||
text-color: @foreground;
|
||||
}
|
@@ -1,137 +0,0 @@
|
||||
/**
|
||||
* ROFI Color theme: dmenu-dracula
|
||||
* User: balajsra
|
||||
* Copyright: deadguy & Sravan Balaji
|
||||
*/
|
||||
|
||||
configuration {
|
||||
display-drun: "Activate";
|
||||
display-run: "Execute";
|
||||
display-window: "Window";
|
||||
show-icons: true;
|
||||
sidebar-mode: true;
|
||||
font: "NotoSans Nerd Font 12";
|
||||
}
|
||||
|
||||
* {
|
||||
background-color: #282a36;
|
||||
text-color: #f8f8f2;
|
||||
selbg: #bd93f9;
|
||||
actbg: #44475a;
|
||||
urgbg: #ff5555;
|
||||
winbg: #50fa7b;
|
||||
|
||||
selected-normal-foreground: @winbg;
|
||||
normal-foreground: @text-color;
|
||||
selected-normal-background: @actbg;
|
||||
normal-background: @background-color;
|
||||
|
||||
selected-urgent-foreground: @background-color;
|
||||
urgent-foreground: @text-color;
|
||||
selected-urgent-background: @urgbg;
|
||||
urgent-background: @background-color;
|
||||
|
||||
selected-active-foreground: @winbg;
|
||||
active-foreground: @text-color;
|
||||
selected-active-background: @actbg;
|
||||
active-background: @selbg;
|
||||
|
||||
line-margin: 2;
|
||||
line-padding: 2;
|
||||
separator-style: "none";
|
||||
hide-scrollbar: "true";
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
window {
|
||||
location: west;
|
||||
anchor: west;
|
||||
height: 100%;
|
||||
width: 25%;
|
||||
orientation: horizontal;
|
||||
children: [mainbox];
|
||||
}
|
||||
|
||||
mainbox {
|
||||
spacing: 0.8em;
|
||||
children: [ entry, listview, mode-switcher ];
|
||||
}
|
||||
|
||||
button {
|
||||
padding: 5px 2px;
|
||||
}
|
||||
|
||||
button selected {
|
||||
background-color: @active-background;
|
||||
text-color: @background-color;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
padding: 5px;
|
||||
spacing: 5px;
|
||||
}
|
||||
|
||||
listview {
|
||||
spacing: 0.5em;
|
||||
dynamic: false;
|
||||
cycle: true;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
entry {
|
||||
expand: false;
|
||||
text-color: @normal-foreground;
|
||||
vertical-align: 1;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
element normal.normal {
|
||||
background-color: @normal-background;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
|
||||
element normal.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @urgent-foreground;
|
||||
}
|
||||
|
||||
element normal.active {
|
||||
background-color: @active-background;
|
||||
text-color: @active-foreground;
|
||||
}
|
||||
|
||||
element selected.normal {
|
||||
background-color: @selected-normal-background;
|
||||
text-color: @selected-normal-foreground;
|
||||
border: 0 5px solid 0 0;
|
||||
border-color: @active-background;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @selected-urgent-background;
|
||||
text-color: @selected-urgent-foreground;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @selected-active-background;
|
||||
text-color: @selected-active-foreground;
|
||||
}
|
||||
|
||||
element alternate.normal {
|
||||
background-color: @normal-background;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
|
||||
element alternate.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @urgent-foreground;
|
||||
}
|
||||
|
||||
element alternate.active {
|
||||
background-color: @active-background;
|
||||
text-color: @active-foreground;
|
||||
}
|
@@ -1,50 +0,0 @@
|
||||
/**
|
||||
* ROFI Color theme: dmenu-dracula
|
||||
* User: balajsra
|
||||
* Copyright: Sravan Balaji
|
||||
*/
|
||||
* {
|
||||
background-color: #282a36;
|
||||
border-color: #bd93f9;
|
||||
text-color: #f8f8f2;
|
||||
spacing: 0;
|
||||
width: 1024px;
|
||||
font: "NotoSans Nerd Font 12";
|
||||
}
|
||||
|
||||
inputbar {
|
||||
border: 0 0 1px 0; /* top right bottom left */
|
||||
children: [prompt, entry];
|
||||
}
|
||||
|
||||
prompt {
|
||||
padding: 16px;
|
||||
border: 2px 1px 0 2px; /* top right bottom left */
|
||||
}
|
||||
|
||||
textbox {
|
||||
background-color: #282a36;
|
||||
border: 0 0 1px 0; /* top right bottom left */
|
||||
border-color: #bd93f9;
|
||||
padding: 8px 16px 8px 16px; /* top right bottom left */
|
||||
}
|
||||
|
||||
entry {
|
||||
border: 2px 2px 0px 0; /* top right bottom left */
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
listview {
|
||||
cycle: true;
|
||||
margin: 0 0 0px 0; /* top right bottom left */
|
||||
scrollbar: true;
|
||||
}
|
||||
|
||||
element {
|
||||
border: 0 2px 1px 2px; /* top right bottom left */
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: #44475a;
|
||||
}
|
73
.gitconfig
73
.gitconfig
@@ -1,7 +1,76 @@
|
||||
# Sravan Balaji's Git Configuration
|
||||
# Based on: https://gist.github.com/tdd/470582
|
||||
[user]
|
||||
email = balajsra@umich.edu
|
||||
name = Sravan Balaji
|
||||
[color]
|
||||
# Enable colors in color-supporting terminals
|
||||
ui = auto
|
||||
[pull]
|
||||
rebase = false
|
||||
rebase = true
|
||||
[alias]
|
||||
tree = log --all --decorate --oneline --graph
|
||||
# List available aliases
|
||||
aliases = !git config --get-regexp alias | sed -re 's/alias\\.(\\S*)\\s(.*)$/\\1 = \\2/g'
|
||||
# Command shortcuts
|
||||
ci = commit
|
||||
co = checkout
|
||||
st = status
|
||||
# Display tree-like log, because default log is a pain…
|
||||
lg = log --graph --date=relative --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ad)%Creset'
|
||||
# Useful when you have to update your last commit
|
||||
# with staged files without editing the commit message.
|
||||
oops = commit --amend --no-edit
|
||||
# Ensure that force-pushing won't lose someone else's work (only mine).
|
||||
push-with-lease = push --force-with-lease
|
||||
# Rebase won’t trigger hooks on each "replayed" commit.
|
||||
# This is an ugly hack that will replay each commit during rebase with the
|
||||
# standard `commit` command which will trigger hooks.
|
||||
rebase-with-hooks = rebase -x 'git reset --soft HEAD~1 && git commit -C HEAD@{1}'
|
||||
# List local commits that were not pushed to remote repository
|
||||
review-local = "!git lg @{push}.."
|
||||
# Edit last commit message
|
||||
reword = commit --amend
|
||||
# Undo last commit but keep changed files in stage
|
||||
uncommit = reset --soft HEAD~1
|
||||
# Remove file(s) from Git but not from disk
|
||||
untrack = rm --cache --
|
||||
[core]
|
||||
# VSCode
|
||||
editor = code --wait
|
||||
# Don't consider trailing space change as a cause for merge conflicts
|
||||
whitespace = -trailing-space
|
||||
[diff]
|
||||
# Use better, descriptive initials (c, i, w) instead of a/b.
|
||||
mnemonicPrefix = true
|
||||
# Show renames/moves as such
|
||||
renames = true
|
||||
# When using --word-diff, assume --word-diff-regex=.
|
||||
wordRegex = .
|
||||
# Display submodule-related information (commit listings)
|
||||
submodule = log
|
||||
# Use VSCode as default diff tool when running `git diff-tool`
|
||||
tool = vscode
|
||||
[difftool "vscode"]
|
||||
cmd = code --wait --diff $LOCAL $REMOTE
|
||||
[fetch]
|
||||
# Auto-fetch submodule changes (sadly, won't auto-update)
|
||||
recurseSubmodules = on-demand
|
||||
[grep]
|
||||
break = true
|
||||
heading = true
|
||||
lineNumber = true
|
||||
# Consider most regexes to be ERE
|
||||
extendedRegexp = true
|
||||
[log]
|
||||
# Use abbrev SHAs whenever possible/relevant instead of full 40 chars
|
||||
abbrevCommit = true
|
||||
# Automatically --follow when given a single path
|
||||
follow = true
|
||||
# Disable decorate for reflog
|
||||
# (because there is no dedicated `reflog` section available)
|
||||
decorate = false
|
||||
[status]
|
||||
# Display submodule rev change summaries in status
|
||||
submoduleSummary = true
|
||||
# Recursively traverse untracked directories to display all contents
|
||||
showUntrackedFiles = all
|
||||
|
51
.gitmodules
vendored
51
.gitmodules
vendored
@@ -1,15 +1,42 @@
|
||||
[submodule ".vim/pack/themes/start/dracula"]
|
||||
path = .vim/pack/themes/start/dracula
|
||||
url = https://github.com/dracula/vim.git
|
||||
[submodule ".themes/Dracula"]
|
||||
path = .themes/Dracula
|
||||
url = git@github.com:dracula/vim.git
|
||||
[submodule ".themes/dracula-blender"]
|
||||
path = .themes/dracula-blender
|
||||
url = git@github.com:dracula/blender.git
|
||||
[submodule ".themes/dracula-freecad"]
|
||||
path = .themes/dracula-freecad
|
||||
url = git@github.com:dracula/freecad.git
|
||||
[submodule ".themes/dracula-gnome-terminal"]
|
||||
path = .themes/dracula-gnome-terminal
|
||||
url = git@github.com:dracula/gnome-terminal.git
|
||||
[submodule ".themes/dracula-xournalpp"]
|
||||
path = .themes/dracula-xournalpp
|
||||
url = git@github.com:dracula/xournalpp.git
|
||||
[submodule ".themes/dracula-steam"]
|
||||
path = .themes/dracula-steam
|
||||
url = git@github.com:dracula/steam.git
|
||||
[submodule ".themes/dracula-gtk"]
|
||||
path = .themes/dracula-gtk
|
||||
url = git@github.com:dracula/gtk.git
|
||||
[submodule ".config/dwm"]
|
||||
path = .config/dwm
|
||||
url = https://github.com/balajsra/dwm.git
|
||||
[submodule ".config/polybar"]
|
||||
path = .config/polybar
|
||||
url = git@github.com:balajsra/polybar.git
|
||||
[submodule "/home/sravan/.local/share/Steam/skins/Dracula"]
|
||||
path = /home/sravan/.local/share/Steam/skins/Dracula
|
||||
url = https://github.com/dracula/steam.git
|
||||
[submodule ".themes/dracula-fish"]
|
||||
path = .themes/dracula-fish
|
||||
url = git@github.com:dracula/fish.git
|
||||
[submodule ".themes/dracula-kitty"]
|
||||
path = .themes/dracula-kitty
|
||||
url = git@github.com:dracula/kitty.git
|
||||
[submodule ".themes/dracula-libreoffice"]
|
||||
path = .themes/dracula-libreoffice
|
||||
url = git@github.com:dracula/libreoffice.git
|
||||
[submodule ".themes/dracula-tty"]
|
||||
path = .themes/dracula-tty
|
||||
url = git@github.com:dracula/tty.git
|
||||
[submodule ".themes/dracula-latex"]
|
||||
path = .themes/dracula-latex
|
||||
url = git@github.com:dracula/latex.git
|
||||
[submodule ".themes/dracula-matplotlib"]
|
||||
path = .themes/dracula-matplotlib
|
||||
url = git@github.com:dracula/matplotlib.git
|
||||
[submodule ".themes/dracula-matlab"]
|
||||
path = .themes/dracula-matlab
|
||||
url = git@github.com:dracula/matlab.git
|
||||
|
Submodule .themes/Dracula deleted from ab2efe3ff5
1
.themes/dracula-blender
Submodule
1
.themes/dracula-blender
Submodule
Submodule .themes/dracula-blender added at 624a3c5065
1
.themes/dracula-fish
Submodule
1
.themes/dracula-fish
Submodule
Submodule .themes/dracula-fish added at 28db361b55
1
.themes/dracula-freecad
Submodule
1
.themes/dracula-freecad
Submodule
Submodule .themes/dracula-freecad added at 30b19d6e6e
1
.themes/dracula-gnome-terminal
Submodule
1
.themes/dracula-gnome-terminal
Submodule
Submodule .themes/dracula-gnome-terminal added at 4dfebf1c4a
1
.themes/dracula-gtk
Submodule
1
.themes/dracula-gtk
Submodule
Submodule .themes/dracula-gtk added at 123f8ce56e
1
.themes/dracula-kitty
Submodule
1
.themes/dracula-kitty
Submodule
Submodule .themes/dracula-kitty added at 6d6239abe9
1
.themes/dracula-latex
Submodule
1
.themes/dracula-latex
Submodule
Submodule .themes/dracula-latex added at bff3dbbffd
1
.themes/dracula-libreoffice
Submodule
1
.themes/dracula-libreoffice
Submodule
Submodule .themes/dracula-libreoffice added at cbe293cb92
1
.themes/dracula-matlab
Submodule
1
.themes/dracula-matlab
Submodule
Submodule .themes/dracula-matlab added at bb30e9b415
1
.themes/dracula-matplotlib
Submodule
1
.themes/dracula-matplotlib
Submodule
Submodule .themes/dracula-matplotlib added at cbc801991b
1
.themes/dracula-tty
Submodule
1
.themes/dracula-tty
Submodule
Submodule .themes/dracula-tty added at f0aa77e238
1
.themes/dracula-xournalpp
Submodule
1
.themes/dracula-xournalpp
Submodule
Submodule .themes/dracula-xournalpp added at 045fa9a477
Submodule .vim/pack/themes/start/dracula updated: 494dbe9d4e...ab37ffc5ae
BIN
.vim/pack/themes/start/dracula_pro/vim/.DS_Store
vendored
Normal file
BIN
.vim/pack/themes/start/dracula_pro/vim/.DS_Store
vendored
Normal file
Binary file not shown.
1
.vim/pack/themes/start/dracula_pro/vim/.gitignore
vendored
Normal file
1
.vim/pack/themes/start/dracula_pro/vim/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
doc/tags
|
63
.vim/pack/themes/start/dracula_pro/vim/INSTALL.md
Normal file
63
.vim/pack/themes/start/dracula_pro/vim/INSTALL.md
Normal file
@@ -0,0 +1,63 @@
|
||||
### [Vim](http://www.vim.org/)
|
||||
|
||||
#### Install
|
||||
|
||||
These are the default instructions using Vim 8's `|packages|` feature.
|
||||
|
||||
1. Create theme folder (in case you don't have yet):
|
||||
|
||||
```
|
||||
mkdir -p ~/.vim/pack/themes/start
|
||||
```
|
||||
|
||||
In case you're using NeoVim:
|
||||
|
||||
```
|
||||
mkdir -p ~/.local/share/nvim/site/pack/themes/start
|
||||
```
|
||||
|
||||
2. Copy the `vim` folder and rename to "dracula_pro":
|
||||
|
||||
```
|
||||
cp -r vim ~/.vim/pack/themes/start/dracula_pro
|
||||
```
|
||||
|
||||
**NeoVim**
|
||||
|
||||
In case you're using NeoVim, here are the instructions.
|
||||
|
||||
1. Create theme folder (in case you don't have yet):
|
||||
|
||||
```
|
||||
mkdir -p ~/.local/share/nvim/site/pack/themes/start
|
||||
```
|
||||
|
||||
2. Copy the `vim` folder and rename to "dracula_pro":
|
||||
|
||||
```
|
||||
cp -r vim ~/.local/share/nvim/site/pack/themes/start/dracula_pro
|
||||
```
|
||||
|
||||
#### Activate
|
||||
|
||||
1. Create configuration file (in case you don't have yet):
|
||||
|
||||
```
|
||||
vim ~/.vimrc
|
||||
```
|
||||
|
||||
Or `.nvimrc` if you're using NeoVim.
|
||||
|
||||
2. Edit the `~/.vimrc` file with the following content:
|
||||
|
||||
```
|
||||
packadd! dracula_pro
|
||||
|
||||
syntax enable
|
||||
|
||||
let g:dracula_colorterm = 0
|
||||
|
||||
colorscheme dracula_pro
|
||||
```
|
||||
|
||||
P.S.: You need a 256-color or truecolor terminal and you may want one that supports xterm sequences for :terminal.
|
@@ -0,0 +1,45 @@
|
||||
if dracula_pro#should_abort()
|
||||
finish
|
||||
endif
|
||||
|
||||
" Fzf: {{{
|
||||
if exists('g:loaded_fzf') && ! exists('g:fzf_colors')
|
||||
let g:fzf_colors = {
|
||||
\ 'fg': ['fg', 'Normal'],
|
||||
\ 'bg': ['bg', 'Normal'],
|
||||
\ 'hl': ['fg', 'Search'],
|
||||
\ 'fg+': ['fg', 'Normal'],
|
||||
\ 'bg+': ['bg', 'Normal'],
|
||||
\ 'hl+': ['fg', 'DraculaOrange'],
|
||||
\ 'info': ['fg', 'DraculaPurple'],
|
||||
\ 'border': ['fg', 'Ignore'],
|
||||
\ 'prompt': ['fg', 'DraculaGreen'],
|
||||
\ 'pointer': ['fg', 'Exception'],
|
||||
\ 'marker': ['fg', 'Keyword'],
|
||||
\ 'spinner': ['fg', 'Label'],
|
||||
\ 'header': ['fg', 'Comment'],
|
||||
\}
|
||||
endif
|
||||
"}}}
|
||||
" ALE: {{{
|
||||
if exists('g:ale_enabled')
|
||||
hi! link ALEError DraculaErrorLine
|
||||
hi! link ALEWarning DraculaWarnLine
|
||||
hi! link ALEInfo DraculaInfoLine
|
||||
|
||||
hi! link ALEErrorSign DraculaRed
|
||||
hi! link ALEWarningSign DraculaOrange
|
||||
hi! link ALEInfoSign DraculaCyan
|
||||
|
||||
hi! link ALEVirtualTextError Comment
|
||||
hi! link ALEVirtualTextWarning Comment
|
||||
endif
|
||||
" }}}
|
||||
" CtrlP: {{{
|
||||
if exists('g:loaded_ctrlp')
|
||||
hi! link CtrlPMatch IncSearch
|
||||
hi! link CtrlPBufferHid Normal
|
||||
endif
|
||||
" }}}
|
||||
|
||||
" vim: fdm=marker ts=2 sts=2 sw=2 fdl=0:
|
15
.vim/pack/themes/start/dracula_pro/vim/after/syntax/css.vim
Normal file
15
.vim/pack/themes/start/dracula_pro/vim/after/syntax/css.vim
Normal file
@@ -0,0 +1,15 @@
|
||||
if dracula_pro#should_abort('css')
|
||||
finish
|
||||
endif
|
||||
|
||||
hi! link cssAttrComma Delimiter
|
||||
hi! link cssAttrRegion DraculaPink
|
||||
hi! link cssAttributeSelector DraculaGreenItalic
|
||||
hi! link cssBraces Delimiter
|
||||
hi! link cssFunctionComma Delimiter
|
||||
hi! link cssNoise DraculaPink
|
||||
hi! link cssProp DraculaCyan
|
||||
hi! link cssPseudoClass DraculaPink
|
||||
hi! link cssPseudoClassId DraculaGreenItalic
|
||||
hi! link cssUnitDecorators DraculaPink
|
||||
hi! link cssVendor DraculaGreenItalic
|
@@ -0,0 +1,12 @@
|
||||
if dracula_pro#should_abort('gitcommit')
|
||||
finish
|
||||
endif
|
||||
|
||||
" The following two are misnomers. Colors are correct.
|
||||
hi! link diffFile DraculaGreen
|
||||
hi! link diffNewFile DraculaRed
|
||||
|
||||
hi! link diffAdded DraculaGreen
|
||||
hi! link diffLine DraculaCyanItalic
|
||||
hi! link diffRemoved DraculaRed
|
||||
|
@@ -0,0 +1,9 @@
|
||||
if dracula_pro#should_abort('html')
|
||||
finish
|
||||
endif
|
||||
|
||||
hi! link htmlTag DraculaFg
|
||||
hi! link htmlArg DraculaGreenItalic
|
||||
hi! link htmlTitle DraculaFg
|
||||
hi! link htmlH1 DraculaFg
|
||||
hi! link htmlSpecialChar DraculaPurple
|
@@ -0,0 +1,25 @@
|
||||
if dracula_pro#should_abort('javascript')
|
||||
finish
|
||||
endif
|
||||
|
||||
hi! link javaScriptBraces Delimiter
|
||||
hi! link javaScriptNumber Constant
|
||||
hi! link javaScriptNull Constant
|
||||
hi! link javaScriptFunction Keyword
|
||||
|
||||
" pangloss/vim-javascript {{{
|
||||
|
||||
hi! link jsArrowFunction Operator
|
||||
hi! link jsClassMethodType Keyword
|
||||
hi! link jsDestructuringAssignment DraculaOrangeItalic
|
||||
hi! link jsDocParam DraculaOrangeItalic
|
||||
hi! link jsDocTags Keyword
|
||||
hi! link jsDocType Type
|
||||
hi! link jsDocTypeBrackets DraculaCyan
|
||||
hi! link jsFuncArgOperator Operator
|
||||
hi! link jsFunction Keyword
|
||||
hi! link jsTemplateBraces Special
|
||||
|
||||
"}}}
|
||||
|
||||
" vim: fdm=marker ts=2 sts=2 sw=2 fdl=0:
|
@@ -0,0 +1,6 @@
|
||||
if dracula_pro#should_abort('json')
|
||||
finish
|
||||
endif
|
||||
|
||||
hi! link jsonKeyword DraculaCyan
|
||||
hi! link jsonKeywordMatch DraculaPink
|
@@ -0,0 +1,50 @@
|
||||
if dracula_pro#should_abort('markdown', 'mkd')
|
||||
finish
|
||||
endif
|
||||
|
||||
if b:current_syntax ==# 'mkd'
|
||||
" plasticboy/vim-markdown {{{1
|
||||
hi! link htmlBold DraculaOrangeBold
|
||||
hi! link htmlBoldItalic DraculaOrangeBoldItalic
|
||||
hi! link htmlH1 DraculaPurpleBold
|
||||
hi! link htmlItalic DraculaYellowItalic
|
||||
hi! link mkdBlockquote DraculaYellowItalic
|
||||
hi! link mkdBold DraculaOrangeBold
|
||||
hi! link mkdBoldItalic DraculaOrangeBoldItalic
|
||||
hi! link mkdCode DraculaGreen
|
||||
hi! link mkdCodeEnd DraculaGreen
|
||||
hi! link mkdCodeStart DraculaGreen
|
||||
hi! link mkdHeading DraculaPurpleBold
|
||||
hi! link mkdInlineUrl DraculaLink
|
||||
hi! link mkdItalic DraculaYellowItalic
|
||||
hi! link mkdLink DraculaPink
|
||||
hi! link mkdListItem DraculaCyan
|
||||
hi! link mkdRule DraculaComment
|
||||
hi! link mkdUrl DraculaLink
|
||||
"}}}1
|
||||
elseif b:current_syntax ==# 'markdown'
|
||||
" Builtin: {{{1
|
||||
hi! link markdownBlockquote DraculaCyan
|
||||
hi! link markdownBold DraculaOrangeBold
|
||||
hi! link markdownBoldItalic DraculaOrangeBoldItalic
|
||||
hi! link markdownCodeBlock DraculaGreen
|
||||
hi! link markdownCode DraculaGreen
|
||||
hi! link markdownCodeDelimiter DraculaGreen
|
||||
hi! link markdownH1 DraculaPurpleBold
|
||||
hi! link markdownH2 markdownH1
|
||||
hi! link markdownH3 markdownH1
|
||||
hi! link markdownH4 markdownH1
|
||||
hi! link markdownH5 markdownH1
|
||||
hi! link markdownH6 markdownH1
|
||||
hi! link markdownHeadingDelimiter markdownH1
|
||||
hi! link markdownHeadingRule markdownH1
|
||||
hi! link markdownItalic DraculaYellowItalic
|
||||
hi! link markdownLinkText DraculaPink
|
||||
hi! link markdownListMarker DraculaCyan
|
||||
hi! link markdownOrderedListMarker DraculaCyan
|
||||
hi! link markdownRule DraculaComment
|
||||
hi! link markdownUrl DraculaLink
|
||||
"}}}
|
||||
endif
|
||||
|
||||
" vim: fdm=marker ts=2 sts=2 sw=2 fdl=0:
|
@@ -0,0 +1,7 @@
|
||||
if dracula_pro#should_abort('ocaml')
|
||||
finish
|
||||
endif
|
||||
|
||||
hi! link ocamlModule Type
|
||||
hi! link ocamlModPath Normal
|
||||
hi! link ocamlLabel DraculaOrangeItalic
|
38
.vim/pack/themes/start/dracula_pro/vim/after/syntax/perl.vim
Normal file
38
.vim/pack/themes/start/dracula_pro/vim/after/syntax/perl.vim
Normal file
@@ -0,0 +1,38 @@
|
||||
if dracula_pro#should_abort('perl')
|
||||
finish
|
||||
endif
|
||||
|
||||
" Regex
|
||||
hi! link perlMatchStartEnd DraculaRed
|
||||
|
||||
" Builtin functions
|
||||
hi! link perlOperator DraculaCyan
|
||||
hi! link perlStatementFiledesc DraculaCyan
|
||||
hi! link perlStatementFiles DraculaCyan
|
||||
hi! link perlStatementFlow DraculaCyan
|
||||
hi! link perlStatementHash DraculaCyan
|
||||
hi! link perlStatementIOfunc DraculaCyan
|
||||
hi! link perlStatementIPC DraculaCyan
|
||||
hi! link perlStatementList DraculaCyan
|
||||
hi! link perlStatementMisc DraculaCyan
|
||||
hi! link perlStatementNetwork DraculaCyan
|
||||
hi! link perlStatementNumeric DraculaCyan
|
||||
hi! link perlStatementProc DraculaCyan
|
||||
hi! link perlStatementPword DraculaCyan
|
||||
hi! link perlStatementRegexp DraculaCyan
|
||||
hi! link perlStatementScalar DraculaCyan
|
||||
hi! link perlStatementSocket DraculaCyan
|
||||
hi! link perlStatementTime DraculaCyan
|
||||
hi! link perlStatementVector DraculaCyan
|
||||
|
||||
" Highlighting for quoting constructs, tied to existing option in vim-perl
|
||||
if get(g:, 'perl_string_as_statement', 0)
|
||||
hi! link perlStringStartEnd DraculaRed
|
||||
endif
|
||||
|
||||
" Signatures
|
||||
hi! link perlSignature DraculaOrangeItalic
|
||||
hi! link perlSubPrototype DraculaOrangeItalic
|
||||
|
||||
" Hash keys
|
||||
hi! link perlVarSimpleMemberName DraculaPurple
|
10
.vim/pack/themes/start/dracula_pro/vim/after/syntax/php.vim
Normal file
10
.vim/pack/themes/start/dracula_pro/vim/after/syntax/php.vim
Normal file
@@ -0,0 +1,10 @@
|
||||
if dracula_pro#should_abort('php')
|
||||
finish
|
||||
endif
|
||||
|
||||
hi! link phpClass Type
|
||||
hi! link phpClasses Type
|
||||
hi! link phpDocTags DraculaCyanItalic
|
||||
hi! link phpFunction Function
|
||||
hi! link phpParent Normal
|
||||
hi! link phpSpecialFunction DraculaCyan
|
@@ -0,0 +1,13 @@
|
||||
if dracula_pro#should_abort('plantuml')
|
||||
finish
|
||||
endif
|
||||
|
||||
hi! link plantumlClassPrivate SpecialKey
|
||||
hi! link plantumlClassProtected DraculaOrange
|
||||
hi! link plantumlClassPublic Function
|
||||
hi! link plantumlColonLine String
|
||||
hi! link plantumlDirectedOrVerticalArrowLR Constant
|
||||
hi! link plantumlDirectedOrVerticalArrowRL Constant
|
||||
hi! link plantumlHorizontalArrow Constant
|
||||
hi! link plantumlSkinParamKeyword DraculaCyan
|
||||
hi! link plantumlTypeKeyword Keyword
|
@@ -0,0 +1,11 @@
|
||||
if dracula_pro#should_abort('python')
|
||||
finish
|
||||
endif
|
||||
|
||||
hi! link pythonBuiltinObj Type
|
||||
hi! link pythonBuiltinObject Type
|
||||
hi! link pythonBuiltinType Type
|
||||
hi! link pythonClassVar DraculaPurpleItalic
|
||||
hi! link pythonExClass Type
|
||||
hi! link pythonNone Type
|
||||
hi! link pythonRun Comment
|
16
.vim/pack/themes/start/dracula_pro/vim/after/syntax/ruby.vim
Normal file
16
.vim/pack/themes/start/dracula_pro/vim/after/syntax/ruby.vim
Normal file
@@ -0,0 +1,16 @@
|
||||
if dracula_pro#should_abort('ruby')
|
||||
finish
|
||||
endif
|
||||
|
||||
if ! exists('g:ruby_operators')
|
||||
let g:ruby_operators=1
|
||||
endif
|
||||
|
||||
hi! link rubyBlockArgument DraculaOrangeItalic
|
||||
hi! link rubyBlockParameter DraculaOrangeItalic
|
||||
hi! link rubyCurlyBlock DraculaPink
|
||||
hi! link rubyGlobalVariable DraculaPurple
|
||||
hi! link rubyInstanceVariable DraculaPurpleItalic
|
||||
hi! link rubyInterpolationDelimiter DraculaPink
|
||||
hi! link rubyRegexpDelimiter DraculaRed
|
||||
hi! link rubyStringDelimiter DraculaYellow
|
@@ -0,0 +1,5 @@
|
||||
if dracula_pro#should_abort('rust')
|
||||
finish
|
||||
endif
|
||||
|
||||
hi! link rustCommentLineDoc Comment
|
12
.vim/pack/themes/start/dracula_pro/vim/after/syntax/sass.vim
Normal file
12
.vim/pack/themes/start/dracula_pro/vim/after/syntax/sass.vim
Normal file
@@ -0,0 +1,12 @@
|
||||
if dracula_pro#should_abort('sass')
|
||||
finish
|
||||
endif
|
||||
|
||||
hi! link sassClass cssClassName
|
||||
hi! link sassClassChar cssClassNameDot
|
||||
hi! link sassId cssIdentifier
|
||||
hi! link sassIdChar cssIdentifier
|
||||
hi! link sassInterpolationDelimiter DraculaPink
|
||||
hi! link sassMixinName Function
|
||||
hi! link sassProperty cssProp
|
||||
hi! link sassVariableAssignment Operator
|
@@ -0,0 +1,8 @@
|
||||
if dracula_pro#should_abort('bash', 'ksh', 'posix', 'sh')
|
||||
finish
|
||||
endif
|
||||
|
||||
hi! link shCommandSub NONE
|
||||
hi! link shEscape DraculaRed
|
||||
hi! link shParen NONE
|
||||
hi! link shParenError NONE
|
17
.vim/pack/themes/start/dracula_pro/vim/after/syntax/tex.vim
Normal file
17
.vim/pack/themes/start/dracula_pro/vim/after/syntax/tex.vim
Normal file
@@ -0,0 +1,17 @@
|
||||
if dracula_pro#should_abort('tex')
|
||||
finish
|
||||
endif
|
||||
|
||||
hi! link texBeginEndName DraculaOrangeItalic
|
||||
hi! link texBoldItalStyle DraculaOrangeBoldItalic
|
||||
hi! link texBoldStyle DraculaOrangeBold
|
||||
hi! link texInputFile DraculaOrangeItalic
|
||||
hi! link texItalStyle DraculaYellowItalic
|
||||
hi! link texLigature DraculaPurple
|
||||
hi! link texMath DraculaPurple
|
||||
hi! link texMathMatcher DraculaPurple
|
||||
hi! link texMathSymbol DraculaPurple
|
||||
hi! link texRefZone DraculaBgDarker
|
||||
hi! link texSpecialChar DraculaPurple
|
||||
hi! link texSubscripts DraculaPurple
|
||||
hi! link texTitle DraculaFgBold
|
@@ -0,0 +1,57 @@
|
||||
if dracula_pro#should_abort('typescript', 'typescriptreact')
|
||||
finish
|
||||
endif
|
||||
|
||||
" HerringtonDarkholme/yats.vim {{{
|
||||
|
||||
hi! link typescriptAliasDeclaration Type
|
||||
hi! link typescriptArrayMethod Function
|
||||
hi! link typescriptArrowFunc Operator
|
||||
hi! link typescriptArrowFuncArg DraculaOrangeItalic
|
||||
hi! link typescriptAssign Operator
|
||||
hi! link typescriptBOMWindowProp Constant
|
||||
hi! link typescriptBinaryOp Operator
|
||||
hi! link typescriptBraces Delimiter
|
||||
hi! link typescriptCall typescriptArrowFuncArg
|
||||
hi! link typescriptClassHeritage Type
|
||||
hi! link typescriptClassName Type
|
||||
hi! link typescriptDateMethod DraculaCyan
|
||||
hi! link typescriptDateStaticMethod Function
|
||||
hi! link typescriptDecorator DraculaGreenItalic
|
||||
hi! link typescriptDefaultParam Operator
|
||||
hi! link typescriptES6SetMethod DraculaCyan
|
||||
hi! link typescriptEndColons Delimiter
|
||||
hi! link typescriptEnum Type
|
||||
hi! link typescriptEnumKeyword Keyword
|
||||
hi! link typescriptFuncComma Delimiter
|
||||
hi! link typescriptFuncKeyword Keyword
|
||||
hi! link typescriptFuncType DraculaOrangeItalic
|
||||
hi! link typescriptFuncTypeArrow Operator
|
||||
hi! link typescriptGlobal Type
|
||||
hi! link typescriptGlobalMethod DraculaCyan
|
||||
hi! link typescriptGlobalObjects Type
|
||||
hi! link typescriptIdentifier DraculaPurpleItalic
|
||||
hi! link typescriptInterfaceHeritage Type
|
||||
hi! link typescriptInterfaceName Type
|
||||
hi! link typescriptInterpolationDelimiter Keyword
|
||||
hi! link typescriptKeywordOp Keyword
|
||||
hi! link typescriptLogicSymbols Operator
|
||||
hi! link typescriptMember Identifier
|
||||
hi! link typescriptMemberOptionality Special
|
||||
hi! link typescriptObjectColon Special
|
||||
hi! link typescriptObjectLabel Identifier
|
||||
hi! link typescriptObjectSpread Operator
|
||||
hi! link typescriptOperator Operator
|
||||
hi! link typescriptParamImpl DraculaOrangeItalic
|
||||
hi! link typescriptParens Delimiter
|
||||
hi! link typescriptPredefinedType Type
|
||||
hi! link typescriptRestOrSpread Operator
|
||||
hi! link typescriptTernaryOp Operator
|
||||
hi! link typescriptTypeAnnotation Special
|
||||
hi! link typescriptTypeCast Operator
|
||||
hi! link typescriptTypeParameter DraculaOrangeItalic
|
||||
hi! link typescriptTypeReference Type
|
||||
hi! link typescriptUnaryOp Operator
|
||||
hi! link typescriptVariable Keyword
|
||||
|
||||
" }}}
|
@@ -0,0 +1,10 @@
|
||||
if dracula_pro#should_abort('typescriptreact')
|
||||
finish
|
||||
endif
|
||||
|
||||
runtime! syntax/typescript.vim
|
||||
|
||||
hi! link tsxAttrib DraculaGreenItalic
|
||||
hi! link tsxEqual Operator
|
||||
hi! link tsxIntrinsicTagName Keyword
|
||||
hi! link tsxTagName Type
|
14
.vim/pack/themes/start/dracula_pro/vim/after/syntax/vim.vim
Normal file
14
.vim/pack/themes/start/dracula_pro/vim/after/syntax/vim.vim
Normal file
@@ -0,0 +1,14 @@
|
||||
if dracula_pro#should_abort('vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
hi! link vimAutoCmdSfxList Type
|
||||
hi! link vimAutoEventList Type
|
||||
hi! link vimEnvVar Constant
|
||||
hi! link vimFunction Function
|
||||
hi! link vimHiBang Keyword
|
||||
hi! link vimOption Type
|
||||
hi! link vimSetMod Keyword
|
||||
hi! link vimSetSep Delimiter
|
||||
hi! link vimUserAttrbCmpltFunc Function
|
||||
hi! link vimUserFunc Function
|
13
.vim/pack/themes/start/dracula_pro/vim/after/syntax/xml.vim
Normal file
13
.vim/pack/themes/start/dracula_pro/vim/after/syntax/xml.vim
Normal file
@@ -0,0 +1,13 @@
|
||||
if dracula_pro#should_abort('xml')
|
||||
finish
|
||||
endif
|
||||
|
||||
hi! link xmlAttrib DraculaGreenItalic
|
||||
hi! link xmlEqual Operator
|
||||
hi! link xmlTag Delimiter
|
||||
hi! link xmlTagName Statement
|
||||
|
||||
" Fixes missing highlight over end tags
|
||||
syn region xmlTagName
|
||||
\ matchgroup=xmlTag start=+</[^ /!?<>"']\@=+
|
||||
\ matchgroup=xmlTag end=+>+
|
12
.vim/pack/themes/start/dracula_pro/vim/after/syntax/yaml.vim
Normal file
12
.vim/pack/themes/start/dracula_pro/vim/after/syntax/yaml.vim
Normal file
@@ -0,0 +1,12 @@
|
||||
if dracula_pro#should_abort('yaml')
|
||||
finish
|
||||
endif
|
||||
|
||||
hi! link yamlAlias DraculaGreenItalicUnderline
|
||||
hi! link yamlAnchor DraculaPinkItalic
|
||||
hi! link yamlBlockMappingKey DraculaCyan
|
||||
hi! link yamlFlowCollection DraculaPink
|
||||
hi! link yamlFlowIndicator Delimiter
|
||||
hi! link yamlNodeTag DraculaPink
|
||||
hi! link yamlPlainScalar DraculaYellow
|
||||
|
@@ -0,0 +1,150 @@
|
||||
" Helpers: {{{
|
||||
|
||||
" Takes a foreground color name, background color name, and optionally one or
|
||||
" more attr-list items as input, transforms it to the format accepted by
|
||||
" airline#themes#generate_color_map and returns that value
|
||||
func! s:clr(fg, bg, ...)
|
||||
let l:fg = g:dracula_pro#palette[a:fg]
|
||||
let l:bg = g:dracula_pro#palette[a:bg]
|
||||
return [ l:fg[0], l:bg[0], l:fg[1], l:bg[1] ] +
|
||||
\ filter(copy(a:000), 'type(v:val) == 1 && len(v:val) > 0')
|
||||
endfunc
|
||||
|
||||
" Takes three ['fg', 'bg'] color lists and optionally a dictionary of extra
|
||||
" key-value pairs and returns the value generated by
|
||||
" airline#themes#generate_color_map after optionally merging the dictionary of
|
||||
" extra key-value pairs.
|
||||
"
|
||||
" a:a -> airline_a, airline_x
|
||||
" a:b -> airline_b, airline_y
|
||||
" a:c -> airline_c, airline_z
|
||||
func! s:color_map(a, b, c, ...)
|
||||
if a:0 == 0
|
||||
return call('airline#themes#generate_color_map', [call('s:clr', a:a), call('s:clr', a:b), call('s:clr', a:c)])
|
||||
else
|
||||
return call('extend', [ call('airline#themes#generate_color_map', [call('s:clr', a:a), call('s:clr', a:b), call('s:clr', a:c)]) ] + a:000)
|
||||
endif
|
||||
endfunc
|
||||
|
||||
"}}}
|
||||
|
||||
let g:airline#themes#dracula_pro#palette = {
|
||||
\ 'normal': s:color_map(
|
||||
\ ['bg', 'purple'],
|
||||
\ ['fg', 'comment'],
|
||||
\ ['fg', 'selection'],
|
||||
\ {
|
||||
\ 'airline_warning': s:clr('bg', 'orange'),
|
||||
\ 'airline_error': s:clr('bg', 'red'),
|
||||
\ },
|
||||
\ ),
|
||||
\ 'normal_modified': s:color_map(
|
||||
\ ['bg', 'purple'],
|
||||
\ ['fg', 'comment'],
|
||||
\ ['fg', 'bgdark'],
|
||||
\ {
|
||||
\ 'airline_warning': s:clr('bg', 'orange'),
|
||||
\ 'airline_error': s:clr('bg', 'red'),
|
||||
\ },
|
||||
\ ),
|
||||
\ 'insert': s:color_map(
|
||||
\ ['bg', 'green'],
|
||||
\ ['fg', 'comment'],
|
||||
\ ['fg', 'selection'],
|
||||
\ {
|
||||
\ 'airline_warning': s:clr('bg', 'orange'),
|
||||
\ 'airline_error': s:clr('bg', 'red'),
|
||||
\ },
|
||||
\ ),
|
||||
\ 'insert_modified': s:color_map(
|
||||
\ ['bg', 'green'],
|
||||
\ ['fg', 'comment'],
|
||||
\ ['fg', 'bgdark'],
|
||||
\ {
|
||||
\ 'airline_warning': s:clr('bg', 'orange'),
|
||||
\ 'airline_error': s:clr('bg', 'red'),
|
||||
\ },
|
||||
\ ),
|
||||
\ 'replace': s:color_map(
|
||||
\ ['bg', 'orange'],
|
||||
\ ['fg', 'comment'],
|
||||
\ ['fg', 'selection'],
|
||||
\ {
|
||||
\ 'airline_warning': s:clr('bg', 'orange'),
|
||||
\ 'airline_error': s:clr('bg', 'red'),
|
||||
\ },
|
||||
\ ),
|
||||
\ 'replace_modified': s:color_map(
|
||||
\ ['bg', 'orange'],
|
||||
\ ['fg', 'comment'],
|
||||
\ ['fg', 'bgdark'],
|
||||
\ {
|
||||
\ 'airline_warning': s:clr('bg', 'orange'),
|
||||
\ 'airline_error': s:clr('bg', 'red'),
|
||||
\ },
|
||||
\ ),
|
||||
\ 'visual': s:color_map(
|
||||
\ ['bg', 'yellow'],
|
||||
\ ['fg', 'comment'],
|
||||
\ ['fg', 'selection'],
|
||||
\ {
|
||||
\ 'airline_warning': s:clr('bg', 'orange'),
|
||||
\ 'airline_error': s:clr('bg', 'red'),
|
||||
\ },
|
||||
\ ),
|
||||
\ 'visual_modified': s:color_map(
|
||||
\ ['bg', 'yellow'],
|
||||
\ ['fg', 'comment'],
|
||||
\ ['fg', 'bgdark'],
|
||||
\ {
|
||||
\ 'airline_warning': s:clr('bg', 'orange'),
|
||||
\ 'airline_error': s:clr('bg', 'red'),
|
||||
\ },
|
||||
\ ),
|
||||
\ 'inactive': s:color_map(
|
||||
\ ['bg', 'comment'],
|
||||
\ ['fg', 'bgdark'],
|
||||
\ ['fg', 'selection'],
|
||||
\ {
|
||||
\ 'airline_warning': s:clr('bg', 'orange'),
|
||||
\ 'airline_error': s:clr('bg', 'red'),
|
||||
\ },
|
||||
\ ),
|
||||
\ 'terminal': s:color_map(
|
||||
\ ['bg', 'purple'],
|
||||
\ ['fg', 'comment'],
|
||||
\ ['fg', 'selection'],
|
||||
\ {
|
||||
\ 'airline_term': s:clr('fg', 'selection'),
|
||||
\ },
|
||||
\ ),
|
||||
\}
|
||||
|
||||
" Extensions: {{{
|
||||
" Tabline: {{{
|
||||
if get(g:, 'airline#extensions#tabline#enabled', 0)
|
||||
let g:airline#themes#dracula_pro#palette.tabline = {
|
||||
\ 'airline_tabfill': s:clr('bg', 'bglight'),
|
||||
\
|
||||
\ 'airline_tab': s:clr('comment', 'bg'),
|
||||
\ 'airline_tabsel': s:clr('bg', 'purple'),
|
||||
\ 'airline_tabmod': s:clr('green', 'bg'),
|
||||
\
|
||||
\ 'airline_tab_right': s:clr('comment', 'bg'),
|
||||
\ 'airline_tabsel_right': s:clr('fg', 'bg', ),
|
||||
\ 'airline_tabmod_right': s:clr('green', 'bg'),
|
||||
\}
|
||||
endif
|
||||
"}}}
|
||||
" CtrlP: {{{2
|
||||
if exists('g:loaded_ctrlp')
|
||||
let g:airline#themes#dracula_pro#palette.ctrlp = airline#extensions#ctrlp#generate_color_map(
|
||||
\ s:clr('fg', 'selection'),
|
||||
\ s:clr('fg', 'comment'),
|
||||
\ s:clr('fg', 'purple'),
|
||||
\)
|
||||
endif
|
||||
"}}}2
|
||||
"}}}
|
||||
|
||||
" vim: fdm=marker ts=2 sts=2 sw=2 fdl=0:
|
@@ -0,0 +1,57 @@
|
||||
" Palette: {{{
|
||||
|
||||
let g:dracula_pro#palette = {}
|
||||
let g:dracula_pro#palette.fg = ['#F8F8F2', 231]
|
||||
|
||||
let g:dracula_pro#palette.bglighter = ['#393649', 59]
|
||||
let g:dracula_pro#palette.bglight = ['#2E2B3B', 59]
|
||||
let g:dracula_pro#palette.bg = ['#22212C', 59]
|
||||
let g:dracula_pro#palette.bgdark = ['#17161D', 17]
|
||||
let g:dracula_pro#palette.bgdarker = ['#0B0B0F', 16]
|
||||
|
||||
let g:dracula_pro#palette.comment = ['#7970A9', 103]
|
||||
let g:dracula_pro#palette.selection = ['#454158', 60]
|
||||
let g:dracula_pro#palette.subtle = ['#424450', 60]
|
||||
|
||||
let g:dracula_pro#palette.cyan = ['#80FFEA', 159]
|
||||
let g:dracula_pro#palette.green = ['#8AFF80', 157]
|
||||
let g:dracula_pro#palette.orange = ['#FFCA80', 223]
|
||||
let g:dracula_pro#palette.pink = ['#FF80BF', 218]
|
||||
let g:dracula_pro#palette.purple = ['#9580FF', 147]
|
||||
let g:dracula_pro#palette.red = ['#FF9580', 217]
|
||||
let g:dracula_pro#palette.yellow = ['#FFFF80', 229]
|
||||
|
||||
"
|
||||
" ANSI
|
||||
"
|
||||
let g:dracula_pro#palette.color_0 = '#454158'
|
||||
let g:dracula_pro#palette.color_1 = '#FF9580'
|
||||
let g:dracula_pro#palette.color_2 = '#8AFF80'
|
||||
let g:dracula_pro#palette.color_3 = '#FFFF80'
|
||||
let g:dracula_pro#palette.color_4 = '#9580FF'
|
||||
let g:dracula_pro#palette.color_5 = '#FF80BF'
|
||||
let g:dracula_pro#palette.color_6 = '#80FFEA'
|
||||
let g:dracula_pro#palette.color_7 = '#F8F8F2'
|
||||
let g:dracula_pro#palette.color_8 = '#7970A9'
|
||||
let g:dracula_pro#palette.color_9 = '#FFAA99'
|
||||
let g:dracula_pro#palette.color_10 = '#A2FF99'
|
||||
let g:dracula_pro#palette.color_11 = '#FFFF99'
|
||||
let g:dracula_pro#palette.color_12 = '#AA99FF'
|
||||
let g:dracula_pro#palette.color_13 = '#FF99CC'
|
||||
let g:dracula_pro#palette.color_14 = '#99FFEE'
|
||||
let g:dracula_pro#palette.color_15 = '#FFFFFF'
|
||||
|
||||
" }}}
|
||||
|
||||
" Helper function that takes a variadic list of filetypes as args and returns
|
||||
" whether or not the execution of the ftplugin should be aborted.
|
||||
func! dracula_pro#should_abort(...)
|
||||
if ! exists('g:colors_name') || g:colors_name !~# 'dracula_pro.*'
|
||||
return 1
|
||||
elseif a:0 > 0 && (! exists('b:current_syntax') || index(a:000, b:current_syntax) == -1)
|
||||
return 1
|
||||
endif
|
||||
return 0
|
||||
endfunction
|
||||
|
||||
" vim: fdm=marker ts=2 sts=2 sw=2 fdl=0:
|
@@ -0,0 +1,35 @@
|
||||
let s:black = g:dracula_pro#palette.bg
|
||||
let s:gray = g:dracula_pro#palette.selection
|
||||
let s:white = g:dracula_pro#palette.fg
|
||||
let s:darkblue = g:dracula_pro#palette.comment
|
||||
let s:cyan = g:dracula_pro#palette.cyan
|
||||
let s:green = g:dracula_pro#palette.green
|
||||
let s:orange = g:dracula_pro#palette.orange
|
||||
let s:purple = g:dracula_pro#palette.purple
|
||||
let s:red = g:dracula_pro#palette.red
|
||||
let s:yellow = g:dracula_pro#palette.yellow
|
||||
|
||||
if exists('g:lightline')
|
||||
|
||||
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
|
||||
let s:p.normal.left = [ [ s:black, s:purple ], [ s:cyan, s:gray ] ]
|
||||
let s:p.normal.right = [ [ s:black, s:purple ], [ s:white, s:darkblue ] ]
|
||||
let s:p.inactive.right = [ [ s:black, s:darkblue ], [ s:white, s:black ] ]
|
||||
let s:p.inactive.left = [ [ s:cyan, s:black ], [ s:white, s:black ] ]
|
||||
let s:p.insert.left = [ [ s:black, s:green ], [ s:cyan, s:gray ] ]
|
||||
let s:p.replace.left = [ [ s:black, s:red ], [ s:cyan, s:gray ] ]
|
||||
let s:p.visual.left = [ [ s:black, s:orange ], [ s:cyan, s:gray ] ]
|
||||
let s:p.normal.middle = [ [ s:white, s:gray ] ]
|
||||
let s:p.inactive.middle = [ [ s:white, s:gray ] ]
|
||||
let s:p.tabline.left = [ [ s:darkblue, s:gray ] ]
|
||||
let s:p.tabline.tabsel = [ [ s:cyan, s:black ] ]
|
||||
let s:p.tabline.middle = [ [ s:darkblue, s:gray ] ]
|
||||
let s:p.tabline.right = copy(s:p.normal.right)
|
||||
let s:p.normal.error = [ [ s:red, s:black ] ]
|
||||
let s:p.normal.warning = [ [ s:yellow, s:black ] ]
|
||||
|
||||
let g:lightline#colorscheme#dracula_pro#palette = lightline#colorscheme#flatten(s:p)
|
||||
|
||||
endif
|
||||
|
||||
" vim: fdm=marker ts=2 sts=2 sw=2 fdl=0:
|
@@ -0,0 +1,14 @@
|
||||
runtime autoload/dracula_pro.vim
|
||||
|
||||
let g:dracula_pro#palette.comment = ['#7970A9', 103]
|
||||
let g:dracula_pro#palette.selection = ['#454158', 60]
|
||||
|
||||
let g:dracula_pro#palette.bglighter = ['#393649', 59]
|
||||
let g:dracula_pro#palette.bglight = ['#2E2B3B', 59]
|
||||
let g:dracula_pro#palette.bg = ['#22212C', 59]
|
||||
let g:dracula_pro#palette.bgdark = ['#17161D', 17]
|
||||
let g:dracula_pro#palette.bgdarker = ['#0B0B0F', 16]
|
||||
|
||||
runtime colors/dracula_pro_base.vim
|
||||
|
||||
let g:colors_name = 'dracula_pro'
|
@@ -0,0 +1,301 @@
|
||||
" Configuration: {{{
|
||||
|
||||
if v:version > 580
|
||||
highlight clear
|
||||
if exists('syntax_on')
|
||||
syntax reset
|
||||
endif
|
||||
endif
|
||||
|
||||
let g:colors_name = 'dracula_pro'
|
||||
|
||||
if !(has('termguicolors') && &termguicolors) && !has('gui_running') && &t_Co != 256
|
||||
finish
|
||||
endif
|
||||
|
||||
" Palette: {{{2
|
||||
|
||||
let s:fg = g:dracula_pro#palette.fg
|
||||
|
||||
let s:bglighter = g:dracula_pro#palette.bglighter
|
||||
let s:bglight = g:dracula_pro#palette.bglight
|
||||
let s:bg = g:dracula_pro#palette.bg
|
||||
let s:bgdark = g:dracula_pro#palette.bgdark
|
||||
let s:bgdarker = g:dracula_pro#palette.bgdarker
|
||||
|
||||
let s:comment = g:dracula_pro#palette.comment
|
||||
let s:selection = g:dracula_pro#palette.selection
|
||||
let s:subtle = g:dracula_pro#palette.subtle
|
||||
|
||||
let s:cyan = g:dracula_pro#palette.cyan
|
||||
let s:green = g:dracula_pro#palette.green
|
||||
let s:orange = g:dracula_pro#palette.orange
|
||||
let s:pink = g:dracula_pro#palette.pink
|
||||
let s:purple = g:dracula_pro#palette.purple
|
||||
let s:red = g:dracula_pro#palette.red
|
||||
let s:yellow = g:dracula_pro#palette.yellow
|
||||
|
||||
let s:none = ['NONE', 'NONE']
|
||||
|
||||
if has('nvim')
|
||||
for s:i in range(16)
|
||||
let g:terminal_color_{s:i} = g:dracula_pro#palette['color_' . s:i]
|
||||
endfor
|
||||
endif
|
||||
|
||||
if has('terminal')
|
||||
let g:terminal_ansi_colors = []
|
||||
for s:i in range(16)
|
||||
call add(g:terminal_ansi_colors, g:dracula_pro#palette['color_' . s:i])
|
||||
endfor
|
||||
endif
|
||||
|
||||
" }}}2
|
||||
" User Configuration: {{{2
|
||||
|
||||
if !exists('g:dracula_bold')
|
||||
let g:dracula_bold = 1
|
||||
endif
|
||||
|
||||
if !exists('g:dracula_italic')
|
||||
let g:dracula_italic = 1
|
||||
endif
|
||||
|
||||
if !exists('g:dracula_underline')
|
||||
let g:dracula_underline = 1
|
||||
endif
|
||||
|
||||
if !exists('g:dracula_undercurl') && g:dracula_underline != 0
|
||||
let g:dracula_undercurl = 1
|
||||
endif
|
||||
|
||||
if !exists('g:dracula_inverse')
|
||||
let g:dracula_inverse = 1
|
||||
endif
|
||||
|
||||
if !exists('g:dracula_colorterm')
|
||||
let g:dracula_colorterm = 1
|
||||
endif
|
||||
|
||||
"}}}2
|
||||
" Script Helpers: {{{2
|
||||
|
||||
let s:attrs = {
|
||||
\ 'bold': g:dracula_bold == 1 ? 'bold' : 0,
|
||||
\ 'italic': g:dracula_italic == 1 ? 'italic' : 0,
|
||||
\ 'underline': g:dracula_underline == 1 ? 'underline' : 0,
|
||||
\ 'undercurl': g:dracula_undercurl == 1 ? 'undercurl' : 0,
|
||||
\ 'inverse': g:dracula_inverse == 1 ? 'inverse' : 0,
|
||||
\}
|
||||
|
||||
function! s:h(scope, fg, ...) " bg, attr_list, special
|
||||
let l:fg = copy(a:fg)
|
||||
let l:bg = get(a:, 1, ['NONE', 'NONE'])
|
||||
|
||||
let l:attr_list = filter(get(a:, 2, ['NONE']), 'type(v:val) == 1')
|
||||
let l:attrs = len(l:attr_list) > 0 ? join(l:attr_list, ',') : 'NONE'
|
||||
|
||||
" Falls back to coloring foreground group on terminals because
|
||||
" nearly all do not support undercurl
|
||||
let l:special = get(a:, 3, ['NONE', 'NONE'])
|
||||
if l:special[0] !=# 'NONE' && l:fg[0] ==# 'NONE' && !has('gui_running')
|
||||
let l:fg[0] = l:special[0]
|
||||
let l:fg[1] = l:special[1]
|
||||
endif
|
||||
|
||||
let l:hl_string = [
|
||||
\ 'highlight!', a:scope,
|
||||
\ 'guifg=' . l:fg[0], 'ctermfg=' . l:fg[1],
|
||||
\ 'guibg=' . l:bg[0], 'ctermbg=' . l:bg[1],
|
||||
\ 'gui=' . l:attrs, 'cterm=' . l:attrs,
|
||||
\ 'guisp=' . l:special[0],
|
||||
\]
|
||||
|
||||
execute join(l:hl_string, ' ')
|
||||
endfunction
|
||||
|
||||
"}}}2
|
||||
" Dracula Highlight Groups: {{{2
|
||||
|
||||
call s:h('DraculaBgLight', s:none, s:bglight)
|
||||
call s:h('DraculaBgLighter', s:none, s:bglighter)
|
||||
call s:h('DraculaBgDark', s:none, s:bgdark)
|
||||
call s:h('DraculaBgDarker', s:none, s:bgdarker)
|
||||
|
||||
call s:h('DraculaFg', s:fg)
|
||||
call s:h('DraculaFgUnderline', s:fg, s:none, [s:attrs.underline])
|
||||
call s:h('DraculaFgBold', s:fg, s:none, [s:attrs.bold])
|
||||
|
||||
call s:h('DraculaComment', s:comment)
|
||||
call s:h('DraculaCommentBold', s:comment, s:none, [s:attrs.bold])
|
||||
|
||||
call s:h('DraculaSelection', s:none, s:selection)
|
||||
|
||||
call s:h('DraculaSubtle', s:subtle)
|
||||
|
||||
call s:h('DraculaCyan', s:cyan)
|
||||
call s:h('DraculaCyanItalic', s:cyan, s:none, [s:attrs.italic])
|
||||
|
||||
call s:h('DraculaGreen', s:green)
|
||||
call s:h('DraculaGreenBold', s:green, s:none, [s:attrs.bold])
|
||||
call s:h('DraculaGreenItalic', s:green, s:none, [s:attrs.italic])
|
||||
call s:h('DraculaGreenItalicUnderline', s:green, s:none, [s:attrs.italic, s:attrs.underline])
|
||||
|
||||
call s:h('DraculaOrange', s:orange)
|
||||
call s:h('DraculaOrangeBold', s:orange, s:none, [s:attrs.bold])
|
||||
call s:h('DraculaOrangeItalic', s:orange, s:none, [s:attrs.italic])
|
||||
call s:h('DraculaOrangeBoldItalic', s:orange, s:none, [s:attrs.bold, s:attrs.italic])
|
||||
call s:h('DraculaOrangeInverse', s:bg, s:orange)
|
||||
|
||||
call s:h('DraculaPink', s:pink)
|
||||
call s:h('DraculaPinkItalic', s:pink, s:none, [s:attrs.italic])
|
||||
|
||||
call s:h('DraculaPurple', s:purple)
|
||||
call s:h('DraculaPurpleBold', s:purple, s:none, [s:attrs.bold])
|
||||
call s:h('DraculaPurpleItalic', s:purple, s:none, [s:attrs.italic])
|
||||
|
||||
call s:h('DraculaRed', s:red)
|
||||
call s:h('DraculaRedInverse', s:fg, s:red)
|
||||
|
||||
call s:h('DraculaYellow', s:yellow)
|
||||
call s:h('DraculaYellowItalic', s:yellow, s:none, [s:attrs.italic])
|
||||
|
||||
call s:h('DraculaError', s:red, s:none, [], s:red)
|
||||
|
||||
call s:h('DraculaErrorLine', s:none, s:none, [s:attrs.undercurl], s:red)
|
||||
call s:h('DraculaWarnLine', s:none, s:none, [s:attrs.undercurl], s:orange)
|
||||
call s:h('DraculaInfoLine', s:none, s:none, [s:attrs.undercurl], s:cyan)
|
||||
|
||||
call s:h('DraculaTodo', s:cyan, s:none, [s:attrs.bold, s:attrs.inverse])
|
||||
call s:h('DraculaSearch', s:green, s:none, [s:attrs.inverse])
|
||||
call s:h('DraculaBoundary', s:comment, s:bgdark)
|
||||
call s:h('DraculaLink', s:cyan, s:none, [s:attrs.underline])
|
||||
|
||||
call s:h('DraculaDiffChange', s:orange, s:none)
|
||||
call s:h('DraculaDiffText', s:bg, s:orange)
|
||||
call s:h('DraculaDiffDelete', s:red, s:bgdark)
|
||||
|
||||
" }}}2
|
||||
|
||||
" }}}
|
||||
" User Interface: {{{
|
||||
|
||||
set background=dark
|
||||
|
||||
" Required as some plugins will overwrite
|
||||
call s:h('Normal', s:fg, g:dracula_colorterm || has('gui_running') ? s:bg : s:none )
|
||||
call s:h('StatusLine', s:none, s:bglighter, [s:attrs.bold])
|
||||
call s:h('StatusLineNC', s:none, s:bglight)
|
||||
call s:h('StatusLineTerm', s:none, s:bglighter, [s:attrs.bold])
|
||||
call s:h('StatusLineTermNC', s:none, s:bglight)
|
||||
call s:h('WildMenu', s:bg, s:purple, [s:attrs.bold])
|
||||
call s:h('CursorLine', s:none, s:subtle)
|
||||
|
||||
hi! link ColorColumn DraculaBgDark
|
||||
hi! link CursorColumn CursorLine
|
||||
hi! link CursorLineNr DraculaYellow
|
||||
hi! link DiffAdd DraculaGreen
|
||||
hi! link DiffAdded DiffAdd
|
||||
hi! link DiffChange DraculaDiffChange
|
||||
hi! link DiffDelete DraculaDiffDelete
|
||||
hi! link DiffRemoved DiffDelete
|
||||
hi! link DiffText DraculaDiffText
|
||||
hi! link Directory DraculaPurpleBold
|
||||
hi! link ErrorMsg DraculaRedInverse
|
||||
hi! link FoldColumn DraculaSubtle
|
||||
hi! link Folded DraculaBoundary
|
||||
hi! link IncSearch DraculaOrangeInverse
|
||||
call s:h('LineNr', s:comment)
|
||||
hi! link MoreMsg DraculaFgBold
|
||||
hi! link NonText DraculaSubtle
|
||||
hi! link Pmenu DraculaBgDark
|
||||
hi! link PmenuSbar DraculaBgDark
|
||||
hi! link PmenuSel DraculaSelection
|
||||
hi! link PmenuThumb DraculaSelection
|
||||
hi! link Question DraculaFgBold
|
||||
hi! link Search DraculaSearch
|
||||
call s:h('SignColumn', s:comment)
|
||||
hi! link TabLine DraculaBoundary
|
||||
hi! link TabLineFill DraculaBgDarker
|
||||
hi! link TabLineSel Normal
|
||||
hi! link Title DraculaGreenBold
|
||||
hi! link VertSplit DraculaBoundary
|
||||
hi! link Visual DraculaSelection
|
||||
hi! link VisualNOS Visual
|
||||
hi! link WarningMsg DraculaOrangeInverse
|
||||
|
||||
" }}}
|
||||
" Syntax: {{{
|
||||
|
||||
" Required as some plugins will overwrite
|
||||
call s:h('MatchParen', s:green, s:none, [s:attrs.underline])
|
||||
call s:h('Conceal', s:cyan, s:none)
|
||||
|
||||
" Neovim uses SpecialKey for escape characters only. Vim uses it for that, plus whitespace.
|
||||
if has('nvim')
|
||||
hi! link SpecialKey DraculaRed
|
||||
hi! link LspDiagnosticsUnderline DraculaFgUnderline
|
||||
hi! link LspDiagnosticsInformation DraculaCyan
|
||||
hi! link LspDiagnosticsHint DraculaCyan
|
||||
hi! link LspDiagnosticsError DraculaError
|
||||
hi! link LspDiagnosticsWarning DraculaOrange
|
||||
hi! link LspDiagnosticsUnderlineError DraculaErrorLine
|
||||
hi! link LspDiagnosticsUnderlineHint DraculaInfoLine
|
||||
hi! link LspDiagnosticsUnderlineInformation DraculaInfoLine
|
||||
hi! link LspDiagnosticsUnderlineWarning DraculaWarnLine
|
||||
else
|
||||
hi! link SpecialKey DraculaSubtle
|
||||
endif
|
||||
|
||||
hi! link Comment DraculaComment
|
||||
hi! link Underlined DraculaFgUnderline
|
||||
hi! link Todo DraculaTodo
|
||||
|
||||
hi! link Error DraculaError
|
||||
hi! link SpellBad DraculaErrorLine
|
||||
hi! link SpellLocal DraculaWarnLine
|
||||
hi! link SpellCap DraculaInfoLine
|
||||
hi! link SpellRare DraculaInfoLine
|
||||
|
||||
hi! link Constant DraculaPurple
|
||||
hi! link String DraculaYellow
|
||||
hi! link Character DraculaPink
|
||||
hi! link Number Constant
|
||||
hi! link Boolean Constant
|
||||
hi! link Float Constant
|
||||
|
||||
hi! link Identifier DraculaFg
|
||||
hi! link Function DraculaGreen
|
||||
|
||||
hi! link Statement DraculaPink
|
||||
hi! link Conditional DraculaPink
|
||||
hi! link Repeat DraculaPink
|
||||
hi! link Label DraculaPink
|
||||
hi! link Operator DraculaPink
|
||||
hi! link Keyword DraculaPink
|
||||
hi! link Exception DraculaPink
|
||||
|
||||
hi! link PreProc DraculaPink
|
||||
hi! link Include DraculaPink
|
||||
hi! link Define DraculaPink
|
||||
hi! link Macro DraculaPink
|
||||
hi! link PreCondit DraculaPink
|
||||
hi! link StorageClass DraculaPink
|
||||
hi! link Structure DraculaPink
|
||||
hi! link Typedef DraculaPink
|
||||
|
||||
hi! link Type DraculaCyanItalic
|
||||
|
||||
hi! link Delimiter DraculaFg
|
||||
|
||||
hi! link Special DraculaPink
|
||||
hi! link SpecialComment DraculaCyanItalic
|
||||
hi! link Tag DraculaCyan
|
||||
hi! link helpHyperTextJump DraculaLink
|
||||
hi! link helpCommand DraculaPurple
|
||||
hi! link helpExample DraculaGreen
|
||||
hi! link helpBacktick Special
|
||||
|
||||
"}}}
|
||||
|
||||
" vim: fdm=marker ts=2 sts=2 sw=2 fdl=0 et:
|
@@ -0,0 +1,14 @@
|
||||
runtime autoload/dracula_pro.vim
|
||||
|
||||
let g:dracula_pro#palette.comment = ['#70A99F', 109]
|
||||
let g:dracula_pro#palette.selection = ['#415854', 66]
|
||||
|
||||
let g:dracula_pro#palette.bglighter = ['#364946', 59]
|
||||
let g:dracula_pro#palette.bglight = ['#2B3B38', 59]
|
||||
let g:dracula_pro#palette.bg = ['#212C2A', 59]
|
||||
let g:dracula_pro#palette.bgdark = ['#161D1C', 23]
|
||||
let g:dracula_pro#palette.bgdarker = ['#0B0F0E', 16]
|
||||
|
||||
runtime colors/dracula_pro_base.vim
|
||||
|
||||
let g:colors_name = 'dracula_pro_blade'
|
@@ -0,0 +1,14 @@
|
||||
runtime autoload/dracula_pro.vim
|
||||
|
||||
let g:dracula_pro#palette.comment = ['#9F70A9', 139]
|
||||
let g:dracula_pro#palette.selection = ['#544158', 96]
|
||||
|
||||
let g:dracula_pro#palette.bglighter = ['#463649', 59]
|
||||
let g:dracula_pro#palette.bglight = ['#382B3B', 59]
|
||||
let g:dracula_pro#palette.bg = ['#2A212C', 59]
|
||||
let g:dracula_pro#palette.bgdark = ['#1C161D', 53]
|
||||
let g:dracula_pro#palette.bgdarker = ['#0E0B0F', 16]
|
||||
|
||||
runtime colors/dracula_pro_base.vim
|
||||
|
||||
let g:colors_name = 'dracula_pro_buffy'
|
@@ -0,0 +1,14 @@
|
||||
runtime autoload/dracula_pro.vim
|
||||
|
||||
let g:dracula_pro#palette.comment = ['#A99F70', 144]
|
||||
let g:dracula_pro#palette.selection = ['#585441', 101]
|
||||
|
||||
let g:dracula_pro#palette.bglighter = ['#494636', 59]
|
||||
let g:dracula_pro#palette.bglight = ['#3B382B', 59]
|
||||
let g:dracula_pro#palette.bg = ['#2C2A21', 59]
|
||||
let g:dracula_pro#palette.bgdark = ['#1D1C16', 58]
|
||||
let g:dracula_pro#palette.bgdarker = ['#0F0E0B', 16]
|
||||
|
||||
runtime colors/dracula_pro_base.vim
|
||||
|
||||
let g:colors_name = 'dracula_pro_lincoln'
|
@@ -0,0 +1,14 @@
|
||||
runtime autoload/dracula_pro.vim
|
||||
|
||||
let g:dracula_pro#palette.comment = ['#A97079', 138]
|
||||
let g:dracula_pro#palette.selection = ['#584145', 95]
|
||||
|
||||
let g:dracula_pro#palette.bglighter = ['#493639', 59]
|
||||
let g:dracula_pro#palette.bglight = ['#3B2B2E', 59]
|
||||
let g:dracula_pro#palette.bg = ['#2C2122', 59]
|
||||
let g:dracula_pro#palette.bgdark = ['#1D1617', 52]
|
||||
let g:dracula_pro#palette.bgdarker = ['#0F0B0B', 16]
|
||||
|
||||
runtime colors/dracula_pro_base.vim
|
||||
|
||||
let g:colors_name = 'dracula_pro_morbius'
|
@@ -0,0 +1,14 @@
|
||||
runtime autoload/dracula_pro.vim
|
||||
|
||||
let g:dracula_pro#palette.comment = ['#708CA9', 109]
|
||||
let g:dracula_pro#palette.selection = ['#414D58', 66]
|
||||
|
||||
let g:dracula_pro#palette.bglighter = ['#161A1D', 23]
|
||||
let g:dracula_pro#palette.bglight = ['#111417', 16]
|
||||
let g:dracula_pro#palette.bg = ['#0B0D0F', 16]
|
||||
let g:dracula_pro#palette.bgdark = ['#070809', 16]
|
||||
let g:dracula_pro#palette.bgdarker = ['#000000', 16]
|
||||
|
||||
runtime colors/dracula_pro_base.vim
|
||||
|
||||
let g:colors_name = 'dracula_pro_van_helsing'
|
146
.vim/pack/themes/start/dracula_pro/vim/doc/dracula_pro.txt
Normal file
146
.vim/pack/themes/start/dracula_pro/vim/doc/dracula_pro.txt
Normal file
@@ -0,0 +1,146 @@
|
||||
*dracula_pro.txt* For Vim version 8 Last change: 2020 Apr 27
|
||||
*dracula-pro* *vim-dracula-pro*
|
||||
|
||||
|
||||
|\ ,, ~
|
||||
\\ _ || _ ~
|
||||
/ \\ ,._-_ < \, _-_ \\ \\ || < \, -_-_ ,._-_ /'\\ ~
|
||||
|| || || /-|| || || || || /-|| || \\ || || || ~
|
||||
|| || || (( || || || || || (( || || || || || || ~
|
||||
\\/ \\, \/\\ \\,/ \\/\\ \\ \/\\ ||-' \\, \\,/ ~
|
||||
|/ ~
|
||||
' ~
|
||||
|
||||
A premium dark theme for vim
|
||||
|
||||
================================================================================
|
||||
CONTENTS *dracula-pro-contents*
|
||||
|
||||
1. Intro .............................................. |dracula-pro-intro|
|
||||
2. Usage .............................................. |dracula-pro-usage|
|
||||
3. Configuration .............................. |dracula-pro-configuration|
|
||||
4. Personal Customization ..................... |dracula-pro-customization|
|
||||
5. License .......................................... |dracula-pro-license|
|
||||
6. Bugs ................................................ |dracula-pro-bugs|
|
||||
7. Contributing ................................ |dracula-pro-contributing|
|
||||
8. Credits .......................................... |dracula-pro-credits|
|
||||
|
||||
================================================================================
|
||||
INTRO *dracula-pro-intro*
|
||||
|
||||
Dracula PRO is a vim plugin that contains
|
||||
|
||||
- a dark colorscheme for vim
|
||||
- a similarly-themed colorscheme for the vim plugin airline
|
||||
|
||||
================================================================================
|
||||
USAGE *dracula-pro-usage*
|
||||
|
||||
Install it with your favorite plugin manager, and then >
|
||||
colorscheme dracula_pro
|
||||
" or
|
||||
colorscheme dracula_pro_variation
|
||||
in your vimrc! See also |dracula-pro-runtimepath|.
|
||||
|
||||
If you are an airline user, you can also do >
|
||||
let g:airline_theme='dracula_pro'
|
||||
to have airline use Dracula.
|
||||
|
||||
*dracula-pro-runtimepath*
|
||||
|
||||
Note that dracula must be in your 'runtimepath' for this command to work
|
||||
properly: Version 2.0 introduced autoload functionality for part of the
|
||||
plugin, which doesn't work without 'runtimepath' properly set.
|
||||
|
||||
For users of Vim 8's |packages| feature, it suffices to put this in your vimrc:
|
||||
packadd! dracula_pro
|
||||
colorscheme dracula_pro
|
||||
|
||||
================================================================================
|
||||
CONFIGURATION *dracula-pro-configuration*
|
||||
|
||||
There are a couple of variables used by Dracula that you might want to adjust
|
||||
depending on your terminal's capabilities.
|
||||
|
||||
Default values are shown.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
In the following section, `1` signifies `on` and `0` signifies `off`.
|
||||
|
||||
* *g:dracula_bold*
|
||||
Include bold attributes in highlighting >
|
||||
let g:dracula_bold = 1
|
||||
|
||||
* *g:dracula_italic*
|
||||
Include italic attributes in highlighting >
|
||||
let g:dracula_italic = 1
|
||||
|
||||
* *g:dracula_underline*
|
||||
Include underline attributes in highlighting >
|
||||
let g:dracula_underline = 1
|
||||
|
||||
* *g:dracula_undercurl*
|
||||
Include undercurl attributes in highlighting (only if underline enabled) >
|
||||
let g:dracula_undercurl = 1
|
||||
|
||||
* *g:dracula_inverse*
|
||||
Include inverse attributes in highlighting >
|
||||
let g:dracula_inverse = 1
|
||||
|
||||
* *g:dracula_colorterm*
|
||||
Include background fill colors >
|
||||
let g:dracula_colorterm = 1
|
||||
|
||||
================================================================================
|
||||
CUSTOMIZATION *dracula-pro-customization*
|
||||
|
||||
Like all colorschemes, Dracula PRO is easy to customize with |autocmd|. Make use
|
||||
of the |ColorScheme| event as in the following examples.
|
||||
|
||||
It would be a good idea to put all of your personal changes in an |augroup|,
|
||||
which you can do with the following code: >
|
||||
augroup dracula_customization
|
||||
au!
|
||||
" autocmds...
|
||||
augroup END
|
||||
>
|
||||
|
||||
- To add underline styling to |hl-CursorLine|, you can use the following: >
|
||||
autocmd ColorScheme dracula_pro* hi CursorLine cterm=underline term=underline
|
||||
<
|
||||
================================================================================
|
||||
LICENSE *dracula-pro-license*
|
||||
|
||||
Copyright © 2020 Dracula Theme
|
||||
EULA available at https://gum.co/dracula-pro
|
||||
|
||||
================================================================================
|
||||
BUGS *dracula-pro-bugs*
|
||||
|
||||
At the time of this writing, no major bugs have been found.
|
||||
|
||||
If you find one and wish to report it, send an email to zeno@draculatheme.com
|
||||
|
||||
================================================================================
|
||||
CONTRIBUTING *dracula-pro-contributing*
|
||||
|
||||
Want to submit a new feature, bugfix, or hack on Dracula PRO?
|
||||
Send an email to zeno@draculatheme.com
|
||||
|
||||
Existing code determines style guidelines.
|
||||
|
||||
================================================================================
|
||||
CREDITS *dracula-pro-credits*
|
||||
|
||||
Originally Created by:
|
||||
- Derek S. (https://github.com/dsifford)
|
||||
- D. Ben Knoble (https://github.com/benknoble)
|
||||
|
||||
Modified by:
|
||||
- D. Ben Knoble (https://github.com/benknoble)
|
||||
- Zeno Rocha (https://github.com/zenorocha)
|
||||
|
||||
Further information available at
|
||||
https://draculatheme.com/pro
|
||||
|
||||
vim:tw=78:ts=8:ft=help:norl:
|
6
.vimrc
6
.vimrc
@@ -81,9 +81,11 @@ set wildmenu
|
||||
set lazyredraw
|
||||
set showmatch
|
||||
|
||||
" Dracula Theme
|
||||
" Add Dracula Themes
|
||||
packadd! dracula
|
||||
packadd! dracula_pro
|
||||
|
||||
" Enable Dracula Pro Theme
|
||||
syntax enable
|
||||
let g:dracula_colorterm = 0
|
||||
colorscheme dracula_pro
|
||||
|
||||
|
19
.xinitrc
19
.xinitrc
@@ -1,19 +0,0 @@
|
||||
#########################
|
||||
# ENVIRONMENT VARIABLES #
|
||||
#########################
|
||||
export TERM=xterm-256color # Sets the terminal type
|
||||
export SHELL=/usr/bin/fish # Preferred shell
|
||||
export EDITOR="code -w" # Default editor
|
||||
export BROWSER=brave # Web Browser
|
||||
export XDG_CONFIG_HOME=$HOME/.config # Set Config directory
|
||||
export QT_QPA_PLATFORMTHEME=qt5ct # QGtkStyle
|
||||
|
||||
###########
|
||||
# STARTUP #
|
||||
###########
|
||||
xrdb ~/.Xresources
|
||||
|
||||
##################
|
||||
# WINDOW MANAGER #
|
||||
##################
|
||||
exec dwm
|
Reference in New Issue
Block a user