From 576930c45f2562abe0d8139b1a1f3418d5bb976c Mon Sep 17 00:00:00 2001 From: Raphael McSinyx Date: Tue, 8 Nov 2016 11:32:41 +0700 Subject: Update 20161108 --- X/.gtkrc-2.0 | 2 +- awesome/.config/awesome/rc.lua | 15 ++++++++++----- bash/.bashrc | 1 + vim/.vim/vimrc | 7 ++++++- 4 files changed, 18 insertions(+), 7 deletions(-) diff --git a/X/.gtkrc-2.0 b/X/.gtkrc-2.0 index 6035b2f..316de6b 100644 --- a/X/.gtkrc-2.0 +++ b/X/.gtkrc-2.0 @@ -1,4 +1,4 @@ gtk-theme-name = "gruvnox" gtk-icon-theme-name = "Numix-Circle" gtk-cursor-theme-name = "Adwaita" -gtk-font-name = "Noto Sans 10" +gtk-font-name = "Noto Sans UI 10" diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index 0b6a8c1..ba9b0cb 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -60,7 +60,8 @@ editor_cmd = terminal .. " -e vim" -- Usually, Mod4 is the key with a logo between Control and Alt. -- If you do not like this or do not have such a key, -- I suggest you to remap Mod4 to another key using xmodmap or other tools. --- However, you can use another modifier like Mod1, but it may interact with others. +-- However, you can use another modifier like Mod1, but it may interact with +-- others. modkey = "Mod4" -- Table of layouts to cover with awful.layout.inc, order matters. @@ -119,12 +120,16 @@ mylauncher = awful.widget.launcher({ }) -- Menubar configuration -menubar.utils.terminal = terminal -- Set the terminal for applications that require it +-- Set the terminal for applications that require it +menubar.utils.terminal = terminal -- }}} -- {{{ Wibox -- Create a textclock widget -myclock_text = awful.widget.textclock(" #%u %FT%R") +myclock_text = awful.widget.textclock( + " #%u %FT%R", + 1 +) myclock = wibox.widget.background() myclock:set_widget(myclock_text) myclock:set_bg("#cc241d") @@ -302,8 +307,8 @@ mytasklist.buttons = awful.util.table.join( for s = 1, screen.count() do -- Create a promptbox for each screen mypromptbox[s] = awful.widget.prompt({prompt = " "}) - -- Create an imagebox widget which will contains an icon indicating which layout we're using. - -- We need one layoutbox per screen. + -- Create an imagebox widget which will contains an icon indicating + -- which layout we're using. We need one layoutbox per screen. mylayoutbox[s] = awful.widget.layoutbox(s) mylayoutbox[s]:buttons(awful.util.table.join( awful.button({}, 1, function() awful.layout.inc(layouts, 1) end), diff --git a/bash/.bashrc b/bash/.bashrc index a024b71..bbdd0d8 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -100,6 +100,7 @@ export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quo alias x='cd ~ && startx' alias wduck='w3m duckduckgo.com' alias scot='scrot ~/Pictures/Screenshots/%FT%T.png' +alias gcc='gcc -O2 -lm' TF_ALIAS=fuck alias fuck='eval $(thefuck $(fc -ln -1)); history -r' if [ -f ~/.bash_aliases ]; then diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc index cf1d376..b6caf91 100755 --- a/vim/.vim/vimrc +++ b/vim/.vim/vimrc @@ -12,7 +12,12 @@ set showcmd set nostartofline set ruler set confirm -set list listchars+=space:·,tab:\ \ +set list +if has("patch-7.4.710") + set listchars+=space:·,tab:\ \ +else + set listchars+=tab:├─ +endif set tabstop=8 expandtab shiftwidth=4 softtabstop=4 smarttab set omnifunc=syntaxcomplete#Complete set dictionary=/usr/share/dict/words -- cgit 1.4.1