added vs code extension autoinstall

This commit is contained in:
paul-loedige
2020-11-22 03:02:20 +01:00
parent fa36257082
commit 90e43d50d7
3 changed files with 19 additions and 7 deletions
+3 -1
View File
@@ -4,4 +4,6 @@ cd ~/.dotfiles/
sudo pacman -S --needed $(comm -12 <(pacman -Slq | sort) <(sort pkglist.txt)) sudo pacman -S --needed $(comm -12 <(pacman -Slq | sort) <(sort pkglist.txt))
#extract dotfiles into home directory #extract dotfiles into home directory
cd ~/.dotfiles/ cd ~/.dotfiles/
sudo stow bash git qtile vim Xorg sudo stow bash git qtile vim Xorg
#install vs code extensions
bash vscode.sh
+12 -6
View File
@@ -30,13 +30,22 @@
from typing import List # noqa: F401 from typing import List # noqa: F401
from libqtile import bar, layout, widget import os
import subprocess
from libqtile import bar, layout, widget, hook
from libqtile.config import Click, Drag, Group, Key, Screen from libqtile.config import Click, Drag, Group, Key, Screen
from libqtile.lazy import lazy from libqtile.lazy import lazy
mod = "mod4" mod = "mod4"
terminal = "termite" terminal = "termite"
#region autostart
@hook.subscribe.startup_once
def autostart():
layout = os.path.expanduser('~/.config/qtile/layout.sh')
subprocess.call([layout])
#endregion
#region key_and_mouse_bindings #region key_and_mouse_bindings
keys = [ keys = [
@@ -102,16 +111,13 @@ layouts = [
border_focus = '#00ff00', border_focus = '#00ff00',
border_width = 2, border_width = 2,
new_at_current = True, new_at_current = True,
name = 'monadtall',
), ),
layout.Max( layout.Floating(),
name = 'max', layout.Max(),
),
layout.MonadWide( layout.MonadWide(
border_focus = '#00ff00', border_focus = '#00ff00',
border_width = 2, border_width = 2,
new_at_current = True, new_at_current = True,
name = 'monadwide',
), ),
] ]
#endregion #endregion
+4
View File
@@ -0,0 +1,4 @@
code --install-extensions eamodio.gitlens
code --install-extensions ms-python.python
code --install-extensions ms-toolsai.jupyter
code --install-extensions vscodevim.vim