diff --git a/ohmyzshrc b/ohmyzshrc index 65f0fc0..2419fa7 100644 --- a/ohmyzshrc +++ b/ohmyzshrc @@ -57,7 +57,7 @@ ZSH_THEME="gentoo" plugins=(tmux dirpersist virtualenvwrapper ssh-agent extract node npm) zstyle ':completion:*' special-dirs true -zstyle :omz:plugins:ssh-agent identities id_rsa +zstyle :omz:plugins:ssh-agent identities id_ed25519 # User configuration diff --git a/qtile_config.py b/qtile_config.py index a923aa8..a8b7ef0 100644 --- a/qtile_config.py +++ b/qtile_config.py @@ -55,11 +55,7 @@ keys = [ ), Key( [mod, "control"], "3", - lazy.spawn("sh -c " + home + "/.screenlayout/office.sh"), - ), - Key( - [mod, "control"], "4", - lazy.spawn("sh -c " + home + "/.screenlayout/home.sh"), + lazy.spawn("sh -c " + home + "/.screenlayout/3screens.sh"), ), # Switch between windows in current stack pane @@ -103,7 +99,7 @@ keys = [ lazy.layout.toggle_split() ), Key([mod], "Return", lazy.spawn("terminator")), - Key(["control", "mod1"], "l", lazy.spawn("xautolock -locknow")), + Key(["control", "mod1"], "l", lazy.spawn("i3lock -i /home/asmaps/Pictures/wallpapers/garfield.png")), Key([], "XF86AudioMute", lazy.spawn("pavucontrol")), Key([], "XF86MonBrightnessUp", lazy.spawn("xbacklight -inc 3")), Key(["shift"], "XF86MonBrightnessUp", lazy.spawn("xbacklight -set 100")), @@ -121,6 +117,7 @@ keys = [ Key([mod, "control"], "q", lazy.shutdown()), Key([mod], "r", lazy.spawncmd()), Key([mod, "control"], "space", lazy.window.toggle_floating()), + Key([], "Print", lazy.spawn("bash /home/asmaps/.take_screenshot.sh")), ] groups = [Group(i) for i in "12345"] @@ -194,6 +191,7 @@ screens = [ widget.DF(), widget.Sep(), widget.Battery(), + widget.Battery(battery_name='BAT1'), widget.Sep(), widget.CurrentLayout(), ], diff --git a/vimrc b/vimrc index 798b666..6d50b58 100644 --- a/vimrc +++ b/vimrc @@ -81,6 +81,9 @@ autocmd BufNewFile,BufReadPost *.md set formatoptions+=t autocmd BufNewFile,BufReadPost Dockerfile set filetype=dockerfile +autocmd BufNewFile,BufReadPost *.yml set shiftwidth=2 +autocmd BufNewFile,BufReadPost *.yml set softtabstop=2 + "" Vundle " Setting up Vundle - the vim plugin bundler