Skip to content

Commit

Permalink
fixing more things
Browse files Browse the repository at this point in the history
  • Loading branch information
Heus-Sueh committed Aug 12, 2024
1 parent 2bd76c2 commit 03f6fee
Show file tree
Hide file tree
Showing 19 changed files with 660 additions and 109 deletions.
261 changes: 152 additions & 109 deletions files/system/etc/rofi.rasi
Original file line number Diff line number Diff line change
Expand Up @@ -44,139 +44,182 @@
surface-container: #1f1f24;
surface-container-high: #292a2f;
surface-container-highest: #34343a;
accent: @primary;
text: @on-primary;
normal: @secondary-fixed;
on-normal: @on-secondary-fixed;
selected: @primary;
on-selected: @on-primary;
border: @primary;
background: @surface;
background-alt: @surface-container;
handle: @primary;
placeholder: @primary;
on-search: @primary;
}

/*****----- Configuration -----*****/
configuration {
show-icons: true;
display-drun: "";
drun-display-format: "{icon} {name}";
disable-history: false;
click-to-exit: false;
location: 0;
modi: "drun";
show-icons: true;
display-drun: "";
drun-display-format: "{name}";
}

/*****----- Global Properties -----*****/
@import "colors.rasi"

*{
bgcolor: #141b1e95;
background: @background;
background-alt: @surface-container;
foreground: @primary;
selected: @on-primary;
active: @on-primary;
urgent: @on-error;

font: "IBM Plex Sans Medium 11";
}

/*****----- Main Window -----*****/
window {
border-radius: 8px;
width: 500px;
anchor: center;
x-offset: 0;
y-offset: 0;
background-color: @background;
border-color: @border;
transparency: "real";
location: center;
anchor: center;
fullscreen: true;
width: 1920px;
height: 1080px;
x-offset: 0px;
y-offset: 0px;

enabled: true;
margin: 0px;
padding: 0px;
border: 0px solid;
border-radius: 0px;
border-color: @selected;
background-color: @bgcolor;
cursor: "default";
}

/*****----- Main Box -----*****/
mainbox {
enabled: true;
spacing: 100px;
margin: 0px;
padding: 100px 225px;
border: 0px solid;
border-radius: 0px 0px 0px 0px;
border-color: @selected;
background-color: @bgcolor;
children: [ "inputbar", "listview" ];
}

/*****----- Inputbar -----*****/
inputbar {
enabled: true;
spacing: 10px;
margin: 0% 25%;
padding: 10px;
border: 1px solid;
border-radius: 6px;
border-color: white / 25%;
background-color: white / 5%;
text-color: @foreground;
children: [ "prompt", "entry" ];
}

prompt {
enabled: true;
padding: 8px;
text-color: @on-search;
enabled: true;
background-color: transparent;
padding: 0 10 0;
text-color: inherit;
}

textbox-prompt-colon {
expand: false;
str: "";
border-radius: 100%;
padding: 8px 12px 8px 12px;
text-color: @on-search;
enabled: true;
expand: false;
str: "::";
background-color: transparent;
text-color: inherit;
}

entry {
placeholder: "Search...";
placeholder-color: @placeholder;
blink: true;
background-color: @background;
border: 0px 0px 2px 0px;
border-radius: 10px;
padding: 8px;
text-color: @primary;
border-color: @border;
}

inputbar {
children: [ textbox-prompt-colon, prompt, entry ];
expand: false;
border: 0px;
border-radius: 0px;
margin: 0px;
padding: 0px;
position: center;
}

case-indicator {
spacing: 0;
enabled: true;
background-color: transparent;
text-color: inherit;
cursor: text;
placeholder: "Search";
placeholder-color: inherit;
}

/*****----- Listview -----*****/
listview {
enabled: true;
columns: 1;
lines: 5;
spacing: 4px;
cycle: false;
dynamic: true;
layout: vertical;
background-color: @background;
padding: 10px;
border-radius: 8px;
border-color: transparent;
enabled: true;
columns: 7;
lines: 4;
cycle: true;
dynamic: true;
scrollbar: false;
layout: vertical;
reverse: false;
fixed-height: true;
fixed-columns: true;

spacing: 0px;
margin: 0px;
padding: 0px;
border: 0px solid;
border-radius: 0px;
border-color: @selected;
background-color: transparent;
text-color: @foreground;
cursor: "default";
}

mainbox {
children: [ inputbar, listview ];
spacing: 15px;
padding: 15px;
background-color: @background-alt;
border-radius: 8px;
scrollbar {
handle-width: 5px ;
handle-color: @selected;
border-radius: 0px;
background-color: @background-alt;
}

/*****----- Elements -----*****/
element {
enabled: true;
orientation: horizontal;
border-radius: 4px;
padding: 6px 6px 6px 6px;
enabled: true;
spacing: 15px;
margin: 0px;
padding: 35px 10px;
border: 0px solid;
border-radius: 15px;
border-color: @selected;
background-color: transparent;
text-color: @foreground;
orientation: vertical;
cursor: pointer;
}

element-icon {
horizontal-align: 0.5;
vertical-align: 0.5;
size: 36px;
border: 0px;
}

element alternate.normal,
element normal.active,
element normal.normal {
background-color: @secondary-fixed;
text-color: @on-secondary-fixed;
background-color: transparent;
text-color: @foreground;
}

element selected.active,
element selected.normal {
background-color: @selected;
text-color: @on-selected;
}

button.selected {
background-color: @selected;
text-color: @on-selected;
background-color: white / 5%;
text-color: @foreground;
}

scrollbar {
background-color: @background-alt;
width: 4px;
border: 0;
handle-width: 8px;
handle-color: @handle;
padding: 0;
element-icon {
background-color: transparent;
text-color: inherit;
size: 72px;
cursor: inherit;
}
element-text {
background-color: transparent;
text-color: inherit;
highlight: inherit;
cursor: inherit;
vertical-align: 0.5;
horizontal-align: 0.5;
}

/*****----- Message -----*****/
error-message {
padding: 100px;
border: 0px solid;
border-radius: 0px;
border-color: @selected;
background-color: black / 10%;
text-color: @foreground;
}
textbox {
background-color: transparent;
text-color: @foreground;
vertical-align: 0.5;
horizontal-align: 0.0;
highlight: none;
}

5 changes: 5 additions & 0 deletions files/system/etc/skel/.config/hypr/exec.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store

# Theming
# Hyprpaper
$wallpaper = "/usr/share/backgrounds/astronaut-nord.png"
exec-once = hyprctl hyprpaper preload $wallpaper
exec-once = hyprctl hyprpaper wallpaper "monitor, $wallpaper"

set $interface = org.gnome.desktop.interface
set $wm-preferences = org.gnome.desktop.wm.preferences

Expand Down
47 changes: 47 additions & 0 deletions files/system/etc/skel/.config/rofi/colors.rasi
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
* {
primary: #b7c4ff;
primary-fixed: #dce1ff;
primary-fixed-dim: #b7c4ff;
on-primary: #0f2976;
on-primary-fixed: #001551;
on-primary-fixed-variant: #2b418d;
primary-container: #4257a4;
on-primary-container: #ffffff;
secondary: #bec5ea;
secondary-fixed: #dce1ff;
secondary-fixed-dim: #bec5ea;
on-secondary: #282f4c;
on-secondary-fixed: #121a36;
on-secondary-fixed-variant: #3e4564;
secondary-container: #3e4564;
on-secondary-container: #c2c9ee;
tertiary: #ffb867;
tertiary-fixed: #ffddba;
tertiary-fixed-dim: #ffb867;
on-tertiary: #482900;
on-tertiary-fixed: #2b1700;
on-tertiary-fixed-variant: #673d00;
tertiary-container: #845000;
on-tertiary-container: #ffffff;
error: #ffb4ab;
on-error: #690005;
error-container: #93000a;
on-error-container: #ffdad6;
surface: #121318;
on-surface: #e3e1e9;
on-surface-variant: #c5c5d3;
outline: #8f909c;
outline-variant: #444651;
shadow: #000000;
scrim: #000000;
inverse-surface: #e3e1e9;
inverse-on-surface: #2f3036;
inverse-primary: #4559a7;
surface-dim: #121318;
surface-bright: #38393e;
surface-container-lowest: #0d0e13;
surface-container-low: #1a1b20;
surface-container: #1f1f24;
surface-container-high: #292a2f;
surface-container-highest: #34343a;
}
Loading

0 comments on commit 03f6fee

Please sign in to comment.