modif bat widget move redshift to xinitrc

This commit is contained in:
vincent 2018-11-14 20:59:07 +01:00
parent dbd00f469b
commit 0b501c73f1
3 changed files with 6 additions and 5 deletions

View File

@ -9,5 +9,4 @@ function run {
run /usr/lib/polkit-kde-authentication-agent-1
run ~/script/autoxrandr
run redshift
run setxkbmap -layout "fr,us"

View File

@ -226,8 +226,8 @@ local bat = lain.widget.bat({
settings = function()
local perc = bat_now.perc ~= "N/A" and bat_now.perc .. "%" or bat_now.perc
if bat_now.ac_status == 1 then
perc = perc .. " plug"
if bat_now.status then
perc = perc .. " " .. bat_now.status
end
widget:set_markup(markup.fontfg(beautiful.font, beautiful.fg_normal, perc .. " "))
@ -307,7 +307,8 @@ awful.screen.connect_for_each_screen(function(s)
nil -- Middle widget
,{ -- Right widgets
layout = wibox.layout.fixed.horizontal,
--myredshift_stack,
myredshift_stack,
spr_right,
netdownicon,
netdowninfo,
netupicon,

View File

@ -18,6 +18,7 @@ compton -b &
#config pad
xinput set-prop 13 289 1 &
xinput set-prop 13 297 1 &
redshift &
# exec dbus-launch i3
case $1 in
i3 ) exec dbus-launch i3;;