added vs code extension autoinstall
This commit is contained in:
@@ -5,3 +5,5 @@ 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
|
||||||
@@ -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(
|
|
||||||
name = 'max',
|
|
||||||
),
|
),
|
||||||
|
layout.Floating(),
|
||||||
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user