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"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1783771459,
|
||||
"narHash": "sha256-U+RNUy0UjDgAMIiAVZCJRmtcriGAE4tqOkprvs2/nE4=",
|
||||
"lastModified": 1783777857,
|
||||
"narHash": "sha256-5tIpGp3E+hsDvWQWtAEvvQfUv+wdi6OsS1qziLPMJhk=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "78ad02d6c19d9cdb589c2b446807449b7bbf48d2",
|
||||
"revCount": 46,
|
||||
"rev": "e561e6d3be18fc3d5dc35380dc6a87ebc518b471",
|
||||
"revCount": 47,
|
||||
"type": "git",
|
||||
"url": "https://git.voidarc.co.uk/voidarc/hypr"
|
||||
},
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
flake.nixosModules.hyprland = moduleWithSystem ({
|
||||
self',
|
||||
pkgs,
|
||||
system,
|
||||
...
|
||||
}: let
|
||||
modules = with self.nixosModules; [
|
||||
@@ -15,14 +14,13 @@
|
||||
systemTheme
|
||||
];
|
||||
runtimePkgs = self'.packages.hyprland.passthru.runtimePackages;
|
||||
lib = pkgs.lib;
|
||||
lib = pkgs.lib;
|
||||
in {
|
||||
imports = modules;
|
||||
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
package = self'.packages.hyprland;
|
||||
portalPackage = inputs.hyprland.inputs.hyprland.packages.${system}.xdg-desktop-portal-hyprland;
|
||||
};
|
||||
|
||||
services.xserver.enable = true;
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
"FONTCONFIG_FILE" = "${fontsConf}";
|
||||
};
|
||||
font = {
|
||||
name = "FiraMono Nerd Font";
|
||||
name = "FiraMono Nerd Font Mono";
|
||||
size = 11;
|
||||
};
|
||||
settings = {
|
||||
|
||||
@@ -9,7 +9,7 @@ cheatsheet_viewer = "less -R; clear" # command to show cheatsheet; through pipin
|
||||
clear_screen_after_execution = false
|
||||
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
|
||||
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]
|
||||
# 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
|
||||
place_holder = "execute" # at the input field
|
||||
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
|
||||
suggestion_lines = 7 # 0 to disable suggestions and tab completion
|
||||
list_prefix = " "
|
||||
@@ -37,7 +43,7 @@ place_holder_color = "\u001B[30m"
|
||||
hint_color = "\u001B[30m" # suggestion color in hint mode
|
||||
# move the interface rightward or downward
|
||||
move_interface_right = 21
|
||||
move_interface_down = 0
|
||||
move_interface_down = 1
|
||||
|
||||
[[modules]]
|
||||
description = "programs"
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
otter-launcher = let
|
||||
extra-config = ''
|
||||
[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
|
||||
'';
|
||||
final-config = pkgs.writeText "config.toml" ''
|
||||
|
||||
Reference in New Issue
Block a user