diff --git a/home_manager/modules/autorandr.nix b/home_manager/modules/autorandr.nix index ff044f5..466a6ae 100644 --- a/home_manager/modules/autorandr.nix +++ b/home_manager/modules/autorandr.nix @@ -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 = { diff --git a/home_manager/modules/bspwm.nix b/home_manager/modules/bspwm.nix index 5e71c02..5815f29 100644 --- a/home_manager/modules/bspwm.nix +++ b/home_manager/modules/bspwm.nix @@ -36,4 +36,8 @@ in ''; startupPrograms = [ ]; }; + services = { + network-manager-applet.enable = true; + blueman-applet.enable = true; + }; } diff --git a/home_manager/modules/kakoune.nix b/home_manager/modules/kakoune.nix index 50ae49e..45e6aaf 100644 --- a/home_manager/modules/kakoune.nix +++ b/home_manager/modules/kakoune.nix @@ -109,12 +109,12 @@ in "lsp-enable" '' def -hidden insert-c-n %{ - try %{ - lsp-snippets-select-next-placeholders - exec 'd' - } catch %{ - exec -with-hooks '' - } + try %{ + lsp-snippets-select-next-placeholders + exec 'd' + } catch %{ + exec -with-hooks '' + } } '' "require-module powerline" diff --git a/home_manager/modules/sxhkd.nix b/home_manager/modules/sxhkd.nix index 2abad2d..4a62723 100644 --- a/home_manager/modules/sxhkd.nix +++ b/home_manager/modules/sxhkd.nix @@ -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}"; diff --git a/home_manager/modules/xidlehook.nix b/home_manager/modules/xidlehook.nix index 6c968bb..bcb2878 100644 --- a/home_manager/modules/xidlehook.nix +++ b/home_manager/modules/xidlehook.nix @@ -18,7 +18,7 @@ in } { command = xscreensaverCmd; - delay = 300; + delay = 120; } ]; }; diff --git a/home_manager/modules/zathura.nix b/home_manager/modules/zathura.nix new file mode 100644 index 0000000..94c67c4 --- /dev/null +++ b/home_manager/modules/zathura.nix @@ -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"; + }; + }; +} diff --git a/home_manager/odin.nix b/home_manager/odin.nix index c4d5923..9c6e978 100644 --- a/home_manager/odin.nix +++ b/home_manager/odin.nix @@ -168,5 +168,6 @@ ./modules/update_background.nix ./modules/webapp.nix ./modules/xidlehook.nix + ./modules/zathura.nix ]; }