diff --git a/.config/qtile/config.py b/.config/qtile/config.py index 60adf7f..5a40be6 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -165,16 +165,6 @@ keys = [ Key([], "b", lazy.group['scratchpad'].dropdown_toggle('bjendal'), desc="Launch xrdp: bjendal"), Key([], "s", lazy.spawn('passmenu'), desc="Launch pass"), Key([], "r", lazy.run_extension(extension.DmenuRun(dmenu_prompt = "\uf101")), desc="Launch dmenu"), - # FLAMESHOT chord - KeyChord([], "f", [ - Key([], "f", lazy.spawn('flameshot'), desc="Launch flameshot"), - Key([], "s", lazy.spawn('flameshot gui'), desc="Launch gui with option to select region"), - Key([], "a", lazy.spawn('flameshot full'), desc="Screenshot all monitors"), - Key([], "c", lazy.spawn('flameshot full --clipboard'), desc="Save capture to clipboard"), - Key([], "l", lazy.spawn('flameshot launcher'), desc="Launch launcher"), - ], - name='flameshot', - ) ], #mode=True, name="launch", @@ -184,31 +174,36 @@ keys = [ Key([], "s", lazy.hide_show_bar(), desc="Toggle show bar"), Key([], "f", lazy.window.toggle_floating(), desc="Toggle floating mode"), Key([], "z", lazy.window.toggle_fullscreen(), desc="Toggle fullscreen mode"), - # BOXES chord - KeyChord([], "t", [ - Key([], "1", lazy.widget['widget_box_1'].toggle(), desc="Toggle Widget Box 1"), - Key([], "2", lazy.widget['widget_box_2'].toggle(), desc="Toggle Widget Box 2"), - Key([], "3", lazy.widget['widget_box_3'].toggle(), desc="Toggle Widget Box 3"), - Key([], "e", lazy.widget['media_box_1'].toggle(), - lazy.widget['media_box_2'].toggle(), - lazy.widget['media_box_3'].toggle(), desc="Toggle Media Boxes"), - Key([], "t", lazy.widget['widget_box_1'].toggle(), - lazy.widget['widget_box_2'].toggle(), - lazy.widget['widget_box_3'].toggle(), desc="Toggle Widget Boxes"), - ], - name="boxes", - ), + Key([], "e", lazy.widget['media_box_1'].toggle(), + lazy.widget['media_box_2'].toggle(), + lazy.widget['media_box_3'].toggle(), desc="Toggle Media Boxes"), + Key([], "t", lazy.widget['widget_box_1'].toggle(), + lazy.widget['widget_box_2'].toggle(), + lazy.widget['widget_box_3'].toggle(), desc="Toggle Widget Boxes"), + Key([], "1", lazy.widget['widget_box_1'].toggle(), desc="Toggle Widget Box 1"), + Key([], "2", lazy.widget['widget_box_2'].toggle(), desc="Toggle Widget Box 2"), + Key([], "3", lazy.widget['widget_box_3'].toggle(), desc="Toggle Widget Box 3"), ], name="toggle", ), # MEDIA chord KeyChord([mod], "v", [ - Key([], "v", lazy.widget['spotifyd'].play_pause(), desc="Play - Pause"), - Key([], "h", lazy.widget['spotifyd'].previous(), desc="Previous"), - Key([], "l", lazy.widget['spotifyd'].next(), desc="Next"), + Key([], "v", lazy.widget['spotifyd'].play_pause(), desc="Play - Pause"), + Key([], "h", lazy.widget['spotifyd'].previous(), desc="Previous"), + Key([], "l", lazy.widget['spotifyd'].next(), desc="Next"), ], name="media", ), + # FLAMESHOT chord + KeyChord([mod], "f", [ + Key([], "f", lazy.spawn('flameshot'), desc="Launch flameshot"), + Key([], "s", lazy.spawn('flameshot gui'), desc="Launch gui with option to select region"), + Key([], "a", lazy.spawn('flameshot full'), desc="Screenshot all monitors"), + Key([], "c", lazy.spawn('flameshot full --clipboard'), desc="Save capture to clipboard"), + Key([], "l", lazy.spawn('flameshot launcher'), desc="Launch launcher"), + ], + name='flameshot', + ), ] # Groups diff --git a/.vimrc b/.vimrc index b7cf219..77e027d 100644 --- a/.vimrc +++ b/.vimrc @@ -24,9 +24,14 @@ Plug 'preservim/nerdtree' Plug 'tpope/vim-commentary' Plug 'tpope/vim-surround' Plug 'ryanoasis/vim-devicons' +Plug 'xuhdev/vim-latex-live-preview' call plug#end() colorscheme nord let g:lightline = { \ 'colorscheme': 'nord', \ } + +" vim-laxet-live-preview settings +autocmd Filetype tex setl updatetime=1 +let g:livepreview_previewer = 'zathura'