fixed foot transparency, got username to be set in flake.nix per-host
This commit is contained in:
parent
610b4f046b
commit
907bc6f048
7 changed files with 25 additions and 12 deletions
|
|
@ -10,7 +10,7 @@
|
|||
./packages.nix #general user packages not managed by home-manager but i want to install via hm anyways
|
||||
];
|
||||
home = rec {
|
||||
username = "maya";
|
||||
username = vars.user; #this is set in flake.nix
|
||||
homeDirectory = "/home/${username}"; #change this if you use a non-standard home dir
|
||||
stateVersion = "23.11";
|
||||
file = {
|
||||
|
|
@ -18,11 +18,11 @@
|
|||
".config/waybar/style.css".source = config.lib.file.mkOutOfStoreSymlink "${homeDirectory}/.config/nixos/home/waybar/style.css";
|
||||
};
|
||||
};
|
||||
programs.home-manager.enable = (if vars.isNixOS then false else true); #value is set in flake.nix
|
||||
programs.home-manager.enable = (!vars.isNixOS); #value is set in flake.nix
|
||||
programs.foot = {
|
||||
enable = true;
|
||||
settings.main.font = "monospace:size=10";
|
||||
settings.colors.alpha = "0.8";
|
||||
#settings.colors.alpha = "0.8";
|
||||
};
|
||||
programs.ncmpcpp = {
|
||||
enable = true;
|
||||
|
|
@ -32,7 +32,7 @@
|
|||
};
|
||||
services.mpd = {
|
||||
enable = true;
|
||||
musicDirectory = "/home/maya/Music"; #TODO: figure out not hardcoding this
|
||||
musicDirectory = "/home/${vars.user}/Music";
|
||||
extraConfig = ''
|
||||
audio_output {
|
||||
type "pipewire"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{pkgs, ...}:{
|
||||
{pkgs, vars, ...}:{
|
||||
home.packages = with pkgs; [
|
||||
prismlauncher
|
||||
libgpod
|
||||
|
|
@ -11,7 +11,6 @@
|
|||
emacs
|
||||
comma
|
||||
openscad
|
||||
nixgl.nixGLIntel
|
||||
openutau
|
||||
wlr-randr
|
||||
grim
|
||||
|
|
@ -40,5 +39,5 @@
|
|||
firefox
|
||||
v4l-utils
|
||||
libreoffice
|
||||
];
|
||||
] ++ (if !vars.isNixOS then [nixgl.nixGLIntel] else []);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,8 +50,8 @@
|
|||
workspaceLayout = "default";
|
||||
keybindings = lib.mkOptionDefault {
|
||||
"Print" = "exec grim -g \"$(slurp)\" ~/Pictures/screenshots/screenshot-`date +%F-%T`.png";
|
||||
"Mod4+d" = "exec foot --title launch --app-id fzf-launcher bash -c 'compgen -c | sort -u | fzf | xargs swaymsg exec --'";
|
||||
"Mod4+t" = "exec foot --title music --app-id mpd-control ncmpcpp";
|
||||
"Mod4+d" = "exec foot --title launch --app-id fzf-launcher-foot bash -c 'compgen -c | sort -u | fzf | xargs swaymsg exec --'";
|
||||
"Mod4+t" = "exec foot --title music --app-id mpd-control-foot ncmpcpp";
|
||||
"XF86AudioRaiseVolume" = "exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ -l 1.0";
|
||||
"XF86AudioLowerVolume" = "exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-";
|
||||
"XF86AudioMute" = "exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
|
||||
|
|
@ -68,8 +68,8 @@
|
|||
"Shift_L+Control_L+F" = "exec playerctl position 10+";
|
||||
};
|
||||
floating.criteria = [
|
||||
{ app_id = "^fzf-launcher$";}
|
||||
{ app_id = "^mpd-control$";}
|
||||
{ app_id = "^fzf-launcher-foot$";}
|
||||
{ app_id = "^mpd-control-foot$";}
|
||||
{ con_mark = "DELTARUNE Chapter 1&2";}
|
||||
];
|
||||
# colors = {
|
||||
|
|
|
|||
|
|
@ -8,4 +8,5 @@ for_window [title=\"Picture-in-Picture\"] dim_inactive 0.0
|
|||
for_window [title=\"Picture-in-Picture\"] sticky enable
|
||||
client.focused_inactive 000000 440C88 000000 440C88
|
||||
client.unfocused 000000 440C88 000000 440C88
|
||||
for_window [app_id=\"foot\"] opacity 0.8
|
||||
"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue