diff --git a/awesome/.config/awesome/autorun.sh b/awesome/.config/awesome/autorun.sh index fb6ece8..2997d53 100755 --- a/awesome/.config/awesome/autorun.sh +++ b/awesome/.config/awesome/autorun.sh @@ -9,5 +9,4 @@ function run { run /usr/lib/polkit-kde-authentication-agent-1 run ~/script/autoxrandr -run redshift run setxkbmap -layout "fr,us" diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index 31a5e3c..4d70f24 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -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, diff --git a/wm/.xinitrc b/wm/.xinitrc index 16e623f..82d0f8d 100644 --- a/wm/.xinitrc +++ b/wm/.xinitrc @@ -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;;