From fa118518a4c716250a2ed59b8376eebb027855f9 Mon Sep 17 00:00:00 2001 From: Felix Suchert Date: Thu, 27 Oct 2022 11:47:21 +0200 Subject: [PATCH] Fix previewers in mail and tex, use wofi --- entropy/mail/.mailcap | 6 +++--- entropy/nvim/init.vim | 2 ++ entropy/sway/config | 12 ++++++++---- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/entropy/mail/.mailcap b/entropy/mail/.mailcap index 5be6dd7..490f67a 100644 --- a/entropy/mail/.mailcap +++ b/entropy/mail/.mailcap @@ -1,7 +1,7 @@ # Images -image/jpeg; feh %s -image/pjpeg; feh %s -image/png; feh %s +image/jpeg; imv %s +image/pjpeg; imv %s +image/png; imv %s image/gif; firefox %s # PDF diff --git a/entropy/nvim/init.vim b/entropy/nvim/init.vim index 3ee1250..7acc1c1 100644 --- a/entropy/nvim/init.vim +++ b/entropy/nvim/init.vim @@ -125,6 +125,8 @@ set hidden " tex configuration let g:tex_flavor='latex' +let g:vimtex_view_method = 'zathura' + " Optics colorscheme palenight "gruvbox set background=dark " Setting dark mode diff --git a/entropy/sway/config b/entropy/sway/config index c676545..0bb877e 100644 --- a/entropy/sway/config +++ b/entropy/sway/config @@ -19,7 +19,9 @@ set $term alacritty # Note: pass the final command to swaymsg so that the resulting window can be opened # on the original workspace that the command was run on. #set $menu dmenu_path | dmenu | xargs swaymsg exec -- -set $menu bemenu-run --monitor=all | xargs swaymsg exec -- +#set $menu bemenu-run --monitor=all | xargs swaymsg exec -- +set $menu wofi --show drun --allow-images +set $termmenu wofi --show run ### Output configuration # @@ -109,6 +111,7 @@ input "2:7:SynPS/2_Synaptics_TouchPad" { # Start your launcher bindsym $mod+d exec $menu + bindsym $mod+slash exec $termmenu # Drag floating windows by holding down $mod and left mouse button. # Resize them with right mouse button + $mod. @@ -237,9 +240,9 @@ bindsym $mod+r mode "resize" # Volume -bindsym XF86AudioRaiseVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ +5%' -bindsym XF86AudioLowerVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ -5%' -bindsym XF86AudioMute exec 'pactl set-sink-mute @DEFAULT_SINK@ toggle' +bindsym --locked XF86AudioRaiseVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ +5%' +bindsym --locked XF86AudioLowerVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ -5%' +bindsym --locked XF86AudioMute exec 'pactl set-sink-mute @DEFAULT_SINK@ toggle' # automatically float windows that are intended to do so for_window [title="Picture-in-Picture" app_id="firefox"] floating enable @@ -261,6 +264,7 @@ bindsym $mod+x exec 'swaylock -f -c 000000ff' bindsym $mod+n exec firefox bindsym $mod+o exec obsidian +bindsym $mod+Ctrl+Space exec wofi-emoji # # Status Bar: