Some work

This commit is contained in:
Thomas Forgione 2018-09-13 16:54:24 +02:00
parent 8d3c5f6d5f
commit 1f26d560fe
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41
4 changed files with 32 additions and 75 deletions

View File

@ -1,69 +0,0 @@
! Xcursor.theme: whiteglass
! Xcursor.size: 16
! Urxvt Settings
! Pas de barre de défilement
URxvt*scrollBar: False
! Couleur d'arrière plan noir
URxvt*background: black
! Couleur d'avant plan blanc
URxvt*foreground: white
! Dimension du terminal
! URxvt*geometry: 120x40
! Lien cliquable
! Valeur possible pour l'option matcher button: 1=clic gauche, 2= clic milieu, 3=clic droit
! URxvt.perl-ext-common: default,matcher
! URxvt.urlLauncher: chromium
! URxvt.matcher.button: 3
! Prise en charge des onglets
! shift+bas ou clic sur NEW= ouvrir nouvel onglet,
! shift + fleche gauche/droite=navigation dans les onglets.
! ctrl + fleche gauche/droite= deplacement onglet
! ctrl+d ou taper exit = fermer onglet/terminal
! URxvt.perl-ext-common: default,tabbed
! URxvt.font: xft:Inconsolata-g for Powerline:size=13:antialias=true
! URxvt.font: xft:Inconsolata-g for Powerline:size=14:antialias=true
! URxvt.font: xft:Anonymice Powerline:size=14:antialias=true
! URxvt.font: xft:DejaVu Sans Mono for Powerline:size=12
URxvt.font: xft:Ubuntu Mono derivative Powerline:antialias=true:size=14
! URxvt.font: xft:Sauce Code Powerline Black:antialias=true:size=14
! URxvt.font: xft:Monofur for Powerline:antialias=true:size=14
! URxvt.font: xft:Monaco for Powerline:antialias=true:size=12
! URxvt*font: xft:Terminess Powerline:size=14
! URxvt.letterSpace: -1
! URxvt.font: xft:Comic Sans MS:antialias=true:size=10
urxvt*depth: 32
! urxvt.transparent:true
! URxvt*backgroundPixmap: /home/thomas/Pictures/Wallpapers/archwithout.png;style=tiled
! Keycode fixes for Ctrl+direction in Vim
URxvt.keysym.C-Up: \033[1;5A
URxvt.keysym.C-Down: \033[1;5B
URxvt.keysym.C-Right: \033[1;5C
URxvt.keysym.C-Left: \033[1;5D
URxvt.keysym.C-Prior: \033[5;5~
URxvt.keysym.C-Next: \033[6;5~
URxvt.keysym.C-Home: \033[7;5~
URxvt.keysym.C-End: \033[8;5~
URxvt.perl-ext-common: default,clipboard,new-window
URxvt*iso14755: False
URxvt*iso14755_52: False
URxvt.keysym.Shift-Control-C: perl:clipboard:copy
URxvt.keysym.Shift-Control-V: perl:clipboard:paste
URxvt.keysym.Shift-Control-E: perl:new-window
URxvt.clipboard.copycmd: xsel -ib
URxvt.clipboard.pastecmd: xsel -ob
urxvt*scrollTtyOutput: false
urxvt*scrollTtyKeypress: true
URxvt*color12: rgb:5c/5c/ff
URxvt.letterSpace: -1

View File

@ -0,0 +1,22 @@
local wibox = require('wibox')
local awful = require('awful')
function add_background_widget(s)
background_widget = awful.wibar({
screen = s,
height = s.geometry.height,
bg = "#00000000",
})
local text = wibox.widget.textbox("Hello to you")
text.point = { x = 75, y = 200 }
background_widget:setup {
layout = wibox.layout.manual,
text,
}
background_widget:struts({left=0, right=0, top=0, bottom=0})
end

View File

@ -222,6 +222,7 @@ local volume = require('volume')
local calendar = require('calendar') local calendar = require('calendar')
local launchbar = require('launchbar') local launchbar = require('launchbar')
local music = require('music') local music = require('music')
local background = require('background_widget')
local delimiter = wibox.widget.textbox(" | ") local delimiter = wibox.widget.textbox(" | ")
local function set_wallpaper(s) local function set_wallpaper(s)
@ -293,6 +294,9 @@ awful.screen.connect_for_each_screen(function(s)
s.mylayoutbox, s.mylayoutbox,
}, },
} }
add_background_widget(s)
end) end)
-- }}} -- }}}

View File

@ -6,13 +6,13 @@ local theme = {}
theme.font = "sans 8" theme.font = "sans 8"
theme.bg_normal = "#222222" theme.bg_normal = "#22222299"
theme.bg_focus = "#535d6c" theme.bg_focus = "#535d6c99"
theme.bg_urgent = "#ff0000" theme.bg_urgent = "#ff000099"
theme.bg_minimize = "#444444" theme.bg_minimize = "#44444499"
theme.bg_systray = theme.bg_normal theme.bg_systray = theme.bg_normal
theme.fg_normal = "#aaaaaa" theme.fg_normal = "#cccccc"
theme.fg_focus = "#ffffff" theme.fg_focus = "#ffffff"
theme.fg_urgent = "#ffffff" theme.fg_urgent = "#ffffff"
theme.fg_minimize = "#ffffff" theme.fg_minimize = "#ffffff"
@ -76,7 +76,7 @@ theme.titlebar_maximized_button_focus_inactive = "/usr/share/awesome/themes/def
theme.titlebar_maximized_button_normal_active = "/usr/share/awesome/themes/default/titlebar/maximized_normal_active.png" theme.titlebar_maximized_button_normal_active = "/usr/share/awesome/themes/default/titlebar/maximized_normal_active.png"
theme.titlebar_maximized_button_focus_active = "/usr/share/awesome/themes/default/titlebar/maximized_focus_active.png" theme.titlebar_maximized_button_focus_active = "/usr/share/awesome/themes/default/titlebar/maximized_focus_active.png"
theme.wallpaper = "/usr/share/awesome/themes/default/background.png" theme.wallpaper = "/home/thomas/Pictures/Wallpapers/arch-1920x1080.png"
-- You can use your own layout icons like this: -- You can use your own layout icons like this:
theme.layout_fairh = "/usr/share/awesome/themes/default/layouts/fairhw.png" theme.layout_fairh = "/usr/share/awesome/themes/default/layouts/fairhw.png"