switching to rofi while working out some problems
This commit is contained in:
@@ -73,7 +73,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
ghostty = {
|
ghostty = {
|
||||||
enable = false;
|
enable = true;
|
||||||
};
|
};
|
||||||
gimp = {
|
gimp = {
|
||||||
enable = false;
|
enable = false;
|
||||||
|
|||||||
@@ -24,11 +24,11 @@ in {
|
|||||||
# Common Keybind Variables
|
# Common Keybind Variables
|
||||||
"$fileManager" = "thunar";
|
"$fileManager" = "thunar";
|
||||||
"$yazi" = "foot -e yazi";
|
"$yazi" = "foot -e yazi";
|
||||||
"$launcher" = "tuirun";
|
"$launcher" = "rofi -show drun";
|
||||||
|
|
||||||
bind = [
|
bind = [
|
||||||
"$mod, SPACE, exec, uwsm app -T $launcher"
|
"$mod, SPACE, exec, uwsm app -- $launcher"
|
||||||
"$mod, R, exec, uwsm app -T $launcher"
|
"$mod, R, exec, uwsm app -- $launcher"
|
||||||
"$mod, L, exec, ${toggle "nwg-bar"}"
|
"$mod, L, exec, ${toggle "nwg-bar"}"
|
||||||
"$mod SHIFT, B, exec, pkill -SIGUSR2 waybar"
|
"$mod SHIFT, B, exec, pkill -SIGUSR2 waybar"
|
||||||
"$mod, A, exec, pkill -SIGUSR1 waybar"
|
"$mod, A, exec, pkill -SIGUSR1 waybar"
|
||||||
@@ -95,7 +95,7 @@ in {
|
|||||||
|
|
||||||
(mkIf (host == "cnix") {
|
(mkIf (host == "cnix") {
|
||||||
wayland.windowManager.hyprland.settings = {
|
wayland.windowManager.hyprland.settings = {
|
||||||
"$terminal" = "wezterm";
|
"$terminal" = "ghostty";
|
||||||
"$browser" = "zen";
|
"$browser" = "zen";
|
||||||
"$browserinc" = "zen --private-window";
|
"$browserinc" = "zen --private-window";
|
||||||
"$mod" = "SUPER";
|
"$mod" = "SUPER";
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ in {
|
|||||||
zip
|
zip
|
||||||
gnutar
|
gnutar
|
||||||
p7zip
|
p7zip
|
||||||
|
unrar
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,186 +1,178 @@
|
|||||||
/* ==========================================================================
|
|
||||||
Rofi color theme
|
|
||||||
|
|
||||||
Based on the Gruvbox color scheme for Vim by morhetz
|
|
||||||
https://github.com/morhetz/gruvbox
|
|
||||||
|
|
||||||
File: gruvbox-dark-soft.rasi
|
|
||||||
Desc: Gruvbox dark (soft contrast) color theme for Rofi
|
|
||||||
Author: bardisty <b@bah.im>
|
|
||||||
Source: https://github.com/bardisty/gruvbox-rofi
|
|
||||||
Modified: Mon Feb 12 2018 06:04:37 PST -0800
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
* {
|
* {
|
||||||
/* Theme settings */
|
selected-normal-foreground: #fbf1c7;
|
||||||
highlight: bold italic;
|
foreground: #ebdbb2;
|
||||||
scrollbar: true;
|
|
||||||
|
|
||||||
/* Gruvbox dark colors */
|
|
||||||
gruvbox-dark-bg0-soft: #32302f;
|
|
||||||
gruvbox-dark-bg1: #3c3836;
|
|
||||||
gruvbox-dark-bg3: #665c54;
|
|
||||||
gruvbox-dark-fg0: #fbf1c7;
|
|
||||||
gruvbox-dark-fg1: #ebdbb2;
|
|
||||||
gruvbox-dark-red-dark: #cc241d;
|
|
||||||
gruvbox-dark-red-light: #fb4934;
|
|
||||||
gruvbox-dark-yellow-dark: #d79921;
|
|
||||||
gruvbox-dark-yellow-light: #fabd2f;
|
|
||||||
gruvbox-dark-gray: #a89984;
|
|
||||||
|
|
||||||
/* Theme colors */
|
|
||||||
background: @gruvbox-dark-bg0-soft;
|
|
||||||
background-color: @background;
|
|
||||||
foreground: @gruvbox-dark-fg1;
|
|
||||||
border-color: @gruvbox-dark-gray;
|
|
||||||
separatorcolor: @border-color;
|
|
||||||
scrollbar-handle: @border-color;
|
|
||||||
|
|
||||||
normal-background: @background;
|
|
||||||
normal-foreground: @foreground;
|
normal-foreground: @foreground;
|
||||||
alternate-normal-background: @gruvbox-dark-bg1;
|
alternate-normal-background: @background;
|
||||||
alternate-normal-foreground: @foreground;
|
selected-urgent-foreground: @selected-normal-foreground;
|
||||||
selected-normal-background: @gruvbox-dark-bg3;
|
urgent-foreground: @selected-normal-foreground;
|
||||||
selected-normal-foreground: @gruvbox-dark-fg0;
|
alternate-urgent-background: @selected-normal-background;
|
||||||
|
active-foreground: #45403d;
|
||||||
active-background: @gruvbox-dark-yellow-dark;
|
|
||||||
active-foreground: @background;
|
|
||||||
alternate-active-background: @active-background;
|
|
||||||
alternate-active-foreground: @active-foreground;
|
|
||||||
selected-active-background: @gruvbox-dark-yellow-light;
|
|
||||||
selected-active-foreground: @active-foreground;
|
selected-active-foreground: @active-foreground;
|
||||||
|
alternate-active-background: #32302f;
|
||||||
urgent-background: @gruvbox-dark-red-dark;
|
background: #32302f;
|
||||||
urgent-foreground: @background;
|
alternate-normal-foreground: @foreground;
|
||||||
alternate-urgent-background: @urgent-background;
|
normal-background: @background;
|
||||||
|
selected-normal-background: #5a524c;
|
||||||
|
spacing: 2px;
|
||||||
|
separatorcolor: #4c7a5d;
|
||||||
|
urgent-background: #4c3432;
|
||||||
|
selected-urgent-background: @selected-normal-background;
|
||||||
alternate-urgent-foreground: @urgent-foreground;
|
alternate-urgent-foreground: @urgent-foreground;
|
||||||
selected-urgent-background: @gruvbox-dark-red-light;
|
|
||||||
selected-urgent-foreground: @urgent-foreground;
|
|
||||||
}
|
|
||||||
/* ==========================================================================
|
|
||||||
File: gruvbox-common.rasi
|
|
||||||
Desc: Shared rules between all gruvbox themes
|
|
||||||
Author: bardisty <b@bah.im>
|
|
||||||
Source: https://github.com/bardisty/gruvbox-rofi
|
|
||||||
Modified: Mon Feb 12 2018 06:06:47 PST -0800
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
window {
|
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
border: 2;
|
alternate-active-foreground: @active-foreground;
|
||||||
padding: 2;
|
active-background: @background;
|
||||||
|
selected-active-background: @selected-normal-background;
|
||||||
|
prompt-foreground: #fbf1c7;
|
||||||
}
|
}
|
||||||
|
|
||||||
mainbox {
|
#window {
|
||||||
|
background-color: @background;
|
||||||
|
border-color: @separatorcolor;
|
||||||
|
border: 1px;
|
||||||
|
border-radius: 5px;
|
||||||
|
padding: 5px;
|
||||||
|
width: 25%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mainbox {
|
||||||
border: 0;
|
border: 0;
|
||||||
padding: 0;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
message {
|
#message {
|
||||||
border: 2px 0 0;
|
border: 2px 0px 0px;
|
||||||
border-color: @separatorcolor;
|
border-color: @separatorcolor;
|
||||||
padding: 1px;
|
padding: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
textbox {
|
#textbox {
|
||||||
highlight: @highlight;
|
|
||||||
text-color: @foreground;
|
text-color: @foreground;
|
||||||
}
|
}
|
||||||
|
|
||||||
listview {
|
#listview {
|
||||||
border: 2px solid 0 0;
|
fixed-height: 0;
|
||||||
padding: 2px 0 0;
|
border: 1px 0px 0px ;
|
||||||
border-color: @separatorcolor;
|
border-color: @separatorcolor;
|
||||||
spacing: 2px;
|
spacing: 5px;
|
||||||
scrollbar: @scrollbar;
|
scrollbar: false;
|
||||||
|
padding: 10px 0px 0px ;
|
||||||
|
lines: 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
element {
|
#element {
|
||||||
border: 0;
|
border: 0;
|
||||||
padding: 2px;
|
padding: 3px;
|
||||||
|
cursor: pointer;
|
||||||
|
spacing: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
element.normal.normal {
|
#element.normal.normal {
|
||||||
background-color: @normal-background;
|
background-color: @normal-background;
|
||||||
text-color: @normal-foreground;
|
text-color: @normal-foreground;
|
||||||
}
|
}
|
||||||
|
#element.normal.urgent {
|
||||||
element.normal.urgent {
|
|
||||||
background-color: @urgent-background;
|
background-color: @urgent-background;
|
||||||
text-color: @urgent-foreground;
|
text-color: @urgent-foreground;
|
||||||
}
|
}
|
||||||
|
#element.normal.active {
|
||||||
element.normal.active {
|
|
||||||
background-color: @active-background;
|
background-color: @active-background;
|
||||||
text-color: @active-foreground;
|
text-color: @active-foreground;
|
||||||
}
|
}
|
||||||
|
#element.selected.normal {
|
||||||
element.selected.normal {
|
|
||||||
background-color: @selected-normal-background;
|
background-color: @selected-normal-background;
|
||||||
text-color: @selected-normal-foreground;
|
text-color: @selected-normal-foreground;
|
||||||
}
|
}
|
||||||
|
#element.selected.urgent {
|
||||||
element.selected.urgent {
|
|
||||||
background-color: @selected-urgent-background;
|
background-color: @selected-urgent-background;
|
||||||
text-color: @selected-urgent-foreground;
|
text-color: @selected-urgent-foreground;
|
||||||
}
|
}
|
||||||
|
#element.selected.active {
|
||||||
element.selected.active {
|
|
||||||
background-color: @selected-active-background;
|
background-color: @selected-active-background;
|
||||||
text-color: @selected-active-foreground;
|
text-color: @selected-active-foreground;
|
||||||
}
|
}
|
||||||
|
#element.alternate.normal {
|
||||||
element.alternate.normal {
|
|
||||||
background-color: @alternate-normal-background;
|
background-color: @alternate-normal-background;
|
||||||
text-color: @alternate-normal-foreground;
|
text-color: @alternate-normal-foreground;
|
||||||
}
|
}
|
||||||
|
#element.alternate.urgent {
|
||||||
element.alternate.urgent {
|
|
||||||
background-color: @alternate-urgent-background;
|
background-color: @alternate-urgent-background;
|
||||||
text-color: @alternate-urgent-foreground;
|
text-color: @alternate-urgent-foreground;
|
||||||
}
|
}
|
||||||
|
#element.alternate.active {
|
||||||
element.alternate.active {
|
|
||||||
background-color: @alternate-active-background;
|
background-color: @alternate-active-background;
|
||||||
text-color: @alternate-active-foreground;
|
text-color: @alternate-active-foreground;
|
||||||
}
|
}
|
||||||
|
|
||||||
scrollbar {
|
#element-text {
|
||||||
width: 4px;
|
background-color: transparent;
|
||||||
border: 0;
|
cursor: inherit;
|
||||||
handle-color: @scrollbar-handle;
|
highlight: inherit;
|
||||||
handle-width: 8px;
|
text-color: inherit;
|
||||||
padding: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sidebar {
|
#element-icon {
|
||||||
border: 2px 0 0;
|
background-color: transparent;
|
||||||
|
size: 1em;
|
||||||
|
cursor: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
#scrollbar {
|
||||||
|
width: 4px ;
|
||||||
|
border: 0;
|
||||||
|
handle-width: 8px ;
|
||||||
|
padding: 0;
|
||||||
|
handle-color: var(normal-foreground);
|
||||||
|
}
|
||||||
|
|
||||||
|
#sidebar {
|
||||||
|
border-color: @separatorcolor;
|
||||||
|
border: 2px dash 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mode-switcher {
|
||||||
|
border: 2px 0px 0px ;
|
||||||
border-color: @separatorcolor;
|
border-color: @separatorcolor;
|
||||||
}
|
}
|
||||||
|
|
||||||
inputbar {
|
#button {
|
||||||
spacing: 0;
|
cursor: pointer;
|
||||||
text-color: @normal-foreground;
|
|
||||||
padding: 2px;
|
|
||||||
children: [ prompt, textbox-prompt-sep, entry, case-indicator ];
|
|
||||||
}
|
|
||||||
|
|
||||||
case-indicator,
|
|
||||||
entry,
|
|
||||||
prompt,
|
|
||||||
button {
|
|
||||||
spacing: 0;
|
spacing: 0;
|
||||||
text-color: @normal-foreground;
|
text-color: @normal-foreground;
|
||||||
}
|
}
|
||||||
|
|
||||||
button.selected {
|
#button.selected {
|
||||||
background-color: @selected-normal-background;
|
background-color: @selected-normal-background;
|
||||||
text-color: @selected-normal-foreground;
|
text-color: @selected-normal-foreground;
|
||||||
}
|
}
|
||||||
|
|
||||||
textbox-prompt-sep {
|
#inputbar {
|
||||||
|
spacing: 5px;
|
||||||
|
text-color: @normal-foreground;
|
||||||
|
padding: 3px ;
|
||||||
|
}
|
||||||
|
|
||||||
|
#case-indicator {
|
||||||
|
spacing: 0;
|
||||||
|
text-color: @normal-foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
#entry {
|
||||||
|
spacing: 0;
|
||||||
|
text-color: @normal-foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
#prompt {
|
||||||
|
spacing: 0;
|
||||||
|
text-color: @prompt-foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
#textbox-prompt-colon {
|
||||||
expand: false;
|
expand: false;
|
||||||
str: ":";
|
str: ":";
|
||||||
text-color: @normal-foreground;
|
text-color: @prompt-foreground;
|
||||||
margin: 0 0.3em 0 0;
|
}
|
||||||
|
|
||||||
|
#inputbar {
|
||||||
|
children: [prompt,entry,case-indicator];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -85,7 +85,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
rofi = {
|
rofi = {
|
||||||
enable = false;
|
enable = true;
|
||||||
};
|
};
|
||||||
ssh = {
|
ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -100,7 +100,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
wezterm = {
|
wezterm = {
|
||||||
enable = true;
|
enable = false;
|
||||||
};
|
};
|
||||||
yazi = {
|
yazi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user