adjustments for office
This commit is contained in:
1 parent
0a283817f0
commit
b490a89023
3 files changed
+21
-11
No files matched your search
@@ -2,7 +2,6 @@ mkdir -p ~/.backup
|
|||||||
mkdir -p ~/.config/qtile
|
mkdir -p ~/.config/qtile
|
||||||
ln -snf `pwd`/vimrc ~/.vimrc
|
ln -snf `pwd`/vimrc ~/.vimrc
|
||||||
ln -snf `pwd`/tmux.conf ~/.tmux.conf
|
ln -snf `pwd`/tmux.conf ~/.tmux.conf
|
||||||
ln -snf `pwd`/ohmyzshrc ~/.zshrc
|
|
||||||
ln -snf `pwd`/qtile_config.py ~/.config/qtile/config.py
|
ln -snf `pwd`/qtile_config.py ~/.config/qtile/config.py
|
||||||
ln -snf `pwd`/gitconfig ~/.gitconfig
|
ln -snf `pwd`/gitconfig ~/.gitconfig
|
||||||
ln -snf `pwd`/gitignore ~/.gitignore
|
ln -snf `pwd`/gitignore ~/.gitignore
|
||||||
@@ -10,5 +9,4 @@ ln -snf `pwd`/gitignore ~/.gitignore
|
|||||||
echo "Installing oh-my-zsh..."
|
echo "Installing oh-my-zsh..."
|
||||||
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
|
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
|
||||||
|
|
||||||
# set up vim
|
ln -snf `pwd`/ohmyzshrc ~/.zshrc
|
||||||
#vim +BundleInstall! +qall
|
|
||||||
@@ -3,7 +3,7 @@ export ZSH_TMUX_AUTOSTART=true
|
|||||||
export ZSH_TMUX_FIXTERM=false
|
export ZSH_TMUX_FIXTERM=false
|
||||||
|
|
||||||
# Path to your oh-my-zsh installation.
|
# Path to your oh-my-zsh installation.
|
||||||
export ZSH=/home/asmaps/.oh-my-zsh
|
export ZSH=~/.oh-my-zsh
|
||||||
|
|
||||||
# Set name of the theme to load.
|
# Set name of the theme to load.
|
||||||
# Look in ~/.oh-my-zsh/themes/
|
# Look in ~/.oh-my-zsh/themes/
|
||||||
@@ -53,7 +53,7 @@ ZSH_THEME="clean"
|
|||||||
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
||||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||||
# Add wisely, as too many plugins slow down shell startup.
|
# Add wisely, as too many plugins slow down shell startup.
|
||||||
plugins=(git cp dirpersist tmux debian)
|
plugins=(git cp dirpersist tmux debian virtualenvwrapper)
|
||||||
|
|
||||||
# User configuration
|
# User configuration
|
||||||
|
|
||||||
@@ -86,4 +86,3 @@ source $ZSH/oh-my-zsh.sh
|
|||||||
# Example aliases
|
# Example aliases
|
||||||
# alias zshconfig="mate ~/.zshrc"
|
# alias zshconfig="mate ~/.zshrc"
|
||||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||||
|
|
||||||
+18
-5
@@ -31,9 +31,19 @@ from libqtile.config import Key, Screen, Group, Drag, Click
|
|||||||
from libqtile.command import lazy
|
from libqtile.command import lazy
|
||||||
from libqtile import layout, bar, widget, hook
|
from libqtile import layout, bar, widget, hook
|
||||||
|
|
||||||
|
|
||||||
|
def run_cmd(cmd):
|
||||||
|
subprocess.call(cmd)
|
||||||
|
|
||||||
|
home = os.path.expanduser('~')
|
||||||
mod = "mod4"
|
mod = "mod4"
|
||||||
|
|
||||||
keys = [
|
keys = [
|
||||||
|
Key(
|
||||||
|
[mod, "control"], "1",
|
||||||
|
lazy.spawn("sh -c " + home + "/.screenlayout/office.sh"),
|
||||||
|
),
|
||||||
|
|
||||||
# Switch between windows in current stack pane
|
# Switch between windows in current stack pane
|
||||||
Key(
|
Key(
|
||||||
[mod], "k",
|
[mod], "k",
|
||||||
@@ -75,6 +85,7 @@ keys = [
|
|||||||
lazy.layout.toggle_split()
|
lazy.layout.toggle_split()
|
||||||
),
|
),
|
||||||
Key([mod], "Return", lazy.spawn("terminator")),
|
Key([mod], "Return", lazy.spawn("terminator")),
|
||||||
|
Key(["control", "mod1"], "l", lazy.spawn("i3lock -c 000000")),
|
||||||
|
|
||||||
# Toggle between different layouts as defined below
|
# Toggle between different layouts as defined below
|
||||||
Key([mod], "Tab", lazy.next_layout()),
|
Key([mod], "Tab", lazy.next_layout()),
|
||||||
@@ -83,6 +94,7 @@ keys = [
|
|||||||
Key([mod, "control"], "r", lazy.restart()),
|
Key([mod, "control"], "r", lazy.restart()),
|
||||||
Key([mod, "control"], "q", lazy.shutdown()),
|
Key([mod, "control"], "q", lazy.shutdown()),
|
||||||
Key([mod], "r", lazy.spawncmd()),
|
Key([mod], "r", lazy.spawncmd()),
|
||||||
|
Key([mod], "n", lazy.layout.normalize()),
|
||||||
]
|
]
|
||||||
|
|
||||||
groups = [Group(i) for i in "12345"]
|
groups = [Group(i) for i in "12345"]
|
||||||
@@ -99,9 +111,9 @@ for i in groups:
|
|||||||
)
|
)
|
||||||
|
|
||||||
layouts = [
|
layouts = [
|
||||||
|
layout.tile.Tile(),
|
||||||
layout.Max(),
|
layout.Max(),
|
||||||
layout.Stack(num_stacks=2),
|
layout.floating.Floating(),
|
||||||
layout.zoomy.Zoomy(),
|
|
||||||
]
|
]
|
||||||
|
|
||||||
widget_defaults = dict(
|
widget_defaults = dict(
|
||||||
@@ -147,10 +159,12 @@ screens = [
|
|||||||
widget.DF(),
|
widget.DF(),
|
||||||
widget.Sep(),
|
widget.Sep(),
|
||||||
widget.Battery(),
|
widget.Battery(),
|
||||||
|
widget.Sep(),
|
||||||
|
widget.CurrentLayout(),
|
||||||
],
|
],
|
||||||
15,
|
15,
|
||||||
),
|
),
|
||||||
),
|
) for i in range(3)
|
||||||
]
|
]
|
||||||
|
|
||||||
# Drag floating layouts.
|
# Drag floating layouts.
|
||||||
@@ -184,5 +198,4 @@ wmname = "LG3D"
|
|||||||
|
|
||||||
@hook.subscribe.startup_once
|
@hook.subscribe.startup_once
|
||||||
def autostart():
|
def autostart():
|
||||||
home = os.path.expanduser('~')
|
run_cmd(['feh', '--bg-scale', home + '/Pictures/nywallpaper.jpg'])
|
||||||
subprocess.call(['feh', '--bg-scale', home + '/Pictures/nywallpaper.jpg'])
|
|
||||||
Reference in new issue
Block a user