diff --git a/awesome/.config/awesome/autorun.sh b/awesome/.config/awesome/autorun.sh index 657a4ac..41ed3fa 100755 --- a/awesome/.config/awesome/autorun.sh +++ b/awesome/.config/awesome/autorun.sh @@ -12,3 +12,4 @@ run ~/script/autoxrandr run setxkbmap -layout "fr,us" run keepassxc run aarchup +run redshift-gtk diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index 2c17ef9..f5a01e9 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -160,38 +160,6 @@ local netupinfo = lain.widget.net({ end }) ----redshift widget -local myredshift = wibox.widget{ - checked = false, - check_color = "#EB8F8F", - border_color = "#EB8F8F", - border_width = 1, - shape = gears.shape.square, - widget = wibox.widget.checkbox -} - -local myredshift_text = wibox.widget{ - align = "center", - widget = wibox.widget.textbox, -} - -local myredshift_stack = wibox.widget{ - myredshift, - myredshift_text, - layout = wibox.layout.stack -} - -lain.widget.contrib.redshift:attach( - myredshift, - function (active) - if active then - myredshift_text:set_markup(markup(beautiful.bg_normal, "R")) - else - myredshift_text:set_markup(markup(beautiful.fg_normal, "R")) - end - myredshift.checked = active - end -) local mpdicon = wibox.widget.imagebox(beautiful.mpd_icon) local mpd = lain.widget.mpd({