diff --git a/X11/Xresources b/X11/Xresources index 0676308..d0442d3 100644 --- a/X11/Xresources +++ b/X11/Xresources @@ -1,3 +1,3 @@ -#include "/home/emh/.cache/wal/colors.Xresources" +#include "/home/emh/.cache/theme/colors.Xresources" Xft.dpi: 96 diff --git a/alacritty/alacritty.yml b/alacritty/alacritty.yml index 2179406..e4ca23f 100644 --- a/alacritty/alacritty.yml +++ b/alacritty/alacritty.yml @@ -156,7 +156,7 @@ font: #style: Bold Italic # Point size - size: 13.0 + size: 13.5 # Offset is the extra space around each character. `offset.y` can be thought # of as modifying the line spacing, and `offset.x` as modifying the letter @@ -179,7 +179,7 @@ font: #use_thin_strokes: true # If `true`, bold text is drawn using the bright color variants. -#draw_bold_text_with_bright_colors: false +draw_bold_text_with_bright_colors: false # Colors (Tomorrow Night) #colors: @@ -871,4 +871,4 @@ shell: import: - - ~/.cache/wal/colors-alacritty.yml + - ~/.cache/theme/colors-alacritty.yml diff --git a/install.conf.yaml b/install.conf.yaml index 3075da2..ea74f4f 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -45,3 +45,4 @@ ~/.config/spicetify/Themes: spicetify/themes ~/.config/spicetify/Extensions: spicetify/extensions ~/.config/bat/config: bat/config + ~/.config/themectl: themectl diff --git a/kitty/kitty.conf b/kitty/kitty.conf index 46fd789..86a029c 100644 --- a/kitty/kitty.conf +++ b/kitty/kitty.conf @@ -1093,7 +1093,7 @@ include ~/.cache/wal/colors-kitty.conf #: to yes means that any background processes still using the terminal #: can fail silently because their stdout/stderr/stdin no longer work. -# allow_remote_control no +allow_remote_control yes #: Allow other programs to control kitty. If you turn this on other #: programs can control all aspects of kitty, including sending text diff --git a/nvim/lua/options.lua b/nvim/lua/options.lua index 7328e31..b77f359 100644 --- a/nvim/lua/options.lua +++ b/nvim/lua/options.lua @@ -11,10 +11,12 @@ o.viminfo = "" -- why viminfo not work o.tabstop = 4 o.viminfo = '' +vim.g.base16colorspace = 256 + o.termguicolors = false -vim.cmd('colorscheme wal') -vim.g.airline_theme='wal' +vim.cmd('colorscheme theme') +vim.g.airline_theme='theme' map('n', 's', ':%s//g', {}) map('n', 'e', ':make!', {noremap = true}) diff --git a/rofi/config.rasi b/rofi/config.rasi index 2f2a781..f56b8ee 100644 --- a/rofi/config.rasi +++ b/rofi/config.rasi @@ -10,7 +10,7 @@ configuration { } -@import "~/.cache/wal/colors-rofi.rasi" +@import "~/.cache/theme/colors-rofi.rasi" window { width: 50%; diff --git a/scripts/fuck b/scripts/fuck index 05591bc..e6eed3d 100755 --- a/scripts/fuck +++ b/scripts/fuck @@ -1,2 +1,2 @@ #!/bin/bash -ps aux | grep "$@" | awk '{print $2}' | xargs kill -9 +{ ps aux | grep "$@" | awk '{print $2}' | xargs kill -9; } > /dev/null 2>&1 diff --git a/scripts/themectl b/scripts/themectl index 55a943f..9c56e85 100755 Binary files a/scripts/themectl and b/scripts/themectl differ diff --git a/scripts/walset b/scripts/walset deleted file mode 100755 index b5ba972..0000000 --- a/scripts/walset +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash -fuck polybar -pywal-discord & -pywalfox update & -spicetify update & -bspc wm -r & -killall dunst -dunst & diff --git a/sxhkd/sxhkdrc b/sxhkd/sxhkdrc index 60e04f2..4334839 100644 --- a/sxhkd/sxhkdrc +++ b/sxhkd/sxhkdrc @@ -4,7 +4,7 @@ # terminal emulator super + Return - kitty + kitty --single-instance # tmux super + shift + Return diff --git a/themectl/config.toml b/themectl/config.toml new file mode 100644 index 0000000..f17068e --- /dev/null +++ b/themectl/config.toml @@ -0,0 +1,15 @@ + +post = "kitty @ set-colors --all --configured .cache/theme/kitty.conf >/dev/null 2>&1" + +[apps] +vim = "~/.config/nvim/colors/theme.vim" +shell = { file = "~/.cache/theme/colors.sh", post = "(bspc wm -r &) ; (source ~/.cache/theme/colors.sh)" } +airline = "~/.config/nvim/autoload/airline/themes/theme.vim" +xresources = { file = "~/.cache/theme/colors.Xresources", post = "(xrdb -merge -quiet ~/.config/X11/Xresources) ; (spicetify update &) ; (fuck polybar &)" } +kitty = "~/.cache/theme/kitty.conf" +rofi-custom = "~/.cache/theme/colors-rofi.rasi" +dunst-custom = { file = "~/.config/dunst/dunstrc", post = "(killall dunst &) ; (dunst &)" } +zathura-custom = "~/.config/zathura/zathurarc" +discord = { file = "~/.cache/wal/colors.css", post = "pywal-discord &" } +firefox = { file = "~/.cache/wal/colors.json", post = "pywalfox update &" } + diff --git a/themectl/schemes/oceanicnext.yaml b/themectl/schemes/oceanicnext.yaml new file mode 100644 index 0000000..2c3230f --- /dev/null +++ b/themectl/schemes/oceanicnext.yaml @@ -0,0 +1,18 @@ +scheme: "OceanicNext" +author: "https://github.com/voronianski/oceanic-next-color-scheme" +base00: "1B2B34" +base01: "343D46" +base02: "4F5B66" +base03: "65737E" +base04: "A7ADBA" +base05: "C0C5CE" +base06: "CDD3DE" +base07: "D8DEE9" +base08: "EC5f67" +base09: "F99157" +base0A: "FAC863" +base0B: "99C794" +base0C: "5FB3B3" +base0D: "6699CC" +base0E: "C594C5" +base0F: "AB7967" diff --git a/themectl/sources.toml b/themectl/sources.toml new file mode 100644 index 0000000..dd2f64b --- /dev/null +++ b/themectl/sources.toml @@ -0,0 +1,7 @@ +[schemes] +local = [ "~/.config/themectl/schemes" ] +sources = [ "https://github.com/chriskempson/base16-schemes-source" ] + +[templates] +local = [ "~/.config/themectl/templates" ] +sources = [ "https://github.com/chriskempson/base16-templates-source" ] diff --git a/themectl/templates/airline.mustache b/themectl/templates/airline.mustache new file mode 100644 index 0000000..ef895f6 --- /dev/null +++ b/themectl/templates/airline.mustache @@ -0,0 +1,84 @@ +" Base16 {{scheme-name}} vim-airline-theme (https://github.com/dawikur/base16-vim-airline-themes) +" For vim-airline (https://github.com/vim-airline/vim-airline) +" By {{scheme-author}} + + +let g:airline#themes#theme#palette = {} + +" GUI color definitions +let s:gui00 = '#{{base00-hex}}' +let s:gui01 = '#{{base01-hex}}' +let s:gui02 = '#{{base02-hex}}' +let s:gui03 = '#{{base03-hex}}' +let s:gui04 = '#{{base04-hex}}' +let s:gui05 = '#{{base05-hex}}' +let s:gui06 = '#{{base06-hex}}' +let s:gui07 = '#{{base07-hex}}' +let s:gui08 = '#{{base08-hex}}' +let s:gui09 = '#{{base09-hex}}' +let s:gui0A = '#{{base0A-hex}}' +let s:gui0B = '#{{base0B-hex}}' +let s:gui0C = '#{{base0C-hex}}' +let s:gui0D = '#{{base0D-hex}}' +let s:gui0E = '#{{base0E-hex}}' +let s:gui0F = '#{{base0F-hex}}' + +" Terminal color definitions +let s:cterm00 = "00" +let s:cterm03 = "08" +let s:cterm05 = "07" +let s:cterm07 = "15" +let s:cterm08 = "01" +let s:cterm0A = "03" +let s:cterm0B = "02" +let s:cterm0C = "06" +let s:cterm0D = "04" +let s:cterm0E = "05" +if exists("base16colorspace") && base16colorspace == "256" + let s:cterm01 = "18" + let s:cterm02 = "19" + let s:cterm04 = "20" + let s:cterm06 = "21" + let s:cterm09 = "16" + let s:cterm0F = "17" +else + let s:cterm01 = "10" + let s:cterm02 = "11" + let s:cterm04 = "12" + let s:cterm06 = "13" + let s:cterm09 = "09" + let s:cterm0F = "14" +endif + +let g:airline#themes#theme#palette.normal = airline#themes#generate_color_map( + \ [ s:gui01, s:gui04, s:cterm01, s:cterm04 ], + \ [ s:gui04, s:gui02, s:cterm04, s:cterm02 ], + \ [ s:gui04, s:gui01, s:cterm04, s:cterm01 ]) +let g:airline#themes#theme#palette.normal_modified = { + \ 'airline_c' : [ s:gui07, s:gui01, s:cterm07, s:cterm01 ]} + +let g:airline#themes#theme#palette.insert = airline#themes#generate_color_map( + \ [ s:gui01, s:gui0B, s:cterm01, s:cterm0B ], + \ [ s:gui04, s:gui02, s:cterm04, s:cterm02 ], + \ [ s:gui04, s:gui01, s:cterm04, s:cterm01 ]) +let g:airline#themes#theme#palette.insert_modified = { + \ 'airline_c' : [ s:gui07, s:gui01, s:cterm07, s:cterm01 ]} + +let g:airline#themes#theme#palette.replace = airline#themes#generate_color_map( + \ [ s:gui01, s:gui0E, s:cterm01, s:cterm0E ], + \ [ s:gui04, s:gui02, s:cterm04, s:cterm02 ], + \ [ s:gui04, s:gui01, s:cterm04, s:cterm01 ]) +let g:airline#themes#theme#palette.replace_modified = { + \ 'airline_c' : [ s:gui07, s:gui01, s:cterm07, s:cterm01 ]} + +let g:airline#themes#theme#palette.visual = airline#themes#generate_color_map( + \ [ s:gui01, s:gui09, s:cterm01, s:cterm09 ], + \ [ s:gui04, s:gui02, s:cterm04, s:cterm02 ], + \ [ s:gui04, s:gui01, s:cterm04, s:cterm01 ]) +let g:airline#themes#theme#palette.visual_modified = { + \ 'airline_c' : [ s:gui07, s:gui01, s:cterm07, s:cterm01 ]} + +let g:airline#themes#theme#palette.inactive = airline#themes#generate_color_map( + \ [ s:gui01, s:gui01, s:cterm01, s:cterm01 ], + \ [ s:gui04, s:gui01, s:cterm04, s:cterm01 ], + \ [ s:gui05, s:gui01, s:cterm05, s:cterm01 ]) diff --git a/themectl/templates/discord.mustache b/themectl/templates/discord.mustache new file mode 100644 index 0000000..093285b --- /dev/null +++ b/themectl/templates/discord.mustache @@ -0,0 +1,25 @@ +:root { + + /* Special */ + --background: #{{base00-hex}}; + --foreground: #{{base05-hex}}; + --cursor: #{{base05-hex}}; + + /* Colors */ + --color0: #{{base00-hex}}; + --color1: #{{base08-hex}}; + --color2: #{{base0B-hex}}; + --color3: #{{base0A-hex}}; + --color4: #{{base0D-hex}}; + --color5: #{{base0E-hex}}; + --color6: #{{base0C-hex}}; + --color7: #{{base05-hex}}; + --color8: #{{base03-hex}}; + --color9: #{{base09-hex}}; + --color10: #{{base01-hex}}; + --color11: #{{base02-hex}}; + --color12: #{{base04-hex}}; + --color13: #{{base06-hex}}; + --color14: #{{base0F-hex}}; + --color15: #{{base07-hex}}; +} diff --git a/themectl/templates/dunst-custom.mustache b/themectl/templates/dunst-custom.mustache new file mode 100644 index 0000000..39e98cf --- /dev/null +++ b/themectl/templates/dunst-custom.mustache @@ -0,0 +1,443 @@ +# See dunst(5) for all configuration options + +[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 = none + + ### Geometry ### + + # dynamic width from 0 to 300 + # width = (0, 300) + # constant width of 300 + width = 500 + + # The maximum height of a single notification, excluding the frame. + height = 300 + + # Position the notification in the top right corner + origin = top-right + + # Offset from the origin + offset = 10x50 + + # Scale factor. It is auto-detected if value is 0. + scale = 0.8 + + # Maximum number of notification (0 means no limit) + notification_limit = 3 + + ### Progress bar ### + + # Turn on the progess bar. It appears when a progress hint is passed with + # for example dunstify -h int:value:12 + progress_bar = true + + # Set the progress bar height. This includes the frame, so make sure + # it's at least twice as big as the frame width. + progress_bar_height = 10 + + # Set the frame width of the progress bar + progress_bar_frame_width = 1 + + # Set the minimum width for the progress bar + progress_bar_min_width = 150 + + # Set the maximum width for the progress bar + progress_bar_max_width = 300 + + + # Show how many messages are currently hidden (because of + # notification_limit). + indicate_hidden = yes + + # 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.). (X11 only) + transparency = 0 + + # Draw a line of "separator_height" pixel height between two + # notifications. + # Set to 0 to disable. + separator_height = 2 + + # Padding between text and separator. + padding = 8 + + # Horizontal padding. + horizontal_padding = 8 + + # Padding between text and icon. + text_icon_padding = 0 + + # Defines width in pixels of frame around the notification window. + # Set to 0 to disable. + frame_width = 3 + + # Defines color of the frame around the notification window. + frame_color = "#{{base08-hex}}" + + # 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 = frame + + # 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 = Fira Code Nerd Font 12 + + # 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: + # bold + # italic + # strikethrough + # underline + # + # For a complete reference see + # . + # + # 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 = "%s\n%b" + + # Alignment of message text. + # Possible values are "left", "center" and "right". + alignment = left + + # 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 + + # 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 = 32 + + # Paths to default icons. + # icon_path = /usr/share/icons/Papirus/16x16/status/:/usr/share/icons/Papirus/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/dmenu -p dunst: + + # Browser for opening urls in context menu. + browser = /usr/bin/xdg-open + + # 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 + + # 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 = 0 + + # 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 + + ### Wayland ### + # These settings are Wayland-specific. They have no effect when using X11 + + # Uncomment this if you want to let notications appear under fullscreen + # applications (default: overlay) + # layer = top + + # Set this to true to use X11 output on Wayland. + force_xwayland = 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: Invoke the action determined by the action_name rule. If there is no + # such action, open the context menu. + # * open_url: If the notification has exactly one url, open it. If there are multiple + # ones, open the context menu. + # * close_current: Close current notification. + # * close_all: Close all notifications. + # * context: Open context menu for the notification. + # * context_all: Open context menu for 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 = do_action, close_current + mouse_right_click = close_all + +# 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] + close = ctrl+space + close_all = ctrl+shift+space + history = ctrl+grave + 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 = "#{{base00-hex}}" + foreground = "#{{base05-hex}}" + timeout = 10 + # Icon for notifications with low urgency, uncomment to enable + #default_icon = /path/to/icon + +[urgency_normal] + background = "#{{base00-hex}}" + foreground = "#{{base05-hex}}" + timeout = 10 + # Icon for notifications with normal urgency, uncomment to enable + #default_icon = /path/to/icon + +[urgency_critical] + background = "#{{base00-hex}}" + foreground = "#{{base05-hex}}" + frame_color = "#{{base08-hex}}" + timeout = 0 + # Icon for notifications with critical urgency, uncomment to enable + #default_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 +# set_category +# timeout +# urgency +# skip_display +# history_ignore +# action_name +# word_wrap +# ellipsize +# alignment +# +# 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: 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" +# skip_display = true + +#[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 diff --git a/themectl/templates/firefox.mustache b/themectl/templates/firefox.mustache new file mode 100644 index 0000000..2108f90 --- /dev/null +++ b/themectl/templates/firefox.mustache @@ -0,0 +1,28 @@ +{ + "wallpaper": "None", + "alpha": "100", + + "special": { + "background": "#{{base00-hex}}", + "foreground": "#{{base05-hex}}", + "cursor": "#{{base05-hex}}" + }, + "colors": { + "color0": "#{{base00-hex}}", + "color1": "#{{base08-hex}}", + "color2": "#{{base01-hex}}", + "color3": "#{{base0A-hex}}", + "color4": "#{{base0D-hex}}", + "color5": "#{{base0E-hex}}", + "color6": "#{{base0C-hex}}", + "color7": "#{{base05-hex}}", + "color8": "#{{base03-hex}}", + "color9": "#{{base09-hex}}", + "color10": "#{{base0B-hex}}", + "color11": "#{{base02-hex}}", + "color12": "#{{base04-hex}}", + "color13": "#{{base06-hex}}", + "color14": "#{{base0F-hex}}", + "color15": "#{{base07-hex}}" + } +} diff --git a/themectl/templates/rofi-custom.mustache b/themectl/templates/rofi-custom.mustache new file mode 100644 index 0000000..0969c28 --- /dev/null +++ b/themectl/templates/rofi-custom.mustache @@ -0,0 +1,166 @@ +* { + active-background: #{{base0D-hex}}; + active-foreground: @foreground; + normal-background: @background; + normal-foreground: @foreground; + urgent-background: #{{base08-hex}}; + urgent-foreground: @foreground; + + alternate-active-background: @background; + alternate-active-foreground: @foreground; + alternate-normal-background: @background; + alternate-normal-foreground: @foreground; + alternate-urgent-background: @background; + alternate-urgent-foreground: @foreground; + + selected-active-background: #{{base08-hex}}; + selected-active-foreground: @foreground; + selected-normal-background: #{{base0D-hex}}; + selected-normal-foreground: @foreground; + selected-urgent-background: #{{base09-hex}}; + selected-urgent-foreground: @foreground; + + background-color: @background; + background: #{{base00-hex}}; + foreground: #{{base07-hex}}; + border-color: @background; + spacing: 2; +} + +#window { + background-color: @background; + border: 0; + padding: 2.5ch; +} + +#mainbox { + border: 0; + padding: 0; +} + +#message { + border: 2px 0px 0px; + border-color: @border-color; + padding: 1px; +} + +#textbox { + 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: @normal-foreground; +} + +#listview { + fixed-height: 0; + border: 2px 0px 0px; + border-color: @border-color; + spacing: 2px; + scrollbar: true; + padding: 2px 0px 0px; +} + +#element { + border: 0; + padding: 1px; +} + +#element-text, element-icon { + background-color: inherit; + text-color: inherit; +} + +#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; +} + +#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: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} + +#element.alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} + +#element.alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} + +#scrollbar { + width: 4px; + border: 0; + handle-width: 8px; + padding: 0; +} + +#sidebar { + border: 2px 0px 0px; + border-color: @border-color; +} + +#button { + text-color: @normal-foreground; +} + +#button.selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} + +#inputbar { + spacing: 0; + text-color: @normal-foreground; + padding: 1px; +} + +#case-indicator { + spacing: 0; + text-color: @normal-foreground; +} + +#entry { + spacing: 0; + text-color: @normal-foreground; +} + +#prompt { + spacing: 0; + text-color: @normal-foreground; +} diff --git a/themectl/templates/zathura-custom.mustache b/themectl/templates/zathura-custom.mustache new file mode 100644 index 0000000..d8927f1 --- /dev/null +++ b/themectl/templates/zathura-custom.mustache @@ -0,0 +1,29 @@ +set recolor "true" +set completion-bg "#{{{base00-hex}}" +set completion-fg "#{{base05-hex}}" +set completion-group-bg "#{{base00-hex}}" +set completion-group-fg "#{{base0B-hex}}" +set completion-highlight-bg "#{{base05-hex}}" +set completion-highlight-fg "#{{base00-hex}}" +set recolor-lightcolor "#{{base00-hex}}" +set recolor-darkcolor "#{{base05-hex}}" +set default-bg "#{{base00-hex}}" +set inputbar-bg "#{{base00-hex}}" +set inputbar-fg "#{{base05-hex}}" +set notification-bg "#{{base00-hex}}" +set notification-fg "#{{base05-hex}}" +set notification-error-bg "#{{base08-hex}}" +set notification-error-fg "#{{base05-hex}}" +set notification-warning-bg "#{{base08-hex}}" +set notification-warning-fg "#{{base05-hex}}" +set statusbar-bg "#{{base00-hex}}" +set statusbar-fg "#{{base05-hex}}" +set index-bg "#{{base00-hex}}" +set index-fg "#{{base05-hex}}" +set index-active-bg "#{{base05-hex}}" +set index-active-fg "#{{base00-hex}}" +set render-loading-bg "#{{base00-hex}}" +set render-loading-fg "#{{base05-hex}}" +set window-title-home-tilde true +set statusbar-basename true +set selection-clipboard clipboard diff --git a/wallpapers/Pole.png b/wallpapers/Pole.png new file mode 100644 index 0000000..3e983aa Binary files /dev/null and b/wallpapers/Pole.png differ diff --git a/zsh/zshrc b/zsh/zshrc index c9d9123..0cd088c 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -2,7 +2,7 @@ export PATH=$HOME/.config/bin:$PATH:$HOME/.local/bin:$HOME/.local/share/texlive/ export MANPATH=$MANPATH:$HOME/.local/share/texlive/2021/texmf-dist/doc/man export INFOPATH=$INFOPATH:$HOME/.local/share/texlive/2021/texmf-dist/doc/info -alias wal='wal -o "$HOME/.config/bin/walset"' +alias wal='wal -o "$HOME/.config/bin/themeset"' alias gef='gdb --eval-command="source /usr/share/gef/gef.py"' alias pwndbg='gdb --eval-command="source /usr/share/pwndbg/gdbinit.py"' alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"' @@ -13,5 +13,7 @@ alias xsecurelock='XSECURELOCK_NO_COMPOSITE=1 XSECURELOCK_AUTH_BACKGROUND_COLOR= source ~/.zshenv -source ~/.cache/wal/colors.sh -(cat ~/.cache/wal/sequences &) +# source ~/.cache/wal/colors.sh +# (cat ~/.cache/wal/sequences &) +source ~/.cache/theme/colors.sh +