aboutsummaryrefslogtreecommitdiff
path: root/.config/awesome/lain/widgets/calendar.lua
diff options
context:
space:
mode:
authorxero <x@xero.nu>2014-07-14 13:23:05 -0400
committerxero <x@xero.nu>2014-07-14 13:23:05 -0400
commit56560fd597f94dfe6fe5fa79648398ab29d05775 (patch)
tree7e77d23be98b2df8ef847f49ee645085356305be /.config/awesome/lain/widgets/calendar.lua
parent1434c859bcf94a0bbee88e72c8a01849d0356293 (diff)
downloaddotfiles_ascii-56560fd597f94dfe6fe5fa79648398ab29d05775.tar.xz
dotfiles_ascii-56560fd597f94dfe6fe5fa79648398ab29d05775.zip
updated repo to manage dotfiles via gnu stow, the symlink farm manager. happy birthday commit! :birthday: :sparkles:
Diffstat (limited to '')
-rw-r--r--awesome/.config/awesome/lain/widgets/calendar.lua (renamed from .config/awesome/lain/widgets/calendar.lua)6
1 files changed, 3 insertions, 3 deletions
diff --git a/.config/awesome/lain/widgets/calendar.lua b/awesome/.config/awesome/lain/widgets/calendar.lua
index b227c8e..c9e265a 100644
--- a/.config/awesome/lain/widgets/calendar.lua
+++ b/awesome/.config/awesome/lain/widgets/calendar.lua
@@ -37,13 +37,13 @@ function calendar:show(t_out, inc_offset)
local tims = t_out or 0
local f, c_text
local today = tonumber(os.date('%d'))
- local init_t = '/usr/bin/cal -h | sed -r -e "s/(^| )( '
+ local init_t = '/usr/bin/cal | sed -r -e "s/(^| )( '
if offs == 0
then -- current month showing, today highlighted
if today >= 10
then
- init_t = '/usr/bin/cal -h | sed -r -e "s/(^| )('
+ init_t = '/usr/bin/cal | sed -r -e "s/(^| )('
end
calendar.offset = 0
@@ -80,7 +80,7 @@ function calendar:show(t_out, inc_offset)
calendar.notify_icon = nil
- f = io.popen('/usr/bin/cal -h ' .. month .. ' ' .. year)
+ f = io.popen('/usr/bin/cal ' .. month .. ' ' .. year)
end
c_text = "<tt><span font='" .. calendar.font .. " "