From 7af19a91f6f37f0e6617e9cbecfe93873a2f9408 Mon Sep 17 00:00:00 2001 From: Steve Lee Date: Mon, 13 May 2019 08:32:30 +0800 Subject: update --- .oh-my-zsh/custom/themes/robbyrussell-mod.zsh-themes | 7 +++++++ .oh-my-zsh/custom/themes/robbyrussell.zsh-theme | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 .oh-my-zsh/custom/themes/robbyrussell-mod.zsh-themes delete mode 100644 .oh-my-zsh/custom/themes/robbyrussell.zsh-theme diff --git a/.oh-my-zsh/custom/themes/robbyrussell-mod.zsh-themes b/.oh-my-zsh/custom/themes/robbyrussell-mod.zsh-themes new file mode 100644 index 0000000..51c531f --- /dev/null +++ b/.oh-my-zsh/custom/themes/robbyrussell-mod.zsh-themes @@ -0,0 +1,7 @@ +local ret_status="%(?:%{$fg_bold[green]%}λ :%{$fg_bold[red]%}λ )" +PROMPT='${ret_status} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)' + +ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}" +ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " +ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗" +ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})" diff --git a/.oh-my-zsh/custom/themes/robbyrussell.zsh-theme b/.oh-my-zsh/custom/themes/robbyrussell.zsh-theme deleted file mode 100644 index 51c531f..0000000 --- a/.oh-my-zsh/custom/themes/robbyrussell.zsh-theme +++ /dev/null @@ -1,7 +0,0 @@ -local ret_status="%(?:%{$fg_bold[green]%}λ :%{$fg_bold[red]%}λ )" -PROMPT='${ret_status} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)' - -ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}" -ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " -ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗" -ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})" -- cgit v1.2.3 From bdb03f30cf760d0a7bd29e2ed52abb80c7a56136 Mon Sep 17 00:00:00 2001 From: Steve Lee Date: Mon, 13 May 2019 08:35:18 +0800 Subject: update zsh --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index c62f1ae..bc5aab0 100644 --- a/.zshrc +++ b/.zshrc @@ -8,7 +8,7 @@ export LC_ALL=en_US.UTF-8 # Set name of the theme to load. Optionally, if you set this to "random" # it'll load a random theme each time that oh-my-zsh is loaded. # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes -ZSH_THEME="robbyrussell" +ZSH_THEME="robbyrussell-mod" # Set list of themes to load # Setting this variable when ZSH_THEME=random -- cgit v1.2.3 From 87bcb1d11871a327639f04f603d21a47cfb4f134 Mon Sep 17 00:00:00 2001 From: Steve Lee Date: Mon, 13 May 2019 08:37:13 +0800 Subject: update --- .oh-my-zsh/custom/themes/robbyrussell-mod.zsh-themes | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 .oh-my-zsh/custom/themes/robbyrussell-mod.zsh-themes diff --git a/.oh-my-zsh/custom/themes/robbyrussell-mod.zsh-themes b/.oh-my-zsh/custom/themes/robbyrussell-mod.zsh-themes deleted file mode 100644 index 51c531f..0000000 --- a/.oh-my-zsh/custom/themes/robbyrussell-mod.zsh-themes +++ /dev/null @@ -1,7 +0,0 @@ -local ret_status="%(?:%{$fg_bold[green]%}λ :%{$fg_bold[red]%}λ )" -PROMPT='${ret_status} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)' - -ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}" -ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " -ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗" -ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})" -- cgit v1.2.3 From 98a53ba966b0f2ffc2a2568e8614084ad9d385a2 Mon Sep 17 00:00:00 2001 From: Steve Lee Date: Mon, 13 May 2019 09:00:04 +0800 Subject: update --- .config/i3/config | 7 +++++-- .zsh_aliases | 2 ++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index c9555f4..e77e6a5 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -34,7 +34,7 @@ bindsym $mod+Return exec i3-sensible-terminal --hide-menubar --hide-tabbar bindsym $mod+Shift+q kill # start dmenu (a program launcher) -bindsym $mod+d exec dmenu_recent_aliases +bindsym $mod+d exec ~/.local/bin/dmenu_recent_aliases # There also is the (new) i3-dmenu-desktop which only displays applications # shipping a .desktop file. It is a wrapper around dmenu, so you need that # installed. @@ -90,6 +90,8 @@ bindsym $mod+a focus parent # focus the child container #bindsym $mod+d focus child +# bind workapce to workspace +workspace 1 output HDMI-1 # switch to workspace bindsym $mod+1 workspace 1 @@ -185,7 +187,8 @@ exec --no-startup-id xcompmgr -c -f -n # bindsym $mod+p exec xrandr --output VGA1 --auto && xrandr --output LVDS1 --off && feh --bg-center /home/stevelee/Pictures/background/evil-corp-qhd-1280x1024.jpg #bindsym $mod+p exec xrandr --output DP1 --auto && xrandr --output eDP1 --off && feh --bg-center /home/stevelee/Pictures/background/evil-corp-qhd-1280x1024.jpg -bindsym $mod+p exec xrandr --output HDMI2 --auto && xrandr --output eDP1 --off && feh --bg-center /home/stevelee/Pictures/background/evil-corp-qhd-1280x1024.jpg +#bindsym $mod+p exec xrandr --output HDMI2 --auto && xrandr --output eDP1 --off && feh --bg-center /home/stevelee/Pictures/background/evil-corp-qhd-1280x1024.jpg +bindsym $mod+p exec xrandr --output HDMI-1 --auto --rotate left --left-of DP-1 && xrandr --output DP-1 --auto # bindsym $mod+i exec xrandr --output LVDS1 --auto && xrandr --output VGA1 --off bindsym $mod+i exec xrandr --output eDP1 --mode 1280x720 && xrandr --output HDMI2 --off # bindsym $mod+u exec xrandr --output VGA1 --auto --right-of LVDS1 && feh --bg-center /home/stevelee/Pictures/background/evil-corp-qhd-1280x1024.jpg diff --git a/.zsh_aliases b/.zsh_aliases index 5a36441..ed2c0d4 100644 --- a/.zsh_aliases +++ b/.zsh_aliases @@ -9,3 +9,5 @@ alias cp1='cd ~/Vagrant/pc1/' alias cp2='cd ~/Vagrant/pc2/' alias cp3='cd ~/Vagrant/pc3/' alias cp4='cd ~/Vagrant/pc4/' +alias ei3='emacs ~/.config/i3/config' +alias eems='emacs ~/.emacs.d/init.el' -- cgit v1.2.3