replace the old dotfiles with the sakura line rice
The bare $HOME repo is gone. This is now the rice: install.sh, rice-* scripts in bin/, configs in home/ linked into $HOME, theme templates, st and the particle wallpaper. Clone to ~/rice and run install.sh.
This commit is contained in:
commit
7f41cf7a82
104 changed files with 8077 additions and 0 deletions
34
templates/Xresources.tpl
Normal file
34
templates/Xresources.tpl
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
! Rendered by rice-theme from colors.toml - edit templates/Xresources.tpl instead.
|
||||
! st reads these through its xresources patch; reopen st (or send it USR1) to pick them up.
|
||||
|
||||
*.foreground: {{ fg }}
|
||||
*.background: {{ bg }}
|
||||
*.cursorColor: {{ accent }}
|
||||
|
||||
*.color0: {{ bg }}
|
||||
*.color1: {{ red }}
|
||||
*.color2: {{ green }}
|
||||
*.color3: {{ yellow }}
|
||||
*.color4: {{ blue }}
|
||||
*.color5: {{ magenta }}
|
||||
*.color6: {{ cyan }}
|
||||
*.color7: {{ fg_alt }}
|
||||
*.color8: {{ muted }}
|
||||
*.color9: {{ bright_red }}
|
||||
*.color10: {{ bright_green }}
|
||||
*.color11: {{ bright_yellow }}
|
||||
*.color12: {{ bright_blue }}
|
||||
*.color13: {{ bright_magenta }}
|
||||
*.color14: {{ bright_cyan }}
|
||||
*.color15: {{ fg }}
|
||||
|
||||
st.font: {{ font }}:pixelsize=14:antialias=true:autohint=true
|
||||
st.alpha: {{ alpha }}
|
||||
st.borderpx: 15
|
||||
|
||||
Xcursor.theme: {{ cursor_theme }}
|
||||
Xcursor.size: {{ cursor_size }}
|
||||
Xft.antialias: 1
|
||||
Xft.hinting: 1
|
||||
Xft.hintstyle: hintslight
|
||||
Xft.rgba: rgb
|
||||
8
templates/bspwm-colors.sh.tpl
Normal file
8
templates/bspwm-colors.sh.tpl
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
# Rendered by rice-theme from colors.toml - edit templates/bspwm-colors.sh.tpl instead.
|
||||
bspc config focused_border_color "{{ accent }}"
|
||||
bspc config active_border_color "{{ border }}"
|
||||
bspc config normal_border_color "{{ surface }}"
|
||||
bspc config presel_feedback_color "{{ magenta }}"
|
||||
bspc config border_width {{ window_border }}
|
||||
bspc config window_gap {{ gap }}
|
||||
29
templates/dunst.conf.tpl
Normal file
29
templates/dunst.conf.tpl
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# Rendered by rice-theme from colors.toml - edit templates/dunst.conf.tpl instead.
|
||||
# Loaded as a drop-in (~/.config/dunst/dunstrc.d/50-theme.conf), so it only
|
||||
# carries colours; layout and behaviour live in dunstrc.
|
||||
|
||||
[global]
|
||||
font = "{{ font }} 10"
|
||||
icon_theme = "{{ icon_theme }}, Adwaita, hicolor"
|
||||
|
||||
[urgency_low]
|
||||
background = "{{ bg }}{{ alpha_hex }}"
|
||||
foreground = "{{ fg_alt }}"
|
||||
frame_color = "{{ border }}"
|
||||
highlight = "{{ dim }}"
|
||||
|
||||
[urgency_normal]
|
||||
background = "{{ bg }}{{ alpha_hex }}"
|
||||
foreground = "{{ fg }}"
|
||||
frame_color = "{{ border }}"
|
||||
highlight = "{{ accent }}"
|
||||
|
||||
[urgency_critical]
|
||||
background = "{{ bg }}{{ alpha_hex }}"
|
||||
foreground = "{{ fg }}"
|
||||
frame_color = "{{ urgent }}"
|
||||
highlight = "{{ urgent }}"
|
||||
|
||||
[osd]
|
||||
frame_color = "{{ accent }}"
|
||||
highlight = "{{ accent }}"
|
||||
30
templates/eww-colors.scss.tpl
Normal file
30
templates/eww-colors.scss.tpl
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
// Rendered by rice-theme from colors.toml - edit templates/eww-colors.scss.tpl instead.
|
||||
$bg: {{ bg }};
|
||||
$bg-alt: {{ bg_alt }};
|
||||
$surface: {{ surface }};
|
||||
$overlay: {{ overlay }};
|
||||
$selection: {{ selection }};
|
||||
$border: {{ border }};
|
||||
|
||||
$fg: {{ fg }};
|
||||
$fg-alt: {{ fg_alt }};
|
||||
$dim: {{ dim }};
|
||||
$muted: {{ muted }};
|
||||
|
||||
$accent: {{ accent }};
|
||||
$accent-alt: {{ accent_alt }};
|
||||
$urgent: {{ urgent }};
|
||||
|
||||
$red: {{ red }};
|
||||
$green: {{ green }};
|
||||
$yellow: {{ yellow }};
|
||||
$blue: {{ blue }};
|
||||
$magenta: {{ magenta }};
|
||||
$cyan: {{ cyan }};
|
||||
|
||||
$font: "{{ font }}";
|
||||
$radius: {{ radius }}px;
|
||||
$radius-small: {{ radius_small }}px;
|
||||
$border-width: {{ border_width }}px;
|
||||
$gap: {{ gap }}px;
|
||||
$alpha: {{ alpha }};
|
||||
6
templates/fzf.sh.tpl
Normal file
6
templates/fzf.sh.tpl
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Rendered by rice-theme from colors.toml - edit templates/fzf.sh.tpl instead.
|
||||
# Sourced by ~/.bashrc so fzf, ff and Ctrl+R pickers match rofi.
|
||||
export FZF_DEFAULT_OPTS="\
|
||||
--color=bg:-1,bg+:{{ selection }},fg:{{ fg_alt }},fg+:{{ fg }},hl:{{ accent }},hl+:{{ accent }} \
|
||||
--color=border:{{ border }},header:{{ accent }},info:{{ dim }},marker:{{ green }},pointer:{{ urgent }},prompt:{{ urgent }},spinner:{{ cyan }} \
|
||||
--prompt=' ' --pointer='▌' --marker='+' --border=rounded --layout=reverse --height=60% --info=inline-right"
|
||||
65
templates/gtk.css.tpl
Normal file
65
templates/gtk.css.tpl
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
/* Rendered by rice-theme from colors.toml - edit templates/gtk.css.tpl instead.
|
||||
Linked as ~/.config/gtk-3.0/gtk.css and ~/.config/gtk-4.0/gtk.css. */
|
||||
|
||||
/* GTK3 / Adwaita named colours */
|
||||
@define-color theme_bg_color {{ bg_alt }};
|
||||
@define-color theme_fg_color {{ fg }};
|
||||
@define-color theme_base_color {{ bg }};
|
||||
@define-color theme_text_color {{ fg }};
|
||||
@define-color theme_selected_bg_color {{ accent }};
|
||||
@define-color theme_selected_fg_color {{ bg }};
|
||||
@define-color theme_unfocused_bg_color {{ bg_alt }};
|
||||
@define-color theme_unfocused_fg_color {{ fg }};
|
||||
@define-color theme_unfocused_base_color {{ bg }};
|
||||
@define-color theme_unfocused_text_color {{ fg }};
|
||||
@define-color theme_unfocused_selected_bg_color {{ selection }};
|
||||
@define-color theme_unfocused_selected_fg_color {{ fg }};
|
||||
@define-color insensitive_bg_color {{ bg_alt }};
|
||||
@define-color insensitive_fg_color {{ dim }};
|
||||
@define-color insensitive_base_color {{ bg }};
|
||||
@define-color borders {{ border }};
|
||||
@define-color unfocused_borders {{ border }};
|
||||
@define-color wm_bg {{ surface }};
|
||||
@define-color wm_border {{ border }};
|
||||
@define-color wm_title {{ fg }};
|
||||
@define-color wm_unfocused_title {{ dim }};
|
||||
@define-color success_color {{ green }};
|
||||
@define-color warning_color {{ yellow }};
|
||||
@define-color error_color {{ red }};
|
||||
@define-color link_color {{ accent }};
|
||||
@define-color visited_link_color {{ magenta }};
|
||||
@define-color content_view_bg {{ bg }};
|
||||
|
||||
/* libadwaita / GTK4 named colours */
|
||||
@define-color accent_color {{ accent }};
|
||||
@define-color accent_bg_color {{ accent }};
|
||||
@define-color accent_fg_color {{ bg }};
|
||||
@define-color destructive_color {{ red }};
|
||||
@define-color window_bg_color {{ bg_alt }};
|
||||
@define-color window_fg_color {{ fg }};
|
||||
@define-color view_bg_color {{ bg }};
|
||||
@define-color view_fg_color {{ fg }};
|
||||
@define-color headerbar_bg_color {{ surface }};
|
||||
@define-color headerbar_fg_color {{ fg }};
|
||||
@define-color headerbar_border_color {{ border }};
|
||||
@define-color headerbar_backdrop_color {{ bg_alt }};
|
||||
@define-color headerbar_shade_color rgba(0, 0, 0, 0.36);
|
||||
@define-color sidebar_bg_color {{ surface }};
|
||||
@define-color sidebar_fg_color {{ fg }};
|
||||
@define-color sidebar_backdrop_color {{ bg_alt }};
|
||||
@define-color sidebar_border_color {{ border }};
|
||||
@define-color sidebar_shade_color rgba(0, 0, 0, 0.36);
|
||||
@define-color secondary_sidebar_bg_color {{ bg_alt }};
|
||||
@define-color secondary_sidebar_fg_color {{ fg }};
|
||||
@define-color card_bg_color {{ surface }};
|
||||
@define-color card_fg_color {{ fg }};
|
||||
@define-color card_shade_color rgba(0, 0, 0, 0.36);
|
||||
@define-color dialog_bg_color {{ surface }};
|
||||
@define-color dialog_fg_color {{ fg }};
|
||||
@define-color popover_bg_color {{ overlay }};
|
||||
@define-color popover_fg_color {{ fg }};
|
||||
@define-color popover_shade_color rgba(0, 0, 0, 0.36);
|
||||
@define-color thumbnail_bg_color {{ surface }};
|
||||
@define-color thumbnail_fg_color {{ fg }};
|
||||
@define-color shade_color rgba(0, 0, 0, 0.36);
|
||||
@define-color scrollbar_outline_color {{ border }};
|
||||
21
templates/imv-config.tpl
Normal file
21
templates/imv-config.tpl
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# Rendered by rice-theme from colors.toml - edit templates/imv-config.tpl instead.
|
||||
# Linked as ~/.config/imv/config.
|
||||
[options]
|
||||
background = {{ bg_strip }}
|
||||
overlay_font = {{ font }}:11
|
||||
overlay_text_color = {{ fg_strip }}
|
||||
overlay_background_color = {{ bg_strip }}
|
||||
overlay_background_alpha = cc
|
||||
|
||||
[binds]
|
||||
# Copy the picture to the clipboard
|
||||
<Ctrl+c> = exec sh -c 'xclip -selection clipboard -t "$(file -b --mime-type "$1")" -i "$1"' _ "$imv_current_file"
|
||||
# Make it the wallpaper
|
||||
<Ctrl+w> = exec rice-wallpaper set "$imv_current_file"
|
||||
# Rotate the file on disk by 90 degrees
|
||||
<Ctrl+r> = exec mogrify -rotate 90 "$imv_current_file"
|
||||
# Print it
|
||||
<Ctrl+p> = exec lp "$imv_current_file"
|
||||
# Move to the trash and quit / move to the trash and show the next one
|
||||
<Ctrl+x> = exec gio trash -- "$imv_current_file"; quit
|
||||
<Ctrl+Shift+X> = exec gio trash -- "$imv_current_file"; close
|
||||
30
templates/kitty.conf.tpl
Normal file
30
templates/kitty.conf.tpl
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# Rendered by rice-theme from colors.toml - edit templates/kitty.conf.tpl instead.
|
||||
font_family {{ font }}
|
||||
bold_font auto
|
||||
italic_font auto
|
||||
bold_italic_font auto
|
||||
background_opacity {{ alpha }}
|
||||
background {{ bg }}
|
||||
foreground {{ fg }}
|
||||
cursor {{ accent }}
|
||||
cursor_text_color {{ bg }}
|
||||
selection_background {{ selection }}
|
||||
selection_foreground {{ fg }}
|
||||
url_color {{ accent }}
|
||||
|
||||
color0 {{ bg }}
|
||||
color1 {{ red }}
|
||||
color2 {{ green }}
|
||||
color3 {{ yellow }}
|
||||
color4 {{ blue }}
|
||||
color5 {{ magenta }}
|
||||
color6 {{ cyan }}
|
||||
color7 {{ fg_alt }}
|
||||
color8 {{ muted }}
|
||||
color9 {{ bright_red }}
|
||||
color10 {{ bright_green }}
|
||||
color11 {{ bright_yellow }}
|
||||
color12 {{ bright_blue }}
|
||||
color13 {{ bright_magenta }}
|
||||
color14 {{ bright_cyan }}
|
||||
color15 {{ fg }}
|
||||
21
templates/polybar-colors.ini.tpl
Normal file
21
templates/polybar-colors.ini.tpl
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
; Rendered by rice-theme from colors.toml - edit templates/polybar-colors.ini.tpl instead.
|
||||
[colors]
|
||||
bg = {{ bg }}
|
||||
bg-trans = #{{ alpha_hex }}{{ bg_strip }}
|
||||
surface = {{ surface }}
|
||||
border = #99{{ border_strip }}
|
||||
text = {{ fg }}
|
||||
dim = {{ dim }}
|
||||
muted = {{ muted }}
|
||||
accent = {{ accent }}
|
||||
urgent = {{ urgent }}
|
||||
red = {{ red }}
|
||||
green = {{ green }}
|
||||
yellow = {{ yellow }}
|
||||
blue = {{ blue }}
|
||||
magenta = {{ magenta }}
|
||||
cyan = {{ cyan }}
|
||||
|
||||
[fonts]
|
||||
main = {{ font }}:style=Bold:pixelsize=10;2
|
||||
large = {{ font }}:style=Bold:pixelsize=12;2
|
||||
35
templates/polybar-modules.ini.tpl
Normal file
35
templates/polybar-modules.ini.tpl
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
; Rendered by rice-theme from colors.toml - edit templates/polybar-modules.ini.tpl instead.
|
||||
; Polybar only resolves ${colors.x} when it is the whole value, so modules that
|
||||
; colour part of their own text live here with the theme's colours written in.
|
||||
|
||||
[module/date]
|
||||
type = internal/date
|
||||
interval = 1
|
||||
date = %a %d
|
||||
time = %H:%M
|
||||
label = "%{A1:rice-panel calendar:}%{A3:rice-reminder new:}%{F{{ accent }}}%{F-} %time% %{F{{ dim }}}|%{F-} %date%%{A}%{A}"
|
||||
format-padding = 1
|
||||
|
||||
[module/cpu]
|
||||
type = custom/script
|
||||
exec = rice-sysinfo --cpu --normal-color '{{ accent }}' --critical-color '{{ urgent }}'
|
||||
click-left = rice-panel power
|
||||
format = "%{F{{ accent }}}CPU%{F-} <label>"
|
||||
format-padding = 1
|
||||
interval = 2
|
||||
|
||||
[module/ram]
|
||||
type = custom/script
|
||||
exec = rice-sysinfo --ram --normal-color '{{ yellow }}' --critical-color '{{ urgent }}'
|
||||
click-left = rice-panel power
|
||||
format = "%{F{{ yellow }}}RAM%{F-} <label>"
|
||||
format-padding = 1
|
||||
interval = 2
|
||||
|
||||
[module/gpu]
|
||||
type = custom/script
|
||||
exec = rice-sysinfo --gpu --normal-color '{{ magenta }}' --critical-color '{{ urgent }}'
|
||||
click-left = rice-panel power
|
||||
format = "%{F{{ magenta }}}GPU%{F-} <label>"
|
||||
format-padding = 1
|
||||
interval = 2
|
||||
18
templates/rofi-colors.rasi.tpl
Normal file
18
templates/rofi-colors.rasi.tpl
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
/* Rendered by rice-theme from colors.toml - edit templates/rofi-colors.rasi.tpl instead. */
|
||||
* {
|
||||
bg: {{ bg }};
|
||||
bg-trans: {{ bg }}{{ alpha_hex }};
|
||||
surface: {{ surface }};
|
||||
fg: {{ fg }};
|
||||
dim: {{ dim }};
|
||||
accent: {{ accent }};
|
||||
urgent: {{ urgent }};
|
||||
good: {{ green }};
|
||||
warn: {{ yellow }};
|
||||
border-col: {{ border }};
|
||||
select-bg: {{ accent }}2b;
|
||||
select-fg: {{ fg }};
|
||||
font-main: "{{ font }} 11";
|
||||
font-bold: "{{ font }} Bold 12";
|
||||
font-entry: "{{ font }} 12";
|
||||
}
|
||||
76
templates/starship.toml.tpl
Normal file
76
templates/starship.toml.tpl
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
# Rendered by rice-theme from colors.toml - edit templates/starship.toml.tpl instead.
|
||||
# One line, like bash's user@host prompt with colour and git:
|
||||
# sarthak@arch ~/rice main !? ❯
|
||||
"$schema" = "https://starship.rs/config-schema.json"
|
||||
add_newline = false
|
||||
command_timeout = 300
|
||||
palette = "rice"
|
||||
|
||||
format = "$username$hostname$directory$git_branch$git_state$git_status$jobs$cmd_duration$character"
|
||||
|
||||
[palettes.rice]
|
||||
fg = "{{ fg }}"
|
||||
dim = "{{ dim }}"
|
||||
accent = "{{ accent }}"
|
||||
urgent = "{{ urgent }}"
|
||||
green = "{{ green }}"
|
||||
yellow = "{{ yellow }}"
|
||||
magenta = "{{ magenta }}"
|
||||
|
||||
[username]
|
||||
show_always = true
|
||||
format = "[$user]($style)"
|
||||
style_user = "bold accent"
|
||||
style_root = "bold urgent"
|
||||
|
||||
[hostname]
|
||||
ssh_only = false
|
||||
trim_at = "."
|
||||
format = "[@](dim)[$hostname]($style) "
|
||||
style = "bold magenta"
|
||||
|
||||
[directory]
|
||||
style = "bold fg"
|
||||
truncation_length = 3
|
||||
truncate_to_repo = false
|
||||
truncation_symbol = "…/"
|
||||
read_only = " "
|
||||
read_only_style = "urgent"
|
||||
format = "[$path]($style)[$read_only]($read_only_style) "
|
||||
|
||||
[git_branch]
|
||||
symbol = " "
|
||||
style = "dim"
|
||||
format = "[$symbol$branch]($style) "
|
||||
|
||||
[git_state]
|
||||
style = "yellow"
|
||||
format = "[$state( $progress_current/$progress_total)]($style) "
|
||||
|
||||
[git_status]
|
||||
style = "yellow"
|
||||
format = "([$all_status$ahead_behind]($style) )"
|
||||
conflicted = "="
|
||||
untracked = "?"
|
||||
stashed = ""
|
||||
modified = "!"
|
||||
staged = "+"
|
||||
renamed = "»"
|
||||
deleted = "✘"
|
||||
ahead = "⇡"
|
||||
behind = "⇣"
|
||||
diverged = "⇕"
|
||||
|
||||
[jobs]
|
||||
symbol = "✦"
|
||||
style = "dim"
|
||||
format = "[$symbol$number]($style) "
|
||||
|
||||
[cmd_duration]
|
||||
min_time = 2000
|
||||
format = "[$duration](dim) "
|
||||
|
||||
[character]
|
||||
success_symbol = "[❯](bold accent)"
|
||||
error_symbol = "[❯](bold urgent)"
|
||||
vimcmd_symbol = "[❮](bold green)"
|
||||
15
templates/xsecurelock.env.tpl
Normal file
15
templates/xsecurelock.env.tpl
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# Rendered by rice-theme from colors.toml - edit templates/xsecurelock.env.tpl instead.
|
||||
# Sourced by rice-lock before it starts xsecurelock.
|
||||
export XSECURELOCK_FONT="{{ font }}:size=13"
|
||||
export XSECURELOCK_BACKGROUND_COLOR="{{ bg }}"
|
||||
export XSECURELOCK_AUTH_BACKGROUND_COLOR="{{ bg }}"
|
||||
export XSECURELOCK_AUTH_FOREGROUND_COLOR="{{ fg }}"
|
||||
export XSECURELOCK_AUTH_WARNING_COLOR="{{ urgent }}"
|
||||
export XSECURELOCK_PASSWORD_PROMPT="asterisks"
|
||||
export XSECURELOCK_SHOW_DATETIME=1
|
||||
export XSECURELOCK_DATETIME_FORMAT="%A %d %B %H:%M"
|
||||
export XSECURELOCK_SHOW_HOSTNAME=0
|
||||
export XSECURELOCK_SHOW_USERNAME=0
|
||||
export XSECURELOCK_SAVER=saver_xscreensaver
|
||||
export XSECURELOCK_BLANK_TIMEOUT=600
|
||||
export XSECURELOCK_BLANK_DPMS_STATE=off
|
||||
12
templates/xsettingsd.conf.tpl
Normal file
12
templates/xsettingsd.conf.tpl
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Rendered by rice-theme from colors.toml - edit templates/xsettingsd.conf.tpl instead.
|
||||
Net/ThemeName "{{ gtk_theme }}"
|
||||
Net/IconThemeName "{{ icon_theme }}"
|
||||
Gtk/CursorThemeName "{{ cursor_theme }}"
|
||||
Gtk/CursorThemeSize {{ cursor_size }}
|
||||
Gtk/FontName "Noto Sans 10"
|
||||
Gtk/DecorationLayout "menu:"
|
||||
Net/EnableEventSounds 0
|
||||
Xft/Antialias 1
|
||||
Xft/Hinting 1
|
||||
Xft/HintStyle "hintslight"
|
||||
Xft/RGBA "rgb"
|
||||
Loading…
Add table
Add a link
Reference in a new issue