├── .bzrignore ├── .gitignore ├── AUTHORS ├── COPYING ├── INSTALL ├── README ├── THANKS ├── TODO ├── build-deb.sh ├── build-install.sh ├── build-installer.sh ├── build-release.sh ├── build-source.sh ├── conky-manager.geany ├── conky-manager.pot ├── debian ├── changelog ├── compat ├── control ├── copyright ├── docs ├── rules └── source │ └── format ├── git-add-origin.sh ├── git-push-reinit.sh ├── git-push.sh ├── git-sync.sh ├── icons ├── conky-manager-14.png ├── conky-manager-192.png └── conky-manager-64.png ├── installer └── install.sh ├── list-todo.sh ├── makefile ├── man ├── ChangeLog ├── Makefile.am ├── Makefile.in └── hello.1 ├── po ├── conky-manager-cs.po └── conky-manager-hr.po ├── push.sh ├── src ├── AboutWindow.vala ├── DonationWindow.vala ├── EditThemeWindow.vala ├── EditWidgetWindow.vala ├── GeneratePreviewWindow.vala ├── Main.vala ├── MainWindow.vala ├── SettingsWindow.vala ├── Utility.vala ├── XidHelper.vala ├── conky-manager-uninstall ├── conky-manager.appdata.xml ├── conky-manager.desktop ├── makefile └── share │ ├── conky-manager │ ├── images │ │ ├── conky-manager.png │ │ ├── conky-manager.xcf │ │ ├── conky-manager14x14.png │ │ ├── conky-manager64x64.png │ │ ├── donate.svg │ │ ├── help-info.svg │ │ ├── image-generate.xcf │ │ ├── image-generate24x24.png │ │ ├── item-gray.png │ │ ├── item-green.png │ │ ├── view-list.svg │ │ └── view-preview.svg │ └── themepacks │ │ └── default-themes-2.1.cmtp.7z │ └── pixmaps │ └── conky-manager.png ├── upload.sh └── version-history /.bzrignore: -------------------------------------------------------------------------------- 1 | src/conky-manager 2 | installer/amd64 3 | installer/i386 4 | installer/*.deb 5 | installer/*.run 6 | designs/ 7 | .git/ 8 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | src/conky-manager 2 | installer/amd64 3 | installer/i386 4 | installer/*.deb 5 | installer/*.run 6 | designs/ 7 | .bzr/ 8 | -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- 1 | 2 | Copyright (C) 2013 Tony George (teejee2008@gmail.com) 3 | 4 | -------------------------------------------------------------------------------- /INSTALL: -------------------------------------------------------------------------------- 1 | Installation Instructions 2 | ************************* 3 | 4 | Copyright (C) 1994-1996, 1999-2002, 2004-2012 Free Software Foundation, 5 | Inc. 6 | 7 | Copying and distribution of this file, with or without modification, 8 | are permitted in any medium without royalty provided the copyright 9 | notice and this notice are preserved. This file is offered as-is, 10 | without warranty of any kind. 11 | 12 | Basic Installation 13 | ================== 14 | 15 | Briefly, the shell commands `./configure; make; make install' should 16 | configure, build, and install this package. The following 17 | more-detailed instructions are generic; see the `README' file for 18 | instructions specific to this package. Some packages provide this 19 | `INSTALL' file but do not implement all of the features documented 20 | below. The lack of an optional feature in a given package is not 21 | necessarily a bug. More recommendations for GNU packages can be found 22 | in *note Makefile Conventions: (standards)Makefile Conventions. 23 | 24 | The `configure' shell script attempts to guess correct values for 25 | various system-dependent variables used during compilation. It uses 26 | those values to create a `Makefile' in each directory of the package. 27 | It may also create one or more `.h' files containing system-dependent 28 | definitions. Finally, it creates a shell script `config.status' that 29 | you can run in the future to recreate the current configuration, and a 30 | file `config.log' containing compiler output (useful mainly for 31 | debugging `configure'). 32 | 33 | It can also use an optional file (typically called `config.cache' 34 | and enabled with `--cache-file=config.cache' or simply `-C') that saves 35 | the results of its tests to speed up reconfiguring. Caching is 36 | disabled by default to prevent problems with accidental use of stale 37 | cache files. 38 | 39 | If you need to do unusual things to compile the package, please try 40 | to figure out how `configure' could check whether to do them, and mail 41 | diffs or instructions to the address given in the `README' so they can 42 | be considered for the next release. If you are using the cache, and at 43 | some point `config.cache' contains results you don't want to keep, you 44 | may remove or edit it. 45 | 46 | The file `configure.ac' (or `configure.in') is used to create 47 | `configure' by a program called `autoconf'. You need `configure.ac' if 48 | you want to change it or regenerate `configure' using a newer version 49 | of `autoconf'. 50 | 51 | The simplest way to compile this package is: 52 | 53 | 1. `cd' to the directory containing the package's source code and type 54 | `./configure' to configure the package for your system. 55 | 56 | Running `configure' might take a while. While running, it prints 57 | some messages telling which features it is checking for. 58 | 59 | 2. Type `make' to compile the package. 60 | 61 | 3. Optionally, type `make check' to run any self-tests that come with 62 | the package, generally using the just-built uninstalled binaries. 63 | 64 | 4. Type `make install' to install the programs and any data files and 65 | documentation. When installing into a prefix owned by root, it is 66 | recommended that the package be configured and built as a regular 67 | user, and only the `make install' phase executed with root 68 | privileges. 69 | 70 | 5. Optionally, type `make installcheck' to repeat any self-tests, but 71 | this time using the binaries in their final installed location. 72 | This target does not install anything. Running this target as a 73 | regular user, particularly if the prior `make install' required 74 | root privileges, verifies that the installation completed 75 | correctly. 76 | 77 | 6. You can remove the program binaries and object files from the 78 | source code directory by typing `make clean'. To also remove the 79 | files that `configure' created (so you can compile the package for 80 | a different kind of computer), type `make distclean'. There is 81 | also a `make maintainer-clean' target, but that is intended mainly 82 | for the package's developers. If you use it, you may have to get 83 | all sorts of other programs in order to regenerate files that came 84 | with the distribution. 85 | 86 | 7. Often, you can also type `make uninstall' to remove the installed 87 | files again. In practice, not all packages have tested that 88 | uninstallation works correctly, even though it is required by the 89 | GNU Coding Standards. 90 | 91 | 8. Some packages, particularly those that use Automake, provide `make 92 | distcheck', which can by used by developers to test that all other 93 | targets like `make install' and `make uninstall' work correctly. 94 | This target is generally not run by end users. 95 | 96 | Compilers and Options 97 | ===================== 98 | 99 | Some systems require unusual options for compilation or linking that 100 | the `configure' script does not know about. Run `./configure --help' 101 | for details on some of the pertinent environment variables. 102 | 103 | You can give `configure' initial values for configuration parameters 104 | by setting variables in the command line or in the environment. Here 105 | is an example: 106 | 107 | ./configure CC=c99 CFLAGS=-g LIBS=-lposix 108 | 109 | *Note Defining Variables::, for more details. 110 | 111 | Compiling For Multiple Architectures 112 | ==================================== 113 | 114 | You can compile the package for more than one kind of computer at the 115 | same time, by placing the object files for each architecture in their 116 | own directory. To do this, you can use GNU `make'. `cd' to the 117 | directory where you want the object files and executables to go and run 118 | the `configure' script. `configure' automatically checks for the 119 | source code in the directory that `configure' is in and in `..'. This 120 | is known as a "VPATH" build. 121 | 122 | With a non-GNU `make', it is safer to compile the package for one 123 | architecture at a time in the source code directory. After you have 124 | installed the package for one architecture, use `make distclean' before 125 | reconfiguring for another architecture. 126 | 127 | On MacOS X 10.5 and later systems, you can create libraries and 128 | executables that work on multiple system types--known as "fat" or 129 | "universal" binaries--by specifying multiple `-arch' options to the 130 | compiler but only a single `-arch' option to the preprocessor. Like 131 | this: 132 | 133 | ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ 134 | CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ 135 | CPP="gcc -E" CXXCPP="g++ -E" 136 | 137 | This is not guaranteed to produce working output in all cases, you 138 | may have to build one architecture at a time and combine the results 139 | using the `lipo' tool if you have problems. 140 | 141 | Installation Names 142 | ================== 143 | 144 | By default, `make install' installs the package's commands under 145 | `/usr/local/bin', include files under `/usr/local/include', etc. You 146 | can specify an installation prefix other than `/usr/local' by giving 147 | `configure' the option `--prefix=PREFIX', where PREFIX must be an 148 | absolute file name. 149 | 150 | You can specify separate installation prefixes for 151 | architecture-specific files and architecture-independent files. If you 152 | pass the option `--exec-prefix=PREFIX' to `configure', the package uses 153 | PREFIX as the prefix for installing programs and libraries. 154 | Documentation and other data files still use the regular prefix. 155 | 156 | In addition, if you use an unusual directory layout you can give 157 | options like `--bindir=DIR' to specify different values for particular 158 | kinds of files. Run `configure --help' for a list of the directories 159 | you can set and what kinds of files go in them. In general, the 160 | default for these options is expressed in terms of `${prefix}', so that 161 | specifying just `--prefix' will affect all of the other directory 162 | specifications that were not explicitly provided. 163 | 164 | The most portable way to affect installation locations is to pass the 165 | correct locations to `configure'; however, many packages provide one or 166 | both of the following shortcuts of passing variable assignments to the 167 | `make install' command line to change installation locations without 168 | having to reconfigure or recompile. 169 | 170 | The first method involves providing an override variable for each 171 | affected directory. For example, `make install 172 | prefix=/alternate/directory' will choose an alternate location for all 173 | directory configuration variables that were expressed in terms of 174 | `${prefix}'. Any directories that were specified during `configure', 175 | but not in terms of `${prefix}', must each be overridden at install 176 | time for the entire installation to be relocated. The approach of 177 | makefile variable overrides for each directory variable is required by 178 | the GNU Coding Standards, and ideally causes no recompilation. 179 | However, some platforms have known limitations with the semantics of 180 | shared libraries that end up requiring recompilation when using this 181 | method, particularly noticeable in packages that use GNU Libtool. 182 | 183 | The second method involves providing the `DESTDIR' variable. For 184 | example, `make install DESTDIR=/alternate/directory' will prepend 185 | `/alternate/directory' before all installation names. The approach of 186 | `DESTDIR' overrides is not required by the GNU Coding Standards, and 187 | does not work on platforms that have drive letters. On the other hand, 188 | it does better at avoiding recompilation issues, and works well even 189 | when some directory options were not specified in terms of `${prefix}' 190 | at `configure' time. 191 | 192 | Optional Features 193 | ================= 194 | 195 | If the package supports it, you can cause programs to be installed 196 | with an extra prefix or suffix on their names by giving `configure' the 197 | option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. 198 | 199 | Some packages pay attention to `--enable-FEATURE' options to 200 | `configure', where FEATURE indicates an optional part of the package. 201 | They may also pay attention to `--with-PACKAGE' options, where PACKAGE 202 | is something like `gnu-as' or `x' (for the X Window System). The 203 | `README' should mention any `--enable-' and `--with-' options that the 204 | package recognizes. 205 | 206 | For packages that use the X Window System, `configure' can usually 207 | find the X include and library files automatically, but if it doesn't, 208 | you can use the `configure' options `--x-includes=DIR' and 209 | `--x-libraries=DIR' to specify their locations. 210 | 211 | Some packages offer the ability to configure how verbose the 212 | execution of `make' will be. For these packages, running `./configure 213 | --enable-silent-rules' sets the default to minimal output, which can be 214 | overridden with `make V=1'; while running `./configure 215 | --disable-silent-rules' sets the default to verbose, which can be 216 | overridden with `make V=0'. 217 | 218 | Particular systems 219 | ================== 220 | 221 | On HP-UX, the default C compiler is not ANSI C compatible. If GNU 222 | CC is not installed, it is recommended to use the following options in 223 | order to use an ANSI C compiler: 224 | 225 | ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" 226 | 227 | and if that doesn't work, install pre-built binaries of GCC for HP-UX. 228 | 229 | HP-UX `make' updates targets which have the same time stamps as 230 | their prerequisites, which makes it generally unusable when shipped 231 | generated files such as `configure' are involved. Use GNU `make' 232 | instead. 233 | 234 | On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot 235 | parse its `' header file. The option `-nodtk' can be used as 236 | a workaround. If GNU CC is not installed, it is therefore recommended 237 | to try 238 | 239 | ./configure CC="cc" 240 | 241 | and if that doesn't work, try 242 | 243 | ./configure CC="cc -nodtk" 244 | 245 | On Solaris, don't put `/usr/ucb' early in your `PATH'. This 246 | directory contains several dysfunctional programs; working variants of 247 | these programs are available in `/usr/bin'. So, if you need `/usr/ucb' 248 | in your `PATH', put it _after_ `/usr/bin'. 249 | 250 | On Haiku, software installed for all users goes in `/boot/common', 251 | not `/usr/local'. It is recommended to use the following options: 252 | 253 | ./configure --prefix=/boot/common 254 | 255 | Specifying the System Type 256 | ========================== 257 | 258 | There may be some features `configure' cannot figure out 259 | automatically, but needs to determine by the type of machine the package 260 | will run on. Usually, assuming the package is built to be run on the 261 | _same_ architectures, `configure' can figure that out, but if it prints 262 | a message saying it cannot guess the machine type, give it the 263 | `--build=TYPE' option. TYPE can either be a short name for the system 264 | type, such as `sun4', or a canonical name which has the form: 265 | 266 | CPU-COMPANY-SYSTEM 267 | 268 | where SYSTEM can have one of these forms: 269 | 270 | OS 271 | KERNEL-OS 272 | 273 | See the file `config.sub' for the possible values of each field. If 274 | `config.sub' isn't included in this package, then this package doesn't 275 | need to know the machine type. 276 | 277 | If you are _building_ compiler tools for cross-compiling, you should 278 | use the option `--target=TYPE' to select the type of system they will 279 | produce code for. 280 | 281 | If you want to _use_ a cross compiler, that generates code for a 282 | platform different from the build platform, you should specify the 283 | "host" platform (i.e., that on which the generated programs will 284 | eventually be run) with `--host=TYPE'. 285 | 286 | Sharing Defaults 287 | ================ 288 | 289 | If you want to set default values for `configure' scripts to share, 290 | you can create a site shell script called `config.site' that gives 291 | default values for variables like `CC', `cache_file', and `prefix'. 292 | `configure' looks for `PREFIX/share/config.site' if it exists, then 293 | `PREFIX/etc/config.site' if it exists. Or, you can set the 294 | `CONFIG_SITE' environment variable to the location of the site script. 295 | A warning: not all `configure' scripts look for a site script. 296 | 297 | Defining Variables 298 | ================== 299 | 300 | Variables not defined in a site shell script can be set in the 301 | environment passed to `configure'. However, some packages may run 302 | configure again during the build, and the customized values of these 303 | variables may be lost. In order to avoid this problem, you should set 304 | them in the `configure' command line, using `VAR=value'. For example: 305 | 306 | ./configure CC=/usr/local2/bin/gcc 307 | 308 | causes the specified `gcc' to be used as the C compiler (unless it is 309 | overridden in the site shell script). 310 | 311 | Unfortunately, this technique does not work for `CONFIG_SHELL' due to 312 | an Autoconf limitation. Until the limitation is lifted, you can use 313 | this workaround: 314 | 315 | CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash 316 | 317 | `configure' Invocation 318 | ====================== 319 | 320 | `configure' recognizes the following options to control how it 321 | operates. 322 | 323 | `--help' 324 | `-h' 325 | Print a summary of all of the options to `configure', and exit. 326 | 327 | `--help=short' 328 | `--help=recursive' 329 | Print a summary of the options unique to this package's 330 | `configure', and exit. The `short' variant lists options used 331 | only in the top level, while the `recursive' variant lists options 332 | also present in any nested packages. 333 | 334 | `--version' 335 | `-V' 336 | Print the version of Autoconf used to generate the `configure' 337 | script, and exit. 338 | 339 | `--cache-file=FILE' 340 | Enable the cache: use and save the results of the tests in FILE, 341 | traditionally `config.cache'. FILE defaults to `/dev/null' to 342 | disable caching. 343 | 344 | `--config-cache' 345 | `-C' 346 | Alias for `--cache-file=config.cache'. 347 | 348 | `--quiet' 349 | `--silent' 350 | `-q' 351 | Do not print messages saying which checks are being made. To 352 | suppress all normal output, redirect it to `/dev/null' (any error 353 | messages will still be shown). 354 | 355 | `--srcdir=DIR' 356 | Look for the package's source code in directory DIR. Usually 357 | `configure' can determine that directory automatically. 358 | 359 | `--prefix=DIR' 360 | Use DIR as the installation prefix. *note Installation Names:: 361 | for more details, including other options available for fine-tuning 362 | the installation locations. 363 | 364 | `--no-create' 365 | `-n' 366 | Run the configure checks, but stop before creating any output 367 | files. 368 | 369 | `configure' also accepts some other, not widely useful, options. Run 370 | `configure --help' for more details. 371 | -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | 2 | Conky Manager 3 | ======================= 4 | 5 | Simple tool for managing Conky configs. 6 | 7 | 8 | -------------------------------------------------------------------------------- /THANKS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teejee2008/conky-manager/ea33e638aef99d57ec172370ba43fa833b4d62db/THANKS -------------------------------------------------------------------------------- /TODO: -------------------------------------------------------------------------------- 1 | 2 | * Add options to open temp and output directories. 3 | - Add options to right-click menu 4 | - Add options to toolbar? 5 | 6 | * Customize the right-click menu based on APP_STATE 7 | -------------------------------------------------------------------------------- /build-deb.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | backup=`pwd` 4 | DIR="$( cd "$( dirname "$0" )" && pwd )" 5 | cd "$DIR" 6 | 7 | rm -rf ../builds 8 | 9 | bzr builddeb --native --build-dir ../builds/temp --result-dir ../builds 10 | 11 | #check for errors 12 | if [ $? -ne 0 ]; then 13 | cd "$backup" 14 | echo "Failed" 15 | exit 1 16 | fi 17 | 18 | ls -l ../builds 19 | 20 | cd "$backup" 21 | -------------------------------------------------------------------------------- /build-install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | backup=`pwd` 4 | DIR="$( cd "$( dirname "$0" )" && pwd )" 5 | cd "$DIR" 6 | 7 | sh build-deb.sh 8 | 9 | #check for errors 10 | if [ $? -ne 0 ]; then 11 | cd "$backup" 12 | echo "Failed" 13 | exit 1 14 | fi 15 | 16 | sudo gdebi --non-interactive ../builds/conky-manager*.deb 17 | 18 | #check for errors 19 | if [ $? -ne 0 ]; then 20 | cd "$backup" 21 | echo "Failed" 22 | exit 1 23 | fi 24 | 25 | cd "$backup" 26 | -------------------------------------------------------------------------------- /build-installer.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | app_name='conky-manager' 4 | app_fullname='Conky Manager' 5 | tgz="../../pbuilder/" 6 | dsc="../../builds/${app_name}*.dsc" 7 | libs="../../libs" 8 | 9 | backup=`pwd` 10 | DIR="$( cd "$( dirname "$0" )" && pwd )" 11 | cd $DIR 12 | 13 | sh build-source.sh 14 | cd installer 15 | 16 | echo "Building installer..." 17 | 18 | chmod u+x ./install.sh 19 | 20 | # build installer ------------------------------------- 21 | 22 | for arch in i386 amd64 23 | do 24 | 25 | rm -rf ${arch} 26 | mkdir -p ${arch} 27 | 28 | sudo pbuilder --build --buildresult ${arch} --basetgz "${tgz}base-${arch}.tgz" ${dsc} 29 | 30 | #check for errors 31 | if [ $? -ne 0 ]; then 32 | cd "$backup" 33 | echo "Failed" 34 | exit 1 35 | fi 36 | 37 | dpkg-deb -x ${arch}/${app_name}*.deb ${arch}/extracted 38 | 39 | cp -p --no-preserve=ownership -t ${arch}/extracted ./install.sh 40 | cp -p --no-preserve=ownership -t ${arch}/extracted/usr/share/${app_name}/libs ${libs}/${arch}/libgee.so.2 41 | cp -p --no-preserve=ownership -t ${arch}/extracted/usr/share/${app_name}/libs ${libs}/${arch}/libjson-glib-1.0.so.0 42 | chmod --recursive 0755 ${arch}/extracted/usr/share/${app_name} 43 | 44 | makeself ${arch}/extracted ./${app_name}-latest-${arch}.run "${app_fullname} (${arch})" ./install.sh 45 | 46 | #check for errors 47 | if [ $? -ne 0 ]; then 48 | cd "$backup" 49 | echo "Failed" 50 | exit 1 51 | fi 52 | 53 | cp -p --no-preserve=ownership ./${arch}/${app_name}*.deb ./${app_name}-latest-${arch}.deb 54 | 55 | done 56 | 57 | cd "$backup" 58 | -------------------------------------------------------------------------------- /build-release.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | backup=`pwd` 4 | DIR="$( cd "$( dirname "$0" )" && pwd )" 5 | cd "$DIR" 6 | 7 | sh build-installer.sh 8 | #check for errors 9 | if [ $? -ne 0 ]; then 10 | cd "$backup" 11 | echo "Failed" 12 | exit 1 13 | fi 14 | 15 | cd installer 16 | for arch in i386 amd64 17 | do 18 | cp -p --no-preserve=ownership -t /home/teejee/Dropbox/Public/linux ./conky-manager-latest-${arch}.run 19 | cp -p --no-preserve=ownership -t /home/teejee/Dropbox/Public/linux ./conky-manager-latest-${arch}.deb 20 | done 21 | cd .. 22 | 23 | sh push.sh 24 | #check for errors 25 | if [ $? -ne 0 ]; then 26 | cd "$backup" 27 | echo "Failed" 28 | exit 1 29 | fi 30 | 31 | cd "$backup" 32 | -------------------------------------------------------------------------------- /build-source.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | backup=`pwd` 4 | DIR="$( cd "$( dirname "$0" )" && pwd )" 5 | cd "$DIR" 6 | 7 | #check for errors 8 | if [ $? -ne 0 ]; then 9 | cd "$backup" 10 | echo "Failed" 11 | exit 1 12 | fi 13 | 14 | rm -rf ../builds 15 | 16 | bzr builddeb --source --native --build-dir ../builds/temp --result-dir ../builds 17 | 18 | #check for errors 19 | if [ $? -ne 0 ]; then 20 | cd "$backup" 21 | echo "Failed" 22 | exit 1 23 | fi 24 | 25 | ls -l ../builds 26 | 27 | cd "$backup" 28 | -------------------------------------------------------------------------------- /conky-manager.geany: -------------------------------------------------------------------------------- 1 | [file_prefs] 2 | final_new_line=true 3 | ensure_convert_new_lines=false 4 | strip_trailing_spaces=false 5 | replace_tabs=false 6 | 7 | [indentation] 8 | indent_width=4 9 | indent_type=1 10 | indent_hard_tab_width=8 11 | detect_indent=false 12 | detect_indent_width=false 13 | indent_mode=2 14 | 15 | [project] 16 | name=conky-manager 17 | base_path=/home/teejee/projects/linux/conky-manager/ 18 | description= 19 | file_patterns= 20 | 21 | [long line marker] 22 | long_line_behaviour=1 23 | long_line_column=72 24 | 25 | [files] 26 | current_page=8 27 | FILE_NAME_0=30;Vala;0;EUTF-8;1;1;1;%2Fhome%2Fteejee%2Fprojects%2Flinux%2Fconky-manager%2Fsrc%2FAboutWindow.vala;0;4 28 | FILE_NAME_1=33;Vala;0;EUTF-8;1;1;1;%2Fhome%2Fteejee%2Fprojects%2Flinux%2Fconky-manager%2Fsrc%2FDonationWindow.vala;0;4 29 | FILE_NAME_2=34;Vala;0;EUTF-8;1;1;1;%2Fhome%2Fteejee%2Fprojects%2Flinux%2Fconky-manager%2Fsrc%2FEditThemeWindow.vala;0;4 30 | FILE_NAME_3=35;Vala;0;EUTF-8;1;1;1;%2Fhome%2Fteejee%2Fprojects%2Flinux%2Fconky-manager%2Fsrc%2FEditWidgetWindow.vala;0;4 31 | FILE_NAME_4=2589;Vala;0;EUTF-8;1;1;1;%2Fhome%2Fteejee%2Fprojects%2Flinux%2Fconky-manager%2Fsrc%2FGeneratePreviewWindow.vala;0;4 32 | FILE_NAME_5=21828;Vala;0;EUTF-8;1;1;1;%2Fhome%2Fteejee%2Fprojects%2Flinux%2Fconky-manager%2Fsrc%2FMain.vala;0;4 33 | FILE_NAME_6=29;Vala;0;EUTF-8;1;1;1;%2Fhome%2Fteejee%2Fprojects%2Flinux%2Fconky-manager%2Fsrc%2FMainWindow.vala;0;4 34 | FILE_NAME_7=29;Vala;0;EUTF-8;1;1;1;%2Fhome%2Fteejee%2Fprojects%2Flinux%2Fconky-manager%2Fsrc%2FSettingsWindow.vala;0;4 35 | FILE_NAME_8=10722;Vala;0;EUTF-8;1;1;1;%2Fhome%2Fteejee%2Fprojects%2Flinux%2Fconky-manager%2Fsrc%2FUtility.vala;0;4 36 | FILE_NAME_9=1744;Make;0;EUTF-8;1;1;1;%2Fhome%2Fteejee%2Fprojects%2Flinux%2Fconky-manager%2Fsrc%2Fmakefile;0;4 37 | FILE_NAME_10=167;Conf;0;EUTF-8;1;1;1;%2Fhome%2Fteejee%2Fprojects%2Flinux%2Fconky-manager%2Fdebian%2Fcontrol;0;4 38 | FILE_NAME_11=139;None;0;EUTF-8;1;1;1;%2Fhome%2Fteejee%2Fprojects%2Flinux%2Fconky-manager%2Fdebian%2Fchangelog;0;4 39 | 40 | [VTE] 41 | last_dir=/home/teejee 42 | 43 | [build-menu] 44 | NF_02_LB=Make _Object 45 | NF_02_CM=make %e.o 46 | NF_02_WD= 47 | NF_00_LB=_Make 48 | NF_00_CM=make 49 | NF_00_WD= 50 | ValaFT_01_LB=_Build 51 | ValaFT_01_CM=make 52 | ValaFT_01_WD= 53 | filetypes=Vala; 54 | EX_00_LB=_Execute 55 | EX_00_CM=./conky-manager 56 | EX_00_WD= 57 | EX_01_LB=Execute (sudo) 58 | EX_01_CM=gksu ./conky-manager 59 | EX_01_WD= 60 | 61 | [editor] 62 | line_wrapping=true 63 | line_break_column=72 64 | auto_continue_multiline=true 65 | -------------------------------------------------------------------------------- /conky-manager.pot: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR Tony George (teejee2008@gmail.com) 3 | # This file is distributed under the same license as the conky-manager package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: conky-manager 2.0\n" 10 | "Report-Msgid-Bugs-To: teejee2008@gmail.com\n" 11 | "POT-Creation-Date: 2017-03-24 22:33+0530\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: EditWidgetWindow.vala:384 21 | msgid "12 Hour" 22 | msgstr "" 23 | 24 | #: EditWidgetWindow.vala:386 25 | msgid "24 Hour" 26 | msgstr "" 27 | 28 | #: MainWindow.vala:423 MainWindow.vala:424 29 | msgid "About" 30 | msgstr "" 31 | 32 | #: SettingsWindow.vala:199 33 | msgid "Add" 34 | msgstr "" 35 | 36 | #: SettingsWindow.vala:152 37 | msgid "Additional locations to search for Conky themes" 38 | msgstr "" 39 | 40 | #: EditWidgetWindow.vala:104 41 | msgid "Alignment" 42 | msgstr "" 43 | 44 | #: GeneratePreviewWindow.vala:69 45 | msgid "All Widgets (Overwrite Existing Image)" 46 | msgstr "" 47 | 48 | #: GeneratePreviewWindow.vala:66 49 | msgid "All Widgets with Missing Previews" 50 | msgstr "" 51 | 52 | #: Main.vala:257 53 | msgid "App config loaded" 54 | msgstr "" 55 | 56 | #: Main.vala:209 57 | msgid "App config saved" 58 | msgstr "" 59 | 60 | #: MainWindow.vala:405 SettingsWindow.vala:47 61 | msgid "Application Settings" 62 | msgstr "" 63 | 64 | #: EditWidgetWindow.vala:445 65 | msgid "Apply" 66 | msgstr "" 67 | 68 | #: EditWidgetWindow.vala:448 69 | msgid "Apply Changes" 70 | msgstr "" 71 | 72 | #: AboutWindow.vala:330 73 | #, c-format 74 | msgid "Artists" 75 | msgstr "" 76 | 77 | #: AboutWindow.vala:314 78 | #, c-format 79 | msgid "Authors" 80 | msgstr "" 81 | 82 | #: AboutWindow.vala:285 83 | msgid "Back" 84 | msgstr "" 85 | 86 | #: EditWidgetWindow.vala:312 87 | msgid "Background Color" 88 | msgstr "" 89 | 90 | #: EditWidgetWindow.vala:125 91 | msgid "Bottom Left" 92 | msgstr "" 93 | 94 | #: EditWidgetWindow.vala:129 95 | msgid "Bottom Middle" 96 | msgstr "" 97 | 98 | #: EditWidgetWindow.vala:127 99 | msgid "Bottom Right" 100 | msgstr "" 101 | 102 | #: MainWindow.vala:121 103 | msgid "Browse:" 104 | msgstr "" 105 | 106 | #: EditThemeWindow.vala:212 GeneratePreviewWindow.vala:148 107 | #: SettingsWindow.vala:221 108 | msgid "Cancel" 109 | msgstr "" 110 | 111 | #: GeneratePreviewWindow.vala:83 112 | msgid "Capture Desktop Background" 113 | msgstr "" 114 | 115 | #: EditThemeWindow.vala:130 116 | msgid "Choose File" 117 | msgstr "" 118 | 119 | #: AboutWindow.vala:295 EditWidgetWindow.vala:461 120 | msgid "Close" 121 | msgstr "" 122 | 123 | #: Main.vala:164 124 | msgid "Commands listed below are not available" 125 | msgstr "" 126 | 127 | #: AboutWindow.vala:272 AboutWindow.vala:289 MainWindow.vala:257 128 | msgid "Credits" 129 | msgstr "" 130 | 131 | #: EditThemeWindow.vala:123 132 | msgid "Current Wallpaper" 133 | msgstr "" 134 | 135 | #: Main.vala:1769 136 | msgid "Current wallpaper source path" 137 | msgstr "" 138 | 139 | #: EditThemeWindow.vala:115 140 | msgid "Custom Wallpaper" 141 | msgstr "" 142 | 143 | #: DonationWindow.vala:54 144 | msgid "" 145 | "Did you find this software useful?\n" 146 | "\n" 147 | "You can buy me a coffee or make a donation via PayPal to show your support. " 148 | "Or just drop me an email and say Hi. This application is completely free and " 149 | "will continue to remain that way. Your contributions will help in keeping " 150 | "this project alive and improving it further.\n" 151 | "\n" 152 | "Feel free to send me an email if you find any issues in this application or " 153 | "if you need any changes. Suggestions and feedback are always welcome.\n" 154 | "\n" 155 | "Thanks,\n" 156 | "Tony George\n" 157 | "(teejeetech@gmail.com)" 158 | msgstr "" 159 | 160 | #: Main.vala:266 Main.vala:272 Main.vala:278 161 | msgid "Directory Created" 162 | msgstr "" 163 | 164 | #: EditWidgetWindow.vala:464 165 | msgid "Discard Changes" 166 | msgstr "" 167 | 168 | #: AboutWindow.vala:346 169 | #, c-format 170 | msgid "Documenters" 171 | msgstr "" 172 | 173 | #: DonationWindow.vala:36 MainWindow.vala:414 MainWindow.vala:415 174 | msgid "Donate" 175 | msgstr "" 176 | 177 | #: DonationWindow.vala:74 178 | msgid "Donate with Google Wallet" 179 | msgstr "" 180 | 181 | #: DonationWindow.vala:67 182 | msgid "Donate with PayPal" 183 | msgstr "" 184 | 185 | #: AboutWindow.vala:354 186 | #, c-format 187 | msgid "Donations" 188 | msgstr "" 189 | 190 | #: MainWindow.vala:328 191 | msgid "Edit" 192 | msgstr "" 193 | 194 | #: EditThemeWindow.vala:57 195 | msgid "Edit Theme" 196 | msgstr "" 197 | 198 | #: EditWidgetWindow.vala:64 MainWindow.vala:329 199 | msgid "Edit Widget" 200 | msgstr "" 201 | 202 | #: MainWindow.vala:338 203 | msgid "Edit file manually in a text editor" 204 | msgstr "" 205 | 206 | #: MainWindow.vala:444 207 | msgid "Enable" 208 | msgstr "" 209 | 210 | #: MainWindow.vala:184 211 | msgid "" 212 | "Enter name or path to filter.\n" 213 | "Enter '0' to list running widgets" 214 | msgstr "" 215 | 216 | #: MainWindow.vala:945 Utility.vala:107 217 | msgid "Error" 218 | msgstr "" 219 | 220 | #: MainWindow.vala:945 221 | msgid "Failed to import themes" 222 | msgstr "" 223 | 224 | #: Utility.vala:1293 225 | msgid "Failed to set ownership" 226 | msgstr "" 227 | 228 | #: Main.vala:371 229 | msgid "Failed to unzip files from theme pack" 230 | msgstr "" 231 | 232 | #: MainWindow.vala:174 233 | msgid "Filter" 234 | msgstr "" 235 | 236 | #: Main.vala:560 237 | msgid "Font Copied: " 238 | msgstr "" 239 | 240 | #: Main.vala:319 241 | msgid "Found theme pack [installed]" 242 | msgstr "" 243 | 244 | #: Main.vala:327 245 | msgid "Found theme pack [new]" 246 | msgstr "" 247 | 248 | #: SettingsWindow.vala:76 249 | msgid "General" 250 | msgstr "" 251 | 252 | #: GeneratePreviewWindow.vala:45 MainWindow.vala:369 253 | msgid "Generate Preview" 254 | msgstr "" 255 | 256 | #: MainWindow.vala:370 257 | msgid "Generate preview images" 258 | msgstr "" 259 | 260 | #: GeneratePreviewWindow.vala:57 261 | msgid "Generate preview images for" 262 | msgstr "" 263 | 264 | #: GeneratePreviewWindow.vala:108 265 | msgid "Generate preview images in PNG format instead of JPEG" 266 | msgstr "" 267 | 268 | #: MainWindow.vala:788 MainWindow.vala:862 269 | msgid "Generating Previews" 270 | msgstr "" 271 | 272 | #: EditWidgetWindow.vala:213 273 | msgid "Height Padding" 274 | msgstr "" 275 | 276 | #: EditWidgetWindow.vala:195 277 | msgid "" 278 | "Height should be larger than the size of window contents,\n" 279 | "otherwise this setting will not have any effect" 280 | msgstr "" 281 | 282 | #: GeneratePreviewWindow.vala:104 283 | msgid "High quality images (PNG)" 284 | msgstr "" 285 | 286 | #: EditWidgetWindow.vala:139 287 | msgid "Horizontal Gap" 288 | msgstr "" 289 | 290 | #: MainWindow.vala:389 291 | msgid "Import" 292 | msgstr "" 293 | 294 | #: MainWindow.vala:901 295 | msgid "Import Theme Pack" 296 | msgstr "" 297 | 298 | #: MainWindow.vala:390 299 | msgid "Import Theme Pack (*.cmtp.7z)" 300 | msgstr "" 301 | 302 | #: Main.vala:363 303 | msgid "Importing" 304 | msgstr "" 305 | 306 | #: EditThemeWindow.vala:80 307 | msgid "Include desktop wallpaper in theme" 308 | msgstr "" 309 | 310 | #: EditThemeWindow.vala:222 EditThemeWindow.vala:223 311 | msgid "Include running widgets in theme" 312 | msgstr "" 313 | 314 | #: EditWidgetWindow.vala:210 315 | msgid "" 316 | "Increases the window height by adding empty lines at the end of the Conky " 317 | "config file" 318 | msgstr "" 319 | 320 | #: EditWidgetWindow.vala:406 321 | msgid "Interface" 322 | msgstr "" 323 | 324 | #: EditWidgetWindow.vala:425 325 | msgid "LAN" 326 | msgstr "" 327 | 328 | #: MainWindow.vala:200 329 | msgid "List" 330 | msgstr "" 331 | 332 | #: EditWidgetWindow.vala:475 333 | msgid "Loading" 334 | msgstr "" 335 | 336 | #: EditWidgetWindow.vala:88 SettingsWindow.vala:173 337 | msgid "Location" 338 | msgstr "" 339 | 340 | #: SettingsWindow.vala:126 341 | msgid "Locations" 342 | msgstr "" 343 | 344 | #: MainWindow.vala:337 345 | msgid "Manual Edit" 346 | msgstr "" 347 | 348 | #: EditWidgetWindow.vala:131 349 | msgid "Middle Left" 350 | msgstr "" 351 | 352 | #: EditWidgetWindow.vala:135 353 | msgid "Middle Middle" 354 | msgstr "" 355 | 356 | #: EditWidgetWindow.vala:133 357 | msgid "Middle Right" 358 | msgstr "" 359 | 360 | #: EditWidgetWindow.vala:198 361 | msgid "Minimum Height" 362 | msgstr "" 363 | 364 | #: EditWidgetWindow.vala:182 365 | msgid "Minimum Width" 366 | msgstr "" 367 | 368 | #: Main.vala:133 369 | msgid "Missing Dependencies" 370 | msgstr "" 371 | 372 | #: Utility.vala:1023 373 | msgid "Missing Icon" 374 | msgstr "" 375 | 376 | #: MainWindow.vala:1063 377 | msgid "N/A" 378 | msgstr "" 379 | 380 | #: EditThemeWindow.vala:328 381 | msgid "Name Required" 382 | msgstr "" 383 | 384 | #: EditWidgetWindow.vala:390 385 | msgid "Network" 386 | msgstr "" 387 | 388 | #: EditWidgetWindow.vala:522 389 | msgid "Network interface cannot be changed for selected widget" 390 | msgstr "" 391 | 392 | #: MainWindow.vala:296 393 | msgid "Next" 394 | msgstr "" 395 | 396 | #: MainWindow.vala:297 397 | msgid "Next Widget" 398 | msgstr "" 399 | 400 | #: EditThemeWindow.vala:341 401 | msgid "No Widgets Selected" 402 | msgstr "" 403 | 404 | #: EditThemeWindow.vala:113 405 | msgid "None" 406 | msgstr "" 407 | 408 | #: DonationWindow.vala:95 EditThemeWindow.vala:205 409 | #: GeneratePreviewWindow.vala:125 SettingsWindow.vala:215 410 | msgid "OK" 411 | msgstr "" 412 | 413 | #: EditWidgetWindow.vala:298 414 | msgid "Opacity (%)" 415 | msgstr "" 416 | 417 | #: EditWidgetWindow.vala:286 418 | msgid "Opaque" 419 | msgstr "" 420 | 421 | #: MainWindow.vala:346 422 | msgid "Open Folder" 423 | msgstr "" 424 | 425 | #: MainWindow.vala:347 426 | msgid "Open Theme Folder" 427 | msgstr "" 428 | 429 | #: GeneratePreviewWindow.vala:72 430 | msgid "Options" 431 | msgstr "" 432 | 433 | #: EditThemeWindow.vala:329 434 | msgid "Please enter theme name" 435 | msgstr "" 436 | 437 | #: Main.vala:165 438 | msgid "Please install required packages and try running it again" 439 | msgstr "" 440 | 441 | #: MainWindow.vala:194 442 | msgid "Preview" 443 | msgstr "" 444 | 445 | #: MainWindow.vala:287 446 | msgid "Previous" 447 | msgstr "" 448 | 449 | #: MainWindow.vala:288 450 | msgid "Previous Widget" 451 | msgstr "" 452 | 453 | #: EditWidgetWindow.vala:290 454 | msgid "Pseudo-Transparent" 455 | msgstr "" 456 | 457 | #: MainWindow.vala:360 458 | msgid "Refresh" 459 | msgstr "" 460 | 461 | #: SettingsWindow.vala:205 462 | msgid "Remove" 463 | msgstr "" 464 | 465 | #: EditWidgetWindow.vala:453 466 | msgid "Reset" 467 | msgstr "" 468 | 469 | #: EditWidgetWindow.vala:456 470 | msgid "Reset Changes" 471 | msgstr "" 472 | 473 | #: SettingsWindow.vala:86 474 | msgid "Run Conky at system startup" 475 | msgstr "" 476 | 477 | #: EditThemeWindow.vala:57 MainWindow.vala:160 478 | msgid "Save Theme" 479 | msgstr "" 480 | 481 | #: MainWindow.vala:164 482 | msgid "Save running widgets and current desktop wallpaper as new theme" 483 | msgstr "" 484 | 485 | #: Main.vala:955 486 | msgid "Saved" 487 | msgstr "" 488 | 489 | #: EditThemeWindow.vala:152 490 | msgid "Scaling" 491 | msgstr "" 492 | 493 | #: MainWindow.vala:361 494 | msgid "Search for new themes" 495 | msgstr "" 496 | 497 | #: MainWindow.vala:1075 498 | msgid "Searching directories..." 499 | msgstr "" 500 | 501 | #: Main.vala:407 502 | #, c-format 503 | msgid "Searching for conkyrc files... %d found" 504 | msgstr "" 505 | 506 | #: EditThemeWindow.vala:135 507 | msgid "Select Wallpaper" 508 | msgstr "" 509 | 510 | #: SettingsWindow.vala:270 511 | msgid "Select directory" 512 | msgstr "" 513 | 514 | #: EditThemeWindow.vala:342 515 | msgid "Select the widgets to include in theme" 516 | msgstr "" 517 | 518 | #: GeneratePreviewWindow.vala:63 519 | msgid "Selected Widget" 520 | msgstr "" 521 | 522 | #: EditWidgetWindow.vala:292 523 | msgid "Semi-Transparent" 524 | msgstr "" 525 | 526 | #: DonationWindow.vala:81 527 | msgid "Send Email" 528 | msgstr "" 529 | 530 | #: EditWidgetWindow.vala:240 531 | msgid "" 532 | "Setting Type to \"Opaque\" (from the transparency tab) will make it easier " 533 | "to see the changes" 534 | msgstr "" 535 | 536 | #: EditWidgetWindow.vala:335 537 | msgid "" 538 | "Setting Type to \"Pseudo-Transparent\" will make the window transparent but " 539 | "the window will have a shadow. The shadow can be disabled by configuring " 540 | "your window manager." 541 | msgstr "" 542 | 543 | #: EditWidgetWindow.vala:325 544 | msgid "" 545 | "Setting Type to \"Transparent\" will make the whole window transparent " 546 | "(including any images). Use \"Pseudo-Transparent\" if you want the images to " 547 | "be opaque." 548 | msgstr "" 549 | 550 | #: MainWindow.vala:404 551 | msgid "Settings" 552 | msgstr "" 553 | 554 | #: EditWidgetWindow.vala:164 555 | msgid "Size" 556 | msgstr "" 557 | 558 | #: MainWindow.vala:247 559 | msgid "Source" 560 | msgstr "" 561 | 562 | #: MainWindow.vala:305 MainWindow.vala:314 563 | msgid "Start" 564 | msgstr "" 565 | 566 | #: MainWindow.vala:306 567 | msgid "Start/Restart Widget" 568 | msgstr "" 569 | 570 | #: Main.vala:866 571 | msgid "Started" 572 | msgstr "" 573 | 574 | #: SettingsWindow.vala:105 575 | msgid "Startup Delay (seconds)" 576 | msgstr "" 577 | 578 | #: MainWindow.vala:229 MainWindow.vala:231 579 | msgid "Stop" 580 | msgstr "" 581 | 582 | #: MainWindow.vala:380 583 | msgid "Stop All Widgets" 584 | msgstr "" 585 | 586 | #: MainWindow.vala:315 587 | msgid "Stop Widget" 588 | msgstr "" 589 | 590 | #: MainWindow.vala:381 591 | msgid "Stop all running widgets" 592 | msgstr "" 593 | 594 | #: Main.vala:892 Utility.vala:751 595 | msgid "Stopped" 596 | msgstr "" 597 | 598 | #: EditWidgetWindow.vala:230 599 | msgid "" 600 | "The minimum width & height must be more than the size of the window " 601 | "contents, otherwise the setting will not have any effect." 602 | msgstr "" 603 | 604 | #: SettingsWindow.vala:137 605 | msgid "Theme Directory" 606 | msgstr "" 607 | 608 | #: EditThemeWindow.vala:67 609 | msgid "Theme Name" 610 | msgstr "" 611 | 612 | #: MainWindow.vala:129 613 | msgid "Themes" 614 | msgstr "" 615 | 616 | #: MainWindow.vala:942 617 | msgid "Themes Imported" 618 | msgstr "" 619 | 620 | #: MainWindow.vala:942 621 | msgid "Themes imported successfully" 622 | msgstr "" 623 | 624 | #: AboutWindow.vala:322 625 | #, c-format 626 | msgid "Third Party Tools" 627 | msgstr "" 628 | 629 | #: EditWidgetWindow.vala:346 630 | msgid "Time" 631 | msgstr "" 632 | 633 | #: EditWidgetWindow.vala:362 634 | msgid "Time Format" 635 | msgstr "" 636 | 637 | #: EditWidgetWindow.vala:506 638 | msgid "Time format cannot be changed for selected widget" 639 | msgstr "" 640 | 641 | #: MainWindow.vala:202 642 | msgid "Toggle List" 643 | msgstr "" 644 | 645 | #: MainWindow.vala:196 646 | msgid "Toggle Preview" 647 | msgstr "" 648 | 649 | #: EditWidgetWindow.vala:119 650 | msgid "Top Left" 651 | msgstr "" 652 | 653 | #: EditWidgetWindow.vala:123 654 | msgid "Top Middle" 655 | msgstr "" 656 | 657 | #: EditWidgetWindow.vala:121 658 | msgid "Top Right" 659 | msgstr "" 660 | 661 | #: AboutWindow.vala:338 662 | #, c-format 663 | msgid "Translators" 664 | msgstr "" 665 | 666 | #: EditWidgetWindow.vala:251 667 | msgid "Transparency" 668 | msgstr "" 669 | 670 | #: EditWidgetWindow.vala:268 671 | msgid "Transparency Type" 672 | msgstr "" 673 | 674 | #: EditWidgetWindow.vala:288 675 | msgid "Transparent" 676 | msgstr "" 677 | 678 | #: EditWidgetWindow.vala:545 679 | msgid "Updating theme" 680 | msgstr "" 681 | 682 | #: MainWindow.vala:480 683 | msgid "" 684 | "Use the keyboard arrow keys to browse.\n" 685 | "Press ENTER to start and stop." 686 | msgstr "" 687 | 688 | #: MainWindow.vala:1009 689 | msgid "Utility for managing Conky configuration files" 690 | msgstr "" 691 | 692 | #: EditWidgetWindow.vala:151 693 | msgid "Vertical Gap" 694 | msgstr "" 695 | 696 | #: DonationWindow.vala:88 697 | msgid "Visit Website" 698 | msgstr "" 699 | 700 | #: EditThemeWindow.vala:80 EditThemeWindow.vala:93 701 | msgid "Wallpaper" 702 | msgstr "" 703 | 704 | #: Main.vala:1773 Main.vala:1781 705 | msgid "Wallpaper saved" 706 | msgstr "" 707 | 708 | #: Utility.vala:107 709 | msgid "Warning" 710 | msgstr "" 711 | 712 | #: GeneratePreviewWindow.vala:87 713 | msgid "" 714 | "When enabled, the generated image will have the same background as the " 715 | "current desktop wallpaper. When disabled, the background will be a solid " 716 | "color (the widget's background color)." 717 | msgstr "" 718 | 719 | #: EditWidgetWindow.vala:416 720 | msgid "WiFi" 721 | msgstr "" 722 | 723 | #: EditWidgetWindow.vala:421 724 | msgid "WiFi Network" 725 | msgstr "" 726 | 727 | #: EditThemeWindow.vala:222 MainWindow.vala:125 728 | msgid "Widgets" 729 | msgstr "" 730 | 731 | #: EditWidgetWindow.vala:179 732 | msgid "" 733 | "Width should be larger than the size of window contents,\n" 734 | "otherwise this setting will not have any effect" 735 | msgstr "" 736 | 737 | #: EditWidgetWindow.vala:295 738 | msgid "" 739 | "Window Opacity\n" 740 | "\n" 741 | "0 = Fully Transparent, 100 = Fully Opaque" 742 | msgstr "" 743 | 744 | #: EditWidgetWindow.vala:430 745 | msgid "Wired LAN Network" 746 | msgstr "" 747 | 748 | #: EditWidgetWindow.vala:140 749 | msgid "[GAP_X] Horizontal distance from window border (in pixels)" 750 | msgstr "" 751 | 752 | #: EditWidgetWindow.vala:152 753 | msgid "[GAP_Y] Vertical distance from window border (in pixels)" 754 | msgstr "" 755 | -------------------------------------------------------------------------------- /debian/changelog: -------------------------------------------------------------------------------- 1 | conky-manager (2.4) trusty; urgency=low 2 | 3 | * Minor changes 4 | 5 | -- Tony George Wed, 21 Oct 2015 10:00:00 +0530 6 | -------------------------------------------------------------------------------- /debian/compat: -------------------------------------------------------------------------------- 1 | 8 2 | -------------------------------------------------------------------------------- /debian/control: -------------------------------------------------------------------------------- 1 | Source: conky-manager 2 | Section: utils 3 | Priority: extra 4 | Maintainer: Tony George 5 | Build-Depends: debhelper (>= 8.0.0), autotools-dev, valac-0.26, libgtk-3-dev, libgee-0.8-dev, libjson-glib-dev 6 | Standards-Version: 3.9.3 7 | Homepage: http://teejeetech.blogspot.in/ 8 | #Vcs-Git: git://git.debian.org/collab-maint/hello.git 9 | #Vcs-Browser: http://git.debian.org/?p=collab-maint/hello.git;a=summary 10 | 11 | Package: conky-manager 12 | Architecture: any 13 | Depends: ${shlibs:Depends}, ${misc:Depends}, realpath, conky, p7zip-full, rsync, imagemagick 14 | #Recommends: 15 | Description: Utility for managing Conky configuration files 16 | Utility for managing Conky configuration files 17 | -------------------------------------------------------------------------------- /debian/copyright: -------------------------------------------------------------------------------- 1 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | Upstream-Name: selene 3 | Source: 4 | 5 | Files: * 6 | Copyright: 2013 Tony George 7 | License: GPL-2+ 8 | This package is free software; you can redistribute it and/or modify 9 | it under the terms of the GNU General Public License as published by 10 | the Free Software Foundation; either version 2 of the License, or 11 | (at your option) any later version. 12 | . 13 | This package is distributed in the hope that it will be useful, 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | GNU General Public License for more details. 17 | . 18 | You should have received a copy of the GNU General Public License 19 | along with this program. If not, see 20 | . 21 | On Debian systems, the complete text of the GNU General 22 | Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". 23 | 24 | -------------------------------------------------------------------------------- /debian/docs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teejee2008/conky-manager/ea33e638aef99d57ec172370ba43fa833b4d62db/debian/docs -------------------------------------------------------------------------------- /debian/rules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | # -*- makefile -*- 3 | # Sample debian/rules that uses debhelper. 4 | # This file was originally written by Joey Hess and Craig Small. 5 | # As a special exception, when this file is copied by dh-make into a 6 | # dh-make output file, you may use that output file without restriction. 7 | # This special exception was added by Craig Small in version 0.37 of dh-make. 8 | 9 | # Uncomment this to turn on verbose mode. 10 | #export DH_VERBOSE=1 11 | 12 | override_dh_usrlocal: 13 | 14 | %: 15 | dh $@ --with autotools-dev 16 | -------------------------------------------------------------------------------- /debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (native) 2 | -------------------------------------------------------------------------------- /git-add-origin.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | backup=`pwd` 4 | DIR="$( cd "$( dirname "$0" )" && pwd )" 5 | cd "$DIR" 6 | 7 | echo "Adding Git origin..." 8 | git remote add origin git@github.com:teejee2008/conky-manager.git 9 | 10 | #check for errors 11 | if [ $? -ne 0 ]; then 12 | cd "$backup" 13 | echo "Failed" 14 | exit 1 15 | fi 16 | 17 | cd "$backup" 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /git-push-reinit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | backup=`pwd` 4 | DIR="$( cd "$( dirname "$0" )" && pwd )" 5 | cd "$DIR" 6 | 7 | echo "Re-initializing Git repo and pushing changes..." 8 | git push --force --set-upstream origin master 9 | 10 | #check for errors 11 | if [ $? -ne 0 ]; then 12 | cd "$backup" 13 | echo "Failed" 14 | exit 1 15 | fi 16 | 17 | cd "$backup" 18 | 19 | 20 | -------------------------------------------------------------------------------- /git-push.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | backup=`pwd` 4 | DIR="$( cd "$( dirname "$0" )" && pwd )" 5 | cd "$DIR" 6 | 7 | echo "Pushing local changes to Git repo..." 8 | git push -u origin master 9 | 10 | #check for errors 11 | if [ $? -ne 0 ]; then 12 | cd "$backup" 13 | echo "Failed" 14 | exit 1 15 | fi 16 | 17 | cd "$backup" 18 | 19 | 20 | -------------------------------------------------------------------------------- /git-sync.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | backup=`pwd` 4 | DIR="$( cd "$( dirname "$0" )" && pwd )" 5 | cd "$DIR" 6 | 7 | echo "Updating local Git repo..." 8 | bzr fast-export --plain . | git fast-import 9 | 10 | #check for errors 11 | if [ $? -ne 0 ]; then 12 | cd "$backup" 13 | echo "Failed" 14 | exit 1 15 | fi 16 | 17 | cd "$backup" 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /icons/conky-manager-14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teejee2008/conky-manager/ea33e638aef99d57ec172370ba43fa833b4d62db/icons/conky-manager-14.png -------------------------------------------------------------------------------- /icons/conky-manager-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teejee2008/conky-manager/ea33e638aef99d57ec172370ba43fa833b4d62db/icons/conky-manager-192.png -------------------------------------------------------------------------------- /icons/conky-manager-64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teejee2008/conky-manager/ea33e638aef99d57ec172370ba43fa833b4d62db/icons/conky-manager-64.png -------------------------------------------------------------------------------- /installer/install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | app_name='conky-manager' 4 | app_fullname='Conky Manager' 5 | 6 | generic_depends=(conky p7zip imagemagick rsync) 7 | debian_depends=(conky p7zip-full imagemagick rsync) 8 | redhat_depends=(conky p7zip ImageMagick rsync) 9 | arch_depends=(conky p7zip imagemagick rsync) 10 | 11 | generic_recommends=() 12 | debian_recommends=() 13 | redhat_recommends=() 14 | arch_recommends=() 15 | 16 | Reset='\e[0m' 17 | Red='\e[1;31m' 18 | Green='\e[1;32m' 19 | Yellow='\e[1;33m' 20 | 21 | CHECK_COLOR_SUPPORT() { 22 | colors=`tput colors` 23 | if [ $colors -gt 1 ]; then 24 | COLORS_SUPPORTED=0 25 | else 26 | COLORS_SUPPORTED=1 27 | fi 28 | } 29 | 30 | MSG_INFO() { 31 | add_newline='' 32 | if [ "$2" == 0 ]; then 33 | add_newline='-n' 34 | fi 35 | 36 | if [ $COLORS_SUPPORTED -eq 0 ]; then 37 | echo -e ${add_newline} "[${Yellow}*${Reset}] ${Green}$1${Reset}" 38 | else 39 | echo -e ${add_newline} "[*] $1" 40 | fi 41 | } 42 | 43 | MSG_WARNING() { 44 | add_newline='' 45 | if [ "$2" == 0 ]; then 46 | add_newline='-n' 47 | fi 48 | 49 | if [ $COLORS_SUPPORTED -eq 0 ]; then 50 | echo -e ${add_newline} "[${Red}!${Reset}] ${Yellow}$1${Reset}" 51 | else 52 | echo -e ${add_newline} "[!] $1" 53 | fi 54 | } 55 | 56 | MSG_ERROR() { 57 | add_newline='' 58 | if [ "$2" == 0 ]; then 59 | add_newline='-n' 60 | fi 61 | 62 | if [ $COLORS_SUPPORTED -eq 0 ]; then 63 | echo -e ${add_newline} "[${Red}X${Reset}] ${Yellow}$1${Reset}" 64 | else 65 | echo -e ${add_newline} "[X] $1" 66 | fi 67 | } 68 | 69 | CD_PUSH() { 70 | cd_backup=`pwd` 71 | } 72 | 73 | CD_POP() { 74 | if [ ! -z "${cd_backup}" ]; then 75 | cd "${cd_backup}" 76 | fi 77 | } 78 | 79 | BACKUP_IFS(){ 80 | IFS_backup="${IFS}" 81 | } 82 | 83 | SET_IFS_NEWLINE(){ 84 | IFS=$'\n' 85 | } 86 | 87 | RESET_IFS() { 88 | if [ ! -z "${IFS_backup}" ]; then 89 | IFS="${IFS_backup}" 90 | fi 91 | } 92 | 93 | EXIT(){ 94 | RESET_IFS 95 | CD_POP 96 | exit $1 97 | } 98 | 99 | WAIT_FOR_INPUT() { 100 | echo "" 101 | echo "Press any key to exit..." 102 | read dummy 103 | } 104 | 105 | GET_SCRIPT_PATH(){ 106 | SCRIPTPATH="$(cd "$(dirname "$0")" && pwd)" 107 | SCRIPTNAME=`basename $0` 108 | } 109 | 110 | RUN_AS_ADMIN() { 111 | if [ ! `id -u` -eq 0 ]; then 112 | GET_SCRIPT_PATH 113 | if command -v sudo >/dev/null 2>&1; then 114 | sudo "${SCRIPTPATH}/${SCRIPTNAME}" 115 | EXIT $? 116 | elif command -v su >/dev/null 2>&1; then 117 | su -c "${SCRIPTPATH}/${SCRIPTNAME}" 118 | EXIT $? 119 | else 120 | echo "" 121 | MSG_ERROR "** Installer must be run as Admin (using 'sudo' or 'su') **" 122 | echo "" 123 | EXIT 1 124 | fi 125 | fi 126 | } 127 | 128 | CD_PUSH 129 | CHECK_COLOR_SUPPORT 130 | RUN_AS_ADMIN 131 | BACKUP_IFS 132 | 133 | SET_IFS_NEWLINE 134 | 135 | MSG_INFO "Expanding directories..." 136 | for f in `find ./ -type d -exec echo "{}" \;`; do 137 | directory=`echo "$f" | sed -r 's/^.{2}//'` 138 | mkdir -p -m 755 "/$directory" 139 | echo "/$directory" 140 | done 141 | echo "" 142 | 143 | MSG_INFO "Installing files..." 144 | for f in `find ./ -type f \( ! -iname "install.sh" \) -exec echo "{}" \;`; do 145 | file=`echo "$f" | sed -r 's/^.{2}//'` 146 | install -m 0755 "./$file" "/$file" 147 | echo "/$file" 148 | done 149 | echo "" 150 | 151 | RESET_IFS 152 | 153 | install_dependencies=y 154 | 155 | if command -v apt-get >/dev/null 2>&1; then 156 | 157 | if [ -f /etc/debian_version ]; then 158 | install_dependencies=y 159 | else 160 | MSG_INFO "Found 'apt-get' package manager" 161 | MSG_INFO "Install dependencies with 'apt-get'? (y/n):" "0" 162 | read install_dependencies 163 | if [ "$install_dependencies" == "" ]; then 164 | install_dependencies=y 165 | fi 166 | fi 167 | 168 | if [ "$install_dependencies" == "y" ]; then 169 | MSG_INFO "Installing Debian packages..." 170 | echo "" 171 | for i in "${debian_depends[@]}"; do 172 | MSG_INFO "Installing: $i" 173 | apt-get install $i 174 | echo "" 175 | done 176 | fi 177 | 178 | elif command -v yum >/dev/null 2>&1; then 179 | 180 | if [ -f /etc/redhat-release ]; then 181 | install_dependencies=y 182 | else 183 | MSG_INFO "Found 'yum' package manager" 184 | MSG_INFO "Install dependencies with 'yum'? (y/n):" "0" 185 | read install_dependencies 186 | if [ "$install_dependencies" == "" ]; then 187 | install_dependencies=y 188 | fi 189 | fi 190 | 191 | if [ "$install_dependencies" == "y" ]; then 192 | MSG_INFO "Installing RedHat packages..." 193 | echo "" 194 | for i in "${redhat_depends[@]}"; do 195 | MSG_INFO "Installing: $i" 196 | yum install $i 197 | echo "" 198 | done 199 | fi 200 | 201 | elif command -v pacman >/dev/null 2>&1; then 202 | 203 | if [ -f /etc/arch-release ] || [ -f /etc/manjaro-release ]; then 204 | install_dependencies=y 205 | else 206 | MSG_INFO "Found 'pacman' package manager" 207 | MSG_INFO "Install dependencies with 'pacman'? (y/n):" "0" 208 | read install_dependencies 209 | if [ "$install_dependencies" == "" ]; then 210 | install_dependencies=y 211 | fi 212 | fi 213 | 214 | if [ "$install_dependencies" == "y" ]; then 215 | MSG_INFO "Installing ArchLinux packages..." 216 | echo "" 217 | for i in "${arch_depends[@]}"; do 218 | MSG_INFO "Installing: $i" 219 | pacman -S $i 220 | echo "" 221 | done 222 | fi 223 | fi 224 | echo "" 225 | 226 | MSG_INFO "Install completed." 227 | echo "" 228 | echo "******************************************************************" 229 | echo "Start ${app_fullname} using the shortcut in the Applications Menu" 230 | echo "or by running the command: ${app_name}" 231 | echo "If it fails to start, check and install the following packages:" 232 | echo "Required: ${generic_depends[@]}" 233 | echo "Optional: (none)" 234 | echo "******************************************************************" 235 | WAIT_FOR_INPUT 236 | EXIT 0 237 | -------------------------------------------------------------------------------- /list-todo.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | grep -n --color=always -R TODO src/ 4 | -------------------------------------------------------------------------------- /makefile: -------------------------------------------------------------------------------- 1 | all: 2 | cd src; make all 3 | 4 | clean: 5 | cd src; make clean 6 | 7 | install: 8 | cd src; make install 9 | 10 | uninstall: 11 | cd src; make uninstall 12 | -------------------------------------------------------------------------------- /man/ChangeLog: -------------------------------------------------------------------------------- 1 | 2006-09-02 Karl Berry 2 | 3 | * Makefile.am (hello.1): downcase description. 4 | 5 | 2006-08-22 Karl Berry 6 | 7 | * Makefile.am (hello.1): use -o, to help `missing'. 8 | From Ralf Wildenhues. 9 | 10 | 2006-05-03 Karl Berry 11 | 12 | * Makefile.am (hello.1): no, can't use $(srcdir)/help2man, because 13 | it ends up being "./bin/sh help2man". 14 | 15 | 2006-04-22 Karl Berry 16 | 17 | * Makefile.am (hello.1): find help2man in $(srcdir), for when 18 | srcdir!=builddir. 19 | 20 | 2004-05-14 Karl Eichwalder 21 | 22 | * Makefile.am (hello.1): Missing Perl at installation time is not 23 | fatal. 24 | 25 | 2002-07-20 Karl Eichwalder 26 | 27 | * Makefile.am (CLEANFILES): New variable, add $(man_MANS). 28 | 29 | 2002-07-20 Karl Eichwalder 30 | 31 | * Makefile.am (hello.1): Add $(srcdir)/; thus perl will find 32 | $(HELP2MAN) compilations takes place outside the source tree. 33 | 34 | 2002-01-25 Karl Eichwalder 35 | 36 | * Makefile.am (hello.1): Use ../src/hello instead of $< for 37 | compatibility. 38 | Reported by Bruno Haible. 39 | 40 | 2002-01-19 Karl Eichwalder 41 | 42 | * help2man: Copy version 1.024 from gettext-0.11-pre5+; 43 | recommended by Bruno Haible. 44 | 45 | 1999-10-03 Karl Eichwalder 46 | 47 | * Makefile.am: Rewritten: 48 | (man_MANS): New variable, add hello.1. 49 | (HELP2MAN): Ditto, add help2man. 50 | (noinst_SCRIPTS): Ditto, add $(HELP2MAN). 51 | (EXTRA_DIST): Ditto, add $(man_MANS) $(noinst_SCRIPTS). 52 | (hello.1): New target. 53 | 54 | 1999-08-21 Karl Eichwalder 55 | 56 | * help2man: Add this file from the textutils package. 57 | 58 | * Makefile.am: New file; filled with template information from the 59 | textutils package. 60 | 61 | Copyright (C) 1999, 2002, 2004, 2006 Free Software Foundation, Inc. 62 | 63 | Copying and distribution of this file, with or without modification, 64 | are permitted in any medium without royalty provided the copyright 65 | notice and this notice are preserved. 66 | -------------------------------------------------------------------------------- /man/Makefile.am: -------------------------------------------------------------------------------- 1 | # Makefile.am for hello/man. 2 | # 3 | # Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010 4 | # Free Software Foundation, Inc. 5 | # 6 | # This program is free software; you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation; either version 3, or (at your option) 9 | # any later version. 10 | # 11 | # This program is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with this program. If not, see . 18 | 19 | man_MANS = hello.1 20 | EXTRA_DIST = $(man_MANS) 21 | MAINTAINERCLEANFILES = $(man_MANS) 22 | 23 | # The man pages depend on the --help strings and the version number. 24 | common_mandeps = $(top_srcdir)/configure.ac 25 | 26 | # Depend on the source, not the binary; we don't need to regenerate the 27 | # binary when any source file changes, only the main one. 28 | # Use -o so that the `missing' program can infer the output file. 29 | hello.1: $(top_srcdir)/src/hello.c $(common_mandeps) 30 | $(HELP2MAN) --name="friendly greeting program" ../src/hello -o $@ 31 | -------------------------------------------------------------------------------- /man/hello.1: -------------------------------------------------------------------------------- 1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.4. 2 | .TH HELLO "1" "April 2012" "hello 2.8" "User Commands" 3 | .SH NAME 4 | hello \- friendly greeting program 5 | .SH SYNOPSIS 6 | .B hello 7 | [\fIOPTION\fR]... 8 | .SH DESCRIPTION 9 | Print a friendly, customizable greeting. 10 | .TP 11 | \fB\-h\fR, \fB\-\-help\fR 12 | display this help and exit 13 | .TP 14 | \fB\-v\fR, \fB\-\-version\fR 15 | display version information and exit 16 | .TP 17 | \fB\-t\fR, \fB\-\-traditional\fR 18 | use traditional greeting format 19 | .TP 20 | \fB\-n\fR, \fB\-\-next\-generation\fR 21 | use next\-generation greeting format 22 | .TP 23 | \fB\-g\fR, \fB\-\-greeting\fR=\fITEXT\fR 24 | use TEXT as the greeting message 25 | .SH "REPORTING BUGS" 26 | Report bugs to: bug\-hello@gnu.org 27 | .br 28 | GNU Hello home page: 29 | .br 30 | General help using GNU software: 31 | .SH COPYRIGHT 32 | Copyright \(co 2011 Free Software Foundation, Inc. 33 | License GPLv3+: GNU GPL version 3 or later 34 | .br 35 | This is free software: you are free to change and redistribute it. 36 | There is NO WARRANTY, to the extent permitted by law. 37 | .SH "SEE ALSO" 38 | The full documentation for 39 | .B hello 40 | is maintained as a Texinfo manual. If the 41 | .B info 42 | and 43 | .B hello 44 | programs are properly installed at your site, the command 45 | .IP 46 | .B info hello 47 | .PP 48 | should give you access to the complete manual. 49 | -------------------------------------------------------------------------------- /po/conky-manager-cs.po: -------------------------------------------------------------------------------- 1 | # Czech translation for conky-manager 2 | # Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014 3 | # This file is distributed under the same license as the conky-manager package. 4 | # FIRST AUTHOR , 2014. 5 | # 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: conky-manager\n" 9 | "Report-Msgid-Bugs-To: teejee2008@gmail.com\n" 10 | "POT-Creation-Date: 2014-10-19 11:06+0530\n" 11 | "PO-Revision-Date: 2014-10-28 14:20+0100\n" 12 | "Last-Translator: Radek Otáhal \n" 13 | "Language-Team: Czech\n" 14 | "Language: cs\n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | "X-Launchpad-Export-Date: 2014-07-14 04:40+0000\n" 19 | "X-Generator: Poedit 1.5.4\n" 20 | 21 | #: EditWidgetWindow.vala:384 22 | msgid "12 Hour" 23 | msgstr "12 hodin" 24 | 25 | #: EditWidgetWindow.vala:386 26 | msgid "24 Hour" 27 | msgstr "24 hodin" 28 | 29 | #: MainWindow.vala:403 MainWindow.vala:404 30 | msgid "About" 31 | msgstr "O aplikaci" 32 | 33 | #: SettingsWindow.vala:199 34 | msgid "Add" 35 | msgstr "Přidat" 36 | 37 | #: SettingsWindow.vala:152 38 | msgid "Additional locations to search for Conky themes" 39 | msgstr "Další umístění pro vyhledávání Conky motivů" 40 | 41 | #: EditWidgetWindow.vala:104 42 | msgid "Alignment" 43 | msgstr "Zarovnání" 44 | 45 | #: GeneratePreviewWindow.vala:69 46 | msgid "All Widgets (Overwrite Existing Image)" 47 | msgstr "Všechny Widgety (přepsat stávající obrázek)" 48 | 49 | #: GeneratePreviewWindow.vala:66 50 | msgid "All Widgets with Missing Previews" 51 | msgstr "Všechny Widgety s chybějícími náhledy" 52 | 53 | #: Main.vala:257 54 | msgid "App config loaded" 55 | msgstr "Konfigurace aplikací načtena" 56 | 57 | #: Main.vala:209 58 | msgid "App config saved" 59 | msgstr "Konfigurace aplikací uložena" 60 | 61 | #: MainWindow.vala:385 SettingsWindow.vala:47 62 | msgid "Application Settings" 63 | msgstr "Nastavení aplikace" 64 | 65 | #: EditWidgetWindow.vala:445 66 | msgid "Apply" 67 | msgstr "Použít" 68 | 69 | #: EditWidgetWindow.vala:448 70 | msgid "Apply Changes" 71 | msgstr "Uplatnit změny" 72 | 73 | #: AboutWindow.vala:330 74 | #, c-format 75 | msgid "Artists" 76 | msgstr "Umělci" 77 | 78 | #: AboutWindow.vala:314 79 | #, c-format 80 | msgid "Authors" 81 | msgstr "Autoři" 82 | 83 | #: AboutWindow.vala:285 84 | msgid "Back" 85 | msgstr "Zpět" 86 | 87 | #: EditWidgetWindow.vala:312 88 | msgid "Background Color" 89 | msgstr "Barva pozadí" 90 | 91 | #: EditWidgetWindow.vala:125 92 | msgid "Bottom Left" 93 | msgstr "Dole vlevo" 94 | 95 | #: EditWidgetWindow.vala:129 96 | msgid "Bottom Middle" 97 | msgstr "Dole na střed" 98 | 99 | #: EditWidgetWindow.vala:127 100 | msgid "Bottom Right" 101 | msgstr "Dole vpravo" 102 | 103 | #: MainWindow.vala:136 104 | msgid "" 105 | "Browse widgets or themes.\n" 106 | "\n" 107 | "Widgets are Conky configuration files (conkyrc files)\n" 108 | "Themes are a set of Widgets along with wallpaper (cmtheme files)" 109 | msgstr "" 110 | "Procházet widgety nebo motivy.\n" 111 | "\n" 112 | "Widgety jsou konfigurační soubory Conky (conkyrc soubory)\n" 113 | "Motivy jsou složeny z Widgetů a tapet (cmtheme soubory)" 114 | 115 | #: MainWindow.vala:119 116 | msgid "Browse:" 117 | msgstr "Procházet:" 118 | 119 | #: EditThemeWindow.vala:212 GeneratePreviewWindow.vala:148 120 | #: SettingsWindow.vala:221 121 | msgid "Cancel" 122 | msgstr "Zrušit" 123 | 124 | #: GeneratePreviewWindow.vala:83 125 | msgid "Capture Desktop Background" 126 | msgstr "Zachytit pozadí pracovní plochy" 127 | 128 | #: EditThemeWindow.vala:130 129 | msgid "Choose File" 130 | msgstr "Výběr souboru" 131 | 132 | #: AboutWindow.vala:295 EditWidgetWindow.vala:461 133 | msgid "Close" 134 | msgstr "Zavřít" 135 | 136 | #: Main.vala:164 137 | msgid "Commands listed below are not available" 138 | msgstr "Příkazy uvedené níže nejsou dostupné" 139 | 140 | #: AboutWindow.vala:272 AboutWindow.vala:289 MainWindow.vala:234 141 | msgid "Credits" 142 | msgstr "Zásluhy" 143 | 144 | #: EditThemeWindow.vala:123 145 | msgid "Current Wallpaper" 146 | msgstr "Aktuální tapeta" 147 | 148 | #: EditThemeWindow.vala:115 149 | msgid "Custom Wallpaper" 150 | msgstr "Uživatelská tapeta" 151 | 152 | #: DonationWindow.vala:53 153 | msgid "" 154 | "Did you find this software useful?\n" 155 | "\n" 156 | "You can buy me a coffee or make a donation via PayPal to show your support. " 157 | "Or just drop me an email and say Hi.\n" 158 | "\n" 159 | "This application is completely free and will continue to remain that way. " 160 | "Your contributions will help in keeping this project alive and to develop it " 161 | "further.\n" 162 | "\n" 163 | "Feel free to drop me an email if you find any issues or if you have " 164 | "suggestions for improvement.\n" 165 | "\n" 166 | "Regards,\n" 167 | "Tony George\n" 168 | "teejeetech@gmail.com" 169 | msgstr "" 170 | "Shledali jste tento software užitečným?\n" 171 | "\n" 172 | "Můžete mi koupit kávu nebo poslat příspěvek prostřednictvím PayPal jako " 173 | "projev vaší podpory. Nebo mi prostě jen pošlete mail s pozdravem.\n" 174 | "\n" 175 | "Tato aplikace je zcela zdarma a zůstane tak i v budoucnu. Váš příspěvek " 176 | "pomůže udržet tento projekt při životě a také jeho budoucí rozvoj.\n" 177 | "\n" 178 | "Napište mi mail pokud naleznete chybu nebo budete mít námět na vylepšení " 179 | "této aplikace.\n" 180 | "\n" 181 | "S pozdravem,\n" 182 | "Tony George\n" 183 | "teejeetech@gmail.com" 184 | 185 | #: Main.vala:266 Main.vala:272 Main.vala:278 186 | msgid "Directory Created" 187 | msgstr "Adresář vytvořen" 188 | 189 | #: EditWidgetWindow.vala:464 190 | msgid "Discard Changes" 191 | msgstr "Zrušit změny" 192 | 193 | #: AboutWindow.vala:346 194 | #, c-format 195 | msgid "Documenters" 196 | msgstr "Dukumentátoři" 197 | 198 | #: DonationWindow.vala:36 MainWindow.vala:394 MainWindow.vala:395 199 | msgid "Donate" 200 | msgstr "Darovat" 201 | 202 | #: DonationWindow.vala:66 203 | msgid "Donate via PayPal" 204 | msgstr "Darovat přes PayPal" 205 | 206 | #: AboutWindow.vala:354 207 | #, c-format 208 | msgid "Donations" 209 | msgstr "Darování" 210 | 211 | #: MainWindow.vala:308 212 | msgid "Edit" 213 | msgstr "Upravit" 214 | 215 | #: EditThemeWindow.vala:57 216 | msgid "Edit Theme" 217 | msgstr "Upravit motiv" 218 | 219 | #: EditWidgetWindow.vala:64 MainWindow.vala:309 220 | msgid "Edit Widget" 221 | msgstr "Upravit Widget" 222 | 223 | #: MainWindow.vala:318 224 | msgid "Edit file manually in a text editor" 225 | msgstr "Upravit soubor ručně v textovém editoru" 226 | 227 | #: MainWindow.vala:424 228 | msgid "Enable" 229 | msgstr "Povolit" 230 | 231 | #: MainWindow.vala:161 232 | msgid "" 233 | "Enter name or path to filter.\n" 234 | "Enter '0' to list running widgets" 235 | msgstr "" 236 | "Zadejte název nebo cestu pro filtr.\n" 237 | "Zadejte '0' pro seznam běžících widgetů" 238 | 239 | #: MainWindow.vala:939 Utility.vala:107 240 | msgid "Error" 241 | msgstr "Chyba" 242 | 243 | #: MainWindow.vala:939 244 | msgid "Failed to import themes" 245 | msgstr "Selhal import motivů" 246 | 247 | #: Utility.vala:1293 248 | msgid "Failed to set ownership" 249 | msgstr "Selhalo nastavení vlastnictví" 250 | 251 | #: Main.vala:371 252 | msgid "Failed to unzip files from theme pack" 253 | msgstr "Selhalo rozbalení souborů z balíčku motivu" 254 | 255 | #: MainWindow.vala:151 256 | msgid "Filter" 257 | msgstr "Filtr" 258 | 259 | #: Main.vala:560 260 | msgid "Font Copied: " 261 | msgstr "Font zkopírován:" 262 | 263 | #: Main.vala:319 264 | msgid "Found theme pack [installed]" 265 | msgstr "Nalezený balík s motivy [instalovaný]" 266 | 267 | #: Main.vala:327 268 | msgid "Found theme pack [new]" 269 | msgstr "Nalezený balík s motivy [nový]" 270 | 271 | #: SettingsWindow.vala:76 272 | msgid "General" 273 | msgstr "Obecné" 274 | 275 | #: GeneratePreviewWindow.vala:45 MainWindow.vala:349 276 | msgid "Generate Preview" 277 | msgstr "Vytvořit náhled" 278 | 279 | #: MainWindow.vala:350 280 | msgid "Generate preview images" 281 | msgstr "Vytvořit obrázky s náhledy" 282 | 283 | #: GeneratePreviewWindow.vala:57 284 | msgid "Generate preview images for" 285 | msgstr "Vytvořit obrázky s náhledy pro" 286 | 287 | #: GeneratePreviewWindow.vala:108 288 | msgid "Generate preview images in PNG format instead of JPEG" 289 | msgstr "Vytvořit obrázky s náhledy ve formátu PNG namísto JPEG" 290 | 291 | #: MainWindow.vala:782 MainWindow.vala:856 292 | msgid "Generating Previews" 293 | msgstr "Vytvářejí se náhledy" 294 | 295 | #: EditWidgetWindow.vala:213 296 | msgid "Height Padding" 297 | msgstr "Přizpůsobení výšky" 298 | 299 | #: EditWidgetWindow.vala:195 300 | msgid "" 301 | "Height should be larger than the size of window contents,\n" 302 | "otherwise this setting will not have any effect" 303 | msgstr "" 304 | "Výška by měla být větší než velikost obsahu okna,\n" 305 | "jinak toto nastavení nebude mít žádný efekt" 306 | 307 | #: GeneratePreviewWindow.vala:104 308 | msgid "High quality images (PNG)" 309 | msgstr "Obrázky ve vysoké kvalitě (PNG)" 310 | 311 | #: EditWidgetWindow.vala:139 312 | msgid "Horizontal Gap" 313 | msgstr "Horizontálně" 314 | 315 | #: MainWindow.vala:369 316 | msgid "Import" 317 | msgstr "Import" 318 | 319 | #: MainWindow.vala:895 320 | msgid "Import Theme Pack" 321 | msgstr "Importovat balík s motivy" 322 | 323 | #: MainWindow.vala:370 324 | msgid "Import Theme Pack (*.cmtp.7z)" 325 | msgstr "Import balíčku s motivy (*.cmtp.7z)" 326 | 327 | #: Main.vala:363 328 | msgid "Importing" 329 | msgstr "Importuje se" 330 | 331 | #: EditThemeWindow.vala:80 332 | msgid "Include desktop wallpaper in theme" 333 | msgstr "Zahrnout pozadí plochy do motivu" 334 | 335 | #: EditThemeWindow.vala:222 EditThemeWindow.vala:223 336 | msgid "Include running widgets in theme" 337 | msgstr "Zahrnout běžící widgety do motivu" 338 | 339 | #: EditWidgetWindow.vala:210 340 | msgid "" 341 | "Increases the window height by adding empty lines at the end of the Conky " 342 | "config file" 343 | msgstr "" 344 | "Zvětší výšku okna přidáním prázdných řádků na konec Conky konfiguračního " 345 | "souboru" 346 | 347 | #: EditWidgetWindow.vala:406 348 | msgid "Interface" 349 | msgstr "Interface" 350 | 351 | #: EditWidgetWindow.vala:425 352 | msgid "LAN" 353 | msgstr "LAN" 354 | 355 | #: MainWindow.vala:177 356 | msgid "List" 357 | msgstr "Seznam" 358 | 359 | #: EditWidgetWindow.vala:475 360 | msgid "Loading" 361 | msgstr "Načítá se" 362 | 363 | #: EditWidgetWindow.vala:88 SettingsWindow.vala:173 364 | msgid "Location" 365 | msgstr "Umístění" 366 | 367 | #: SettingsWindow.vala:126 368 | msgid "Locations" 369 | msgstr "Umístění" 370 | 371 | #: MainWindow.vala:317 372 | msgid "Manual Edit" 373 | msgstr "Upravit" 374 | 375 | #: EditWidgetWindow.vala:131 376 | msgid "Middle Left" 377 | msgstr "Uprostřed vlevo" 378 | 379 | #: EditWidgetWindow.vala:135 380 | msgid "Middle Middle" 381 | msgstr "Uprostřed na střed" 382 | 383 | #: EditWidgetWindow.vala:133 384 | msgid "Middle Right" 385 | msgstr "Uprostřed vpravo" 386 | 387 | #: EditWidgetWindow.vala:198 388 | msgid "Minimum Height" 389 | msgstr "Minimální výška" 390 | 391 | #: EditWidgetWindow.vala:182 392 | msgid "Minimum Width" 393 | msgstr "Minimální šířka" 394 | 395 | #: Main.vala:133 396 | msgid "Missing Dependencies" 397 | msgstr "Chybějící závislosti" 398 | 399 | #: Utility.vala:1023 400 | msgid "Missing Icon" 401 | msgstr "Chybějící ikona" 402 | 403 | #: MainWindow.vala:1057 404 | msgid "N/A" 405 | msgstr "N/A" 406 | 407 | #: EditThemeWindow.vala:328 408 | msgid "Name Required" 409 | msgstr "Požadován název" 410 | 411 | #: EditWidgetWindow.vala:390 412 | msgid "Network" 413 | msgstr "Síť" 414 | 415 | #: EditWidgetWindow.vala:522 416 | msgid "Network interface cannot be changed for selected widget" 417 | msgstr "Síťový interface nemůže být změněn pro zvolený widget" 418 | 419 | #: MainWindow.vala:276 420 | msgid "Next" 421 | msgstr "Následující" 422 | 423 | #: MainWindow.vala:277 424 | msgid "Next Widget" 425 | msgstr "Následující Widget" 426 | 427 | #: EditThemeWindow.vala:341 428 | msgid "No Widgets Selected" 429 | msgstr "Není vybrán žádný Widget " 430 | 431 | #: EditThemeWindow.vala:113 432 | msgid "None" 433 | msgstr "Nic" 434 | 435 | #: EditThemeWindow.vala:205 GeneratePreviewWindow.vala:125 436 | #: SettingsWindow.vala:215 437 | msgid "OK" 438 | msgstr "OK" 439 | 440 | #: EditWidgetWindow.vala:298 441 | msgid "Opacity (%)" 442 | msgstr "Průhlednost (%)" 443 | 444 | #: EditWidgetWindow.vala:286 445 | msgid "Opaque" 446 | msgstr "Neprůhledné" 447 | 448 | #: MainWindow.vala:326 449 | msgid "Open Folder" 450 | msgstr "Otevřít složku" 451 | 452 | #: MainWindow.vala:327 453 | msgid "Open Theme Folder" 454 | msgstr "Otevřít složku s motivy" 455 | 456 | #: GeneratePreviewWindow.vala:72 457 | msgid "Options" 458 | msgstr "Volby" 459 | 460 | #: EditThemeWindow.vala:329 461 | msgid "Please enter theme name" 462 | msgstr "Zadejte prosím název motivu" 463 | 464 | #: Main.vala:165 465 | msgid "Please install required packages and try running it again" 466 | msgstr "Nainstalujte prosím požadované balíky a spusťte znovu" 467 | 468 | #: MainWindow.vala:171 469 | msgid "Preview" 470 | msgstr "Náhled" 471 | 472 | #: MainWindow.vala:267 473 | msgid "Previous" 474 | msgstr "Předchozí" 475 | 476 | #: MainWindow.vala:268 477 | msgid "Previous Widget" 478 | msgstr "Předchozí Widget" 479 | 480 | #: EditWidgetWindow.vala:290 481 | msgid "Pseudo-Transparent" 482 | msgstr "Pseudo-transparentní" 483 | 484 | #: MainWindow.vala:340 485 | msgid "Refresh" 486 | msgstr "Obnovit" 487 | 488 | #: SettingsWindow.vala:205 489 | msgid "Remove" 490 | msgstr "Odebrat" 491 | 492 | #: EditWidgetWindow.vala:453 493 | msgid "Reset" 494 | msgstr "Reset" 495 | 496 | #: EditWidgetWindow.vala:456 497 | msgid "Reset Changes" 498 | msgstr "Zrušit změny" 499 | 500 | #: SettingsWindow.vala:86 501 | msgid "Run Conky at system startup" 502 | msgstr "Spustit Conky při startu systému" 503 | 504 | #: EditThemeWindow.vala:57 505 | msgid "Save Theme" 506 | msgstr "Uložit motiv" 507 | 508 | #: Main.vala:943 509 | msgid "Saved" 510 | msgstr "Uloženo" 511 | 512 | #: MainWindow.vala:145 513 | msgid "Saving running widgets as new theme" 514 | msgstr "Spuštěné widgety se ukládají jako nový motiv" 515 | 516 | #: EditThemeWindow.vala:152 517 | msgid "Scaling" 518 | msgstr "Přizpůsobení" 519 | 520 | #: MainWindow.vala:341 521 | msgid "Search for new themes" 522 | msgstr "Hledat nové motivy" 523 | 524 | #: MainWindow.vala:1069 525 | msgid "Searching directories..." 526 | msgstr "Prohledávání adresářů..." 527 | 528 | #: Main.vala:407 529 | #, c-format 530 | msgid "Searching for conkyrc files... %d found" 531 | msgstr "Vyhledávání conkyrc souborů... %d nalezeno" 532 | 533 | #: EditThemeWindow.vala:135 534 | msgid "Select Wallpaper" 535 | msgstr "Vybrat tapetu" 536 | 537 | #: SettingsWindow.vala:270 538 | msgid "Select directory" 539 | msgstr "Vybrat adresář" 540 | 541 | #: EditThemeWindow.vala:342 542 | msgid "Select the widgets to include in theme" 543 | msgstr "Výběr widgetů obsažených v motivu" 544 | 545 | #: GeneratePreviewWindow.vala:63 546 | msgid "Selected Widget" 547 | msgstr "Vybraný Widget" 548 | 549 | #: EditWidgetWindow.vala:292 550 | msgid "Semi-Transparent" 551 | msgstr "Semi-transparentní" 552 | 553 | #: DonationWindow.vala:73 554 | msgid "Send Email" 555 | msgstr "Odeslat email" 556 | 557 | #: EditWidgetWindow.vala:240 558 | msgid "" 559 | "Setting Type to \"Opaque\" (from the transparency tab) will make it easier " 560 | "to see the changes" 561 | msgstr "" 562 | "Při nastavení \"Neprůhledné\" (v záložce Průhlednost) bude změny snadněji " 563 | "viditelné" 564 | 565 | #: EditWidgetWindow.vala:335 566 | msgid "" 567 | "Setting Type to \"Pseudo-Transparent\" will make the window transparent but " 568 | "the window will have a shadow. The shadow can be disabled by configuring " 569 | "your window manager." 570 | msgstr "" 571 | "Při nastavení \"Pseudo-transparentní\" bude celé okno průhledné, ale okno " 572 | "bude mít stín. Stín můžete zakázat konfigurací vašeho správce oken." 573 | 574 | #: EditWidgetWindow.vala:325 575 | msgid "" 576 | "Setting Type to \"Transparent\" will make the whole window transparent " 577 | "(including any images). Use \"Pseudo-Transparent\" if you want the images to " 578 | "be opaque." 579 | msgstr "" 580 | "Při nastavení \"Průhledné\" bude celé okno průhledné (včetně všech obrázků). " 581 | "Použijte \"Pseudo-transparentní\" aby obrázky byly neprůhledné." 582 | 583 | #: MainWindow.vala:384 584 | msgid "Settings" 585 | msgstr "Nastavení" 586 | 587 | #: EditWidgetWindow.vala:164 588 | msgid "Size" 589 | msgstr "Velikost" 590 | 591 | #: MainWindow.vala:224 592 | msgid "Source" 593 | msgstr "Zdroj" 594 | 595 | #: MainWindow.vala:285 MainWindow.vala:294 596 | msgid "Start" 597 | msgstr "Start" 598 | 599 | #: MainWindow.vala:286 600 | msgid "Start/Restart Widget" 601 | msgstr "Spustit/restartovat Widget" 602 | 603 | #: Main.vala:854 604 | msgid "Started" 605 | msgstr "Spuštěno" 606 | 607 | #: SettingsWindow.vala:105 608 | msgid "Startup Delay (seconds)" 609 | msgstr "Zpoždění při startu (vteřiny)" 610 | 611 | #: MainWindow.vala:206 MainWindow.vala:208 612 | msgid "Stop" 613 | msgstr "Stop" 614 | 615 | #: MainWindow.vala:360 616 | msgid "Stop All Widgets" 617 | msgstr "Zastavit všechny Widgety" 618 | 619 | #: MainWindow.vala:295 620 | msgid "Stop Widget" 621 | msgstr "Zastavit Widget" 622 | 623 | #: MainWindow.vala:361 624 | msgid "Stop all running widgets" 625 | msgstr "Zastavit všechny běžící Widgety" 626 | 627 | #: Main.vala:880 Utility.vala:751 628 | msgid "Stopped" 629 | msgstr "Zastaveno" 630 | 631 | #: EditWidgetWindow.vala:230 632 | msgid "" 633 | "The minimum width & height must be more than the size of the window " 634 | "contents, otherwise the setting will not have any effect." 635 | msgstr "" 636 | "Minimální šířka a výška musí být větší než velikost obsahu okna, jinak toto " 637 | "nastavení nebude mít žádný efekt." 638 | 639 | #: SettingsWindow.vala:137 640 | msgid "Theme Directory" 641 | msgstr "Adresář s motivy" 642 | 643 | #: EditThemeWindow.vala:67 644 | msgid "Theme Name" 645 | msgstr "Název motivu" 646 | 647 | #: MainWindow.vala:577 648 | msgid "Themes" 649 | msgstr "Motivy" 650 | 651 | #: MainWindow.vala:936 652 | msgid "Themes Imported" 653 | msgstr "Motivy importovány" 654 | 655 | #: MainWindow.vala:936 656 | msgid "Themes imported successfully" 657 | msgstr "Motivy naimportovány úspěšně" 658 | 659 | #: AboutWindow.vala:322 660 | #, c-format 661 | msgid "Third Party Tools" 662 | msgstr "Nástroje třetích stran" 663 | 664 | #: EditWidgetWindow.vala:346 665 | msgid "Time" 666 | msgstr "Čas" 667 | 668 | #: EditWidgetWindow.vala:362 669 | msgid "Time Format" 670 | msgstr "Formát času" 671 | 672 | #: EditWidgetWindow.vala:506 673 | msgid "Time format cannot be changed for selected widget" 674 | msgstr "Formát času nemůže být změněn pro zvolený widget" 675 | 676 | #: MainWindow.vala:179 677 | msgid "Toggle List" 678 | msgstr "Přepnout seznam" 679 | 680 | #: MainWindow.vala:173 681 | msgid "Toggle Preview" 682 | msgstr "Přepnout náhled" 683 | 684 | #: EditWidgetWindow.vala:119 685 | msgid "Top Left" 686 | msgstr "Nahoře vlevo" 687 | 688 | #: EditWidgetWindow.vala:123 689 | msgid "Top Middle" 690 | msgstr "Nahoře na střed" 691 | 692 | #: EditWidgetWindow.vala:121 693 | msgid "Top Right" 694 | msgstr "Nahoře vpravo" 695 | 696 | #: AboutWindow.vala:338 697 | #, c-format 698 | msgid "Translators" 699 | msgstr "Překladatelé" 700 | 701 | #: EditWidgetWindow.vala:251 702 | msgid "Transparency" 703 | msgstr "Průhlednost" 704 | 705 | #: EditWidgetWindow.vala:268 706 | msgid "Transparency Type" 707 | msgstr "Typ průhlednosti" 708 | 709 | #: EditWidgetWindow.vala:288 710 | msgid "Transparent" 711 | msgstr "Průhledné" 712 | 713 | #: EditWidgetWindow.vala:545 714 | msgid "Updating theme" 715 | msgstr "Aktualizace motivu" 716 | 717 | #: MainWindow.vala:460 718 | msgid "" 719 | "Use the keyboard arrow keys to browse.\n" 720 | "Press ENTER to start and stop." 721 | msgstr "" 722 | "Pro procházení použijte šipky.\n" 723 | "Stiskněte ENTER pro spuštění a zastavení." 724 | 725 | #: MainWindow.vala:1003 726 | msgid "Utility for managing Conky configuration files" 727 | msgstr "Nástroj pro správu konfiguračních souborů Conky" 728 | 729 | #: EditWidgetWindow.vala:151 730 | msgid "Vertical Gap" 731 | msgstr "Vertikálně" 732 | 733 | #: DonationWindow.vala:80 734 | msgid "Visit Website" 735 | msgstr "Navštívit webovou stránku" 736 | 737 | #: EditThemeWindow.vala:80 EditThemeWindow.vala:93 738 | msgid "Wallpaper" 739 | msgstr "Tapeta" 740 | 741 | #: Main.vala:1761 Main.vala:1769 742 | msgid "Wallpaper saved" 743 | msgstr "Tapeta uložena" 744 | 745 | #: Utility.vala:107 746 | msgid "Warning" 747 | msgstr "Varování" 748 | 749 | #: GeneratePreviewWindow.vala:87 750 | msgid "" 751 | "When enabled, the generated image will have the same background as the " 752 | "current desktop wallpaper. When disabled, the background will be a solid " 753 | "color (the widget's background color)." 754 | msgstr "" 755 | "Pokud je povoleno, bude mít vygenerovaný obrázek totéž pozadí jako používaná " 756 | "tapeta. Pokud není povoleno, bude pozadí jednobarevné (barva pozadí widgetu)." 757 | 758 | #: EditWidgetWindow.vala:416 759 | msgid "WiFi" 760 | msgstr "WiFi" 761 | 762 | #: EditWidgetWindow.vala:421 763 | msgid "WiFi Network" 764 | msgstr "WiFi síť" 765 | 766 | #: EditThemeWindow.vala:222 MainWindow.vala:575 767 | msgid "Widgets" 768 | msgstr "Widgety" 769 | 770 | #: EditWidgetWindow.vala:179 771 | msgid "" 772 | "Width should be larger than the size of window contents,\n" 773 | "otherwise this setting will not have any effect" 774 | msgstr "" 775 | "Šířka by měla být větší než velikost obsahu okna,\n" 776 | "jinak toto nastavení nebude mít žádný efekt" 777 | 778 | #: EditWidgetWindow.vala:295 779 | msgid "" 780 | "Window Opacity\n" 781 | "\n" 782 | "0 = Fully Transparent, 100 = Fully Opaque" 783 | msgstr "" 784 | "Průhlednost okna\n" 785 | "\n" 786 | "0 = Zcela průhledné, 100 = Zcela neprůhledné" 787 | 788 | #: EditWidgetWindow.vala:430 789 | msgid "Wired LAN Network" 790 | msgstr "Drátová LAN síť" 791 | 792 | #: EditWidgetWindow.vala:140 793 | msgid "[GAP_X] Horizontal distance from window border (in pixels)" 794 | msgstr "[GAP_X] Horizontální distance od okraje okna (v pixelech)" 795 | 796 | #: EditWidgetWindow.vala:152 797 | msgid "[GAP_Y] Vertical distance from window border (in pixels)" 798 | msgstr "[GAP_Y] Vertikální distance od okraje okna (v pixelech)" 799 | 800 | #~ msgid "Copy files: " 801 | #~ msgstr "Kopírovat soubory:" 802 | 803 | #~ msgid "Donors" 804 | #~ msgstr "Dárci" 805 | 806 | #~ msgid "Font copied" 807 | #~ msgstr "Font zkopírován" 808 | 809 | #~ msgid "Installing" 810 | #~ msgstr "Instaluji" 811 | 812 | #~ msgid "Theme copied" 813 | #~ msgstr "Motiv zkopírován" 814 | 815 | #~ msgid "new themes were imported" 816 | #~ msgstr "nové motivy byly naimportovány" 817 | 818 | #, fuzzy 819 | #~ msgid "Commands" 820 | #~ msgstr "Příkazy" 821 | 822 | #~ msgid "Font Installed: " 823 | #~ msgstr "Nainstalovaný font:" 824 | 825 | #, fuzzy 826 | #~ msgid "Found config" 827 | #~ msgstr "/lost+found nenalezeno. " 828 | 829 | #~ msgid "Info" 830 | #~ msgstr "Info" 831 | 832 | #, fuzzy 833 | #~ msgid "Properties" 834 | #~ msgstr "Vlastnosti" 835 | 836 | #, fuzzy 837 | #~ msgid "Reload list of themes" 838 | #~ msgstr "Nástroje seznamu souborů" 839 | 840 | #, fuzzy 841 | #~ msgid "Show Desktop" 842 | #~ msgstr "Zobrazit plochu" 843 | 844 | #~ msgid "Startup" 845 | #~ msgstr "Spuštění" 846 | 847 | #~ msgid "Theme Info" 848 | #~ msgstr "Téma info" 849 | 850 | #, fuzzy 851 | #~ msgid "Version" 852 | #~ msgstr "Verze" 853 | 854 | #~ msgid "Config" 855 | #~ msgstr "Kongigurace" 856 | -------------------------------------------------------------------------------- /po/conky-manager-hr.po: -------------------------------------------------------------------------------- 1 | # Croatian translation for conky-manager 2 | # Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014 3 | # This file is distributed under the same license as the conky-manager package. 4 | # FIRST AUTHOR , 2014. 5 | # 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: conky-manager\n" 9 | "Report-Msgid-Bugs-To: FULL NAME \n" 10 | "POT-Creation-Date: 2014-07-13 23:32+0530\n" 11 | "PO-Revision-Date: 2014-07-25 09:03+0000\n" 12 | "Last-Translator: gogo \n" 13 | "Language-Team: Croatian \n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "X-Launchpad-Export-Date: 2014-07-31 17:24+0000\n" 18 | "X-Generator: Launchpad (build 17131)\n" 19 | 20 | #: src/EditWidgetWindow.vala:384 21 | msgid "12 Hour" 22 | msgstr "12 satni" 23 | 24 | #: src/EditWidgetWindow.vala:386 25 | msgid "24 Hour" 26 | msgstr "24 satni" 27 | 28 | #: src/MainWindow.vala:405 src/MainWindow.vala:406 29 | msgid "About" 30 | msgstr "O programu" 31 | 32 | #: src/SettingsWindow.vala:199 33 | msgid "Add" 34 | msgstr "Dodaj" 35 | 36 | #: src/SettingsWindow.vala:152 37 | msgid "Additional locations to search for Conky themes" 38 | msgstr "Dodatne lokacije pretraživanja Conky tema" 39 | 40 | #: src/EditWidgetWindow.vala:104 41 | msgid "Alignment" 42 | msgstr "Poravnanje" 43 | 44 | #: src/GeneratePreviewWindow.vala:68 45 | msgid "All Widgets (Overwrite Existing Image)" 46 | msgstr "Sve widgete (Prepiši postojeću sliku)" 47 | 48 | #: src/GeneratePreviewWindow.vala:65 49 | msgid "All Widgets with Missing Previews" 50 | msgstr "Sve widgete bez pregleda" 51 | 52 | #: src/Main.vala:254 53 | msgid "App config loaded" 54 | msgstr "Podešavanja aplikacije učitana" 55 | 56 | #: src/Main.vala:207 57 | msgid "App config saved" 58 | msgstr "Podešavanja aplikacije spremljena" 59 | 60 | #: src/MainWindow.vala:387 src/SettingsWindow.vala:47 61 | msgid "Application Settings" 62 | msgstr "Postavke aplikacije" 63 | 64 | #: src/EditWidgetWindow.vala:445 65 | msgid "Apply" 66 | msgstr "Primijeni" 67 | 68 | #: src/EditWidgetWindow.vala:448 69 | msgid "Apply Changes" 70 | msgstr "Primijeni promjene" 71 | 72 | #: src/AboutWindow.vala:312 73 | #, c-format 74 | msgid "Artists" 75 | msgstr "Umjetnici" 76 | 77 | #: src/AboutWindow.vala:304 78 | #, c-format 79 | msgid "Authors" 80 | msgstr "Autori" 81 | 82 | #: src/AboutWindow.vala:275 83 | msgid "Back" 84 | msgstr "Natrag" 85 | 86 | #: src/EditWidgetWindow.vala:312 87 | msgid "Background Color" 88 | msgstr "Boja pozadine" 89 | 90 | #: src/EditWidgetWindow.vala:125 91 | msgid "Bottom Left" 92 | msgstr "Dolje lijevo" 93 | 94 | #: src/EditWidgetWindow.vala:129 95 | msgid "Bottom Middle" 96 | msgstr "Dolje sreduna" 97 | 98 | #: src/EditWidgetWindow.vala:127 99 | msgid "Bottom Right" 100 | msgstr "Dolje desno" 101 | 102 | #: src/MainWindow.vala:136 103 | msgid "" 104 | "Browse widgets or themes.\n" 105 | "\n" 106 | "Widgets are Conky configuration files (conkyrc files)\n" 107 | "Themes are a set of Widgets along with wallpaper (cmtheme files)" 108 | msgstr "" 109 | "Pregledavajte widgete ili teme.\n" 110 | "\n" 111 | "Widgeti su Conky datoteke podešavanja (conkyrc datoteke)\n" 112 | "Teme su skup Widgeta i slike pozadine radne površine zajedno (cmtheme " 113 | "datoteke)" 114 | 115 | #: src/MainWindow.vala:119 116 | msgid "Browse:" 117 | msgstr "Pregledaj:" 118 | 119 | #: src/EditThemeWindow.vala:212 src/GeneratePreviewWindow.vala:126 120 | #: src/SettingsWindow.vala:221 121 | msgid "Cancel" 122 | msgstr "Otkaži" 123 | 124 | #: src/GeneratePreviewWindow.vala:82 125 | msgid "Capture Desktop Background" 126 | msgstr "Snimi pozadinu radne površine" 127 | 128 | #: src/EditThemeWindow.vala:130 129 | msgid "Choose File" 130 | msgstr "Odaberi datoteku" 131 | 132 | #: src/AboutWindow.vala:285 src/EditWidgetWindow.vala:461 133 | msgid "Close" 134 | msgstr "Zatvori" 135 | 136 | #: src/Main.vala:163 137 | msgid "Commands listed below are not available" 138 | msgstr "Naredbe navedene ispod nisu dostupne" 139 | 140 | #: src/AboutWindow.vala:262 src/AboutWindow.vala:279 src/MainWindow.vala:236 141 | msgid "Credits" 142 | msgstr "Zasluge" 143 | 144 | #: src/EditThemeWindow.vala:123 145 | msgid "Current Wallpaper" 146 | msgstr "Trenutna slika pozadine" 147 | 148 | #: src/EditThemeWindow.vala:115 149 | msgid "Custom Wallpaper" 150 | msgstr "Prilagođena slika pozadine" 151 | 152 | #: src/DonationWindow.vala:53 153 | msgid "" 154 | "Did you find this software useful?\n" 155 | "\n" 156 | "You can buy me a coffee or make a donation via PayPal to show your support. " 157 | "Or just drop me an email and say Hi.\n" 158 | "\n" 159 | "This application is completely free and will continue to remain that way. " 160 | "Your contributions will help in developing it further and making it more " 161 | "awesome!\n" 162 | "\n" 163 | "Feel free to drop me a mail if you find any issues or if you have " 164 | "suggestions for improvement.\n" 165 | "\n" 166 | "Regards,\n" 167 | "Tony George\n" 168 | "teejeetech@gmail.com" 169 | msgstr "" 170 | "Je li vam ovaj softver koristan?\n" 171 | "\n" 172 | "Ako želite podržati ovaj softver, možete mi kupiti kavu ili donirati putem " 173 | "PayPala. Ili mi samo pošaljite e-poštu i napišite 'Hi'.\n" 174 | "\n" 175 | "Ova aplikacija je u potpunosti besplatna i tako će ubudće i ostati. Vaš " 176 | "doprinos će pomoći u budućem razvoju i učiniti ju još boljom!\n" 177 | "\n" 178 | "Slobodno mi javite e-poštom ako naiđete na bilo kakav problem ili imate " 179 | "prijedlog u svrhu poboljšanja aplikacije.\n" 180 | "\n" 181 | "Pozdrav,\n" 182 | "Tony George\n" 183 | "teejeetech@gmail.com" 184 | 185 | #: src/Main.vala:263 src/Main.vala:269 src/Main.vala:275 186 | msgid "Directory Created" 187 | msgstr "Direktorij stvoren" 188 | 189 | #: src/EditWidgetWindow.vala:464 190 | msgid "Discard Changes" 191 | msgstr "Odbaci promjene" 192 | 193 | #: src/AboutWindow.vala:328 194 | #, c-format 195 | msgid "Documenters" 196 | msgstr "Autori dokumentacije" 197 | 198 | #: src/DonationWindow.vala:36 src/MainWindow.vala:396 src/MainWindow.vala:397 199 | msgid "Donate" 200 | msgstr "Donirajte" 201 | 202 | #: src/DonationWindow.vala:67 203 | msgid "Donate via PayPal" 204 | msgstr "Donirajte putem PayPala" 205 | 206 | #: src/AboutWindow.vala:336 207 | #, c-format 208 | msgid "Donations" 209 | msgstr "Donacije" 210 | 211 | #: src/MainWindow.vala:310 212 | msgid "Edit" 213 | msgstr "Uredi" 214 | 215 | #: src/EditThemeWindow.vala:57 216 | msgid "Edit Theme" 217 | msgstr "Uredi temu" 218 | 219 | #: src/EditWidgetWindow.vala:64 src/MainWindow.vala:311 220 | msgid "Edit Widget" 221 | msgstr "Uredi Widget" 222 | 223 | #: src/MainWindow.vala:320 224 | msgid "Edit file manually in a text editor" 225 | msgstr "Uredite datoteku ručno u uređivaču teksta" 226 | 227 | #: src/MainWindow.vala:426 228 | msgid "Enable" 229 | msgstr "Omogući" 230 | 231 | #: src/MainWindow.vala:161 232 | msgid "" 233 | "Enter name or path to filter.\n" 234 | "Enter '0' to list running widgets" 235 | msgstr "" 236 | "Upišite naziv ili putanju do filtra.\n" 237 | "Upišite '0' za popis pokrenutih widgeta" 238 | 239 | #: src/MainWindow.vala:941 src/Utility.vala:106 240 | msgid "Error" 241 | msgstr "Greška" 242 | 243 | #: src/MainWindow.vala:941 244 | msgid "Failed to import themes" 245 | msgstr "Neuspjeli uvoz teme" 246 | 247 | #: src/Main.vala:368 248 | msgid "Failed to unzip files from theme pack" 249 | msgstr "Neuspjelo otpakiravanje datoteka iz paketa tema" 250 | 251 | #: src/MainWindow.vala:151 252 | msgid "Filter" 253 | msgstr "Filter" 254 | 255 | #: src/Main.vala:557 256 | msgid "Font Copied: " 257 | msgstr "Kopirana slova: " 258 | 259 | #: src/Main.vala:316 260 | msgid "Found theme pack [installed]" 261 | msgstr "Pronađen paket tema [instalirano]" 262 | 263 | #: src/Main.vala:324 264 | msgid "Found theme pack [new]" 265 | msgstr "Pronađen paket tema [novo]" 266 | 267 | #: src/SettingsWindow.vala:76 268 | msgid "General" 269 | msgstr "Općenito" 270 | 271 | #: src/GeneratePreviewWindow.vala:44 src/MainWindow.vala:351 272 | msgid "Generate Preview" 273 | msgstr "Generiraj pregled" 274 | 275 | #: src/MainWindow.vala:352 276 | msgid "Generate preview images" 277 | msgstr "Generirajte slike pregleda" 278 | 279 | #: src/GeneratePreviewWindow.vala:56 280 | msgid "Generate preview images for" 281 | msgstr "Generiraj sliku pregleda za" 282 | 283 | #: src/MainWindow.vala:784 src/MainWindow.vala:858 284 | msgid "Generating Previews" 285 | msgstr "Generiranje pregleda" 286 | 287 | #: src/EditWidgetWindow.vala:213 288 | msgid "Height Padding" 289 | msgstr "Povećanje prozora" 290 | 291 | #: src/EditWidgetWindow.vala:195 292 | msgid "" 293 | "Height should be larger than the size of window contents,\n" 294 | "otherwise this setting will not have any effect" 295 | msgstr "" 296 | "Visina treba biti veća od veličine sadržaja prozora,\n" 297 | "inače ova postavka neće imati efekta" 298 | 299 | #: src/EditWidgetWindow.vala:139 300 | msgid "Horizontal Gap" 301 | msgstr "Vodoravan pomak" 302 | 303 | #: src/MainWindow.vala:371 304 | msgid "Import" 305 | msgstr "Uvezi" 306 | 307 | #: src/MainWindow.vala:897 308 | msgid "Import Theme Pack" 309 | msgstr "Uvezite pakete tema" 310 | 311 | #: src/MainWindow.vala:372 312 | msgid "Import Theme Pack (*.cmtp.7z)" 313 | msgstr "Uvezi paket teme (*.cmtp.7z)" 314 | 315 | #: src/Main.vala:360 316 | msgid "Importing" 317 | msgstr "Uvoz" 318 | 319 | #: src/EditThemeWindow.vala:80 320 | msgid "Include desktop wallpaper in theme" 321 | msgstr "Uključi sliku pozadine radne površine u temu" 322 | 323 | #: src/EditThemeWindow.vala:222 src/EditThemeWindow.vala:223 324 | msgid "Include running widgets in theme" 325 | msgstr "Uključi pokrenute widgete u temu" 326 | 327 | #: src/EditWidgetWindow.vala:210 328 | msgid "" 329 | "Increases the window height by adding empty lines at the end of the Conky " 330 | "config file" 331 | msgstr "" 332 | "Povećavanje veličine prozora dodavanjem praznih redaka na kraj Conky " 333 | "datoteke podešavanja" 334 | 335 | #: src/EditWidgetWindow.vala:406 336 | msgid "Interface" 337 | msgstr "Sučelje" 338 | 339 | #: src/EditWidgetWindow.vala:425 340 | msgid "LAN" 341 | msgstr "LAN" 342 | 343 | #: src/EditWidgetWindow.vala:475 344 | msgid "Loading" 345 | msgstr "Učitavanje" 346 | 347 | #: src/EditWidgetWindow.vala:88 src/SettingsWindow.vala:173 348 | msgid "Location" 349 | msgstr "Položaj" 350 | 351 | #: src/SettingsWindow.vala:126 352 | msgid "Locations" 353 | msgstr "Lokacije" 354 | 355 | #: src/MainWindow.vala:319 356 | msgid "Manual Edit" 357 | msgstr "Ručno uređivanje" 358 | 359 | #: src/EditWidgetWindow.vala:131 360 | msgid "Middle Left" 361 | msgstr "Sredina lijevo" 362 | 363 | #: src/EditWidgetWindow.vala:135 364 | msgid "Middle Middle" 365 | msgstr "Sredina u sredini" 366 | 367 | #: src/EditWidgetWindow.vala:133 368 | msgid "Middle Right" 369 | msgstr "Sredina desno" 370 | 371 | #: src/EditWidgetWindow.vala:198 372 | msgid "Minimum Height" 373 | msgstr "Minimalna visina" 374 | 375 | #: src/EditWidgetWindow.vala:182 376 | msgid "Minimum Width" 377 | msgstr "Minimalna širina" 378 | 379 | #: src/Main.vala:132 380 | msgid "Missing Dependencies" 381 | msgstr "Međuovisnosti nedostaju" 382 | 383 | #: src/Utility.vala:1000 384 | msgid "Missing Icon" 385 | msgstr "Ikone koje nedostaju" 386 | 387 | #: src/MainWindow.vala:1047 388 | msgid "N/A" 389 | msgstr "Nedostupan" 390 | 391 | #: src/EditThemeWindow.vala:328 392 | msgid "Name Required" 393 | msgstr "Potreban naziv" 394 | 395 | #: src/EditWidgetWindow.vala:390 396 | msgid "Network" 397 | msgstr "Mreža" 398 | 399 | #: src/EditWidgetWindow.vala:522 400 | msgid "Network interface cannot be changed for selected widget" 401 | msgstr "Mrežno sučelje se ne može promijeniti za odabrani widget" 402 | 403 | #: src/MainWindow.vala:278 404 | msgid "Next" 405 | msgstr "Sljedeće" 406 | 407 | #: src/MainWindow.vala:279 408 | msgid "Next Widget" 409 | msgstr "Sljedeći widget" 410 | 411 | #: src/EditThemeWindow.vala:341 412 | msgid "No Widgets Selected" 413 | msgstr "Nema odabranih widgeta" 414 | 415 | #: src/EditThemeWindow.vala:113 416 | msgid "None" 417 | msgstr "Nijedno" 418 | 419 | #: src/EditThemeWindow.vala:205 src/GeneratePreviewWindow.vala:103 420 | #: src/SettingsWindow.vala:215 421 | msgid "OK" 422 | msgstr "U redu" 423 | 424 | #: src/EditWidgetWindow.vala:298 425 | msgid "Opacity (%)" 426 | msgstr "Prozirnost (%)" 427 | 428 | #: src/EditWidgetWindow.vala:286 429 | msgid "Opaque" 430 | msgstr "Neprozirno" 431 | 432 | #: src/MainWindow.vala:328 433 | msgid "Open Folder" 434 | msgstr "Otvori mapu" 435 | 436 | #: src/MainWindow.vala:329 437 | msgid "Open Theme Folder" 438 | msgstr "Otvori mapu teme" 439 | 440 | #: src/GeneratePreviewWindow.vala:71 441 | msgid "Options" 442 | msgstr "Mogućnosti" 443 | 444 | #: src/EditThemeWindow.vala:329 445 | msgid "Please enter theme name" 446 | msgstr "Upišite naziv teme" 447 | 448 | #: src/Main.vala:164 449 | msgid "Please install required packages and try running it again" 450 | msgstr "Instalirajte potreban paket i pokušajte ponovno pokrenuti" 451 | 452 | #: src/MainWindow.vala:269 453 | msgid "Previous" 454 | msgstr "Prijašnje" 455 | 456 | #: src/MainWindow.vala:270 457 | msgid "Previous Widget" 458 | msgstr "Prijašnji widget" 459 | 460 | #: src/EditWidgetWindow.vala:290 461 | msgid "Pseudo-Transparent" 462 | msgstr "Prividno-prozirno" 463 | 464 | #: src/MainWindow.vala:342 465 | msgid "Refresh" 466 | msgstr "Osvježi" 467 | 468 | #: src/SettingsWindow.vala:205 469 | msgid "Remove" 470 | msgstr "Ukloni" 471 | 472 | #: src/EditWidgetWindow.vala:453 473 | msgid "Reset" 474 | msgstr "Poništi" 475 | 476 | #: src/EditWidgetWindow.vala:456 477 | msgid "Reset Changes" 478 | msgstr "Poništi promjene" 479 | 480 | #: src/SettingsWindow.vala:86 481 | msgid "Run Conky at system startup" 482 | msgstr "Pokreni Conky pri pokretanju sustava" 483 | 484 | #: src/EditThemeWindow.vala:57 485 | msgid "Save Theme" 486 | msgstr "Spremi temu" 487 | 488 | #: src/Main.vala:940 489 | msgid "Saved" 490 | msgstr "Spremljeno" 491 | 492 | #: src/MainWindow.vala:145 493 | msgid "Saving running widgets as new theme" 494 | msgstr "Spremanje pokrenutih widgeta kao nove teme" 495 | 496 | #: src/EditThemeWindow.vala:152 497 | msgid "Scaling" 498 | msgstr "Razmjer" 499 | 500 | #: src/MainWindow.vala:343 501 | msgid "Search for new themes" 502 | msgstr "Pretraži nove teme" 503 | 504 | #: src/MainWindow.vala:1059 505 | msgid "Searching directories..." 506 | msgstr "Pretraživanje direktorija..." 507 | 508 | #: src/Main.vala:404 509 | #, c-format 510 | msgid "Searching for conkyrc files... %d found" 511 | msgstr "Pretraživanje conkyrc datoteka... %d pronađeno" 512 | 513 | #: src/EditThemeWindow.vala:135 514 | msgid "Select Wallpaper" 515 | msgstr "Odaberi sliku pozadine" 516 | 517 | #: src/SettingsWindow.vala:270 518 | msgid "Select directory" 519 | msgstr "Odaberi direktorij" 520 | 521 | #: src/EditThemeWindow.vala:342 522 | msgid "Select the widgets to include in theme" 523 | msgstr "Odaberite widgete za uključiti u temu" 524 | 525 | #: src/GeneratePreviewWindow.vala:62 526 | msgid "Selected Widget" 527 | msgstr "Odabrani widget" 528 | 529 | #: src/EditWidgetWindow.vala:292 530 | msgid "Semi-Transparent" 531 | msgstr "Polu-prozirno" 532 | 533 | #: src/DonationWindow.vala:74 534 | msgid "Send Email" 535 | msgstr "Pošalji e-mail" 536 | 537 | #: src/EditWidgetWindow.vala:240 538 | msgid "" 539 | "Setting Type to \"Opaque\" (from the transparency tab) will make it easier " 540 | "to see the changes" 541 | msgstr "" 542 | "Postavljanjem vrste prozirnosti u \"Neprozirno\" (iz kartice neprozirnosti) " 543 | "lakše ćete vidjeti promjene" 544 | 545 | #: src/EditWidgetWindow.vala:335 546 | msgid "" 547 | "Setting Type to \"Pseudo-Transparent\" will make the window transparent but " 548 | "the window will have a shadow. The shadow can be disabled by configuring " 549 | "your window manager." 550 | msgstr "" 551 | "Postavljanjem vrste prozirnosti u \"Prividno-Prozirno\" učinit će prozor " 552 | "prozirnim ali zato će imati sjenu. Sjena se može onemogućiti podešavanjem " 553 | "vašeg upravitelja prozora." 554 | 555 | #: src/EditWidgetWindow.vala:325 556 | msgid "" 557 | "Setting Type to \"Transparent\" will make the whole window transparent " 558 | "(including any images). Use \"Pseudo-Transparent\" if you want the images to " 559 | "be opaque." 560 | msgstr "" 561 | "Postavljanjem vrste prozirnosti u \"Prozirno\" učinit će cijeli prozor " 562 | "prozirnim (uključujući sve slike). Koristite \"Prividno-Prozirno\" ako " 563 | "želite neprozirne slike." 564 | 565 | #: src/MainWindow.vala:386 566 | msgid "Settings" 567 | msgstr "Postavke" 568 | 569 | #: src/EditWidgetWindow.vala:164 570 | msgid "Size" 571 | msgstr "Veličina" 572 | 573 | #: src/MainWindow.vala:226 574 | msgid "Source" 575 | msgstr "Izvor" 576 | 577 | #: src/MainWindow.vala:287 src/MainWindow.vala:296 578 | msgid "Start" 579 | msgstr "Pokreni" 580 | 581 | #: src/MainWindow.vala:288 582 | msgid "Start/Restart Widget" 583 | msgstr "Pokreni/Osvježi widget" 584 | 585 | #: src/Main.vala:851 586 | msgid "Started" 587 | msgstr "Pokrenuto" 588 | 589 | #: src/SettingsWindow.vala:105 590 | msgid "Startup Delay (seconds)" 591 | msgstr "Odgoda pokretanja (sek)" 592 | 593 | #: src/MainWindow.vala:208 src/MainWindow.vala:210 594 | msgid "Stop" 595 | msgstr "Zaustavi" 596 | 597 | #: src/MainWindow.vala:362 598 | msgid "Stop All Widgets" 599 | msgstr "Zaustavi sve widgete" 600 | 601 | #: src/MainWindow.vala:297 602 | msgid "Stop Widget" 603 | msgstr "Zaustavi widget" 604 | 605 | #: src/MainWindow.vala:363 606 | msgid "Stop all running widgets" 607 | msgstr "Zaustavi sve pokrenute widgete" 608 | 609 | #: src/Main.vala:877 src/Utility.vala:728 610 | msgid "Stopped" 611 | msgstr "Zaustavljeno" 612 | 613 | #: src/EditWidgetWindow.vala:230 614 | msgid "" 615 | "The minimum width & height must be more than the size of the window " 616 | "contents, otherwise the setting will not have any effect." 617 | msgstr "" 618 | "Najmanja širina i visina moraju biti veće od veličine sadržaja prozora, " 619 | "inače postavke neće imati efekta." 620 | 621 | #: src/SettingsWindow.vala:137 622 | msgid "Theme Directory" 623 | msgstr "Direktorij teme" 624 | 625 | #: src/EditThemeWindow.vala:67 626 | msgid "Theme Name" 627 | msgstr "Naziv teme" 628 | 629 | #: src/MainWindow.vala:579 630 | msgid "Themes" 631 | msgstr "Teme" 632 | 633 | #: src/MainWindow.vala:938 634 | msgid "Themes Imported" 635 | msgstr "Tema uvezena" 636 | 637 | #: src/MainWindow.vala:938 638 | msgid "Themes imported successfully" 639 | msgstr "Tema je uspješno uvezena" 640 | 641 | #: src/EditWidgetWindow.vala:346 642 | msgid "Time" 643 | msgstr "Vrijeme" 644 | 645 | #: src/EditWidgetWindow.vala:362 646 | msgid "Time Format" 647 | msgstr "Format vremena" 648 | 649 | #: src/EditWidgetWindow.vala:506 650 | msgid "Time format cannot be changed for selected widget" 651 | msgstr "Format vremena ne može se promijeniti za odabrani widget" 652 | 653 | #: src/MainWindow.vala:181 654 | msgid "Toggle List" 655 | msgstr "Prikaži popis tema" 656 | 657 | #: src/MainWindow.vala:174 658 | msgid "Toggle Preview" 659 | msgstr "Prikaži pregled teme" 660 | 661 | #: src/EditWidgetWindow.vala:119 662 | msgid "Top Left" 663 | msgstr "Gore lijevo" 664 | 665 | #: src/EditWidgetWindow.vala:123 666 | msgid "Top Middle" 667 | msgstr "Gore sredina" 668 | 669 | #: src/EditWidgetWindow.vala:121 670 | msgid "Top Right" 671 | msgstr "Gore desno" 672 | 673 | #: src/AboutWindow.vala:320 674 | #, c-format 675 | msgid "Translators" 676 | msgstr "Prevoditelji" 677 | 678 | #: src/EditWidgetWindow.vala:251 679 | msgid "Transparency" 680 | msgstr "Prozirnost" 681 | 682 | #: src/EditWidgetWindow.vala:268 683 | msgid "Transparency Type" 684 | msgstr "Vrsta prozirnosti" 685 | 686 | #: src/EditWidgetWindow.vala:288 687 | msgid "Transparent" 688 | msgstr "Prozirno" 689 | 690 | #: src/EditWidgetWindow.vala:545 691 | msgid "Updating theme" 692 | msgstr "Ažuriranje teme" 693 | 694 | #: src/MainWindow.vala:462 695 | msgid "" 696 | "Use the keyboard arrow keys to browse.\n" 697 | "Press ENTER to start and stop." 698 | msgstr "" 699 | "Koristite tipke strelica tipkovnice za pregled.\n" 700 | "Pritisnite ENTER za pokretanje i zaustavljanje." 701 | 702 | #: src/MainWindow.vala:993 703 | msgid "Utility for managing Conky configuration files" 704 | msgstr "Alat za upravljanje Conky datotekama podešavanja" 705 | 706 | #: src/EditWidgetWindow.vala:151 707 | msgid "Vertical Gap" 708 | msgstr "Okomit pomak" 709 | 710 | #: src/DonationWindow.vala:81 711 | msgid "Visit Website" 712 | msgstr "Posjetite web stranicu" 713 | 714 | #: src/EditThemeWindow.vala:80 src/EditThemeWindow.vala:93 715 | msgid "Wallpaper" 716 | msgstr "Slika pozadine" 717 | 718 | #: src/Main.vala:1750 src/Main.vala:1758 719 | msgid "Wallpaper saved" 720 | msgstr "Slika pozadine spremljena" 721 | 722 | #: src/Utility.vala:106 723 | msgid "Warning" 724 | msgstr "Upozorenje" 725 | 726 | #: src/GeneratePreviewWindow.vala:86 727 | msgid "" 728 | "When enabled, the generated image will have the same background as the " 729 | "current desktop wallpaper. When disabled, the background will be a solid " 730 | "color (the widget's background color)." 731 | msgstr "" 732 | "Kada je omogućeno generirana slika imat će istu pozadinu kao i trenutna " 733 | "pozadina radne površine. Kada je onemogućeno, slika pozadine biti će " 734 | "određena boja (boja pozadine widgeta)" 735 | 736 | #: src/EditWidgetWindow.vala:416 737 | msgid "WiFi" 738 | msgstr "WiFi" 739 | 740 | #: src/EditWidgetWindow.vala:421 741 | msgid "WiFi Network" 742 | msgstr "WiFi mreža" 743 | 744 | #: src/EditThemeWindow.vala:222 src/MainWindow.vala:577 745 | msgid "Widgets" 746 | msgstr "Widgete" 747 | 748 | #: src/EditWidgetWindow.vala:179 749 | msgid "" 750 | "Width should be larger than the size of window contents,\n" 751 | "otherwise this setting will not have any effect" 752 | msgstr "" 753 | "Širina treba biti veća od veličine sadržaja prozora,\n" 754 | "inače postavke neće imati efekta" 755 | 756 | #: src/EditWidgetWindow.vala:295 757 | msgid "" 758 | "Window Opacity\n" 759 | "\n" 760 | "0 = Fully Transparent, 100 = Fully Opaque" 761 | msgstr "" 762 | "Prozirnost prozora\n" 763 | "\n" 764 | "0 = Potpuno prozirno, 100 = Potpuno neprozirno" 765 | 766 | #: src/EditWidgetWindow.vala:430 767 | msgid "Wired LAN Network" 768 | msgstr "Žična LAN mreža" 769 | 770 | #: src/EditWidgetWindow.vala:140 771 | msgid "[GAP_X] Horizontal distance from window border (in pixels)" 772 | msgstr "[GAP_X] Vodoravna udaljenost od rubova prozora (u pikselima)" 773 | 774 | #: src/EditWidgetWindow.vala:152 775 | msgid "[GAP_Y] Vertical distance from window border (in pixels)" 776 | msgstr "[GAP_Y] Okomita udaljenost od rubova prozora (u pikselima)" 777 | -------------------------------------------------------------------------------- /push.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | backup=`pwd` 4 | DIR="$( cd "$( dirname "$0" )" && pwd )" 5 | cd "$DIR" 6 | 7 | sh build-source.sh 8 | 9 | #check for errors 10 | if [ $? -ne 0 ]; then 11 | cd "$backup" 12 | echo "Failed" 13 | exit 1 14 | fi 15 | 16 | echo "Pushing new revisions to launchpad..." 17 | bzr push lp:~teejee2008/conky-manager/trunk 18 | 19 | #check for errors 20 | if [ $? -ne 0 ]; then 21 | cd "$backup" 22 | echo "Failed" 23 | exit 1 24 | fi 25 | 26 | cd "$backup" 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /src/AboutWindow.vala: -------------------------------------------------------------------------------- 1 | /* 2 | * AboutWindow.vala 3 | * 4 | * Copyright 2015 Tony George 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 19 | * MA 02110-1301, USA. 20 | * 21 | * 22 | */ 23 | 24 | using Gtk; 25 | 26 | using TeeJee.Logging; 27 | using TeeJee.FileSystem; 28 | using TeeJee.JSON; 29 | using TeeJee.ProcessManagement; 30 | using TeeJee.GtkHelper; 31 | using TeeJee.System; 32 | using TeeJee.Misc; 33 | 34 | public class AboutWindow : Dialog { 35 | private Box vbox_main; 36 | private Box vbox_logo; 37 | private Box vbox_credits; 38 | private Box vbox_lines; 39 | private Box hbox_action; 40 | private Button btn_credits; 41 | private Button btn_close; 42 | 43 | private Gtk.Image img_logo; 44 | private Label lbl_program_name; 45 | private Label lbl_version; 46 | private Label lbl_comments; 47 | private LinkButton lbtn_website; 48 | private Label lbl_copyright; 49 | 50 | private string[] _artists; 51 | public string[] artists{ 52 | get{ 53 | return _artists; 54 | } 55 | set{ 56 | _artists = value; 57 | } 58 | } 59 | 60 | private string[] _authors; 61 | public string[] authors{ 62 | get{ 63 | return _authors; 64 | } 65 | set{ 66 | _authors = value; 67 | } 68 | } 69 | 70 | private string _comments = ""; 71 | public string comments{ 72 | get{ 73 | return _comments; 74 | } 75 | set{ 76 | _comments = value; 77 | } 78 | } 79 | 80 | private string _copyright = ""; 81 | public string copyright{ 82 | get{ 83 | return _copyright; 84 | } 85 | set{ 86 | _copyright = value; 87 | } 88 | } 89 | 90 | private string[] _documenters; 91 | public string[] documenters{ 92 | get{ 93 | return _documenters; 94 | } 95 | set{ 96 | _documenters = value; 97 | } 98 | } 99 | 100 | private string[] _donations; 101 | public string[] donations{ 102 | get{ 103 | return _donations; 104 | } 105 | set{ 106 | _donations = value; 107 | } 108 | } 109 | 110 | private string _license = ""; 111 | public string license{ 112 | get{ 113 | return _license; 114 | } 115 | set{ 116 | _license = value; 117 | } 118 | } 119 | 120 | private Gdk.Pixbuf _logo; 121 | public Gdk.Pixbuf logo{ 122 | get{ 123 | return _logo; 124 | } 125 | set{ 126 | _logo = value; 127 | } 128 | } 129 | 130 | private string _program_name = ""; 131 | public string program_name{ 132 | get{ 133 | return _program_name; 134 | } 135 | set{ 136 | _program_name = value; 137 | } 138 | } 139 | 140 | private string[] _translators; 141 | public string[] translators{ 142 | get{ 143 | return _translators; 144 | } 145 | set{ 146 | _translators = value; 147 | } 148 | } 149 | 150 | private string[] _third_party; 151 | public string[] third_party{ 152 | get{ 153 | return _third_party; 154 | } 155 | set{ 156 | _third_party = value; 157 | } 158 | } 159 | 160 | private string _version = ""; 161 | public string version{ 162 | get{ 163 | return _version; 164 | } 165 | set{ 166 | _version = value; 167 | } 168 | } 169 | 170 | private string _website = ""; 171 | public string website{ 172 | get{ 173 | return _website; 174 | } 175 | set{ 176 | _website = value; 177 | } 178 | } 179 | 180 | private string _website_label = ""; 181 | public string website_label{ 182 | get{ 183 | return _website_label; 184 | } 185 | set{ 186 | _website_label = value; 187 | } 188 | } 189 | 190 | public AboutWindow() { 191 | window_position = WindowPosition.CENTER_ON_PARENT; 192 | set_destroy_with_parent (true); 193 | set_modal (true); 194 | skip_taskbar_hint = false; 195 | set_default_size (450, 400); 196 | 197 | vbox_main = get_content_area(); 198 | vbox_main.margin = 6; 199 | vbox_main.spacing = 6; 200 | 201 | vbox_logo = new Box(Orientation.VERTICAL,0); 202 | vbox_main.add(vbox_logo); 203 | 204 | vbox_credits = new Box(Orientation.VERTICAL,0); 205 | vbox_credits.no_show_all = true; 206 | vbox_main.add(vbox_credits); 207 | 208 | vbox_lines = new Box(Orientation.VERTICAL,0); 209 | vbox_lines.margin_top = 10; 210 | 211 | //logo 212 | img_logo = new Gtk.Image(); 213 | img_logo.margin_top = 6; 214 | img_logo.margin_bottom = 6; 215 | vbox_logo.add(img_logo); 216 | 217 | //program_name 218 | lbl_program_name = new Label(""); 219 | lbl_program_name.set_use_markup(true); 220 | vbox_logo.add(lbl_program_name); 221 | 222 | //version 223 | lbl_version = new Label(""); 224 | lbl_version.set_use_markup(true); 225 | lbl_version.margin_top = 5; 226 | vbox_logo.add(lbl_version); 227 | 228 | //comments 229 | lbl_comments = new Label(""); 230 | lbl_comments.set_use_markup(true); 231 | lbl_comments.margin_top = 10; 232 | vbox_logo.add(lbl_comments); 233 | 234 | //website 235 | lbtn_website = new LinkButton(""); 236 | lbtn_website.margin_top = 5; 237 | vbox_logo.add(lbtn_website); 238 | 239 | lbtn_website.activate_link.connect(()=>{ 240 | try{ 241 | return Gtk.show_uri(null, lbtn_website.uri, Gdk.CURRENT_TIME); 242 | } 243 | catch(Error e){ 244 | return false; 245 | } 246 | }); 247 | 248 | //copyright 249 | lbl_copyright = new Label(""); 250 | lbl_copyright.set_use_markup(true); 251 | lbl_copyright.margin_top = 5; 252 | vbox_logo.add(lbl_copyright); 253 | 254 | //spacer_bottom 255 | var spacer_bottom = new Label(""); 256 | spacer_bottom.margin_top = 20; 257 | vbox_logo.add(spacer_bottom); 258 | 259 | //scroller 260 | var sw_credits = new ScrolledWindow(null, null); 261 | sw_credits.set_shadow_type(ShadowType.ETCHED_IN); 262 | sw_credits.expand = true; 263 | 264 | vbox_credits.add(sw_credits); 265 | sw_credits.add(vbox_lines); 266 | 267 | //hbox_commands -------------------------------------------------- 268 | 269 | hbox_action = (Box) get_action_area(); 270 | 271 | //btn_credits 272 | btn_credits = new Button.with_label(" " + _("Credits")); 273 | btn_credits.set_image (new Image.from_stock ("gtk-about", IconSize.MENU)); 274 | hbox_action.add(btn_credits); 275 | 276 | btn_credits.clicked.connect(()=>{ 277 | vbox_logo.visible = !(vbox_logo.visible); 278 | vbox_credits.visible = !(vbox_credits.visible); 279 | 280 | if ((vbox_credits.visible)&&(!sw_credits.visible)){ 281 | sw_credits.show_all(); 282 | } 283 | 284 | if (vbox_credits.visible){ 285 | btn_credits.label = " " + _("Back"); 286 | btn_credits.set_image (new Image.from_stock ("gtk-go-back", IconSize.MENU)); 287 | } 288 | else{ 289 | btn_credits.label = " " + _("Credits"); 290 | btn_credits.set_image (new Image.from_stock ("gtk-about", IconSize.MENU)); 291 | } 292 | }); 293 | 294 | //btn_close 295 | btn_close = new Button.with_label(" " + _("Close")); 296 | btn_close.set_image (new Image.from_stock ("gtk-close", IconSize.MENU)); 297 | hbox_action.add(btn_close); 298 | 299 | btn_close.clicked.connect(()=>{ this.destroy(); }); 300 | } 301 | 302 | public void initialize() { 303 | title = program_name; 304 | img_logo.pixbuf = logo; 305 | lbl_program_name.label = "%s".printf(program_name); 306 | lbl_version.label = "v%s".printf(version); 307 | lbl_comments.label = "%s".printf(comments); 308 | lbtn_website.uri = website; 309 | lbtn_website.label = website_label; 310 | //lbl_copyright.label = "%s".printf(copyright); 311 | lbl_copyright.label = "%s".printf(copyright); 312 | 313 | if (authors.length > 0){ 314 | add_line("%s\n".printf(_("Authors"))); 315 | foreach(string name in authors){ 316 | add_line("%s\n".printf(name)); 317 | } 318 | add_line("\n"); 319 | } 320 | 321 | if (third_party.length > 0){ 322 | add_line("%s\n".printf(_("Third Party Tools"))); 323 | foreach(string name in third_party){ 324 | add_line("%s\n".printf(name)); 325 | } 326 | add_line("\n"); 327 | } 328 | 329 | if (artists.length > 0){ 330 | add_line("%s\n".printf(_("Artists"))); 331 | foreach(string name in artists){ 332 | add_line("%s\n".printf(name)); 333 | } 334 | add_line("\n"); 335 | } 336 | 337 | if (translators.length > 0){ 338 | add_line("%s\n".printf(_("Translators"))); 339 | foreach(string name in translators){ 340 | add_line("%s\n".printf(name)); 341 | } 342 | add_line("\n"); 343 | } 344 | 345 | if (documenters.length > 0){ 346 | add_line("%s\n".printf(_("Documenters"))); 347 | foreach(string name in documenters){ 348 | add_line("%s\n".printf(name)); 349 | } 350 | add_line("\n"); 351 | } 352 | 353 | if (donations.length > 0){ 354 | add_line("%s\n".printf(_("Donations"))); 355 | foreach(string name in donations){ 356 | add_line("%s\n".printf(name)); 357 | } 358 | add_line("\n"); 359 | } 360 | 361 | if (vbox_lines.get_children().length() == 0){ 362 | btn_credits.visible = false; 363 | } 364 | } 365 | 366 | public void add_line(string text){ 367 | if (text.split(":").length >= 2){ 368 | var link = new LinkButton(text.split(":")[0]); 369 | vbox_lines.add(link); 370 | 371 | string val = text[text.index_of(":") + 1:text.length]; 372 | if (val.contains("@")){ 373 | link.uri = "mailto:" + val; 374 | } 375 | else if(val.has_prefix("http://")){ 376 | link.uri = val; 377 | } 378 | else{ 379 | link.uri = "http://" + val; 380 | } 381 | 382 | link.activate_link.connect(()=>{ 383 | try{ 384 | return Gtk.show_uri(null, link.uri, Gdk.CURRENT_TIME); 385 | } 386 | catch(Error e){ 387 | return false; 388 | } 389 | }); 390 | } 391 | else{ 392 | var lbl = new Label(text); 393 | lbl.set_use_markup(true); 394 | lbl.valign = Align.START; 395 | lbl.wrap = true; 396 | lbl.wrap_mode = Pango.WrapMode.WORD; 397 | vbox_lines.add(lbl); 398 | } 399 | } 400 | } 401 | -------------------------------------------------------------------------------- /src/DonationWindow.vala: -------------------------------------------------------------------------------- 1 | /* 2 | * DonationWindow.vala 3 | * 4 | * Copyright 2012 Tony George 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 19 | * MA 02110-1301, USA. 20 | * 21 | * 22 | */ 23 | 24 | using Gtk; 25 | 26 | using TeeJee.Logging; 27 | using TeeJee.FileSystem; 28 | using TeeJee.JSON; 29 | using TeeJee.ProcessManagement; 30 | using TeeJee.GtkHelper; 31 | using TeeJee.System; 32 | using TeeJee.Misc; 33 | 34 | public class DonationWindow : Dialog { 35 | public DonationWindow() { 36 | set_title(_("Donate")); 37 | window_position = WindowPosition.CENTER_ON_PARENT; 38 | set_destroy_with_parent (true); 39 | set_modal (true); 40 | set_deletable(true); 41 | set_skip_taskbar_hint(false); 42 | set_default_size (400, 20); 43 | icon = get_app_icon(16); 44 | 45 | //vbox_main 46 | Box vbox_main = get_content_area(); 47 | vbox_main.margin = 6; 48 | vbox_main.homogeneous = false; 49 | 50 | get_action_area().visible = false; 51 | 52 | //lbl_message 53 | Label lbl_message = new Gtk.Label(""); 54 | string msg = _("Did you find this software useful?\n\nYou can buy me a coffee or make a donation via PayPal to show your support. Or just drop me an email and say Hi. This application is completely free and will continue to remain that way. Your contributions will help in keeping this project alive and improving it further.\n\nFeel free to send me an email if you find any issues in this application or if you need any changes. Suggestions and feedback are always welcome.\n\nThanks,\nTony George\n(teejeetech@gmail.com)"); 55 | lbl_message.label = msg; 56 | lbl_message.wrap = true; 57 | vbox_main.pack_start(lbl_message,true,true,0); 58 | 59 | //vbox_actions 60 | Box vbox_actions = new Box (Orientation.VERTICAL, 6); 61 | vbox_actions.margin_left = 50; 62 | vbox_actions.margin_right = 50; 63 | vbox_actions.margin_top = 20; 64 | vbox_main.pack_start(vbox_actions,false,false,0); 65 | 66 | //btn_donate_paypal 67 | Button btn_donate_paypal = new Button.with_label(" " + _("Donate with PayPal") + " "); 68 | vbox_actions.add(btn_donate_paypal); 69 | btn_donate_paypal.clicked.connect(()=>{ 70 | xdg_open("https://www.paypal.com/cgi-bin/webscr?business=teejeetech@gmail.com&cmd=_xclick¤cy_code=USD&amount=10&item_name=ConkyManager%20Donation"); 71 | }); 72 | 73 | //btn_donate_wallet 74 | Button btn_donate_wallet = new Button.with_label(" " + _("Donate with Google Wallet") + " "); 75 | vbox_actions.add(btn_donate_wallet); 76 | btn_donate_wallet.clicked.connect(()=>{ 77 | xdg_open("https://support.google.com/mail/answer/3141103?hl=en"); 78 | }); 79 | 80 | //btn_send_email 81 | Button btn_send_email = new Button.with_label(" " + _("Send Email") + " "); 82 | vbox_actions.add(btn_send_email); 83 | btn_send_email.clicked.connect(()=>{ 84 | xdg_open("mailto:teejeetech@gmail.com"); 85 | }); 86 | 87 | //btn_visit 88 | Button btn_visit = new Button.with_label(" " + _("Visit Website") + " "); 89 | vbox_actions.add(btn_visit); 90 | btn_visit.clicked.connect(()=>{ 91 | xdg_open("http://www.teejeetech.in"); 92 | }); 93 | 94 | //btn_exit 95 | Button btn_exit = new Button.with_label(" " + _("OK") + " "); 96 | vbox_actions.add(btn_exit); 97 | btn_exit.clicked.connect(() => { 98 | this.destroy(); 99 | }); 100 | } 101 | } 102 | -------------------------------------------------------------------------------- /src/EditThemeWindow.vala: -------------------------------------------------------------------------------- 1 | /* 2 | * EditThemeWindow.vala 3 | * 4 | * Copyright 2015 Tony George 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 19 | * MA 02110-1301, USA. 20 | * 21 | * 22 | */ 23 | 24 | using Gtk; 25 | 26 | using TeeJee.Logging; 27 | using TeeJee.FileSystem; 28 | using TeeJee.JSON; 29 | using TeeJee.ProcessManagement; 30 | using TeeJee.GtkHelper; 31 | using TeeJee.System; 32 | using TeeJee.Misc; 33 | 34 | public class EditThemeWindow : Dialog { 35 | private Box vbox_main; 36 | private Box hbox_action; 37 | private Button btn_ok; 38 | private Button btn_cancel; 39 | private TreeView tv_widget; 40 | private ScrolledWindow sw_widget; 41 | private Entry entry_name; 42 | private ComboBox cmb_wallpaper; 43 | private ComboBox cmb_scaling; 44 | private FileChooserButton fcb_wallpaper; 45 | public ConkyTheme th = null; 46 | 47 | public EditThemeWindow(ConkyTheme? _theme) { 48 | 49 | window_position = WindowPosition.CENTER_ON_PARENT; 50 | set_destroy_with_parent (true); 51 | set_modal (true); 52 | skip_taskbar_hint = false; 53 | set_default_size (450, 400); 54 | icon = get_app_icon(16); 55 | 56 | th = _theme; 57 | title = (th == null) ? _("Save Theme") : _("Edit Theme"); 58 | 59 | vbox_main = get_content_area(); 60 | vbox_main.margin = 6; 61 | vbox_main.spacing = 6; 62 | 63 | //theme_name 64 | Box hbox_theme_name = new Box (Orientation.HORIZONTAL, 6); 65 | vbox_main.add(hbox_theme_name); 66 | 67 | Label lbl_theme_name = new Gtk.Label(_("Theme Name")); 68 | lbl_theme_name.xalign = (float) 0.0; 69 | hbox_theme_name.add(lbl_theme_name); 70 | 71 | entry_name = new Gtk.Entry(); 72 | entry_name.xalign = (float) 0.0; 73 | entry_name.hexpand = true; 74 | entry_name.text = (th == null)? "" : th.base_name.replace(".cmtheme",""); 75 | hbox_theme_name.add(entry_name); 76 | 77 | init_list_view(); 78 | 79 | // lbl_header_wp 80 | Label lbl_header_wp = new Label ("" + _("Wallpaper") + " - " + _("Include desktop wallpaper in theme") + ""); 81 | lbl_header_wp.margin_top = 5; 82 | lbl_header_wp.set_use_markup(true); 83 | lbl_header_wp.halign = Align.START; 84 | vbox_main.pack_start (lbl_header_wp, false, true, 0); 85 | 86 | //grid_wp 87 | Grid grid_wp = new Grid(); 88 | grid_wp.set_column_spacing (6); 89 | grid_wp.set_row_spacing (6); 90 | vbox_main.pack_start (grid_wp, false, true, 0); 91 | 92 | //lbl_wp_option 93 | Label lbl_wp_option = new Label (_("Wallpaper") + ":" ); 94 | lbl_wp_option.xalign = (float) 0.0; 95 | grid_wp.attach(lbl_wp_option,0,0,1,1); 96 | 97 | //cmb_wallpaper 98 | cmb_wallpaper = new ComboBox(); 99 | cmb_wallpaper.hexpand = true; 100 | grid_wp.attach(cmb_wallpaper,1,0,1,1); 101 | 102 | CellRendererText cell_wallpaper = new CellRendererText(); 103 | cmb_wallpaper.pack_start(cell_wallpaper, false ); 104 | cmb_wallpaper.set_cell_data_func (cell_wallpaper, (cell_wallpaper, cell, model, iter) => { 105 | string type; 106 | model.get (iter, 0, out type,-1); 107 | (cell as Gtk.CellRendererText).text = type; 108 | }); 109 | 110 | var store = new Gtk.ListStore(1, typeof(string)); 111 | TreeIter iter; 112 | store.append(out iter); 113 | store.set (iter, 0, _("None")); 114 | store.append(out iter); 115 | store.set (iter, 0, _("Custom Wallpaper")); 116 | switch (App.desktop){ 117 | case "cinnamon": 118 | case "gnome": 119 | case "unity": 120 | case "xfce": 121 | case "lxde": 122 | store.append(out iter); 123 | store.set (iter, 0, _("Current Wallpaper")); 124 | break; 125 | } 126 | cmb_wallpaper.set_model (store); 127 | cmb_wallpaper.active = 0; 128 | 129 | //lbl_custom_wallpaper 130 | Label lbl_custom_wallpaper = new Label (_("Choose File") + ":"); 131 | lbl_custom_wallpaper.xalign = (float) 0.0; 132 | grid_wp.attach(lbl_custom_wallpaper,0,1,1,1); 133 | 134 | //fcb_wallpaper 135 | fcb_wallpaper = new FileChooserButton (_("Select Wallpaper"), FileChooserAction.OPEN); 136 | grid_wp.attach(fcb_wallpaper,1,1,1,1); 137 | 138 | fcb_wallpaper.selection_changed.connect(()=>{ 139 | if (th != null){ 140 | th.wallpaper_path = fcb_wallpaper.get_file().get_path(); 141 | } 142 | }); 143 | 144 | if (th != null){ 145 | if (th.wallpaper_path.length > 0){ 146 | cmb_wallpaper.active = 1; 147 | fcb_wallpaper.select_filename(th.wallpaper_path); 148 | } 149 | } 150 | 151 | //lbl_scaling 152 | Label lbl_scaling = new Label (_("Scaling") + ":"); 153 | lbl_scaling.xalign = (float) 0.0; 154 | grid_wp.attach(lbl_scaling,0,2,1,1); 155 | 156 | //cmb_scaling 157 | cmb_scaling = new ComboBox(); 158 | cmb_scaling.hexpand = true; 159 | grid_wp.attach(cmb_scaling,1,2,1,1); 160 | 161 | CellRendererText cell_scaling= new CellRendererText(); 162 | cmb_scaling.pack_start(cell_scaling, false ); 163 | cmb_scaling.set_cell_data_func (cell_scaling, (cell_scaling, cell, model, iter) => { 164 | string type; 165 | model.get (iter, 0, out type,-1); 166 | (cell as Gtk.CellRendererText).text = type; 167 | }); 168 | 169 | store = new Gtk.ListStore(1, typeof(string)); 170 | foreach(string option in App.bg_scaling){ 171 | store.append(out iter); 172 | store.set (iter, 0, option); 173 | } 174 | cmb_scaling.set_model (store); 175 | 176 | if (th == null){ 177 | cmb_scaling.active = 0; 178 | } 179 | else{ 180 | int index = -1; 181 | foreach(string option in App.bg_scaling){ 182 | index++; 183 | if (option == th.wallpaper_scaling){ 184 | cmb_scaling.active = index; 185 | break; 186 | } 187 | } 188 | } 189 | 190 | //set initial state 191 | cmb_wallpaper.changed.connect(()=>{ 192 | fcb_wallpaper.sensitive = (cmb_wallpaper.active == 1); 193 | cmb_scaling.sensitive = (cmb_wallpaper.active != 0); 194 | }); 195 | fcb_wallpaper.sensitive = (cmb_wallpaper.active == 1); 196 | cmb_scaling.sensitive = (cmb_wallpaper.active != 0); 197 | 198 | tv_widget_refresh(); 199 | 200 | //hbox_commands -------------------------------------------------- 201 | 202 | hbox_action = (Box) get_action_area(); 203 | 204 | //btn_ok 205 | btn_ok = new Button.with_label(" " + _("OK")); 206 | btn_ok.set_image(new Image.from_stock ("gtk-ok", IconSize.MENU)); 207 | hbox_action.add(btn_ok); 208 | 209 | btn_ok.clicked.connect(btn_ok_clicked); 210 | 211 | //btn_cancel 212 | btn_cancel = new Button.with_label(" " + _("Cancel")); 213 | btn_cancel.set_image (new Image.from_stock ("gtk-cancel", IconSize.MENU)); 214 | hbox_action.add(btn_cancel); 215 | 216 | btn_cancel.clicked.connect(()=>{ this.response(Gtk.ResponseType.CANCEL); }); 217 | } 218 | 219 | private void init_list_view(){ 220 | 221 | // lbl_header_widgets 222 | Label lbl_header_widgets = new Label ("" + _("Widgets") + " - " + _("Include running widgets in theme") + ""); 223 | lbl_header_widgets.set_tooltip_text(_("Include running widgets in theme")); 224 | lbl_header_widgets.margin_top = 5; 225 | lbl_header_widgets.set_use_markup(true); 226 | lbl_header_widgets.halign = Align.START; 227 | vbox_main.pack_start (lbl_header_widgets, false, true, 0); 228 | 229 | //list view 230 | tv_widget = new TreeView(); 231 | tv_widget.get_selection().mode = SelectionMode.SINGLE; 232 | tv_widget.headers_visible = false; 233 | tv_widget.set_rules_hint (true); 234 | 235 | sw_widget = new ScrolledWindow(null, null); 236 | sw_widget.set_shadow_type (ShadowType.ETCHED_IN); 237 | sw_widget.add (tv_widget); 238 | sw_widget.expand = true; 239 | vbox_main.add(sw_widget); 240 | 241 | TreeViewColumn col_widget = new TreeViewColumn(); 242 | col_widget.title = ""; 243 | tv_widget.append_column(col_widget); 244 | 245 | CellRendererToggle cell_widget_enable = new CellRendererToggle (); 246 | cell_widget_enable.activatable = true; 247 | col_widget.pack_start (cell_widget_enable, false); 248 | 249 | col_widget.set_cell_data_func (cell_widget_enable, (cell_layout, cell, model, iter)=>{ 250 | bool val; 251 | model.get (iter, 0, out val, -1); 252 | (cell as Gtk.CellRendererToggle).active = val; 253 | }); 254 | 255 | cell_widget_enable.toggled.connect(cell_widget_enable_toggled); 256 | 257 | CellRendererText cell_widget_name = new CellRendererText (); 258 | col_widget.pack_start (cell_widget_name, false); 259 | 260 | col_widget.set_cell_data_func (cell_widget_name, (cell_layout, cell, model, iter)=>{ 261 | ConkyRC rc; 262 | model.get (iter, 1, out rc, -1); 263 | (cell as Gtk.CellRendererText).text = rc.name; 264 | }); 265 | } 266 | 267 | private void cell_widget_enable_toggled (string path){ 268 | TreeIter iter; 269 | var model = (Gtk.ListStore)tv_widget.model; 270 | bool enabled; 271 | 272 | model.get_iter_from_string (out iter, path); 273 | model.get (iter, 0, out enabled, -1); 274 | enabled = !enabled; 275 | model.set (iter, 0, enabled); 276 | } 277 | 278 | private void tv_widget_refresh(){ 279 | var model = new Gtk.ListStore(2, typeof(bool), typeof(ConkyRC)); 280 | 281 | var list = new Gee.ArrayList(); 282 | 283 | if (th != null){ 284 | //add existing - selected 285 | foreach(ConkyRC rc in th.conkyrc_list){ 286 | if (!list.contains(rc.path)){ 287 | TreeIter iter; 288 | model.append(out iter); 289 | model.set(iter, 0, true); 290 | model.set(iter, 1, rc); 291 | list.add(rc.path); 292 | } 293 | } 294 | //add running - unselected 295 | foreach(ConkyRC rc in App.conkyrc_list){ 296 | if (rc.enabled) { 297 | if (!list.contains(rc.path)){ 298 | TreeIter iter; 299 | model.append(out iter); 300 | model.set(iter, 0, false); 301 | model.set(iter, 1, rc); 302 | list.add(rc.path); 303 | } 304 | } 305 | } 306 | } 307 | else{ 308 | //add running - selected 309 | foreach(ConkyRC rc in App.conkyrc_list){ 310 | if (rc.enabled) { 311 | if (!list.contains(rc.path)){ 312 | TreeIter iter; 313 | model.append(out iter); 314 | model.set(iter, 0, true); 315 | model.set(iter, 1, rc); 316 | list.add(rc.path); 317 | } 318 | } 319 | } 320 | } 321 | 322 | tv_widget.set_model(model); 323 | tv_widget.columns_autosize(); 324 | } 325 | 326 | private void btn_ok_clicked(){ 327 | if (entry_name.get_text().length == 0){ 328 | string title = _("Name Required"); 329 | string msg = _("Please enter theme name"); 330 | gtk_messagebox(title,msg,this,true); 331 | return; 332 | } 333 | 334 | int size = 0; 335 | tv_widget.model.foreach((model, path, iter) => { 336 | size++; 337 | return false; 338 | }); 339 | 340 | if (size == 0){ 341 | string title = _("No Widgets Selected"); 342 | string msg = _("Select the widgets to include in theme"); 343 | gtk_messagebox(title,msg,this,true); 344 | return; 345 | } 346 | 347 | if (th == null){ 348 | string name = entry_name.text.replace(".cmtheme",""); 349 | string theme_dir = App.data_dir + "/" + name; 350 | string theme_file_path = theme_dir + "/" + name + ".cmtheme"; 351 | if (!dir_exists(theme_dir)){ create_dir(theme_dir); }; 352 | th = new ConkyTheme.empty(theme_file_path); 353 | App.conkytheme_list.add(th); 354 | } 355 | 356 | th.conkyrc_list.clear(); 357 | 358 | string txt = ""; 359 | 360 | var model = (Gtk.ListStore)tv_widget.model; 361 | TreeIter iter; 362 | bool enabled; 363 | ConkyRC rc; 364 | bool iterExists = model.get_iter_first (out iter); 365 | while (iterExists){ 366 | model.get (iter, 0, out enabled, 1, out rc, -1); 367 | if (enabled){ 368 | txt += rc.name + "\n"; 369 | th.conkyrc_list.add(rc); 370 | } 371 | iterExists = model.iter_next (ref iter); 372 | } 373 | 374 | //TODO: cleanup the following code 375 | if (cmb_wallpaper.active == 0){ 376 | th.wallpaper_path = ""; 377 | th.wallpaper_scaling = ""; 378 | } 379 | else if (cmb_wallpaper.active == 2){ 380 | th.wallpaper_path = th.save_current_wallpaper(); 381 | th.wallpaper_scaling = gtk_combobox_get_value(cmb_scaling,0,""); 382 | 383 | txt += th.wallpaper_path.replace(Environment.get_home_dir(),"~") + "\n"; 384 | txt += "wallpaper-scaling:" + th.wallpaper_scaling + "\n"; 385 | } 386 | else if ((cmb_wallpaper.active == 1)&&(file_exists(fcb_wallpaper.get_filename()))){ 387 | if (fcb_wallpaper.get_filename() != th.wallpaper_path){ 388 | th.wallpaper_path = th.save_wallpaper(fcb_wallpaper.get_filename()); 389 | } 390 | th.wallpaper_scaling = gtk_combobox_get_value(cmb_scaling,0,""); 391 | 392 | txt += th.wallpaper_path.replace(Environment.get_home_dir(),"~") + "\n"; 393 | txt += "wallpaper-scaling:" + th.wallpaper_scaling + "\n"; 394 | } 395 | 396 | write_file(th.path,txt); 397 | 398 | this.response(Gtk.ResponseType.OK); 399 | } 400 | } 401 | -------------------------------------------------------------------------------- /src/EditWidgetWindow.vala: -------------------------------------------------------------------------------- 1 | /* 2 | * EditWidgetWindow.vala 3 | * 4 | * Copyright 2015 Tony George 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 19 | * MA 02110-1301, USA. 20 | * 21 | * 22 | */ 23 | 24 | using Gtk; 25 | 26 | using TeeJee.Logging; 27 | using TeeJee.FileSystem; 28 | using TeeJee.JSON; 29 | using TeeJee.ProcessManagement; 30 | using TeeJee.GtkHelper; 31 | using TeeJee.System; 32 | using TeeJee.Misc; 33 | 34 | public class EditWidgetWindow : Dialog { 35 | private Notebook tab_widget_properties; 36 | private Label lbl_background_color; 37 | private Label lbl_alignment; 38 | private Label lbl_gap_x; 39 | private Label lbl_gap_y; 40 | private Label lbl_transparency; 41 | private Label lbl_min_width; 42 | private Label lbl_min_height; 43 | private Label lbl_widget_time_not_found; 44 | private Label lbl_widget_network_not_found; 45 | private ComboBox cmb_alignment; 46 | private ComboBox cmb_transparency_type; 47 | private ComboBox cmb_time_format; 48 | private SpinButton spin_gap_x; 49 | private SpinButton spin_gap_y; 50 | private SpinButton spin_opacity; 51 | private SpinButton spin_min_width; 52 | private SpinButton spin_min_height; 53 | private SpinButton spin_height_padding; 54 | private ColorButton cbtn_bg_color; 55 | private Entry txt_network_device; 56 | private Button btn_wifi; 57 | private Button btn_lan; 58 | private Button btn_apply_changes; 59 | private Button btn_discard_changes; 60 | private Button btn_cancel_changes; 61 | private ConkyRC conkyrc; 62 | 63 | public EditWidgetWindow(ConkyRC conkyrc_edit) { 64 | title = _("Edit Widget"); 65 | window_position = WindowPosition.CENTER_ON_PARENT; 66 | set_destroy_with_parent (true); 67 | set_modal (true); 68 | skip_taskbar_hint = true; 69 | set_default_size (400, 20); 70 | icon = get_app_icon(16); 71 | 72 | conkyrc = conkyrc_edit; 73 | 74 | Box vbox_main = get_content_area(); 75 | 76 | CellRendererText textCell; 77 | 78 | int page_margin = 12; 79 | 80 | //tab_widget_properties --------------------------------------- 81 | tab_widget_properties = new Notebook (); 82 | tab_widget_properties.margin = 6; 83 | tab_widget_properties.expand = true; 84 | tab_widget_properties.set_size_request(-1,400); 85 | vbox_main.add(tab_widget_properties); 86 | 87 | //lblWidgetLocation 88 | Label lblWidgetLocation = new Label (_("Location")); 89 | 90 | //grid_widget_location ----------------------------------------------- 91 | 92 | Grid grid_widget_location = new Grid (); 93 | grid_widget_location.set_column_spacing (12); 94 | grid_widget_location.set_row_spacing (6); 95 | grid_widget_location.column_homogeneous = false; 96 | grid_widget_location.visible = false; 97 | grid_widget_location.margin = page_margin; 98 | tab_widget_properties.append_page (grid_widget_location, lblWidgetLocation); 99 | 100 | int row = -1; 101 | string tt; 102 | 103 | //lbl_alignment 104 | lbl_alignment = new Gtk.Label(_("Alignment")); 105 | lbl_alignment.xalign = (float) 0.0; 106 | grid_widget_location.attach(lbl_alignment,0,++row,1,1); 107 | 108 | //cmb_alignment 109 | cmb_alignment = new ComboBox(); 110 | textCell = new CellRendererText(); 111 | cmb_alignment.pack_start( textCell, false ); 112 | cmb_alignment.set_attributes( textCell, "text", 0 ); 113 | grid_widget_location.attach(cmb_alignment,1,row,1,1); 114 | 115 | //populate 116 | TreeIter iter; 117 | var model = new Gtk.ListStore (2, typeof (string), typeof (string)); 118 | model.append (out iter); 119 | model.set (iter,0,_("Top Left"),1,"top_left"); 120 | model.append (out iter); 121 | model.set (iter,0,_("Top Right"),1,"top_right"); 122 | model.append (out iter); 123 | model.set (iter,0,_("Top Middle"),1,"top_middle"); 124 | model.append (out iter); 125 | model.set (iter,0,_("Bottom Left"),1,"bottom_left"); 126 | model.append (out iter); 127 | model.set (iter,0,_("Bottom Right"),1,"bottom_right"); 128 | model.append (out iter); 129 | model.set (iter,0,_("Bottom Middle"),1,"bottom_middle"); 130 | model.append (out iter); 131 | model.set (iter,0,_("Middle Left"),1,"middle_left"); 132 | model.append (out iter); 133 | model.set (iter,0,_("Middle Right"),1,"middle_right"); 134 | model.append (out iter); 135 | model.set (iter,0,_("Middle Middle"),1,"middle_middle"); 136 | cmb_alignment.set_model(model); 137 | 138 | //lbl_gap_x 139 | lbl_gap_x = new Gtk.Label(_("Horizontal Gap")); 140 | lbl_gap_x.set_tooltip_text(_("[GAP_X] Horizontal distance from window border (in pixels)")); 141 | lbl_gap_x.xalign = (float) 0.0; 142 | grid_widget_location.attach(lbl_gap_x,0,++row,1,1); 143 | 144 | //spin_gap_x 145 | spin_gap_x = new SpinButton.with_range(-10000,10000,10); 146 | spin_gap_x.xalign = (float) 0.5; 147 | spin_gap_x.value = 0.0; 148 | grid_widget_location.attach(spin_gap_x,1,row,1,1); 149 | 150 | //lbl_gap_y 151 | lbl_gap_y = new Gtk.Label(_("Vertical Gap")); 152 | lbl_gap_y.set_tooltip_text(_("[GAP_Y] Vertical distance from window border (in pixels)")); 153 | lbl_gap_y.xalign = (float) 0.0; 154 | grid_widget_location.attach(lbl_gap_y,0,++row,1,1); 155 | 156 | //spin_gap_y 157 | spin_gap_y = new SpinButton.with_range(-10000,10000,10); 158 | spin_gap_y.xalign = (float) 0.5; 159 | spin_gap_y.value = 0.0; 160 | spin_gap_y.set_size_request(120,-1); 161 | grid_widget_location.attach(spin_gap_y,1,row,1,1); 162 | 163 | //lblWidgetSize 164 | Label lblWidgetSize = new Label (_("Size")); 165 | 166 | //grid_widget_size ----------------------------------------------------------- 167 | 168 | Grid grid_widget_size = new Grid (); 169 | grid_widget_size.set_column_spacing (12); 170 | grid_widget_size.set_row_spacing (6); 171 | grid_widget_size.column_homogeneous = false; 172 | grid_widget_size.visible = false; 173 | grid_widget_size.margin = page_margin; 174 | grid_widget_size.border_width = 1; 175 | tab_widget_properties.append_page (grid_widget_size, lblWidgetSize); 176 | 177 | row = -1; 178 | 179 | tt = _("Width should be larger than the size of window contents,\notherwise this setting will not have any effect"); 180 | 181 | //lbl_min_width 182 | lbl_min_width = new Gtk.Label(_("Minimum Width")); 183 | lbl_min_width.xalign = (float) 0.0; 184 | lbl_min_width.set_tooltip_text(tt); 185 | grid_widget_size.attach(lbl_min_width,0,++row,1,1); 186 | 187 | //spin_min_width 188 | spin_min_width = new SpinButton.with_range(0,9999,10); 189 | spin_min_width.xalign = (float) 0.5; 190 | spin_min_width.value = 100.0; 191 | spin_min_width.set_size_request(120,-1); 192 | spin_min_width.set_tooltip_text(tt); 193 | grid_widget_size.attach(spin_min_width,1,row,1,1); 194 | 195 | tt = _("Height should be larger than the size of window contents,\notherwise this setting will not have any effect"); 196 | 197 | //lbl_min_height 198 | lbl_min_height = new Gtk.Label(_("Minimum Height")); 199 | lbl_min_height.xalign = (float) 0.0; 200 | lbl_min_height.set_tooltip_text(tt); 201 | grid_widget_size.attach(lbl_min_height,0,++row,1,1); 202 | 203 | //spin_min_height 204 | spin_min_height = new SpinButton.with_range(0,9999,10); 205 | spin_min_height.xalign = (float) 0.5; 206 | spin_min_height.value = 100.0; 207 | spin_min_height.set_tooltip_text(tt); 208 | grid_widget_size.attach(spin_min_height,1,row,1,1); 209 | 210 | tt = _("Increases the window height by adding empty lines at the end of the Conky config file"); 211 | 212 | //lblTrailingLines 213 | Label lblTrailingLines = new Gtk.Label(_("Height Padding")); 214 | lblTrailingLines.xalign = (float) 0.0; 215 | lblTrailingLines.set_tooltip_text(tt); 216 | grid_widget_size.attach(lblTrailingLines,0,++row,1,1); 217 | 218 | //spin_height_padding 219 | spin_height_padding = new SpinButton.with_range(0,100,1); 220 | spin_height_padding.xalign = (float) 0.5; 221 | spin_height_padding.value = 0.0; 222 | spin_height_padding.set_tooltip_text(tt); 223 | grid_widget_size.attach(spin_height_padding,1,row,1,1); 224 | 225 | //lblSizeExpander 226 | Label lblSizeExpander = new Gtk.Label(""); 227 | lblSizeExpander.vexpand = true; 228 | grid_widget_size.attach(lblSizeExpander,0,++row,3,1); 229 | 230 | tt = "Ø " + _("The minimum width & height must be more than the size of the window contents, otherwise the setting will not have any effect."); 231 | 232 | //lblSize1 233 | Label lblSize1 = new Gtk.Label(tt); 234 | lblSize1.margin_bottom = 6; 235 | lblSize1.xalign = (float) 0.0; 236 | lblSize1.set_size_request(100,-1); 237 | lblSize1.set_line_wrap(true); 238 | grid_widget_size.attach(lblSize1,0,++row,3,1); 239 | 240 | tt = "Ø " + _("Setting Type to \"Opaque\" (from the transparency tab) will make it easier to see the changes"); 241 | 242 | //lbl_size2 243 | Label lbl_size2 = new Gtk.Label(tt); 244 | lbl_size2.margin_bottom = 6; 245 | lbl_size2.xalign = (float) 0.0; 246 | lbl_size2.set_size_request(100,-1); 247 | lbl_size2.set_line_wrap(true); 248 | grid_widget_size.attach(lbl_size2,0,++row,3,1); 249 | 250 | //lblWidgetTransparency 251 | Label lblWidgetTransparency = new Label (_("Transparency")); 252 | 253 | //grid_widget_transparency ----------------------------------------------------------- 254 | 255 | Grid grid_widget_transparency = new Grid (); 256 | grid_widget_transparency.set_column_spacing (12); 257 | grid_widget_transparency.set_row_spacing (6); 258 | grid_widget_transparency.column_homogeneous = false; 259 | grid_widget_transparency.visible = false; 260 | grid_widget_transparency.margin = page_margin; 261 | tab_widget_properties.append_page (grid_widget_transparency, lblWidgetTransparency); 262 | 263 | row = -1; 264 | 265 | tt = ""; 266 | 267 | //lblBackgroundType 268 | Label lblBackgroundType = new Gtk.Label(_("Transparency Type")); 269 | lblBackgroundType.xalign = (float) 0.0; 270 | lblBackgroundType.set_tooltip_text(tt); 271 | lblBackgroundType.set_use_markup(true); 272 | grid_widget_transparency.attach(lblBackgroundType,0,row,1,1); 273 | 274 | //cmb_transparency_type 275 | cmb_transparency_type = new ComboBox(); 276 | textCell = new CellRendererText(); 277 | cmb_transparency_type.pack_start( textCell, false ); 278 | cmb_transparency_type.set_attributes( textCell, "text", 0 ); 279 | cmb_transparency_type.changed.connect(cmb_transparency_type_changed); 280 | cmb_transparency_type.set_tooltip_text(tt); 281 | grid_widget_transparency.attach(cmb_transparency_type,1,row,2,1); 282 | 283 | //populate 284 | model = new Gtk.ListStore (2, typeof (string), typeof (string)); 285 | model.append (out iter); 286 | model.set (iter,0,_("Opaque"),1,"opaque"); 287 | model.append (out iter); 288 | model.set (iter,0,_("Transparent"),1,"trans"); 289 | model.append (out iter); 290 | model.set (iter,0,_("Pseudo-Transparent"),1,"pseudo"); 291 | model.append (out iter); 292 | model.set (iter,0,_("Semi-Transparent"),1,"semi"); 293 | cmb_transparency_type.set_model(model); 294 | 295 | tt = _("Window Opacity\n\n0 = Fully Transparent, 100 = Fully Opaque"); 296 | 297 | //lbl_transparency 298 | lbl_transparency = new Gtk.Label(_("Opacity (%)")); 299 | lbl_transparency.set_tooltip_text(tt); 300 | lbl_transparency.xalign = (float) 0.0; 301 | grid_widget_transparency.attach(lbl_transparency,0,++row,1,1); 302 | 303 | //spin_opacity 304 | spin_opacity = new SpinButton.with_range(0,100,10); 305 | spin_opacity.set_tooltip_text(tt); 306 | spin_opacity.xalign = (float) 0.5; 307 | spin_opacity.value = 100.0; 308 | //spin_opacity.set_size_request(120,-1); 309 | grid_widget_transparency.attach(spin_opacity,1,row,1,1); 310 | 311 | //lbl_background_color 312 | lbl_background_color = new Gtk.Label(_("Background Color")); 313 | lbl_background_color.xalign = (float) 0.0; 314 | grid_widget_transparency.attach(lbl_background_color,0,++row,1,1); 315 | 316 | //cbtn_bg_color 317 | cbtn_bg_color = new ColorButton(); 318 | grid_widget_transparency.attach(cbtn_bg_color,1,row,1,1); 319 | 320 | //lbl_transparencyExpander 321 | Label lbl_transparencyExpander = new Gtk.Label(""); 322 | lbl_transparencyExpander.vexpand = true; 323 | grid_widget_transparency.attach(lbl_transparencyExpander,0,++row,3,1); 324 | 325 | tt = "Ø " + _("Setting Type to \"Transparent\" will make the whole window transparent (including any images). Use \"Pseudo-Transparent\" if you want the images to be opaque."); 326 | 327 | //lblTrans1 328 | Label lblTrans1 = new Gtk.Label(tt); 329 | lblTrans1.margin_bottom = 6; 330 | lblTrans1.xalign = (float) 0.0; 331 | lblTrans1.set_size_request(100,-1); 332 | lblTrans1.set_line_wrap(true); 333 | grid_widget_transparency.attach(lblTrans1,0,++row,3,1); 334 | 335 | tt = "Ø " + _("Setting Type to \"Pseudo-Transparent\" will make the window transparent but the window will have a shadow. The shadow can be disabled by configuring your window manager."); 336 | 337 | //lblTrans2 338 | Label lblTrans2 = new Gtk.Label(tt); 339 | lblTrans2.margin_bottom = 6; 340 | lblTrans2.xalign = (float) 0.0; 341 | lblTrans2.set_size_request(100,-1); 342 | lblTrans2.set_line_wrap(true); 343 | grid_widget_transparency.attach(lblTrans2,0,++row,3,1); 344 | 345 | //lbl_widget_time 346 | Label lbl_widget_time = new Label (_("Time")); 347 | 348 | //grid_widget_time ----------------------------------------------------------- 349 | 350 | Grid grid_widget_time = new Grid (); 351 | grid_widget_time.set_column_spacing (12); 352 | grid_widget_time.set_row_spacing (6); 353 | grid_widget_time.column_homogeneous = false; 354 | grid_widget_time.visible = false; 355 | grid_widget_time.margin = page_margin; 356 | grid_widget_time.border_width = 1; 357 | tab_widget_properties.append_page (grid_widget_time, lbl_widget_time); 358 | 359 | row = -1; 360 | 361 | //lblTimeFormat 362 | Label lblTimeFormat = new Gtk.Label(_("Time Format")); 363 | lblTimeFormat.xalign = (float) 0.0; 364 | lblTimeFormat.set_use_markup(true); 365 | grid_widget_time.attach(lblTimeFormat,0,++row,1,1); 366 | 367 | //cmb_time_format 368 | cmb_time_format = new ComboBox(); 369 | textCell = new CellRendererText(); 370 | cmb_time_format.pack_start( textCell, false ); 371 | cmb_time_format.set_attributes( textCell, "text", 0 ); 372 | grid_widget_time.attach(cmb_time_format,1,row,1,1); 373 | 374 | //lbl_widget_time_not_found 375 | lbl_widget_time_not_found = new Gtk.Label(""); 376 | lbl_widget_time_not_found.set_use_markup(true); 377 | lbl_widget_time_not_found.xalign = (float) 0.0; 378 | lbl_widget_time_not_found.margin = 6; 379 | grid_widget_time.attach(lbl_widget_time_not_found,0,++row,2,1); 380 | 381 | //populate 382 | model = new Gtk.ListStore (2, typeof (string), typeof (string)); 383 | model.append (out iter); 384 | model.set (iter,0,_("12 Hour"),1,"12"); 385 | model.append (out iter); 386 | model.set (iter,0,_("24 Hour"),1,"24"); 387 | cmb_time_format.set_model(model); 388 | 389 | //lblWidgetNetwork 390 | Label lblWidgetNetwork = new Label (_("Network")); 391 | 392 | //grid_widget_network ----------------------------------------------------------- 393 | 394 | Grid grid_widget_network = new Grid (); 395 | grid_widget_network.set_column_spacing (12); 396 | grid_widget_network.set_row_spacing (6); 397 | grid_widget_network.column_homogeneous = false; 398 | grid_widget_network.visible = false; 399 | grid_widget_network.margin = page_margin; 400 | grid_widget_network.border_width = 1; 401 | tab_widget_properties.append_page (grid_widget_network, lblWidgetNetwork); 402 | 403 | row = -1; 404 | 405 | //lblNetworkDevice 406 | Label lblNetworkDevice = new Gtk.Label(_("Interface")); 407 | lblNetworkDevice.xalign = (float) 0.0; 408 | lblNetworkDevice.set_use_markup(true); 409 | grid_widget_network.attach(lblNetworkDevice,0,++row,1,1); 410 | 411 | //txt_network_device 412 | txt_network_device = new Gtk.Entry(); 413 | grid_widget_network.attach(txt_network_device,1,row,1,1); 414 | 415 | //btn_wifi 416 | btn_wifi = new Button.with_label(_("WiFi")); 417 | btn_wifi.clicked.connect (() => { 418 | txt_network_device.text = "wlan0"; 419 | }); 420 | btn_wifi.set_size_request(50,-1); 421 | btn_wifi.set_tooltip_text (_("WiFi Network") + " (wlan0)"); 422 | grid_widget_network.attach(btn_wifi,2,row,1,1); 423 | 424 | //btn_lan 425 | btn_lan = new Button.with_label(_("LAN")); 426 | btn_lan.clicked.connect (() => { 427 | txt_network_device.text = "eth0"; 428 | }); 429 | btn_lan.set_size_request(50,-1); 430 | btn_lan.set_tooltip_text (_("Wired LAN Network") + " (eth0)"); 431 | grid_widget_network.attach(btn_lan,3,row,1,1); 432 | 433 | //lbl_widget_network_not_found 434 | lbl_widget_network_not_found = new Gtk.Label(""); 435 | lbl_widget_network_not_found.set_use_markup(true); 436 | lbl_widget_network_not_found.xalign = (float) 0.0; 437 | lbl_widget_network_not_found.margin = 6; 438 | grid_widget_network.attach(lbl_widget_network_not_found,0,++row,4,1); 439 | 440 | //hbox_commands -------------------------------------------------- 441 | 442 | Box hbox_action = (Box) get_action_area(); 443 | 444 | //btn_apply_changes 445 | btn_apply_changes = new Button.with_label(" " + _("Apply")); 446 | btn_apply_changes.set_image (new Image.from_stock ("gtk-apply", IconSize.MENU)); 447 | btn_apply_changes.clicked.connect (btn_apply_changes_clicked); 448 | btn_apply_changes.set_tooltip_text (_("Apply Changes")); 449 | //btn_apply_changes.set_size_request(-1,30); 450 | hbox_action.add(btn_apply_changes); 451 | 452 | //btn_discard_changes 453 | btn_discard_changes = new Button.with_label(" " + _("Reset")); 454 | btn_discard_changes.set_image (new Image.from_stock ("gtk-clear", IconSize.MENU)); 455 | btn_discard_changes.clicked.connect (btn_discard_changes_clicked); 456 | btn_discard_changes.set_tooltip_text (_("Reset Changes")); 457 | //btn_discard_changes.set_size_request(-1,30); 458 | hbox_action.add(btn_discard_changes); 459 | 460 | //btn_cancel_changes 461 | btn_cancel_changes = new Button.with_label(" " + _("Close")); 462 | btn_cancel_changes.set_image (new Image.from_stock ("gtk-cancel", IconSize.MENU)); 463 | btn_cancel_changes.clicked.connect (btn_cancel_changes_clicked); 464 | btn_cancel_changes.set_tooltip_text (_("Discard Changes")); 465 | //btn_cancel_changes.set_size_request(-1,30); 466 | hbox_action.add(btn_cancel_changes); 467 | 468 | reload_widget_properties(); 469 | } 470 | 471 | private void reload_widget_properties(){ 472 | ConkyRC conf = conkyrc; 473 | 474 | debug("-----------------------------------------------------"); 475 | debug(_("Loading") + ": %s".printf(conf.name)); 476 | 477 | conf.read_file(); 478 | 479 | //location 480 | gtk_combobox_set_value(cmb_alignment, 1, conf.alignment); 481 | spin_gap_x.value = double.parse(conf.gap_x); 482 | spin_gap_y.value = double.parse(conf.gap_y); 483 | 484 | //transparency 485 | gtk_combobox_set_value(cmb_transparency_type,1,conf.transparency); 486 | 487 | if (conf.own_window_argb_value == ""){ 488 | spin_opacity.value = 0; 489 | } 490 | else{ 491 | spin_opacity.value = (int.parse(conf.own_window_argb_value) / 255.0) * 100; 492 | } 493 | cbtn_bg_color.rgba = hex_to_rgba(conf.own_window_colour); 494 | 495 | //window size 496 | string size = conf.minimum_size; 497 | spin_min_width.value = int.parse(size.split(" ")[0]); 498 | spin_min_height.value = int.parse(size.split(" ")[1]); 499 | spin_height_padding.value = conf.height_padding; 500 | 501 | //time 502 | string time_format = conf.time_format; 503 | 504 | if (time_format == "") { 505 | cmb_time_format.sensitive = false; 506 | lbl_widget_time_not_found.label = "Ø " + _("Time format cannot be changed for selected widget") + ""; 507 | } 508 | else{ 509 | cmb_time_format.sensitive = true; 510 | lbl_widget_time_not_found.label = ""; 511 | } 512 | 513 | if (time_format == "") { time_format = "12"; } 514 | gtk_combobox_set_value(cmb_time_format,1,time_format); 515 | 516 | //network 517 | string net = conf.network_device; 518 | if (net == ""){ 519 | txt_network_device.sensitive = false; 520 | btn_wifi.sensitive = false; 521 | btn_lan.sensitive = false; 522 | lbl_widget_network_not_found.label = "Ø " + _("Network interface cannot be changed for selected widget") + ""; 523 | txt_network_device.text = ""; 524 | } 525 | else{ 526 | txt_network_device.sensitive = true; 527 | btn_wifi.sensitive = true; 528 | btn_lan.sensitive = true; 529 | lbl_widget_network_not_found.label = ""; 530 | txt_network_device.text = net.strip(); 531 | } 532 | 533 | debug("-----------------------------------------------------"); 534 | } 535 | 536 | private void btn_apply_changes_clicked () { 537 | gtk_set_busy(true, this); 538 | 539 | ConkyRC conf = conkyrc; 540 | 541 | conf.stop(); 542 | conf.read_file(); 543 | 544 | debug("-----------------------------------------------------"); 545 | debug(_("Updating theme") + ": %s".printf(conf.name)); 546 | 547 | //location 548 | conf.alignment = gtk_combobox_get_value(cmb_alignment,1,"top_left"); 549 | conf.gap_x = spin_gap_x.value.to_string(); 550 | conf.gap_y = spin_gap_y.value.to_string(); 551 | 552 | //transparency 553 | conf.own_window_argb_value = "%.0f".printf((spin_opacity.value / 100.0) * 255.0); 554 | conf.transparency = gtk_combobox_get_value(cmb_transparency_type,1,"semi"); 555 | conf.own_window_colour = rgba_to_hex(cbtn_bg_color.rgba, false, false); 556 | 557 | //window size 558 | conf.minimum_size = spin_min_width.value.to_string() + " " + spin_min_height.value.to_string(); 559 | conf.height_padding = (int) spin_height_padding.value; 560 | 561 | //time 562 | if(conf.time_format != ""){ 563 | conf.time_format = gtk_combobox_get_value(cmb_time_format,1,""); 564 | } 565 | 566 | //network 567 | if(conf.network_device != ""){ 568 | conf.network_device = txt_network_device.text; 569 | } 570 | 571 | //save changes to file 572 | conf.save_file(); 573 | 574 | debug("-----------------------------------------------------"); 575 | 576 | conf.start(); 577 | 578 | gtk_set_busy(false, this); 579 | } 580 | 581 | private void btn_discard_changes_clicked () { 582 | reload_widget_properties(); 583 | } 584 | 585 | private void btn_cancel_changes_clicked () { 586 | this.destroy(); 587 | } 588 | 589 | private void cmb_transparency_type_changed(){ 590 | switch (gtk_combobox_get_value(cmb_transparency_type,1,"semi")){ 591 | case "semi": 592 | spin_opacity.sensitive = true; 593 | break; 594 | default: 595 | spin_opacity.sensitive = false; 596 | break; 597 | } 598 | } 599 | } 600 | -------------------------------------------------------------------------------- /src/GeneratePreviewWindow.vala: -------------------------------------------------------------------------------- 1 | /* 2 | * GeneratePreviewWindow.vala 3 | * 4 | * Copyright 2015 Tony George 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 19 | * MA 02110-1301, USA. 20 | * 21 | * 22 | */ 23 | 24 | using Gtk; 25 | 26 | using TeeJee.Logging; 27 | using TeeJee.FileSystem; 28 | using TeeJee.JSON; 29 | using TeeJee.ProcessManagement; 30 | using TeeJee.GtkHelper; 31 | using TeeJee.System; 32 | using TeeJee.Misc; 33 | 34 | public class GeneratePreviewWindow : Dialog { 35 | private Button btn_ok; 36 | private Button btn_cancel; 37 | public string action = ""; 38 | public RadioButton optGenerateCurrent; 39 | public RadioButton optGenerateMissing; 40 | public RadioButton optGenerateAll; 41 | private Switch switch_capture_bg; 42 | private Switch switch_png; 43 | 44 | public GeneratePreviewWindow() { 45 | title = _("Generate Preview"); 46 | window_position = WindowPosition.CENTER_ON_PARENT; 47 | set_destroy_with_parent (true); 48 | set_modal (true); 49 | skip_taskbar_hint = false; 50 | set_default_size (350, 300); 51 | icon = get_app_icon(16); 52 | 53 | Box vbox_main = get_content_area(); 54 | vbox_main.margin = 6; 55 | vbox_main.spacing = 6; 56 | 57 | Label lbl_header = new Gtk.Label("" + _("Generate preview images for") + ":"); 58 | lbl_header.set_use_markup(true); 59 | lbl_header.xalign = (float) 0.0; 60 | lbl_header.margin_bottom = 6; 61 | vbox_main.add(lbl_header); 62 | 63 | optGenerateCurrent = new RadioButton.with_label (null, _("Selected Widget")); 64 | vbox_main.add(optGenerateCurrent); 65 | 66 | optGenerateMissing = new RadioButton.with_label_from_widget (optGenerateCurrent, _("All Widgets with Missing Previews")); 67 | vbox_main.add(optGenerateMissing); 68 | 69 | optGenerateAll = new RadioButton.with_label_from_widget (optGenerateCurrent, _("All Widgets (Overwrite Existing Image)")); 70 | vbox_main.add(optGenerateAll); 71 | 72 | Label lbl_header2 = new Gtk.Label("" + _("Options") + ":"); 73 | lbl_header2.set_use_markup(true); 74 | lbl_header2.xalign = (float) 0.0; 75 | lbl_header2.margin_bottom = 6; 76 | lbl_header2.margin_top = 12; 77 | vbox_main.add(lbl_header2); 78 | 79 | //capture background 80 | Box hbox_capture_bg = new Box (Gtk.Orientation.HORIZONTAL, 6); 81 | vbox_main.add (hbox_capture_bg); 82 | 83 | Label lbl_capture_bg = new Gtk.Label(_("Capture Desktop Background") ); 84 | lbl_capture_bg.hexpand = true; 85 | lbl_capture_bg.xalign = (float) 0.0; 86 | lbl_capture_bg.valign = Align.CENTER; 87 | lbl_capture_bg.set_tooltip_text(_("When enabled, the generated image will have the same background as the current desktop wallpaper. When disabled, the background will be a solid color (the widget's background color).")); 88 | hbox_capture_bg.add(lbl_capture_bg); 89 | 90 | switch_capture_bg = new Gtk.Switch(); 91 | switch_capture_bg.set_size_request(100,20); 92 | switch_capture_bg.active = App.capture_background; 93 | hbox_capture_bg.pack_end(switch_capture_bg,false,false,0); 94 | 95 | switch_capture_bg.notify["active"].connect(()=>{ 96 | App.capture_background = switch_capture_bg.active; 97 | }); 98 | 99 | 100 | //png images 101 | Box hbox_png = new Box (Gtk.Orientation.HORIZONTAL, 6); 102 | vbox_main.add (hbox_png); 103 | 104 | Label lbl_png = new Gtk.Label(_("High quality images (PNG)") ); 105 | lbl_png.hexpand = true; 106 | lbl_png.xalign = (float) 0.0; 107 | lbl_png.valign = Align.CENTER; 108 | lbl_png.set_tooltip_text(_("Generate preview images in PNG format instead of JPEG")); 109 | hbox_png.add(lbl_png); 110 | 111 | switch_png = new Gtk.Switch(); 112 | switch_png.set_size_request(100,20); 113 | switch_png.active = App.generate_png; 114 | hbox_png.pack_end(switch_png,false,false,0); 115 | 116 | switch_png.notify["active"].connect(()=>{ 117 | App.generate_png = switch_png.active; 118 | }); 119 | 120 | //hbox_commands -------------------------------------------------- 121 | 122 | Box hbox_action = (Box) get_action_area(); 123 | 124 | //btn_ok 125 | btn_ok = new Button.with_label(" " + _("OK")); 126 | btn_ok.set_image(new Image.from_stock ("gtk-ok", IconSize.MENU)); 127 | 128 | btn_ok.clicked.connect(()=>{ 129 | if (optGenerateCurrent.active){ 130 | action = "current"; 131 | } 132 | else if (optGenerateMissing.active){ 133 | action = "missing"; 134 | } 135 | else if (optGenerateAll.active){ 136 | action = "all"; 137 | } 138 | else { 139 | action = ""; 140 | } 141 | 142 | this.response(Gtk.ResponseType.OK); 143 | }); 144 | 145 | hbox_action.add(btn_ok); 146 | 147 | //btn_cancel 148 | btn_cancel = new Button.with_label(" " + _("Cancel")); 149 | btn_cancel.set_image (new Image.from_stock ("gtk-cancel", IconSize.MENU)); 150 | btn_cancel.clicked.connect(()=>{ this.response(Gtk.ResponseType.CANCEL); }); 151 | hbox_action.add(btn_cancel); 152 | } 153 | } 154 | -------------------------------------------------------------------------------- /src/SettingsWindow.vala: -------------------------------------------------------------------------------- 1 | /* 2 | * EditWindow.vala 3 | * 4 | * Copyright 2015 Tony George 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 19 | * MA 02110-1301, USA. 20 | * 21 | * 22 | */ 23 | 24 | using Gtk; 25 | 26 | using TeeJee.Logging; 27 | using TeeJee.FileSystem; 28 | using TeeJee.JSON; 29 | using TeeJee.ProcessManagement; 30 | using TeeJee.GtkHelper; 31 | using TeeJee.System; 32 | using TeeJee.Misc; 33 | 34 | public class SettingsWindow : Dialog { 35 | 36 | private Notebook notebook; 37 | private Switch switch_startup; 38 | private SpinButton spin_startup_delay; 39 | private Button btn_add_folder; 40 | private Button btn_remove_folder; 41 | private Button btn_apply_changes; 42 | private Button btn_cancel_changes; 43 | private TreeView tv_folders; 44 | private Gee.ArrayList folder_list_user; 45 | 46 | public SettingsWindow() { 47 | title = _("Application Settings"); 48 | window_position = WindowPosition.CENTER_ON_PARENT; 49 | set_destroy_with_parent (true); 50 | set_modal (true); 51 | skip_taskbar_hint = false; 52 | set_default_size (400, 20); 53 | icon = get_app_icon(16); 54 | 55 | folder_list_user = new Gee.ArrayList(); 56 | foreach(string path in App.search_folders){ 57 | folder_list_user.add(path); 58 | } 59 | 60 | Box vbox_main = get_content_area(); 61 | 62 | //notebook 63 | notebook = new Notebook (); 64 | notebook.margin = 6; 65 | notebook.expand = true; 66 | notebook.set_size_request(-1,400); 67 | vbox_main.add(notebook); 68 | 69 | //options ----------------------------------------------------- 70 | 71 | //vbox_options 72 | Box vbox_options = new Box (Orientation.VERTICAL, 6); 73 | vbox_options.margin = 12; 74 | 75 | //lbl_options 76 | Label lbl_options = new Gtk.Label(_("General")); 77 | 78 | notebook.append_page (vbox_options, lbl_options); 79 | 80 | //hbox_startup -------------------------------------------------- 81 | 82 | Box hbox_startup = new Box (Gtk.Orientation.HORIZONTAL, 6); 83 | vbox_options.add (hbox_startup); 84 | 85 | //lbl_startup 86 | Label lbl_startup = new Gtk.Label(_("Run Conky at system startup") ); 87 | lbl_startup.set_use_markup(true); 88 | lbl_startup.hexpand = true; 89 | lbl_startup.xalign = (float) 0.0; 90 | lbl_startup.valign = Align.CENTER; 91 | hbox_startup.add(lbl_startup); 92 | 93 | //switch_startup 94 | switch_startup = new Gtk.Switch(); 95 | switch_startup.set_size_request(100,20); 96 | switch_startup.active = App.check_startup(); 97 | hbox_startup.pack_end(switch_startup,false,false,0); 98 | 99 | //hbox_startup_delay -------------------------------------------------- 100 | 101 | Box hbox_startup_delay = new Box (Gtk.Orientation.HORIZONTAL, 6); 102 | vbox_options.add (hbox_startup_delay); 103 | 104 | //lbl_startup_delay 105 | Label lbl_startup_delay = new Gtk.Label(_("Startup Delay (seconds)") ); 106 | lbl_startup_delay.set_use_markup(true); 107 | lbl_startup_delay.hexpand = true; 108 | lbl_startup_delay.xalign = (float) 0.0; 109 | lbl_startup_delay.valign = Align.CENTER; 110 | hbox_startup_delay.add(lbl_startup_delay); 111 | 112 | //spin_startup_delay 113 | spin_startup_delay = new SpinButton.with_range(-100,100,10); 114 | spin_startup_delay.xalign = (float) 0.5; 115 | spin_startup_delay.value = App.startup_delay; 116 | spin_startup_delay.set_size_request(100,20); 117 | hbox_startup_delay.pack_end(spin_startup_delay,false,false,0); 118 | 119 | //vbox_folders ----------------------------------------------- 120 | 121 | //vbox_folders 122 | Box vbox_folders = new Box (Orientation.VERTICAL, 6); 123 | vbox_folders.margin = 6; 124 | 125 | //lbl_folders 126 | Label lbl_folders = new Gtk.Label(_("Locations")); 127 | 128 | notebook.append_page (vbox_folders, lbl_folders); 129 | 130 | //tv_folders ----------------------------------------------- 131 | 132 | //hbox_datadir 133 | Box hbox_datadir = new Box (Orientation.HORIZONTAL, 6); 134 | vbox_folders.add(hbox_datadir); 135 | 136 | //lbl_header_theme_dir 137 | Label lbl_header_theme_dir = new Gtk.Label(_("Theme Directory")); 138 | lbl_header_theme_dir.set_use_markup(true); 139 | lbl_header_theme_dir.xalign = (float) 0.0; 140 | hbox_datadir.add(lbl_header_theme_dir); 141 | 142 | Entry entry_themedir = new Gtk.Entry(); 143 | hbox_datadir.add(entry_themedir); 144 | entry_themedir.text = App.data_dir.replace(Environment.get_home_dir() ,"~"); 145 | entry_themedir.sensitive = false; 146 | entry_themedir.hexpand = true; 147 | Gdk.Color black; 148 | Gdk.Color.parse("000000",out black); 149 | entry_themedir.modify_fg(StateType.INSENSITIVE,black); 150 | 151 | //lbl_search_folders 152 | Label lbl_search_folders = new Gtk.Label(_("Additional locations to search for Conky themes") + ":"); 153 | lbl_search_folders.set_use_markup(true); 154 | lbl_search_folders.xalign = (float) 0.0; 155 | lbl_search_folders.margin_top = 10; 156 | vbox_folders.add(lbl_search_folders); 157 | 158 | //tv_folders 159 | tv_folders = new TreeView(); 160 | tv_folders.get_selection().mode = SelectionMode.MULTIPLE; 161 | tv_folders.headers_visible = false; 162 | tv_folders.set_rules_hint (true); 163 | 164 | //sw_folders 165 | ScrolledWindow sw_folders = new ScrolledWindow(null, null); 166 | sw_folders.set_shadow_type (ShadowType.ETCHED_IN); 167 | sw_folders.add (tv_folders); 168 | sw_folders.expand = true; 169 | vbox_folders.add(sw_folders); 170 | 171 | //col_path 172 | TreeViewColumn col_path = new TreeViewColumn(); 173 | col_path.title = _("Location"); 174 | col_path.expand = true; 175 | 176 | CellRendererText cell_margin = new CellRendererText (); 177 | cell_margin.text = ""; 178 | col_path.pack_start (cell_margin, false); 179 | 180 | CellRendererPixbuf cell_icon = new CellRendererPixbuf (); 181 | cell_icon.stock_id = "gtk-directory"; 182 | col_path.pack_start (cell_icon, false); 183 | 184 | CellRendererText cell_text = new CellRendererText (); 185 | col_path.pack_start (cell_text, false); 186 | col_path.set_cell_data_func (cell_text, (cell_layout, cell, model, iter) => { 187 | string path; 188 | model.get (iter, 0, out path, -1); 189 | string home = Environment.get_home_dir(); 190 | (cell as Gtk.CellRendererText).text = path.replace(home,"~"); 191 | }); 192 | tv_folders.append_column(col_path); 193 | 194 | //hbox_folder_actions 195 | Box hbox_folder_actions = new Box (Orientation.HORIZONTAL, 6); 196 | vbox_folders.add(hbox_folder_actions); 197 | 198 | //btn_add_folder 199 | btn_add_folder = new Button.with_label(" " + _("Add")); 200 | btn_add_folder.set_image (new Image.from_stock ("gtk-add", IconSize.MENU)); 201 | btn_add_folder.clicked.connect (btn_add_folder_clicked); 202 | hbox_folder_actions.add(btn_add_folder); 203 | 204 | //btn_remove_folder 205 | btn_remove_folder = new Button.with_label(" " + _("Remove")); 206 | btn_remove_folder.set_image (new Image.from_stock ("gtk-remove", IconSize.MENU)); 207 | btn_remove_folder.clicked.connect (btn_remove_folder_clicked); 208 | hbox_folder_actions.add(btn_remove_folder); 209 | 210 | //hbox_commands -------------------------------------------------- 211 | 212 | Box hbox_action = (Box) get_action_area(); 213 | 214 | //btn_apply_changes 215 | btn_apply_changes = new Button.with_label(" " + _("OK")); 216 | btn_apply_changes.set_image (new Image.from_stock ("gtk-apply", IconSize.MENU)); 217 | btn_apply_changes.clicked.connect (btn_apply_changes_clicked); 218 | hbox_action.add(btn_apply_changes); 219 | 220 | //btn_cancel_changes 221 | btn_cancel_changes = new Button.with_label(" " + _("Cancel")); 222 | btn_cancel_changes.set_image (new Image.from_stock ("gtk-cancel", IconSize.MENU)); 223 | btn_cancel_changes.clicked.connect (btn_cancel_changes_clicked); 224 | hbox_action.add(btn_cancel_changes); 225 | 226 | tv_folders_refresh(); 227 | } 228 | 229 | private void tv_folders_refresh(){ 230 | var model = new Gtk.ListStore(1, typeof(string)); 231 | TreeIter iter; 232 | foreach (string path in folder_list_user){ 233 | model.append(out iter); 234 | model.set (iter, 0, path); 235 | } 236 | tv_folders.set_model(model); 237 | tv_folders.columns_autosize(); 238 | } 239 | 240 | private void btn_add_folder_clicked () { 241 | var list = browse_folder(); 242 | 243 | if (list.length() > 0){ 244 | foreach(string path in list){ 245 | if (!folder_list_user.contains(path)){ 246 | folder_list_user.add(path); 247 | } 248 | } 249 | } 250 | 251 | tv_folders_refresh(); 252 | } 253 | 254 | private void btn_remove_folder_clicked () { 255 | TreeSelection sel = tv_folders.get_selection (); 256 | TreeIter iter; 257 | bool iterExists = tv_folders.model.get_iter_first (out iter); 258 | while (iterExists) { 259 | if (sel.iter_is_selected (iter)){ 260 | string path; 261 | tv_folders.model.get (iter, 0, out path); 262 | folder_list_user.remove(path); 263 | } 264 | iterExists = tv_folders.model.iter_next (ref iter); 265 | } 266 | tv_folders_refresh(); 267 | } 268 | 269 | private SList browse_folder(){ 270 | var dialog = new Gtk.FileChooserDialog(_("Select directory"), this, Gtk.FileChooserAction.OPEN, 271 | "gtk-cancel", Gtk.ResponseType.CANCEL, 272 | "gtk-open", Gtk.ResponseType.ACCEPT); 273 | dialog.action = FileChooserAction.SELECT_FOLDER; 274 | dialog.local_only = true; 275 | dialog.set_transient_for(this); 276 | dialog.set_modal (true); 277 | dialog.set_select_multiple (false); 278 | 279 | dialog.run(); 280 | var list = dialog.get_filenames(); 281 | dialog.destroy (); 282 | 283 | return list; 284 | } 285 | 286 | private void btn_apply_changes_clicked () { 287 | //startup 288 | App.autostart(switch_startup.active); 289 | App.startup_delay = (int) spin_startup_delay.value; 290 | 291 | //search folders 292 | App.search_folders = folder_list_user; 293 | 294 | App.save_app_config(); 295 | 296 | this.destroy(); 297 | } 298 | 299 | private void btn_cancel_changes_clicked () { 300 | this.destroy(); 301 | } 302 | } 303 | -------------------------------------------------------------------------------- /src/XidHelper.vala: -------------------------------------------------------------------------------- 1 | /* 2 | * XidHelper.vala 3 | * 4 | * Copyright 2016 Tony George 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 19 | * MA 02110-1301, USA. 20 | * 21 | * 22 | */ 23 | 24 | 25 | /* 26 | This code needs to be in a separate .vala file to avoid build errors with the vala compiler 27 | */ 28 | 29 | using Gtk; 30 | 31 | public uint get_widget_xid(Gtk.Widget widget){ 32 | return (uint) (((Gdk.X11.Window) widget.get_window()).get_xid()); 33 | } -------------------------------------------------------------------------------- /src/conky-manager-uninstall: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | app_name='conky-manager' 4 | app_fullname='Conky Manager' 5 | 6 | Reset='\e[0m' 7 | Red='\e[1;31m' 8 | Green='\e[1;32m' 9 | Yellow='\e[1;33m' 10 | 11 | CHECK_COLOR_SUPPORT() { 12 | colors=`tput colors` 13 | if [ $colors -gt 1 ]; then 14 | COLORS_SUPPORTED=0 15 | else 16 | COLORS_SUPPORTED=1 17 | fi 18 | } 19 | 20 | MSG_INFO() { 21 | add_newline='' 22 | if [ "$2" == 0 ]; then 23 | add_newline='-n' 24 | fi 25 | 26 | if [ $COLORS_SUPPORTED -eq 0 ]; then 27 | echo -e ${add_newline} "[${Yellow}*${Reset}] ${Green}$1${Reset}" 28 | else 29 | echo -e ${add_newline} "[*] $1" 30 | fi 31 | } 32 | 33 | MSG_WARNING() { 34 | add_newline='' 35 | if [ "$2" == 0 ]; then 36 | add_newline='-n' 37 | fi 38 | 39 | if [ $COLORS_SUPPORTED -eq 0 ]; then 40 | echo -e ${add_newline} "[${Red}!${Reset}] ${Yellow}$1${Reset}" 41 | else 42 | echo -e ${add_newline} "[!] $1" 43 | fi 44 | } 45 | 46 | MSG_ERROR() { 47 | add_newline='' 48 | if [ "$2" == 0 ]; then 49 | add_newline='-n' 50 | fi 51 | 52 | if [ $COLORS_SUPPORTED -eq 0 ]; then 53 | echo -e ${add_newline} "[${Red}X${Reset}] ${Yellow}$1${Reset}" 54 | else 55 | echo -e ${add_newline} "[X] $1" 56 | fi 57 | } 58 | 59 | CD_PUSH() { 60 | cd_backup=`pwd` 61 | } 62 | 63 | CD_POP() { 64 | if [ ! -z "${cd_backup}" ]; then 65 | cd "${cd_backup}" 66 | fi 67 | } 68 | 69 | EXIT(){ 70 | CD_POP 71 | exit $1 72 | } 73 | 74 | WAIT_FOR_INPUT() { 75 | echo "" 76 | echo "Press any key to exit..." 77 | read dummy 78 | } 79 | 80 | GET_SCRIPT_PATH(){ 81 | SCRIPTPATH="$(cd "$(dirname "$0")" && pwd)" 82 | SCRIPTNAME=`basename $0` 83 | } 84 | 85 | RUN_AS_ADMIN() { 86 | if [ ! `id -u` -eq 0 ]; then 87 | GET_SCRIPT_PATH 88 | if command -v sudo >/dev/null 2>&1; then 89 | sudo "${SCRIPTPATH}/${SCRIPTNAME}" 90 | EXIT $? 91 | elif command -v su >/dev/null 2>&1; then 92 | su -c "${SCRIPTPATH}/${SCRIPTNAME}" 93 | EXIT $? 94 | else 95 | echo "" 96 | MSG_ERROR "** Uninstaller must be run as Admin (using 'sudo' or 'su') **" 97 | echo "" 98 | EXIT 1 99 | fi 100 | fi 101 | } 102 | 103 | CD_PUSH 104 | CHECK_COLOR_SUPPORT 105 | RUN_AS_ADMIN 106 | 107 | if [ ! -z "${app_name}" ]; then 108 | rm -f "/usr/bin/${app_name}" 109 | rm -f "/usr/bin/${app_name}-uninstall" 110 | rm -f "/usr/share/applications/${app_name}.desktop" 111 | rm -f "/usr/share/pixmaps/${app_name}.png" 112 | rm -f "/usr/share/appdata/${app_name}.appdata.xml" 113 | rm -rf "/usr/share/${app_name}" 114 | rm -rf "/usr/share/doc/${app_name}" 115 | rm -f /usr/share/locale/*/LC_MESSAGES/${app_name}.mo 116 | fi 117 | 118 | if [ $? -eq 0 ]; then 119 | echo "${app_fullname} was uninstalled successfully." 120 | EXIT 0 121 | else 122 | echo "Uninstalled completed (some files could not be removed)" 123 | EXIT 1 124 | fi 125 | 126 | CD_POP 127 | -------------------------------------------------------------------------------- /src/conky-manager.appdata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | conky-manager.desktop 5 | CC0-1.0 6 | GPL-2.0+ 7 | Conky Manager 8 | Theme manager for Conky widgets 9 | 10 |

11 | 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. 12 |

13 |
14 | 15 | http://3.bp.blogspot.com/-yMD0kUDgILw/U5Xadq66u8I/AAAAAAAABXs/BVgaUw4jgCU/s1600/main_window.png 16 | http://2.bp.blogspot.com/-_Yn1LATJgkQ/U7LCluIpAUI/AAAAAAAABYk/khKkKuNeZLg/s1600/Edit+Theme.png 17 | http://3.bp.blogspot.com/-4TJr5oeGy1s/U7LCl32j_vI/AAAAAAAABYo/wLjS74jXQWE/s1600/Edit+Widget.png 18 | 19 | http://www.teejeetech.in/p/conky-manager.html 20 | teejeetech_at_gmail.com 21 | 22 |
-------------------------------------------------------------------------------- /src/conky-manager.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=Conky Manager 3 | MimeType= 4 | Exec=conky-manager 5 | Type=Application 6 | GenericName=Conky Theme Manager 7 | Terminal=false 8 | Icon=conky-manager 9 | Caption=Conky Theme Manager 10 | X-KDE-StartupNotify=false 11 | Categories=Utility 12 | InitialPreference=9 13 | Name[en_US]=Conky Manager 14 | -------------------------------------------------------------------------------- /src/makefile: -------------------------------------------------------------------------------- 1 | prefix=/usr 2 | bindir=$(prefix)/bin 3 | sharedir=$(prefix)/share 4 | localedir=$(sharedir)/locale 5 | launcherdir=$(sharedir)/applications 6 | mandir=$(sharedir)/man 7 | man1dir=$(mandir)/man1 8 | CFLAGS=--std=c99 9 | app_name=conky-manager 10 | app_fullname="Conky Manager" 11 | 12 | all: 13 | #build binaries 14 | valac -X -D'GETTEXT_PACKAGE="${app_name}"' --Xcc="-lm" -X -Wl,-rpath,/usr/share/${app_name}/libs "Main.vala" "MainWindow.vala" "EditWidgetWindow.vala" "EditThemeWindow.vala" "SettingsWindow.vala" "DonationWindow.vala" "GeneratePreviewWindow.vala" "AboutWindow.vala" "Utility.vala" -o ${app_name} --pkg glib-2.0 --pkg gio-unix-2.0 --pkg posix --pkg gtk+-3.0 --pkg gee-0.8 --pkg json-glib-1.0 15 | 16 | #update translation template 17 | xgettext --language=C --keyword=_ --copyright-holder='Tony George (teejee2008@gmail.com)' --package-name='${app_name}' --package-version='2.0' --msgid-bugs-address='teejee2008@gmail.com' --escape --sort-output -o ../${app_name}.pot *.vala 18 | 19 | clean: 20 | rm -rf *.o ${app_name} 21 | 22 | install: 23 | mkdir -p $(DESTDIR)$(bindir) 24 | mkdir -p $(DESTDIR)$(sharedir) 25 | mkdir -p $(DESTDIR)$(launcherdir) 26 | mkdir -p $(DESTDIR)$(sharedir)/${app_name} 27 | mkdir -p $(DESTDIR)$(sharedir)/pixmaps 28 | mkdir -p $(DESTDIR)$(sharedir)/appdata 29 | 30 | #binary 31 | install -m 0755 ${app_name} "$(DESTDIR)$(bindir)" 32 | install -m 0755 ${app_name}-uninstall "$(DESTDIR)$(bindir)" 33 | 34 | #launcher 35 | install -m 0755 ${app_name}.desktop "$(DESTDIR)$(launcherdir)" 36 | 37 | #app icon 38 | install -m 0755 share/pixmaps/${app_name}.png "$(DESTDIR)$(sharedir)/pixmaps" 39 | 40 | #appdata.xml 41 | install -m 0755 ${app_name}.appdata.xml "$(DESTDIR)$(sharedir)/appdata" 42 | 43 | #shared files 44 | cp -dpr --no-preserve=ownership -t "$(DESTDIR)$(sharedir)/${app_name}" ./share/${app_name}/* 45 | chmod --recursive 0755 $(DESTDIR)$(sharedir)/${app_name}/* 46 | 47 | #translations 48 | mkdir -p "$(DESTDIR)$(localedir)/cs_CZ/LC_MESSAGES" 49 | msgfmt --check --verbose -o "$(DESTDIR)$(localedir)/cs_CZ/LC_MESSAGES/${app_name}.mo" ../po/${app_name}-cs.po 50 | 51 | mkdir -p "$(DESTDIR)$(localedir)/hr_HR/LC_MESSAGES" 52 | msgfmt --check --verbose -o "$(DESTDIR)$(localedir)/hr_HR/LC_MESSAGES/${app_name}.mo" ../po/${app_name}-hr.po 53 | 54 | uninstall: 55 | #binary 56 | rm -f "$(DESTDIR)$(bindir)/${app_name}" 57 | rm -f "$(DESTDIR)$(bindir)/${app_name}-uninstall" 58 | 59 | #launcher 60 | rm -f "$(DESTDIR)$(launcherdir)/${app_name}.desktop" 61 | 62 | #app icon 63 | rm -f "$(DESTDIR)$(sharedir)/pixmaps/${app_name}.png" 64 | 65 | #appdata.xml 66 | rm -f "$(DESTDIR)$(sharedir)/appdata/${app_name}.appdata.xml" 67 | 68 | #shared files 69 | rm -rf "$(DESTDIR)$(sharedir)/${app_name}" 70 | 71 | #translations 72 | rm -f $(DESTDIR)$(localedir)/*/LC_MESSAGES/${app_name}.mo 73 | -------------------------------------------------------------------------------- /src/share/conky-manager/images/conky-manager.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teejee2008/conky-manager/ea33e638aef99d57ec172370ba43fa833b4d62db/src/share/conky-manager/images/conky-manager.png -------------------------------------------------------------------------------- /src/share/conky-manager/images/conky-manager.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teejee2008/conky-manager/ea33e638aef99d57ec172370ba43fa833b4d62db/src/share/conky-manager/images/conky-manager.xcf -------------------------------------------------------------------------------- /src/share/conky-manager/images/conky-manager14x14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teejee2008/conky-manager/ea33e638aef99d57ec172370ba43fa833b4d62db/src/share/conky-manager/images/conky-manager14x14.png -------------------------------------------------------------------------------- /src/share/conky-manager/images/conky-manager64x64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teejee2008/conky-manager/ea33e638aef99d57ec172370ba43fa833b4d62db/src/share/conky-manager/images/conky-manager64x64.png -------------------------------------------------------------------------------- /src/share/conky-manager/images/help-info.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 19 | 21 | 31 | 34 | 38 | 42 | 43 | 53 | 56 | 60 | 64 | 65 | 75 | 78 | 82 | 86 | 87 | 97 | 106 | 108 | 112 | 116 | 117 | 127 | 129 | 133 | 137 | 141 | 145 | 146 | 157 | 159 | 163 | 167 | 171 | 175 | 176 | 186 | 188 | 192 | 196 | 197 | 208 | 209 | 228 | 230 | 231 | 233 | image/svg+xml 234 | 236 | 237 | 238 | 239 | 240 | 244 | 249 | 254 | 259 | 264 | 269 | 274 | 279 | 284 | 290 | 291 | 292 | -------------------------------------------------------------------------------- /src/share/conky-manager/images/image-generate.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teejee2008/conky-manager/ea33e638aef99d57ec172370ba43fa833b4d62db/src/share/conky-manager/images/image-generate.xcf -------------------------------------------------------------------------------- /src/share/conky-manager/images/image-generate24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teejee2008/conky-manager/ea33e638aef99d57ec172370ba43fa833b4d62db/src/share/conky-manager/images/image-generate24x24.png -------------------------------------------------------------------------------- /src/share/conky-manager/images/item-gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teejee2008/conky-manager/ea33e638aef99d57ec172370ba43fa833b4d62db/src/share/conky-manager/images/item-gray.png -------------------------------------------------------------------------------- /src/share/conky-manager/images/item-green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teejee2008/conky-manager/ea33e638aef99d57ec172370ba43fa833b4d62db/src/share/conky-manager/images/item-green.png -------------------------------------------------------------------------------- /src/share/conky-manager/images/view-list.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 21 | 23 | 24 | 26 | image/svg+xml 27 | 29 | 30 | 31 | 32 | 33 | 53 | 55 | 57 | 61 | 65 | 66 | 75 | 76 | 80 | 84 | 85 | -------------------------------------------------------------------------------- /src/share/conky-manager/images/view-preview.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 21 | 23 | 24 | 26 | image/svg+xml 27 | 29 | 30 | 31 | 32 | 33 | 53 | 55 | 57 | 61 | 65 | 66 | 75 | 84 | 93 | 102 | 103 | 110 | 117 | 124 | 131 | 138 | 145 | 152 | 159 | 160 | -------------------------------------------------------------------------------- /src/share/conky-manager/themepacks/default-themes-2.1.cmtp.7z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teejee2008/conky-manager/ea33e638aef99d57ec172370ba43fa833b4d62db/src/share/conky-manager/themepacks/default-themes-2.1.cmtp.7z -------------------------------------------------------------------------------- /src/share/pixmaps/conky-manager.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teejee2008/conky-manager/ea33e638aef99d57ec172370ba43fa833b4d62db/src/share/pixmaps/conky-manager.png -------------------------------------------------------------------------------- /upload.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | backup=`pwd` 4 | DIR="$( cd "$( dirname "$0" )" && pwd )" 5 | cd "$DIR" 6 | 7 | sh ./build-source.sh 8 | dput ppa:teejee2008/ppa ../builds/conky-manager*.changes 9 | 10 | cd "$backup" 11 | -------------------------------------------------------------------------------- /version-history: -------------------------------------------------------------------------------- 1 | 2 | **v1.0** Initial release 3 | **v1.1** 'Edit' tab for changing location, size & transparency 4 | **v1.2** Options to edit time and network interface 5 | --------------------------------------------------------------------------------