clipdate
This commit is contained in:
7
rc.lua
7
rc.lua
@@ -20,6 +20,10 @@ require("debian.menu")
|
||||
local battery_widget = require("battery-widget")
|
||||
local battery = battery_widget({adapter = "BAT0",widget_text="${color_on}🔋${color_off}", limits={{10,"red"},{20,"orange"},{100,"white"}} })
|
||||
|
||||
-- clipdate
|
||||
local clipdate_widget = require("clipdate")
|
||||
local clipdate = clipdate_widget()
|
||||
|
||||
-- {{{ Error handling
|
||||
-- Check if awesome encountered an error during startup and fell back to
|
||||
-- another config (This code will only ever execute for the fallback config)
|
||||
@@ -52,7 +56,7 @@ beautiful.init(awful.util.getdir("config") .. "themes/default/theme.lua")
|
||||
|
||||
-- This is used later as the default terminal and editor to run.
|
||||
--terminal = "x-terminal-emulator"
|
||||
terminal = "lxterminal"
|
||||
terminal = "terminology"
|
||||
editor = os.getenv("EDITOR") or "editor"
|
||||
editor_cmd = terminal .. " -e " .. editor
|
||||
|
||||
@@ -243,6 +247,7 @@ awful.screen.connect_for_each_screen(function(s)
|
||||
{ -- Right widgets
|
||||
layout = wibox.layout.fixed.horizontal,
|
||||
--mykeyboardlayout,
|
||||
clipdate.widget,
|
||||
wibox.widget.systray(),
|
||||
battery.widget,
|
||||
mytextclock --[[, XXX11
|
||||
|
||||
Reference in New Issue
Block a user