]> git.rmz.io Git - dotfiles.git/commitdiff
awesome: remove pomodoro
authorSamir Benmendil <me@rmz.io>
Sun, 23 Oct 2016 23:38:05 +0000 (00:38 +0100)
committerSamir Benmendil <me@rmz.io>
Sun, 23 Oct 2016 23:38:40 +0000 (00:38 +0100)
.gitmodules
awesome/topbar.lua
awesome/widgets/pomodoro [deleted submodule]
awesome/widgets/pomodoro.lua [deleted file]

index 80b041d80d0a68529c0676171812f655e9807b60..cbefaf3b4152832024157aa22fb4eaec664476be 100644 (file)
@@ -7,10 +7,6 @@
 [submodule "awesome/widgets/net_widgets"]
        path = awesome/widgets/net_widgets
        url = git@github.com:Ram-Z/net_widgets.git
 [submodule "awesome/widgets/net_widgets"]
        path = awesome/widgets/net_widgets
        url = git@github.com:Ram-Z/net_widgets.git
-[submodule "awesome/widgets/pomodoro"]
-       path = awesome/widgets/pomodoro
-       url = git@github.com:/Ram-Z/awesome-pomodoro
-       branch = module-path
 [submodule "zsh/lib/zsh-syntax-highlighting"]
        path = zsh/lib/zsh-syntax-highlighting
        url = https://github.com/zsh-users/zsh-syntax-highlighting
 [submodule "zsh/lib/zsh-syntax-highlighting"]
        path = zsh/lib/zsh-syntax-highlighting
        url = https://github.com/zsh-users/zsh-syntax-highlighting
index 91b04faccb6c399ca708b7de9006e8aac73bef0b..7986af062689ae0f357d1f6e3a0e298e2fbc2984 100644 (file)
@@ -89,8 +89,6 @@ for s = 1, screen.count() do
     local right_layout = wibox.layout.fixed.horizontal()
     if s == 1 then right_layout:add(wibox.widget.systray()) end
     right_layout:add(separator)
     local right_layout = wibox.layout.fixed.horizontal()
     if s == 1 then right_layout:add(wibox.widget.systray()) end
     right_layout:add(separator)
-    right_layout:add(require("widgets/pomodoro"))
-    right_layout:add(separator)
     right_layout:add(require("widgets/awesompd"))
     right_layout:add(require("widgets/volume_widget"))
     if utils.host == "chronos" then
     right_layout:add(require("widgets/awesompd"))
     right_layout:add(require("widgets/volume_widget"))
     if utils.host == "chronos" then
diff --git a/awesome/widgets/pomodoro b/awesome/widgets/pomodoro
deleted file mode 160000 (submodule)
index a861385..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit a861385355d0ac10091eda49757fc9eda05480a3
diff --git a/awesome/widgets/pomodoro.lua b/awesome/widgets/pomodoro.lua
deleted file mode 100644 (file)
index 3c7af63..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-local pomodoro = require("widgets/pomodoro/init")
-local wibox = require("wibox")
-
--- durations in seconds
-pomodoro.short_pause_duration = 5 * 60
-pomodoro.long_pause_duration = 30 * 60
-pomodoro.work_duration = 25 * 60
-
--- format string
-pomodoro.format = function (t) return " <b>"..t.."</b>" end
-
-pomodoro.init()
-
-pombox = wibox.layout.fixed.horizontal()
-pombox:add(pomodoro.icon_widget)
-pombox:add(pomodoro.widget)
-
-globalkeys = awful.util.table.join(globalkeys,
-    awful.key({ modkey, "Shift" }, "p", function() pomodoro:start() end)
-)
-
-return pombox