zathura
This commit is contained in:
parent
d81dd704a5
commit
ad7c8d80b7
7 changed files with 36 additions and 10 deletions
|
|
@ -6,7 +6,7 @@
|
|||
odin-intel = {
|
||||
fingerprint = { "eDP1" = "00ffffffffffff0030e43f0500000000001a010495221378eaa1c59459578f27205054000000010101010101010101010101010101012e3680a070381f403020350058c21000001a5c2b80a070381f403020350058c21000001a000000fe0034584b3133803135365746360a000000000000413196001000000a010a202000c5"; };
|
||||
config = {
|
||||
"eDP1" = { primary = true; crtc = 0; mode = "1920x1080"; dpi = 141; };
|
||||
"eDP1" = { primary = true; crtc = 0; mode = "1920x1080"; dpi = 96; };
|
||||
};
|
||||
};
|
||||
odin-intel-laboratorio = {
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
};
|
||||
config = {
|
||||
"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 = {
|
||||
|
|
|
|||
|
|
@ -36,4 +36,8 @@ in
|
|||
'';
|
||||
startupPrograms = [ ];
|
||||
};
|
||||
services = {
|
||||
network-manager-applet.enable = true;
|
||||
blueman-applet.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -109,12 +109,12 @@ in
|
|||
"lsp-enable"
|
||||
''
|
||||
def -hidden insert-c-n %{
|
||||
try %{
|
||||
lsp-snippets-select-next-placeholders
|
||||
exec '<a-;>d'
|
||||
} catch %{
|
||||
exec -with-hooks '<c-n>'
|
||||
}
|
||||
try %{
|
||||
lsp-snippets-select-next-placeholders
|
||||
exec '<a-;>d'
|
||||
} catch %{
|
||||
exec -with-hooks '<c-n>'
|
||||
}
|
||||
}
|
||||
''
|
||||
"require-module powerline"
|
||||
|
|
|
|||
|
|
@ -40,7 +40,8 @@
|
|||
"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 + }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 + y" = "bspc node newest.marked.local -n newest.!automatic.local";
|
||||
"{XF86AudioLowerVolume,XF86AudioMute,XF86AudioRaiseVolume}" = "${pulseaudio-ctl} {down,mute,up}";
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ in
|
|||
}
|
||||
{
|
||||
command = xscreensaverCmd;
|
||||
delay = 300;
|
||||
delay = 120;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
|
|||
20
home_manager/modules/zathura.nix
Normal file
20
home_manager/modules/zathura.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue