Skip to content

Commit

Permalink
Display second in textclock
Browse files Browse the repository at this point in the history
  • Loading branch information
wizawu committed Sep 14, 2024
1 parent f99f1cb commit 6faa87f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dotfiles/xinitrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ export LC_CTYPE="zh_CN.UTF-8"
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"

# WPS generates files here
xdg-user-dirs-update --set DOCUMENTS ~/docs
xdg-user-dirs-update --set DESKTOP ~
xdg-user-dirs-update --set DOCUMENTS ~
xdg-user-dirs-update --set DOWNLOAD ~
xdg-user-dirs-update --set MUSIC ~
xdg-user-dirs-update --set PICTURES ~
Expand Down
2 changes: 1 addition & 1 deletion etc/xdg/awesome/rc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ mykeyboardlayout = awful.widget.keyboardlayout()

-- {{{ Wibar
-- Create a textclock widget
mytextclock = wibox.widget.textclock(" %Y-%m-%d %H:%M %a ")
mytextclock = wibox.widget.textclock(" %Y-%m-%d %H:%M:%S %a ", 1)

-- Create a wibox for each screen and add it
local taglist_buttons = awful.util.table.join(
Expand Down

0 comments on commit 6faa87f

Please sign in to comment.