1
0
forked from extern/nix-config

chore: Spacing

This commit is contained in:
Donovan Glover 2023-06-04 21:26:34 -04:00
parent 8c9ff827a2
commit 199743d852
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
5 changed files with 48 additions and 30 deletions

View File

@ -2,28 +2,44 @@
home-manager.sharedModules = [{ home-manager.sharedModules = [{
programs.feh = { programs.feh = {
enable = true; enable = true;
keybindings = { keybindings = {
next_img = [ "k" "Right" ];
prev_img = [ "j" "Left" ];
quit = "q";
toggle_fullscreen = "f";
zoom_in = "h";
zoom_out = "l";
toggle_filenames = "d";
toggle_fixed_geometry = "g";
toggle_pause = "h";
toggle_pointer = "a";
size_to_image = "w";
jump_random = "z";
jump_first = "J";
jump_last = "K";
jump_fwd = "H";
jump_back = "L";
scroll_left = "b";
scroll_right = "n";
scroll_up = [ "u" "Up" ];
scroll_down = [ "d" "Down" ];
zoom_default = "o";
zoom_fill = "p";
toggle_auto_zoom = "m";
toggle_actions = null; toggle_actions = null;
toggle_aliasing = null; toggle_aliasing = null;
toggle_caption = null; toggle_caption = null;
toggle_filenames = "d";
toggle_exif = null; toggle_exif = null;
save_filelist = null; save_filelist = null;
toggle_fixed_geometry = "g";
toggle_pause = "h";
toggle_info = null; toggle_info = null;
toggle_keep_vp = null; toggle_keep_vp = null;
toggle_menu = null; toggle_menu = null;
next_img = [ "k" "Right" ];
toggle_pointer = "a";
prev_img = [ "j" "Left" ];
quit = "q";
reload_image = null; reload_image = null;
save_image = null; save_image = null;
toggle_fullscreen = "f";
size_to_image = "w";
close = null;
jump_random = "z";
prev_dir = null; prev_dir = null;
next_dir = null; next_dir = null;
orient_3 = null; orient_3 = null;
@ -40,35 +56,23 @@
action_7 = null; action_7 = null;
action_8 = null; action_8 = null;
action_9 = null; action_9 = null;
jump_first = "J"; close = null;
jump_last = "K";
jump_fwd = "H";
jump_back = "L";
reload_plus = null; reload_plus = null;
reload_minus = null; reload_minus = null;
remove = null; remove = null;
delete = null; delete = null;
scroll_left = "b";
scroll_right = "n";
scroll_up = [ "u" "Up" ];
scroll_down = [ "d" "Down" ];
scroll_left_page = null; scroll_left_page = null;
scroll_right_page = null; scroll_right_page = null;
scroll_up_page = null; scroll_up_page = null;
scroll_down_page = null; scroll_down_page = null;
render = null; render = null;
zoom_in = "h";
zoom_out = "l";
zoom_default = "o";
zoom_fit = null; zoom_fit = null;
zoom_fill = "p";
menu_close = null; menu_close = null;
menu_up = null; menu_up = null;
menu_down = null; menu_down = null;
menu_parent = null; menu_parent = null;
menu_child = null; menu_child = null;
menu_select = null; menu_select = null;
toggle_auto_zoom = "m";
}; };
}; };
}]; }];

View File

@ -2,20 +2,26 @@
home-manager.sharedModules = [{ home-manager.sharedModules = [{
programs.kitty = { programs.kitty = {
enable = true; enable = true;
settings = { settings = {
enable_audio_bell = false; enable_audio_bell = false;
allow_remote_control = true;
dynamic_background_opacity = true;
close_on_child_death = true; close_on_child_death = true;
cursor_blink_interval = 0; cursor_blink_interval = 0;
wayland_titlebar_color = "background";
listen_on = "unix:/tmp/kitty";
open_url_with = "librewolf"; open_url_with = "librewolf";
wayland_titlebar_color = "background";
allow_remote_control = true;
listen_on = "unix:/tmp/kitty";
dynamic_background_opacity = true;
window_padding_width = 5; window_padding_width = 5;
tab_bar_margin_width = 5; tab_bar_margin_width = 5;
modify_font = "cell_height 110%"; modify_font = "cell_height 110%";
}; };
}; };
xdg.configFile."kitty/diff.conf".text = '' xdg.configFile."kitty/diff.conf".text = ''
map d scroll_to next-page map d scroll_to next-page
map u scroll_to prev-page map u scroll_to prev-page

View File

@ -2,13 +2,18 @@
home-manager.sharedModules = [{ home-manager.sharedModules = [{
programs.librewolf = { programs.librewolf = {
enable = true; enable = true;
settings = { settings = {
"middlemouse.paste" = false; "middlemouse.paste" = false;
"browser.download.useDownloadDir" = true;
"ui.use_activity_cursor" = true; "ui.use_activity_cursor" = true;
"privacy.resistFingerprinting.letterboxing" = true;
"browser.download.useDownloadDir" = true;
"browser.tabs.insertAfterCurrent" = true; "browser.tabs.insertAfterCurrent" = true;
"browser.toolbars.bookmarks.visibility" = "never"; "browser.toolbars.bookmarks.visibility" = "never";
"privacy.resistFingerprinting.letterboxing" = true;
"sidebar.position_start" = false; "sidebar.position_start" = false;
}; };
}; };

View File

@ -3,11 +3,13 @@
{ {
programs.thunar.enable = true; programs.thunar.enable = true;
services.tumbler.enable = true; # Thumbnail support services.tumbler.enable = true; # Thumbnail support
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
xfce.exo # Open with kitty support xfce.exo # Open with kitty support
glib glib
(pkgs.callPackage ../../packages/go-thumbnailer { }) (pkgs.callPackage ../../packages/go-thumbnailer { })
]; ];
services.gvfs.enable = true; # Trash support services.gvfs.enable = true; # Trash support
services.gnome.gnome-keyring.enable = true; # Mount support services.gnome.gnome-keyring.enable = true; # Mount support

View File

@ -2,6 +2,7 @@
home-manager.sharedModules = [{ home-manager.sharedModules = [{
programs.zathura = { programs.zathura = {
enable = true; enable = true;
options = { options = {
guioptions = "v"; guioptions = "v";
adjust-open = "width"; adjust-open = "width";