modif bat widget move redshift to xinitrc
This commit is contained in:
parent
dbd00f469b
commit
0b501c73f1
@ -9,5 +9,4 @@ function run {
|
||||
|
||||
run /usr/lib/polkit-kde-authentication-agent-1
|
||||
run ~/script/autoxrandr
|
||||
run redshift
|
||||
run setxkbmap -layout "fr,us"
|
||||
|
@ -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,
|
||||
|
@ -18,7 +18,8 @@ compton -b &
|
||||
#config pad
|
||||
xinput set-prop 13 289 1 &
|
||||
xinput set-prop 13 297 1 &
|
||||
# exec dbus-launch i3
|
||||
redshift &
|
||||
# exec dbus-launch i3
|
||||
case $1 in
|
||||
i3 ) exec dbus-launch i3;;
|
||||
* ) exec $1;;
|
||||
|
Loading…
Reference in New Issue
Block a user