first commit
This commit is contained in:
10
glasshouse-desktop/dotfiles/packages/rofi/colors/colors.rasi
Normal file
10
glasshouse-desktop/dotfiles/packages/rofi/colors/colors.rasi
Normal file
@@ -0,0 +1,10 @@
|
||||
* {
|
||||
background: #1A1B26;
|
||||
background-alt: #16161E;
|
||||
background-alt2: #414868;
|
||||
foreground: #A9B1D6;
|
||||
foreground-alt: #061115;
|
||||
accent: #7DCFFF;
|
||||
transparent: #00000000;
|
||||
text-color: @fg;
|
||||
}
|
||||
27
glasshouse-desktop/dotfiles/packages/rofi/flake.lock
generated
Normal file
27
glasshouse-desktop/dotfiles/packages/rofi/flake.lock
generated
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1726937504,
|
||||
"narHash": "sha256-bvGoiQBvponpZh8ClUcmJ6QnsNKw0EMrCQJARK3bI1c=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "9357f4f23713673f310988025d9dc261c20e70c6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
||||
19
glasshouse-desktop/dotfiles/packages/rofi/flake.nix
Normal file
19
glasshouse-desktop/dotfiles/packages/rofi/flake.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
description = "Rofi Configuration";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, ... }@inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
packages.${system} = {
|
||||
default = pkgs.rofi.overrideAttrs (oldAttrs: {
|
||||
configFile = ./launcher.rasi;
|
||||
});
|
||||
};
|
||||
};
|
||||
}
|
||||
93
glasshouse-desktop/dotfiles/packages/rofi/launcher.rasi
Normal file
93
glasshouse-desktop/dotfiles/packages/rofi/launcher.rasi
Normal file
@@ -0,0 +1,93 @@
|
||||
@import "colors/colors.rasi"
|
||||
|
||||
configuration {
|
||||
show-icons: true;
|
||||
display-drun: "Applications";
|
||||
drun-display-format: "{name}";
|
||||
disable-history: false;
|
||||
hide-scrollbar: true;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
width: 36%;
|
||||
}
|
||||
|
||||
entry {
|
||||
background-color: @background-alt;
|
||||
text-color: @foreground;
|
||||
placeholder-color: @foreground;
|
||||
expand: true;
|
||||
horizontal-align: 0;
|
||||
placeholder: "Type here to search...";
|
||||
padding: 10px;
|
||||
margin: 0 1%;
|
||||
blink: true;
|
||||
border: 0px 0px 3px 0px;
|
||||
border-radius: 6px;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ entry ];
|
||||
background-color: @background;
|
||||
text-color: @background;
|
||||
expand: false;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 1%;
|
||||
}
|
||||
|
||||
listview {
|
||||
background-color: @background;
|
||||
padding: 10px;
|
||||
columns: 4;
|
||||
lines: 3;
|
||||
spacing: 0%;
|
||||
cycle: false;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 0%;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
element {
|
||||
orientation: vertical;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
border-radius: 0%;
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
element-icon, element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
size: 42px;
|
||||
border: 16px;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
element-text {
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: -12px 0px 12px 0px;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @background-alt;
|
||||
text-color: @foreground;
|
||||
border: 0px 0px 2px 0px;
|
||||
border-color: @border;
|
||||
border-radius: 10px;
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
@import "colors/colors.rasi"
|
||||
|
||||
configuration {
|
||||
show-icons: true;
|
||||
drun-display-format: "{name}";
|
||||
disable-history: false;
|
||||
hide-scrollbar: true;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
window {
|
||||
location: northeast;
|
||||
anchor: northeast;
|
||||
x-offset: -10px;
|
||||
y-offset: 10px;
|
||||
transparency: "real";
|
||||
line-margin: 1;
|
||||
line-padding: 1;
|
||||
width: 30%;
|
||||
height: 70%;
|
||||
}
|
||||
|
||||
prompt {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
padding: 10px 20px 5px 5px;
|
||||
font: "JetbrainsMono Nerd Font 15";
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ prompt ];
|
||||
background-color: @background;
|
||||
text-color: @background;
|
||||
expand: false;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
listview {
|
||||
background-color: @background;
|
||||
padding: 5px;
|
||||
columns: 1;
|
||||
lines: 8;
|
||||
spacing: 0%;
|
||||
cycle: false;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 0%;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
element {
|
||||
orientation: horizontal;
|
||||
background-color: @background-alt;
|
||||
text-color: @foreground;
|
||||
border-radius: 5px;
|
||||
padding: 3px 0px 0px 3px;
|
||||
margin: 6px 0px 6px 0px;
|
||||
}
|
||||
|
||||
element-icon, element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
size: 48px;
|
||||
margin: 0px 0px 0px 12px;
|
||||
border: 12px;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
element-text {
|
||||
font: "Cartograph CF Italic 10";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 12px 12px 12px 0px;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @background-alt2;
|
||||
text-color: @accent;
|
||||
border-radius: 5px;
|
||||
}
|
||||
1
glasshouse-desktop/dotfiles/packages/rofi/result
Symbolic link
1
glasshouse-desktop/dotfiles/packages/rofi/result
Symbolic link
@@ -0,0 +1 @@
|
||||
/nix/store/mgz5v4bhs4pnldsvcks5ncmxd5biz5hm-rofi-1.7.5
|
||||
Reference in New Issue
Block a user