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 = {
|
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 = {
|
||||||
|
|
|
||||||
|
|
@ -36,4 +36,8 @@ in
|
||||||
'';
|
'';
|
||||||
startupPrograms = [ ];
|
startupPrograms = [ ];
|
||||||
};
|
};
|
||||||
|
services = {
|
||||||
|
network-manager-applet.enable = true;
|
||||||
|
blueman-applet.enable = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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}";
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ in
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
command = xscreensaverCmd;
|
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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -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
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue