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. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BLLuuQfeDiqFHHSgd2VWrQ
This commit is contained in:
commit
4b203d06bd
104 changed files with 8077 additions and 0 deletions
22
home/.config/rofi/config.rasi
Normal file
22
home/.config/rofi/config.rasi
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
/* Sakura Line - rofi defaults. Scripts pick a layout with -theme. */
|
||||
configuration {
|
||||
modes: "drun,run,window";
|
||||
show-icons: true;
|
||||
icon-theme: "Papirus-Dark";
|
||||
drun-display-format: "{name}";
|
||||
matching: "fuzzy";
|
||||
sort: true;
|
||||
sorting-method: "fzf";
|
||||
hover-select: true;
|
||||
me-select-entry: "MousePrimary";
|
||||
me-accept-entry: "!MousePrimary";
|
||||
kb-cancel: "Escape,Control+g,Control+bracketleft";
|
||||
|
||||
/* Header titles, one per mode (rofi 2 ignores -display-<mode> for some modes). */
|
||||
drun { display-name: "Apps"; }
|
||||
run { display-name: "Run"; }
|
||||
window { display-name: "Windows"; }
|
||||
emoji { display-name: "Emoji"; }
|
||||
}
|
||||
|
||||
@theme "~/.config/rofi/launcher.rasi"
|
||||
36
home/.config/rofi/grid.rasi
Normal file
36
home/.config/rofi/grid.rasi
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
/* Image grid: wallpaper and theme pickers. */
|
||||
@import "~/.config/rofi/rice.rasi"
|
||||
|
||||
window {
|
||||
width: 980px;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 4;
|
||||
lines: 2;
|
||||
fixed-height: true;
|
||||
flow: horizontal;
|
||||
padding: 14px;
|
||||
spacing: 10px;
|
||||
}
|
||||
|
||||
element {
|
||||
orientation: vertical;
|
||||
padding: 10px;
|
||||
spacing: 8px;
|
||||
children: [ element-icon, element-text ];
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 190px;
|
||||
horizontal-align: 0.5;
|
||||
}
|
||||
|
||||
element-text {
|
||||
horizontal-align: 0.5;
|
||||
text-color: @dim;
|
||||
}
|
||||
|
||||
element selected.normal element-text {
|
||||
text-color: @fg;
|
||||
}
|
||||
6
home/.config/rofi/launcher.rasi
Normal file
6
home/.config/rofi/launcher.rasi
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
/* App launcher (super + w). */
|
||||
@import "~/.config/rofi/rice.rasi"
|
||||
|
||||
window { width: 620px; }
|
||||
listview { lines: 9; fixed-height: true; }
|
||||
element-icon { size: 1.6em; }
|
||||
7
home/.config/rofi/menu.rasi
Normal file
7
home/.config/rofi/menu.rasi
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
/* Text menus: system menu, power, keybindings, clipboard, toggles.
|
||||
Entries carry their own Nerd Font glyph, so rofi's icon column is off. */
|
||||
@import "~/.config/rofi/rice.rasi"
|
||||
|
||||
window { width: 520px; }
|
||||
listview { lines: 12; }
|
||||
element-icon { enabled: false; }
|
||||
17
home/.config/rofi/prompt.rasi
Normal file
17
home/.config/rofi/prompt.rasi
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
/* Single text input: reminder text, event title, Wi-Fi password. */
|
||||
@import "~/.config/rofi/rice.rasi"
|
||||
|
||||
window { width: 520px; }
|
||||
mainbox { children: [ inputbar, message ]; }
|
||||
|
||||
inputbar {
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
entry {
|
||||
placeholder: "";
|
||||
}
|
||||
|
||||
message {
|
||||
border: 1px 0px 0px 0px;
|
||||
}
|
||||
92
home/.config/rofi/rice.rasi
Normal file
92
home/.config/rofi/rice.rasi
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
/* Sakura Line - shared rofi layout. Every menu imports this, then overrides
|
||||
only size and position. Colours come from the rendered theme. */
|
||||
@import "~/.local/state/rice/theme/rofi-colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: transparent;
|
||||
text-color: @fg;
|
||||
font: @font-main;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
location: center;
|
||||
anchor: center;
|
||||
width: 560px;
|
||||
background-color: @bg-trans;
|
||||
border: 1px;
|
||||
border-color: @border-col;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
spacing: 0px;
|
||||
children: [ inputbar, message, listview ];
|
||||
}
|
||||
|
||||
inputbar {
|
||||
padding: 14px 18px;
|
||||
spacing: 0px;
|
||||
border: 0px 0px 1px 0px;
|
||||
border-color: @border-col;
|
||||
children: [ prompt, entry ];
|
||||
}
|
||||
|
||||
prompt {
|
||||
text-color: @fg;
|
||||
padding: 0px 10px 0px 0px;
|
||||
vertical-align: 0.5;
|
||||
font: @font-bold;
|
||||
}
|
||||
|
||||
entry {
|
||||
placeholder: "Search";
|
||||
placeholder-color: @dim;
|
||||
cursor: text;
|
||||
vertical-align: 0.5;
|
||||
font: @font-entry;
|
||||
}
|
||||
|
||||
message {
|
||||
padding: 10px 18px;
|
||||
border: 0px 0px 1px 0px;
|
||||
border-color: @border-col;
|
||||
}
|
||||
|
||||
textbox {
|
||||
text-color: @dim;
|
||||
markup: true;
|
||||
}
|
||||
|
||||
listview {
|
||||
lines: 10;
|
||||
columns: 1;
|
||||
fixed-height: false;
|
||||
scrollbar: false;
|
||||
padding: 8px;
|
||||
spacing: 2px;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 8px 10px;
|
||||
spacing: 10px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
element normal.active, element alternate.active { text-color: @accent; }
|
||||
element normal.urgent, element alternate.urgent { text-color: @urgent; }
|
||||
element selected.normal { background-color: @select-bg; text-color: @select-fg; }
|
||||
element selected.active { background-color: @select-bg; text-color: @accent; }
|
||||
element selected.urgent { background-color: @select-bg; text-color: @urgent; }
|
||||
|
||||
element-icon {
|
||||
size: 1.3em;
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
element-text {
|
||||
text-color: inherit;
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
mode-switcher { enabled: false; }
|
||||
Loading…
Add table
Add a link
Reference in a new issue