1
0
Fork 0

back to urxvt, with transparency and an xfont, a bit of awesome tweaks

This commit is contained in:
Von Random 2015-06-27 21:33:46 +03:00
parent d80017b8e7
commit 16a2a60e7b
2 changed files with 27 additions and 62 deletions

7
rc.lua
View file

@ -87,7 +87,7 @@ if exists(wallpaper) then
end end
-- This is used later as the default terminal and editor to run. -- This is used later as the default terminal and editor to run.
terminal = 'termite' terminal = 'urxvt'
editor = os.getenv('EDITOR') or 'vim' editor = os.getenv('EDITOR') or 'vim'
editor_cmd = terminal .. ' -e ' .. editor editor_cmd = terminal .. ' -e ' .. editor
@ -102,9 +102,9 @@ modkey = 'Mod4'
local layouts = { local layouts = {
tiled = { tiled = {
awful.layout.suit.tile, awful.layout.suit.tile,
awful.layout.suit.tile.bottom, awful.layout.suit.tile.top,
awful.layout.suit.tile.left, awful.layout.suit.tile.left,
awful.layout.suit.tile.top awful.layout.suit.tile.bottom
}, },
max = { max = {
awful.layout.suit.max, awful.layout.suit.max,
@ -765,6 +765,7 @@ end
if exists('/home/von/.fonts/terminus') then if exists('/home/von/.fonts/terminus') then
awful.util.spawn_with_shell('xset fp- /home/von/.fonts/terminus/PCF') awful.util.spawn_with_shell('xset fp- /home/von/.fonts/terminus/PCF')
awful.util.spawn_with_shell('xset fp+ /home/von/.fonts/terminus/PCF') awful.util.spawn_with_shell('xset fp+ /home/von/.fonts/terminus/PCF')
awful.util.spawn_with_shell('xset fp rehash')
end end
---- execute all the other shit, installation specific ---- execute all the other shit, installation specific
if exists('/home/von/.autostart') then if exists('/home/von/.autostart') then

View file

@ -8,7 +8,7 @@ Xft.hintstyle: hintslight
Xft.dpi: 96 Xft.dpi: 96
! }}} ! }}}
! {{{ urxvt ! {{{ urxvt
#define urxvt_font xft:Terminus:bold:size=11:antialias=false #define urxvt_font -*-terminus-bold-*-normal-*-14-*-*-*-*-*-iso10646-*
URxvt.scrollBar: false URxvt.scrollBar: false
URxvt.font: urxvt_font URxvt.font: urxvt_font
@ -22,8 +22,7 @@ URxvt.urgentOnBell: true
URxvt.cursorUnderline: true URxvt.cursorUnderline: true
URxvt.termName: rxvt-unicode-256color URxvt.termName: rxvt-unicode-256color
URxvt.fading: 0 URxvt.fading: 0
URxvt.transparent: true URxvt.depth: 32
URxvt.shading: 20
! icon (needs pixbuf support compiled) ! icon (needs pixbuf support compiled)
URxvt.iconFile: /usr/share/icons/Faenza/apps/scalable/utilities-terminal.svg URxvt.iconFile: /usr/share/icons/Faenza/apps/scalable/utilities-terminal.svg
@ -35,64 +34,29 @@ URxvt.matcher.button: 3
URxvt.keysym.C-C: perl:clipboard:copy URxvt.keysym.C-C: perl:clipboard:copy
URxvt.keysym.C-V: perl:clipboard:paste URxvt.keysym.C-V: perl:clipboard:paste
! }}} ! }}}
! {{{ base16 Twilight ! {{{ urxvt colors
!#define base00 #1e1e1e URxvt.foreground: #839496
!#define base01 #323537 URxvt.background: [80]#00141A
!#define base02 #464b50 URxvt.cursorColor: #fdf6e3
!#define base03 #5f5a60 URxvt.colorBD: #fdf6e3
!#define base04 #838184
!#define base05 #a7a7a7
!#define base06 #c3c3c3
!#define base07 #ffffff
!#define base08 #cf6a4c
!#define base09 #cda869
!#define base0A #f9ee98
!#define base0B #8f9d6a
!#define base0C #afc4db
!#define base0D #7587a6
!#define base0E #9b859d
!#define base0F #9b703f
! }}}
! {{{ base16 Atelier Lakeside
#define base00 #161b1d
#define base01 #1f292e
#define base02 #516d7b
#define base03 #5a7b8c
#define base04 #7195a8
#define base05 #7ea2b4
#define base06 #c1e4f6
#define base07 #ebf8ff
#define base08 #d22d72
#define base09 #935c25
#define base0A #8a8a0f
#define base0B #568c3b
#define base0C #2d8f6f
#define base0D #257fad
#define base0E #5d5db1
#define base0F #b72dd2
URxvt.foreground: base04 URxvt.color0: #073642
URxvt.background: base00 URxvt.color1: #dc322f
URxvt.cursorColor: base07 URxvt.color2: #859900
URxvt.colorBD: base07 URxvt.color3: #b58900
URxvt.color4: #268bd2
URxvt.color5: #d33682
URxvt.color6: #2aa198
URxvt.color7: #eee8d5
URxvt.color0: base01 URxvt.color8: #002b36
URxvt.color1: base08 URxvt.color9: #cb4b16
URxvt.color2: base0B URxvt.color10: #586e75
URxvt.color3: base0A URxvt.color11: #657b83
URxvt.color4: base0D URxvt.color12: #839496
URxvt.color5: base0F URxvt.color13: #6c71c4
URxvt.color6: base0C URxvt.color14: #93a1a1
URxvt.color7: base06 URxvt.color15: #fdf6e3
URxvt.color8: base00
URxvt.color9: base09
URxvt.color10: base02
URxvt.color11: base03
URxvt.color12: base04
URxvt.color13: base0E
URxvt.color14: base05
URxvt.color15: base07
! }}} ! }}}
! {{{ fixes for gruvbox to look awesome, requires patched urxvt package ! {{{ fixes for gruvbox to look awesome, requires patched urxvt package
URxvt.color24: #076678 URxvt.color24: #076678