This commit is contained in:
Roland Thomas 2023-03-21 22:36:35 -04:00
parent e765c5eaa3
commit 52388566b0
2 changed files with 27 additions and 27 deletions

View File

@ -165,16 +165,6 @@ keys = [
Key([], "b", lazy.group['scratchpad'].dropdown_toggle('bjendal'), desc="Launch xrdp: bjendal"), Key([], "b", lazy.group['scratchpad'].dropdown_toggle('bjendal'), desc="Launch xrdp: bjendal"),
Key([], "s", lazy.spawn('passmenu'), desc="Launch pass"), Key([], "s", lazy.spawn('passmenu'), desc="Launch pass"),
Key([], "r", lazy.run_extension(extension.DmenuRun(dmenu_prompt = "\uf101")), desc="Launch dmenu"), 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, #mode=True,
name="launch", name="launch",
@ -184,20 +174,15 @@ keys = [
Key([], "s", lazy.hide_show_bar(), desc="Toggle show bar"), Key([], "s", lazy.hide_show_bar(), desc="Toggle show bar"),
Key([], "f", lazy.window.toggle_floating(), desc="Toggle floating mode"), Key([], "f", lazy.window.toggle_floating(), desc="Toggle floating mode"),
Key([], "z", lazy.window.toggle_fullscreen(), desc="Toggle fullscreen 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(), Key([], "e", lazy.widget['media_box_1'].toggle(),
lazy.widget['media_box_2'].toggle(), lazy.widget['media_box_2'].toggle(),
lazy.widget['media_box_3'].toggle(), desc="Toggle Media Boxes"), lazy.widget['media_box_3'].toggle(), desc="Toggle Media Boxes"),
Key([], "t", lazy.widget['widget_box_1'].toggle(), Key([], "t", lazy.widget['widget_box_1'].toggle(),
lazy.widget['widget_box_2'].toggle(), lazy.widget['widget_box_2'].toggle(),
lazy.widget['widget_box_3'].toggle(), desc="Toggle Widget Boxes"), lazy.widget['widget_box_3'].toggle(), desc="Toggle Widget Boxes"),
], Key([], "1", lazy.widget['widget_box_1'].toggle(), desc="Toggle Widget Box 1"),
name="boxes", 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", name="toggle",
), ),
@ -209,6 +194,16 @@ keys = [
], ],
name="media", 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 # Groups

5
.vimrc
View File

@ -24,9 +24,14 @@ Plug 'preservim/nerdtree'
Plug 'tpope/vim-commentary' Plug 'tpope/vim-commentary'
Plug 'tpope/vim-surround' Plug 'tpope/vim-surround'
Plug 'ryanoasis/vim-devicons' Plug 'ryanoasis/vim-devicons'
Plug 'xuhdev/vim-latex-live-preview'
call plug#end() call plug#end()
colorscheme nord colorscheme nord
let g:lightline = { let g:lightline = {
\ 'colorscheme': 'nord', \ 'colorscheme': 'nord',
\ } \ }
" vim-laxet-live-preview settings
autocmd Filetype tex setl updatetime=1
let g:livepreview_previewer = 'zathura'