Fix previewers in mail and tex, use wofi

This commit is contained in:
Felix Suchert 2022-10-27 11:47:21 +02:00
parent 73e97e13b0
commit fa118518a4
Signed by: feliix42
GPG key ID: 24363525EA0E8A99
3 changed files with 13 additions and 7 deletions

View file

@ -1,7 +1,7 @@
# Images # Images
image/jpeg; feh %s image/jpeg; imv %s
image/pjpeg; feh %s image/pjpeg; imv %s
image/png; feh %s image/png; imv %s
image/gif; firefox %s image/gif; firefox %s
# PDF # PDF

View file

@ -125,6 +125,8 @@ set hidden
" tex configuration " tex configuration
let g:tex_flavor='latex' let g:tex_flavor='latex'
let g:vimtex_view_method = 'zathura'
" Optics " Optics
colorscheme palenight "gruvbox colorscheme palenight "gruvbox
set background=dark " Setting dark mode set background=dark " Setting dark mode

View file

@ -19,7 +19,9 @@ set $term alacritty
# Note: pass the final command to swaymsg so that the resulting window can be opened # 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. # on the original workspace that the command was run on.
#set $menu dmenu_path | dmenu | xargs swaymsg exec -- #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 ### Output configuration
# #
@ -109,6 +111,7 @@ input "2:7:SynPS/2_Synaptics_TouchPad" {
# Start your launcher # Start your launcher
bindsym $mod+d exec $menu bindsym $mod+d exec $menu
bindsym $mod+slash exec $termmenu
# Drag floating windows by holding down $mod and left mouse button. # Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod. # Resize them with right mouse button + $mod.
@ -237,9 +240,9 @@ bindsym $mod+r mode "resize"
# Volume # Volume
bindsym XF86AudioRaiseVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ +5%' bindsym --locked XF86AudioRaiseVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ +5%'
bindsym XF86AudioLowerVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ -5%' bindsym --locked XF86AudioLowerVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ -5%'
bindsym XF86AudioMute exec 'pactl set-sink-mute @DEFAULT_SINK@ toggle' bindsym --locked XF86AudioMute exec 'pactl set-sink-mute @DEFAULT_SINK@ toggle'
# automatically float windows that are intended to do so # automatically float windows that are intended to do so
for_window [title="Picture-in-Picture" app_id="firefox"] floating enable 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+n exec firefox
bindsym $mod+o exec obsidian bindsym $mod+o exec obsidian
bindsym $mod+Ctrl+Space exec wofi-emoji
# #
# Status Bar: # Status Bar: