Skip to content

Commit

Permalink
Release for HamoniKR 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chaeya committed Apr 26, 2021
0 parents commit 1e49a16
Show file tree
Hide file tree
Showing 36 changed files with 1,232 additions and 0 deletions.
37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
![hamonikr-jin](https://img.shields.io/badge/hamonikr-jin-violet)

# hamonikr-conky

하모니카에서 제공하는 바탕화면의 모니터링 도구 Conky 설정을 돕는 도구.

* HamoniKR-ME (>= 1.4), Ubuntu (>= 18.04), LinuxMint(>=19) 지원
* 한글 인터페이스 지원
* upstream : https://github.com/zcot/conky-manager2
* binary : https://launchpad.net/~afelinczak/+archive/ubuntu/ppa?field.series_filter=focal

![conky](docs/img-1.png)

# Install

## HamoniKR 사용자의 경우
터미널을 열고(Ctrl+Alt+T) 아래 명령어를 입력하세요.

```
sudo apt update
sudo apt install -y hamonikr-conky
```

## Ubuntu, LinuxMint 등 다른 배포판 사용자의 경우
터미널을 열고(Ctrl+Alt+T) 아래 명령어를 입력하세요.

```
curl -sL https://pkg.hamonikr.org/add-hamonikr.apt | sudo -E bash -
sudo apt install -y hamonikr-conky
```


# Usage
* 프로그램 > hamonikr-conky

# 이슈 또는 버그
사용 중 문제를 발견하시면 root@hamonikr.org 또는 https://groups.google.com/forum/m/#!forum/hamonikr 에서 알려주세요.
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
hamonikr-conky (1.0.0) jin; urgency=medium

* Initial release.

-- HamoniKR <pkg@hamonikr.org> Mon, 26 Apr 2021 16:15:01 +0900
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
10
23 changes: 23 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Source: hamonikr-conky
Section: utils
Priority: optional
Maintainer: HamoniKR <pkg@hamonikr.org>
Build-Depends: debhelper (>= 9)
Standards-Version: 3.9.5

Package: hamonikr-conky
Architecture: all
Depends: libc6 (>= 2.4),
libgdk-pixbuf2.0-0 (>= 2.22.0),
libgee-0.8-2 (>= 0.8.3),
libglib2.0-0 (>= 2.37.3),
libgtk-3-0 (>= 3.16.2),
libjson-glib-1.0-0 (>= 0.13.2),
conky,
conky-std,
p7zip-full,
rsync,
imagemagick
Replaces: conky-manager, conky-manager-extra, conky-toggle
Description: conky tool for HamoniKR
다양한 Conky 테마를 선택할 수 있는 프로그램.
18 changes: 18 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://github.com/hamonikr/boot-select

Files: *
Copyright: 2019 HamoniKR <pkg@hamonikr.org>
License: GPL-3+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'
1 change: 1 addition & 0 deletions debian/install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
usr
20 changes: 20 additions & 0 deletions debian/postinst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/sh
set -e

case "$1" in
configure)
update-desktop-database /usr/share/applications
gtk-update-icon-cache
;;

abort-upgrade|abort-remove|abort-deconfigure)
update-desktop-database /usr/share/applications
gtk-update-icon-cache

;;

*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
4 changes: 4 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/make -f

%:
dh ${@}
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (native)
Binary file added docs/img-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added usr/bin/conky-manager
Binary file not shown.
58 changes: 58 additions & 0 deletions usr/bin/conkytoggle.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
#!/bin/bash
# Filename: conkytoggleflux.sh
# Purpose: toggle conky on/off from fluxbox menu
# Authors: Kerry and anticapitalista, secipolla for antiX
# Authors: modified for mx linux version 17 by dolphin oracle
# Latest change: Sun December 10, 2017.
################################################################################

main()
{
if pidof conky | grep [0-9] > /dev/null
then
killall conky
autostart_off
else
test=$(grep -q "conky -c" "$HOME"/.conky/conky-startup.sh && echo $?)
if [ "$test" = "0" ]; then
launch_conky
autostart_on
else
conky-manager &
fi
fi
}

launch_conky()
{

CONKY_TEMP=$(mktemp --tmpdir=${XDG_RUNTIME_DIR:-/tmp} conky-startup.sh.XXXXXXXXXXXX)

sed -e 's/^[[:space:]]*sleep.*/sleep 1s/' "$HOME"/.conky/conky-startup.sh > $CONKY_TEMP

sh $CONKY_TEMP

rm $CONKY_TEMP

}

autostart_off()
{

if [ -e "$HOME"/.config/autostart/conky.desktop ]; then
sed -i -r s/Hidden=.*/Hidden=true/ "$HOME"/.config/autostart/conky.desktop
fi

}

autostart_on()
{

if [ -e $HOME/.config/autostart/conky.desktop ]; then
sed -i -r s/Hidden=.*/Hidden=false/ $HOME/.config/autostart/conky.desktop
fi

}

main
exit 0
22 changes: 22 additions & 0 deletions usr/share/appdata/conky-manager.appdata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Tony George <teejeetech@gmail.com> -->
<application>
<id type="desktop">conky-manager.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>
<name>Conky Manager</name>
<summary>Theme manager for Conky widgets</summary>
<description>
<p>
Conky Manager is a GTK front-end for managing Conky configuration files. It provides options to start, stop, browse and edit Conky widgets installed on the system.
</p>
</description>
<screenshots>
<screenshot type="default">http://3.bp.blogspot.com/-yMD0kUDgILw/U5Xadq66u8I/AAAAAAAABXs/BVgaUw4jgCU/s1600/main_window.png</screenshot>
<screenshot>http://2.bp.blogspot.com/-_Yn1LATJgkQ/U7LCluIpAUI/AAAAAAAABYk/khKkKuNeZLg/s1600/Edit+Theme.png</screenshot>
<screenshot>http://3.bp.blogspot.com/-4TJr5oeGy1s/U7LCl32j_vI/AAAAAAAABYo/wLjS74jXQWE/s1600/Edit+Widget.png</screenshot>
</screenshots>
<url type="homepage">http://www.teejeetech.in/p/conky-manager.html</url>
<updatecontact>teejeetech_at_gmail.com</updatecontact>
<project_group></project_group>
</application>
14 changes: 14 additions & 0 deletions usr/share/applications/conky-manager.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[Desktop Entry]
Name=Conky Manager
Name[ko]=Conky 설정도구
MimeType=
Exec=conky-manager
Type=Application
GenericName=Conky Theme Manager
Terminal=false
Icon=conky-manager
Caption=Conky Theme Manager
X-KDE-StartupNotify=false
Categories=Utility
InitialPreference=9
Keywords=conky;
13 changes: 13 additions & 0 deletions usr/share/applications/conky-toggle.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Conky Toggle
Name[ko]=Conky 온/오프
Comment=Desktop system monitor on/off
Comment[ko]=바탕화면의 모니터링 기능을 on/off
Icon=conky-toggle
Categories=Utility;
Exec=conkytoggle.sh
Terminal=false
NoDisplay=False
Keywords=conky;toggle;모니터링;
Binary file added usr/share/conky-manager/images/conky-manager.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added usr/share/conky-manager/images/conky-manager.xcf
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 1e49a16

Please sign in to comment.