mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2025-10-09 16:21:54 +05:30
Compare commits
2 Commits
28f764372b
...
82b0dbb27b
Author | SHA1 | Date | |
---|---|---|---|
82b0dbb27b
|
|||
9eb052ff02
|
@@ -31,7 +31,7 @@
|
||||
in {
|
||||
#-- Output
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors
|
||||
monitor = "eDP-1,2560x1440@90,auto,1";
|
||||
monitor = "eDP-1,2560x1440@90,0x0,1";
|
||||
|
||||
#-- Input: Keyboard, Mouse, Touchpad
|
||||
input = {
|
||||
|
@@ -2,6 +2,7 @@
|
||||
imports = [
|
||||
./lazygit.nix
|
||||
./aichat.nix
|
||||
./superfile.nix
|
||||
];
|
||||
|
||||
programs = {
|
||||
|
41
modules/home/shell/superfile.nix
Normal file
41
modules/home/shell/superfile.nix
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
programs.superfile = {
|
||||
enable = true;
|
||||
settings = {
|
||||
theme = "poimandres";
|
||||
editor = "";
|
||||
dir_editor = "";
|
||||
auto_check_update = false;
|
||||
cd_on_quit = false;
|
||||
default_open_file_preview = true;
|
||||
show_image_preview = true;
|
||||
show_panel_footer_info = true;
|
||||
default_directory = ".";
|
||||
file_size_use_si = false;
|
||||
default_sort_type = 0;
|
||||
sort_order_reversed = false;
|
||||
case_sensitive_sort = false;
|
||||
shell_close_on_success = false;
|
||||
debug = false;
|
||||
ignore_missing_fields = false;
|
||||
nerdfont = true;
|
||||
transparent_background = true;
|
||||
file_preview_width = 0;
|
||||
code_previewer = "bat";
|
||||
sidebar_width = 20;
|
||||
border_top = "─";
|
||||
border_bottom = "─";
|
||||
border_left = "│";
|
||||
border_right = "│";
|
||||
border_top_left = "╭";
|
||||
border_top_right = "╮";
|
||||
border_bottom_left = "╰";
|
||||
border_bottom_right = "╯";
|
||||
border_middle_left = "├";
|
||||
border_middle_right = "┤";
|
||||
metadata = true;
|
||||
zoxide_support = true;
|
||||
enable_md5_checksum = false;
|
||||
};
|
||||
};
|
||||
}
|
@@ -4,4 +4,17 @@
|
||||
package = pkgs.hyprland-git.hyprland;
|
||||
portalPackage = pkgs.hyprland-git.xdg-desktop-portal-hyprland;
|
||||
};
|
||||
|
||||
environment.systemPackages = [
|
||||
(pkgs.writeShellScriptBin "mirror-display" ''
|
||||
hyprctl keyword monitor "HDMI-A-1,preferred,0x0,1,mirror,eDP-1" \
|
||||
&& astal -q \
|
||||
&& ${pkgs.tpanel}/bin/tpanel &
|
||||
'')
|
||||
(pkgs.writeShellScriptBin "extend-display" ''
|
||||
hyprctl keyword monitor "HDMI-A-1,preferred,0x-1440,1" \
|
||||
&& astal -q \
|
||||
&& ${pkgs.tpanel}/bin/tpanel &
|
||||
'')
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user