This commit is contained in:
Matt Nish-Lapidus 2025-02-21 13:07:22 -05:00
parent c7cb20b7be
commit 01f0129c2f
18 changed files with 110 additions and 261 deletions

View file

@ -202,6 +202,11 @@
exec = "/home/emenel/.local/bin/wezapp isd";
categories = [ "System" ];
};
mirror-laptop = {
name = "mirror laptop to external display";
exec = "/home/emene/.local/bin/mirror-laptop";
categories = [ "System" ];
};
};
xdg.configFile."halloy/config.toml".source =

View file

@ -134,7 +134,6 @@
enable = true;
shellAliases = {
"ls" = "eza";
".j" = "just -g";
"em" = "emacsclient -n -r";
"mkdir" = "mkdir -pv";
};
@ -206,6 +205,7 @@
};
eza = {
enable = true;
git = true;
};
fd = {
enable = true;
@ -217,10 +217,6 @@
broot = {
enable = true;
};
git = {
enable = true;
lfs.enable = true;
};
htop.enable = true;
lazygit.enable = true;
jq.enable = true;
@ -237,8 +233,7 @@
recursive = true;
source = ../../homes/emenel/dotfiles/dot_config/wezterm;
};
xdg.configFile."just/justfile".source = ../../homes/emenel/dotfiles/dot_config/just/justfile;
xdg.configFile."git".source = ../../homes/emenel/dotfiles/dot_config/git;
xdg.configFile."rbw".source = ../../homes/emenel/dotfiles/dot_config/rbw;
xdg.configFile."isd_tui/config.yaml".source = ../../homes/emenel/dotfiles/dot_config/isd_tui/config.yaml;

View file

@ -1,6 +1,7 @@
{ pkgs, ... }:
{
let
tomlFormat = pkgs.formats.toml {};
in {
home.packages = [ pkgs.shikane ];
systemd.user.services.shikane = {
@ -17,5 +18,77 @@
};
};
xdg.configFile."shikane".source = ../../homes/emenel/dotfiles/dot_config/shikane;
xdg.configFile."shikane/config.toml".source = tomlFormat.generate "shikane-config" {
profile = [
{
name = "desk-clam";
exec = [ "notify-send shikane \"Profile $SHIKANE_PROFILE_NAME has been applied\"" ];
output = [
{
search = "eDP-1";
enable = false;
}
{
search = [ "m=BenQ PD2725U" "s=N2N00414019" "v=PNP(BNQ)" ];
enable = true;
mode = "3840x2160@59.997Hz";
position = "0,0";
scale = 1;
}
];
}
{
name = "desk-dual";
exec = [ "notify-send shikane \"Profile $SHIKANE_PROFILE_NAME has been applied\"" ];
output = [
{
search = "eDP-1";
enable = true;
mode = "2560x1600@240Hz";
position = "3840,0";
adaptive_sync = true;
scale = 1;
}
{
enable = true;
search = [ "m=BenQ PD2725U" "s=N2N00414019" "v=PNP(BNQ)" ];
mode = "3840x2160@59.997Hz";
position = "0,0";
scale = 1;
}
];
}
{
name = "laptop";
exec = [ "notify-send shikane \"Profile $SHIKANE_PROFILE_NAME has been applied\"" ];
output = [
{
enable = true;
search = "eDP-1";
mode = "2560x1600@240Hz";
position = "0,0";
adaptive_sync = true;
scale = 1;
}
];
}
{
name = "laptop-mirror";
exec = [ "notify-send shikane \"Profile $SHIKANE_PROFILE_NAME has been applied\"" "wl-present mirror eDP-1 & sleep .5; wl-present fullscreen-output HDMI-A-1; wl-present fullscreen" ];
output = [
{
enable = true;
search = [ "m=TL140ADXP04-0" "s=" "v=Thermotrex Corporation" ];
mode = "2560x1600@240Hz";
position = "0,0";
adaptive_sync = true;
}
{
enable = true;
search = "n/HDMI-[ABC]-[1-9]";
}
];
}
];
};
}

View file

@ -79,7 +79,7 @@ in {
"memory" = {
"interval" = 30;
"format" = "{used =0.1f}G/{total =0.1f}G ";
"format" = "{used:0.1f}G/{total:0.1f}G ";
"on-click" = "$HOME/.local/bin/wezapp btop";
};
@ -105,7 +105,7 @@ in {
};
"clock" = {
"format" = "{ =%a %d %b %Y %I =%M}";
"format" = "{:%I:%M %a %d %b %Y}";
"on-click" = "gnome-calendar";
"tooltip" = false;
};