From 103c45d635730c56e3ca230864051ac05d9f534a Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Tue, 14 Feb 2017 01:43:35 -0500 Subject: [PATCH] Misc improvements --- i3/Xmodmap | 10 ++++++++++ i3/config | 2 +- shells/Xresources | 20 ++++++++++++-------- vim/vimrc | 2 ++ 4 files changed, 25 insertions(+), 9 deletions(-) diff --git a/i3/Xmodmap b/i3/Xmodmap index 53fe642..0fe7f25 100644 --- a/i3/Xmodmap +++ b/i3/Xmodmap @@ -2,3 +2,13 @@ remove Lock = Caps_Lock keysym Escape = Caps_Lock keysym Caps_Lock = Escape add Lock = Caps_Lock +!keycode 10 = exclam 1 +!keycode 11 = at 2 +!keycode 12 = numbersign 3 +!keycode 13 = dollar 4 +!keycode 14 = percent 5 +!keycode 15 = asciicircum 6 +!keycode 16 = ampersand 7 +!keycode 17 = asterisk 8 +!keycode 18 = parenleft 9 +!keycode 19 = parenright 0 diff --git a/i3/config b/i3/config index ca8093f..514f86e 100644 --- a/i3/config +++ b/i3/config @@ -17,7 +17,7 @@ bindsym $mod+shift+apostrophe bar mode dock # Rename a workspace bindsym $mod+shift+d exec i3-input -F 'rename workspace to "%s"' -P 'Rename to: ' # Rofi shortcuts -bindsym $mod+p exec rofi -font "Monospace 12" -show run +bindsym $mod+p exec rofi -font "Terminus 14" -show run bindsym $mod+shift+p exec "rofi-pass --last-used" # Misc shortcuts bindsym --release Num_Lock exec "xdotool key --clearmodifiers Shift+Insert;numlockx on" diff --git a/shells/Xresources b/shells/Xresources index 752277e..8c3fff3 100644 --- a/shells/Xresources +++ b/shells/Xresources @@ -68,11 +68,15 @@ rofi.terminal: urxvtc rofi.padding: 0 ! Generated from i3-color-rofi ! -bg #121212 -fg #8f8f8f -hlbg #5a5a5a -hlfg #000000 -rofi.bg: #121212 -rofi.fg: #8f8f8f -rofi.hlbg: #5a5a5a -rofi.hlfg: #000000 -rofi.color-normal: #121212,#8f8f8f,#121212,#5a5a5a,#000000 -rofi.color-active: #121212,#8f8f8f,#121212,#5a5a5a,#000000 -rofi.color-urgent: #121212,#8f8f8f,#121212,#5a5a5a,#000000 -rofi.color-window: #121212,#8f8f8f +rofi.color-window: #000000, #ffffff, #000000 +rofi.color-normal: #000000, #ffffff, #000000, #2e2e2e, #ffffff +rofi.color-active: #000000, #ffffff, #000000, #268bd2, #ffffff +rofi.color-urgent: #ffffff, #ff0400, #ffffff, #ff0000, #ffffff +!rofi.bg: #121212 +!rofi.fg: #8f8f8f +!rofi.hlbg: #5a5a5a +!rofi.hlfg: #000000 +!rofi.color-normal: #121212,#8f8f8f,#121212,#5a5a5a,#000000 +!rofi.color-active: #121212,#8f8f8f,#121212,#5a5a5a,#000000 +!rofi.color-urgent: #121212,#8f8f8f,#121212,#5a5a5a,#000000 +!rofi.color-window: #121212,#8f8f8f diff --git a/vim/vimrc b/vim/vimrc index e2e25a5..1c6c844 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -317,6 +317,8 @@ endif "GPG support | https://github.com/jamessan/vim-gnupg Plug 'https://austenwares.com/gitea/vim/vim-bracketed-paste' "Automatic :set paste funcationality | https://github.com/ConradIrwin/vim-bracketed-paste + Plug 'https://austenwares.com/gitea/vim/HiCursorWords' + "Highlight word under cursor automatically | http://www.vim.org/scripts/script.php?script_id=4306 " } " Unused { "Plug 'https://austenwares.com/gitea/vim/mirror.vim'