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 /usr/lib/polkit-kde-authentication-agent-1
|
||||||
run ~/script/autoxrandr
|
run ~/script/autoxrandr
|
||||||
run redshift
|
|
||||||
run setxkbmap -layout "fr,us"
|
run setxkbmap -layout "fr,us"
|
||||||
|
@ -226,8 +226,8 @@ local bat = lain.widget.bat({
|
|||||||
settings = function()
|
settings = function()
|
||||||
local perc = bat_now.perc ~= "N/A" and bat_now.perc .. "%" or bat_now.perc
|
local perc = bat_now.perc ~= "N/A" and bat_now.perc .. "%" or bat_now.perc
|
||||||
|
|
||||||
if bat_now.ac_status == 1 then
|
if bat_now.status then
|
||||||
perc = perc .. " plug"
|
perc = perc .. " " .. bat_now.status
|
||||||
end
|
end
|
||||||
|
|
||||||
widget:set_markup(markup.fontfg(beautiful.font, beautiful.fg_normal, perc .. " "))
|
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
|
nil -- Middle widget
|
||||||
,{ -- Right widgets
|
,{ -- Right widgets
|
||||||
layout = wibox.layout.fixed.horizontal,
|
layout = wibox.layout.fixed.horizontal,
|
||||||
--myredshift_stack,
|
myredshift_stack,
|
||||||
|
spr_right,
|
||||||
netdownicon,
|
netdownicon,
|
||||||
netdowninfo,
|
netdowninfo,
|
||||||
netupicon,
|
netupicon,
|
||||||
|
@ -18,7 +18,8 @@ compton -b &
|
|||||||
#config pad
|
#config pad
|
||||||
xinput set-prop 13 289 1 &
|
xinput set-prop 13 289 1 &
|
||||||
xinput set-prop 13 297 1 &
|
xinput set-prop 13 297 1 &
|
||||||
# exec dbus-launch i3
|
redshift &
|
||||||
|
# exec dbus-launch i3
|
||||||
case $1 in
|
case $1 in
|
||||||
i3 ) exec dbus-launch i3;;
|
i3 ) exec dbus-launch i3;;
|
||||||
* ) exec $1;;
|
* ) exec $1;;
|
||||||
|
Loading…
Reference in New Issue
Block a user