Compare commits
3 Commits
599f44a5a9
...
f41b716d95
| Author | SHA1 | Date | |
|---|---|---|---|
| f41b716d95 | |||
| 72a91337ee | |||
| 1910db8bd2 |
8
flake.lock
generated
8
flake.lock
generated
@@ -373,11 +373,11 @@
|
|||||||
"wshowkeys": "wshowkeys"
|
"wshowkeys": "wshowkeys"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1783771459,
|
"lastModified": 1783777857,
|
||||||
"narHash": "sha256-U+RNUy0UjDgAMIiAVZCJRmtcriGAE4tqOkprvs2/nE4=",
|
"narHash": "sha256-5tIpGp3E+hsDvWQWtAEvvQfUv+wdi6OsS1qziLPMJhk=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "78ad02d6c19d9cdb589c2b446807449b7bbf48d2",
|
"rev": "e561e6d3be18fc3d5dc35380dc6a87ebc518b471",
|
||||||
"revCount": 46,
|
"revCount": 47,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.voidarc.co.uk/voidarc/hypr"
|
"url": "https://git.voidarc.co.uk/voidarc/hypr"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -7,7 +7,6 @@
|
|||||||
flake.nixosModules.hyprland = moduleWithSystem ({
|
flake.nixosModules.hyprland = moduleWithSystem ({
|
||||||
self',
|
self',
|
||||||
pkgs,
|
pkgs,
|
||||||
system,
|
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
modules = with self.nixosModules; [
|
modules = with self.nixosModules; [
|
||||||
@@ -15,14 +14,13 @@
|
|||||||
systemTheme
|
systemTheme
|
||||||
];
|
];
|
||||||
runtimePkgs = self'.packages.hyprland.passthru.runtimePackages;
|
runtimePkgs = self'.packages.hyprland.passthru.runtimePackages;
|
||||||
lib = pkgs.lib;
|
lib = pkgs.lib;
|
||||||
in {
|
in {
|
||||||
imports = modules;
|
imports = modules;
|
||||||
|
|
||||||
programs.hyprland = {
|
programs.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = self'.packages.hyprland;
|
package = self'.packages.hyprland;
|
||||||
portalPackage = inputs.hyprland.inputs.hyprland.packages.${system}.xdg-desktop-portal-hyprland;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
"FONTCONFIG_FILE" = "${fontsConf}";
|
"FONTCONFIG_FILE" = "${fontsConf}";
|
||||||
};
|
};
|
||||||
font = {
|
font = {
|
||||||
name = "FiraMono Nerd Font";
|
name = "FiraMono Nerd Font Mono";
|
||||||
size = 11;
|
size = 11;
|
||||||
};
|
};
|
||||||
settings = {
|
settings = {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ cheatsheet_viewer = "less -R; clear" # command to show cheatsheet; through pipin
|
|||||||
clear_screen_after_execution = false
|
clear_screen_after_execution = false
|
||||||
loop_mode = false # don't quit after executing a module, useful with scratchpads; stderr is hidden in loop mode
|
loop_mode = false # don't quit after executing a module, useful with scratchpads; stderr is hidden in loop mode
|
||||||
external_editor = "nvim" # if set, press ctrl+x ctrl+ee (or v in vi normal mode) to edit prompt in the specified program
|
external_editor = "nvim" # if set, press ctrl+x ctrl+ee (or v in vi normal mode) to edit prompt in the specified program
|
||||||
delay_startup = 1 # sometimes the otter runs too fast even before the terminal window is ready; this slows it down by milliseconds; useful when chafa image is skewed
|
delay_startup = 0 # sometimes the otter runs too fast even before the terminal window is ready; this slows it down by milliseconds; useful when chafa image is skewed
|
||||||
|
|
||||||
[interface]
|
[interface]
|
||||||
# use three quotes to write longer codes
|
# use three quotes to write longer codes
|
||||||
@@ -20,6 +20,12 @@ header_cmd = "" # run a command and print stdout above the header
|
|||||||
header_cmd_trimmed_lines = 0 # remove trailing lines from header_cmd output, in case of some programs appending excessive empty lines
|
header_cmd_trimmed_lines = 0 # remove trailing lines from header_cmd output, in case of some programs appending excessive empty lines
|
||||||
place_holder = "execute" # at the input field
|
place_holder = "execute" # at the input field
|
||||||
suggestion_mode = "list" # available options: list, hint
|
suggestion_mode = "list" # available options: list, hint
|
||||||
|
separator = """
|
||||||
|
$( \
|
||||||
|
text=" void"; \
|
||||||
|
printf "\u001B[0;90m$text \
|
||||||
|
$(printf -v line '%*s' \"$(( COLUMNS - $(printf "$text" | wc -m) - 3 ))\" ''; printf '%s' \"${line// /─}\")" \
|
||||||
|
)"""
|
||||||
footer = "" # add a line after suggestion list
|
footer = "" # add a line after suggestion list
|
||||||
suggestion_lines = 7 # 0 to disable suggestions and tab completion
|
suggestion_lines = 7 # 0 to disable suggestions and tab completion
|
||||||
list_prefix = " "
|
list_prefix = " "
|
||||||
@@ -37,7 +43,7 @@ place_holder_color = "\u001B[30m"
|
|||||||
hint_color = "\u001B[30m" # suggestion color in hint mode
|
hint_color = "\u001B[30m" # suggestion color in hint mode
|
||||||
# move the interface rightward or downward
|
# move the interface rightward or downward
|
||||||
move_interface_right = 21
|
move_interface_right = 21
|
||||||
move_interface_down = 0
|
move_interface_down = 1
|
||||||
|
|
||||||
[[modules]]
|
[[modules]]
|
||||||
description = "programs"
|
description = "programs"
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
otter-launcher = let
|
otter-launcher = let
|
||||||
extra-config = ''
|
extra-config = ''
|
||||||
[overlay]
|
[overlay]
|
||||||
overlay_cmd = "${lib.getExe pkgs.chafa} -s 20x ${./cat.png}"
|
overlay_cmd = "${lib.getExe pkgs.chafa} -s 20x ${./cat.png} --align=top,left"
|
||||||
overlay_trimmed_lines = 1
|
overlay_trimmed_lines = 1
|
||||||
'';
|
'';
|
||||||
final-config = pkgs.writeText "config.toml" ''
|
final-config = pkgs.writeText "config.toml" ''
|
||||||
|
|||||||
Reference in New Issue
Block a user