This commit is contained in:
Filippo Berto 2022-05-09 12:11:50 +02:00
parent d81dd704a5
commit ad7c8d80b7
7 changed files with 36 additions and 10 deletions

View file

@ -6,7 +6,7 @@
odin-intel = { odin-intel = {
fingerprint = { "eDP1" = "00ffffffffffff0030e43f0500000000001a010495221378eaa1c59459578f27205054000000010101010101010101010101010101012e3680a070381f403020350058c21000001a5c2b80a070381f403020350058c21000001a000000fe0034584b3133803135365746360a000000000000413196001000000a010a202000c5"; }; fingerprint = { "eDP1" = "00ffffffffffff0030e43f0500000000001a010495221378eaa1c59459578f27205054000000010101010101010101010101010101012e3680a070381f403020350058c21000001a5c2b80a070381f403020350058c21000001a000000fe0034584b3133803135365746360a000000000000413196001000000a010a202000c5"; };
config = { config = {
"eDP1" = { primary = true; crtc = 0; mode = "1920x1080"; dpi = 141; }; "eDP1" = { primary = true; crtc = 0; mode = "1920x1080"; dpi = 96; };
}; };
}; };
odin-intel-laboratorio = { odin-intel-laboratorio = {
@ -16,7 +16,7 @@
}; };
config = { config = {
"DP1-3" = { primary = true; crtc = 1; mode = "1920x1080"; position = "0x0"; }; "DP1-3" = { primary = true; crtc = 1; mode = "1920x1080"; position = "0x0"; };
"eDP1" = { crtc = 0; mode = "1920x1080"; position = "0x1080"; dpi = 141; }; "eDP1" = { crtc = 0; mode = "1920x1080"; position = "0x1080"; dpi = 96; };
}; };
}; };
thor-two-screens = { thor-two-screens = {

View file

@ -36,4 +36,8 @@ in
''; '';
startupPrograms = [ ]; startupPrograms = [ ];
}; };
services = {
network-manager-applet.enable = true;
blueman-applet.enable = true;
};
} }

View file

@ -109,12 +109,12 @@ in
"lsp-enable" "lsp-enable"
'' ''
def -hidden insert-c-n %{ def -hidden insert-c-n %{
try %{ try %{
lsp-snippets-select-next-placeholders lsp-snippets-select-next-placeholders
exec '<a-;>d' exec '<a-;>d'
} catch %{ } catch %{
exec -with-hooks '<c-n>' exec -with-hooks '<c-n>'
} }
} }
'' ''
"require-module powerline" "require-module powerline"

View file

@ -40,7 +40,8 @@
"super + {h,j,k,l}" = "bspc node -f {west,south,north,east}"; "super + {h,j,k,l}" = "bspc node -f {west,south,north,east}";
"super + shift + {h,j,k,l}" = ''dir={west,south,north,east}; bspc node -s "$dir.local" --follow || bspc node -m "$dir" --follow''; "super + shift + {h,j,k,l}" = ''dir={west,south,north,east}; bspc node -s "$dir.local" --follow || bspc node -m "$dir" --follow'';
"super + {_,shift + }w" = "bspc node -{c,k}"; "super + {_,shift + }w" = "bspc node -{c,k}";
"super + @space" = "rofi -show drun"; "super + {_,shift + }@space " = "rofi -show {drun,run}";
"alt + Tab" = "rofi -show window";
"super + {t,shift + t,s,f}" = "bspc node -t {tiled,pseudo_tiled,floating,fullscreen}"; "super + {t,shift + t,s,f}" = "bspc node -t {tiled,pseudo_tiled,floating,fullscreen}";
"super + y" = "bspc node newest.marked.local -n newest.!automatic.local"; "super + y" = "bspc node newest.marked.local -n newest.!automatic.local";
"{XF86AudioLowerVolume,XF86AudioMute,XF86AudioRaiseVolume}" = "${pulseaudio-ctl} {down,mute,up}"; "{XF86AudioLowerVolume,XF86AudioMute,XF86AudioRaiseVolume}" = "${pulseaudio-ctl} {down,mute,up}";

View file

@ -18,7 +18,7 @@ in
} }
{ {
command = xscreensaverCmd; command = xscreensaverCmd;
delay = 300; delay = 120;
} }
]; ];
}; };

View file

@ -0,0 +1,20 @@
{ pkgs, ... }:
let
strPalette = with pkgs.rice; palette.toRgbHex colorPalette;
in
{
programs.zathura = {
enable = true;
options = {
completion-bg = strPalette.bright.black;
default-bg = strPalette.normal.black;
font = "${pkgs.rice.font.normal.name} 10";
inputbar-bg = strPalette.bright.black;
inputbar-fg = strPalette.normal.cyan;
page-padding = 10;
recolor-lightcolor = strPalette.dark.cyan;
statusbar-bg = strPalette.bright.black;
selection-clipboard = "clipboard";
};
};
}

View file

@ -168,5 +168,6 @@
./modules/update_background.nix ./modules/update_background.nix
./modules/webapp.nix ./modules/webapp.nix
./modules/xidlehook.nix ./modules/xidlehook.nix
./modules/zathura.nix
]; ];
} }