nixos-dotfiles

nixos-dotfiles

https://git.tonybtw.com/nixos-dotfiles.git git://git.tonybtw.com/nixos-dotfiles.git

Initial commit.

Commit
31893086f25a16156950b3b3c4c50acc9278c4aa
Author
tonybanters <tonybanters@gmail.com>
Date
2026-01-26 08:26:42

Diff

diff --git a/backup-config b/backup-config
new file mode 100644
index 0000000..57fdb88
--- /dev/null
+++ b/backup-config
@@ -0,0 +1,48 @@
+configuration {
+    modi: "drun,run";
+    show-icons: false;
+    font: "monospace 10";
+    fullscreen: false;
+    dpi: 96;
+}
+
+* {
+    background: #2E3440;  /* Nord0 */
+    foreground: #D8DEE9;  /* Nord4 */
+    selected-background: #88C0D0; /* Nord8 */
+    selected-foreground: #2E3440; /* Nord0 */
+    border: 0;
+    padding: 6;
+    spacing: 5;
+    width: 50%;
+}
+
+window {
+    location: center;
+    border-radius: 6px;
+}
+
+inputbar {
+    background: @background;
+    text-color: @foreground;
+    padding: 10px;
+    border-radius: 6px;
+}
+
+listview {
+    padding: 5px;
+    lines: 10;
+}
+
+element {
+    background: transparent;
+    text-color: @foreground;
+}
+
+element selected {
+    background: @selected-background;
+    text-color: @selected-foreground;
+    border-radius: 4px;
+}
+
+@theme "/usr/share/rofi/themes/DarkBlue.rasi"
diff --git a/config.rasi b/config.rasi
new file mode 100644
index 0000000..488136c
--- /dev/null
+++ b/config.rasi
@@ -0,0 +1,29 @@
+configuration{
+    modi: ["drun", "window", "run"];
+    icon-theme: "Papirus-Dark";
+    show-icons: true;
+    terminal: "alacritty";
+    drun-display-format: "{icon} {name}";
+    location: 0;
+    disable-history: false;
+    sidebar-mode: false;
+    display-drun: " ";
+    display-run: " ";
+    display-window: " ";
+    
+    //adding vim keybindings
+    kb-row-up: "Up,Control+k";
+    kb-row-left: "Left,Control+h";
+    kb-row-right: "Right,Control+l";
+    kb-row-down: "Down,Control+j";
+
+    kb-accept-entry: "Control+z,Control+y,Return,KP_Enter";
+
+    //fixing up
+    kb-remove-to-eol: "";
+    kb-move-char-back: "Control+b";
+    kb-remove-char-back: "BackSpace";
+    kb-move-char-forward: "Control+f";
+    kb-mode-complete: "Control+o";
+}
+@theme "tokyonight.rasi"
diff --git a/dwm-config.rasi b/dwm-config.rasi
new file mode 100644
index 0000000..e2ae40c
--- /dev/null
+++ b/dwm-config.rasi
@@ -0,0 +1,93 @@
+configuration {
+	modi: "drun";
+	font: "JetBrainsMono Nerd Font 10";
+	show-icons: false;
+	terminal: "alacritty";
+	icon-theme: "Papirus-Dark";
+	drun-display-format: "{name}";
+	display-drun: "";
+  timeout {
+      action: "kb-cancel";
+      delay:  0;
+  }
+  filebrowser {
+      directories-first: true;
+      sorting-method:    "name";
+  }
+}
+
+@theme "/dev/null"
+
+* {
+    bg: #232933;
+    fg: #d8dee9;
+    selected: #2d3543;
+    accent: #4d6a8e;
+    background-color: @bg;
+
+    color: @fg;
+    border: 0;
+    border-color: @bg;
+    margin: 0;
+    padding: 0;
+    spacing: 0;    
+    highlight: none;
+}
+
+window {
+    width: 700px;
+}
+
+element {
+    padding: 6 5 7 5;
+    text-color: @fg;
+}
+
+element-text {
+    vertical-align: 0.5;
+    padding: 5px;
+}
+
+element selected {
+    background-color: @selected;
+}
+
+element-text selected {
+    background-color: @selected;
+}
+
+element-icon selected {
+    background-color: @selected;
+}
+
+element-icon {
+    size: 30;
+}
+
+entry {
+    background-color: @bg;
+    columns: 1;
+    lines: 20;
+}
+
+inputbar {
+    children: [prompt, entry];
+}
+
+prompt {
+    text-color: @bg;
+    background-color: @accent;
+    padding: 12 12 12 12;
+}
+
+entry {
+    text-color: @bg;
+    background-color: @accent;
+    padding: 12 5 12 0;
+}
+
+listview {
+    background-color: @bg;
+    columns: 3;
+    lines: 6;
+}
diff --git a/tokyonight.rasi b/tokyonight.rasi
new file mode 100644
index 0000000..bd64a99
--- /dev/null
+++ b/tokyonight.rasi
@@ -0,0 +1,137 @@
+/*
+ * Tokyonight colorscheme (big icons) for rofi
+ * User: w8ste
+ */
+
+
+// define colors etc.
+* {
+    bg: #24283b;
+    hv: #9274ca; 
+    primary: #444b6a;  // TokyoNight bright black
+    ug: #0B2447;
+    font: "Monospace 11";
+    background-color: @bg;
+    //dark: @bg;
+    border: 0px;
+    kl: #7aa2f7;
+    black: #000000;
+
+    transparent: rgba(46,52,64,0);
+}
+
+// defines different aspects of the window
+window {
+    width: 700;
+    /*since line wont work with height, i comment it out 
+    if you rather control the size via height
+    just comment it out */
+    //height: 500;
+
+    orientation: horizontal;
+    location: center;
+    anchor: center;
+    transparency: "screenshot";
+    border-color: @transparent;   
+    border: 0px;
+    border-radius: 6px;
+    spacing: 0;
+    children: [ mainbox ];
+}
+
+mainbox {
+    spacing: 0;
+    children: [ inputbar, message, listview ];
+}
+
+inputbar {
+    color: @kl;
+    padding: 11px;
+    border: 3px 3px 2px 3px;
+    border-color: @primary;
+    border-radius: 6px 6px 0px 0px;
+}
+
+message {
+    padding: 0;
+    border-color: @primary;
+    border: 0px 1px 1px 1px;
+}
+
+entry, prompt, case-indicator {
+    text-font: inherit;
+    text-color: inherit;
+}
+
+entry {
+    cursor: pointer;
+}
+
+prompt {
+    margin: 0px 5px 0px 0px;
+}
+
+listview {
+    layout: vertical;
+    //spacing: 5px;
+    padding: 8px;
+    lines: 7;
+    columns: 2;
+    border: 0px 3px 3px 3px; 
+    border-radius: 0px 0px 6px 6px;
+    border-color: @primary;
+    dynamic: false;
+}
+
+element {
+    padding: 2px;
+    vertical-align: 1;
+    color: @kl;
+    font: inherit;
+}
+
+element-text {
+    background-color: inherit;
+    text-color: inherit;
+    vertical-align: 0.5;
+}
+
+element selected.normal {
+    color: @black;
+    background-color: @hv;
+}
+
+element normal active {
+    background-color: @hv;
+    color: @black;
+}
+
+element-icon {
+    background-color: inherit;
+    text-color: inherit;
+    size: 2.5em;
+}
+
+element normal urgent {
+    background-color: @primary;
+}
+
+element selected active {
+    background: @hv;
+    foreground: @bg;
+}
+
+button {
+    padding: 6px;
+    color: @primary;
+    horizonatal-align: 0.5;
+
+    border: 2px 0px 2px 2px;
+    border-radius: 4px 0px 0px 4px;
+    border-color: @primary;
+}
+
+button selected normal {
+    border: 2px 0px 2px 2px;
+    border-color: @primary;
+}