nowfocus 0.2.7__py3-none-any.whl → 0.2.12__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,15 @@
1
- nowfocus/__init__.py,sha256=3SHoF2gwL4sMAoUT_HCRPrnVNk3Cet1v_tc7_t9sc_4,2189
2
- nowfocus/__main__.py,sha256=ISs7I8jV7c3qikKz6Wz2wAqx_cUdPPKwsfcCVaXR70U,31549
3
- nowfocus/conf.py,sha256=IqQ9x0-qgLFJxqBIZvdQhW9Z5Dryrxv1P6dHHsiEwAQ,6775
1
+ nowfocus/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
2
+ nowfocus/__main__.py,sha256=LMqVVjXaZD31F84U6Ie7B0lYZaz54z2afRFanoBIphY,32504
3
+ nowfocus/conf.py,sha256=MZx8gPREKsrzOsTdf_LAaFB8ysMF-jMC5YQZpH6AU3E,6954
4
4
  nowfocus/example-todo.txt,sha256=HRaNcPB1k8cksTtJS1GPqMjOdOY3gAUTWiSL0_ip0q8,265
5
- nowfocus/new_task_dialog.py,sha256=rDHPyFhvs_UNITcsAw5vCK_Gl839CQYFGk3fUi_D1qE,4195
5
+ nowfocus/new_task_dialog.py,sha256=3dEkQ4Ef7Gky4BGTx59U0qNfJCdMUrGrzx8HNTGbov8,4337
6
6
  nowfocus/session_edit_dialog.py,sha256=V2QWSdNaxsQHRcG28CJBQM2sa45m5RNcu_suQF26mkM,6912
7
7
  nowfocus/session_options.py,sha256=QVwJA53U7qZsbLe-OFr6UuFeaquco_yps_CRXsQ2_q4,5078
8
8
  nowfocus/sessions.csv,sha256=kYpr06yQg_J86NQ4AiYw4RnQchcw3ouPKVYa1lYDUNo,39
9
- nowfocus/settings.py,sha256=I2tWIrIyLmzDaxuPRN7ldbSJsP_rScr4jwtruAiJNBE,35731
9
+ nowfocus/settings.py,sha256=c6Z5FSVvSEx9fm8mQkdRo1TLfxFJEJdCMiqGyElv4bs,36873
10
10
  nowfocus/styles.css,sha256=m_7YXkDD7wljw5sFrv-CEJVImRpe92ER6kMa5rCICVo,489
11
- nowfocus/task_window.py,sha256=EtN-tzP-ZrxfOTAsiDfVn6cY9uXlnG0Bk71WkFINFro,26436
12
- nowfocus/utils.py,sha256=RBjaNAYWcszS3iIG-yo8uZg24nDp2Mk16t_wb8p6fQk,43014
11
+ nowfocus/task_window.py,sha256=jVyjruCE2uhxumOccmKCjOG9PqGvoDnch_Ctbbf6-no,26081
12
+ nowfocus/utils.py,sha256=z4eQPKoiRunLnJyorSUCzNqbetvAjeQIZd3fHJmA3ko,46953
13
13
  nowfocus/connectors/activitywatch.py,sha256=QbkOmjIOiVwccWc2xhhePd0Abww5vEiVpCNjeqOyYGg,921
14
14
  nowfocus/connectors/caldav.py,sha256=PeM_9yJC8W17L8Y5AyS75o6GfzTrPoMYKIvetND8T78,5089
15
15
  nowfocus/connectors/csv.py,sha256=FwMpHM5lPIT90HKBCQUncpaW7zqFjlHjMwKR0-XWg-4,821
@@ -17,14 +17,13 @@ nowfocus/connectors/psc_timetracker.py,sha256=gyx0bQkOC467lkF7tTcoKD451u3WPEEBjA
17
17
  nowfocus/connectors/taskwarrior.py,sha256=bs1h5lxPxruNb6Pqf6HP-Do29i6NUdbBVDp_D5s06Ps,3172
18
18
  nowfocus/connectors/timewarrior.py,sha256=0Hra0GVPYdRqGtG_TbH3gzfUl192hH1DO2_WrDdrACM,698
19
19
  nowfocus/connectors/todo_template.py,sha256=R37fA2LXo8_LpWIgqozytI5RqIUjGggFHup25xTykII,1572
20
- nowfocus/connectors/todotxt.py,sha256=9vmue-QpeMh_3YbgCjFxiRpqWCtjvHxvaDWglnz6JAE,4377
20
+ nowfocus/connectors/todotxt.py,sha256=AKkHe_kv7iyk9rbXL1VwCN-ZyCluGlWP4wBcLn_Wnz4,3669
21
21
  nowfocus/connectors/trello.py,sha256=VqwnvHGXXcljmdf6kRZcE6sfeBQYhped_KVBEBOzWXM,6072
22
- nowfocus/connectors/txt.py,sha256=nFiy64oXBMV0UFELvW6tEsHTii2Fg6gq310HgDv50eI,7500
23
- nowfocus/connectors/vikunja.py,sha256=iIRB67jZScX5rzW9dhxA9gMm542n5J7DUFhroYOpI4Y,10768
22
+ nowfocus/connectors/txt.py,sha256=z_UAoJW-pZTRflgXeq5w9BAA0V8IMCGiRfYiOfLc7dQ,7847
23
+ nowfocus/connectors/vikunja.py,sha256=jOEQGGMu9tJJXlcJwtbsqLkCTqbsSlnja-QoyBrJ9eM,10856
24
24
  nowfocus/desktop-extras/nowfocus.desktop,sha256=0kWsx0ZfvPbubGG1uuFSHxxYUw2GV9Ly_rtlboM1mak,294
25
25
  nowfocus/desktop-extras/nowfocus.png,sha256=P5rn6-0EAJa2WXf4SJoaNtLRUfiV3LdsOroPKsR6GfA,15148
26
26
  nowfocus/desktop-extras/nowfocus.svg,sha256=nps7naZzuhWWuKzQbpvxr9wLyzjmzMPzNHSBQMVetOo,2137
27
- nowfocus/desktop-extras/set_gsettings_keybinding.sh,sha256=JP7OzylVh_4FTbBqix9GJUpMDznygnCD4r7wLjpgaj8,2081
28
27
  nowfocus/icon/cancel.png,sha256=Hy9A7KdO13MsXguIgoTI276mECN07rzd6hGbIqxSl7c,506
29
28
  nowfocus/icon/cancel.svg,sha256=Kx7YXLHv6zX0H9_oJIC3TBoc8sFcoTN8zeTge9Qnbz8,2250
30
29
  nowfocus/icon/edit.png,sha256=rQIy73035VOfouutknnAXgateg_OHUruTKSr0lXnKk4,642
@@ -39,7 +38,8 @@ nowfocus/icon/icon-6.svg,sha256=0mv44YMtnU5ZNFws7TBd-4ygKRyGV4bVWwkbV-HwrW0,6425
39
38
  nowfocus/icon/icon-7.svg,sha256=nkPbIXOH-rYt8yGQuJ7MbUjyBCPii7EEvEfz1RKeeGY,6425
40
39
  nowfocus/icon/icon-8.svg,sha256=R6mEZYL35pS5vvppqfEYaNVYWkrA8crLriKE-w9_mrw,6425
41
40
  nowfocus/icon/icon-9.svg,sha256=W67671tICvIWoLZDO3Zupc2OTUPVe8dt3ifDHVGqG_c,6425
42
- nowfocus/icon/icon.svg,sha256=2gN5X9F_tnfmlTVxhNfsglU2D-Q4j67nIxis-wkKAmA,11089
41
+ nowfocus/icon/icon-red.svg,sha256=uogKIF58eFXoN3ILfYkCdB8nGZRA8hoA1vYpGf0rjWY,6878
42
+ nowfocus/icon/icon.svg,sha256=JLGKK-4q3g77-40fi355hhQwszrYLTC4v3CJhd8TK8k,11549
43
43
  nowfocus/icon/mark-done.png,sha256=RPz0j6yQDrDUxLKhgv_s9Xx_cvvD25XyR6ZZdDlSZV8,874
44
44
  nowfocus/icon/mark-done.svg,sha256=4NZJB1v6pkK9V6ZsolDPygtFpbTHfr_NGHC83YObM1E,1328
45
45
  nowfocus/icon/pause.png,sha256=MRo_n-0-_tGlMz2j_mT3JUq3J89_S3PllkIXI-TXkLU,179
@@ -49,9 +49,9 @@ nowfocus/icon/settings.svg,sha256=fgkGJouPPtZLxZn2nr_5pEp9MdhRSRaW9mtdxhJHDuQ,39
49
49
  nowfocus/sound/bell-xylophone-g.mp3,sha256=1OBcRWvD87AGNcq1uZFR8HqG0nanJykImERfVDVxHD4,53891
50
50
  nowfocus/sound/dinner-bell.mp3,sha256=hjjO0xqA4uXpYw9KLwwlBnrVfRhVq1K5OXzwlMXhRn4,113620
51
51
  nowfocus/sound/xylophone-chord.mp3,sha256=gwgBSqhMt5PMzT5N03Z6TvDgipQZfnkEz_o81Rq5Z1U,131806
52
- nowfocus-0.2.7.dist-info/licenses/LICENSE,sha256=fSJzoHs1EOCwEd7FIyokFeGEma7NKmTVEdHkCr5OIV4,35127
53
- nowfocus-0.2.7.dist-info/METADATA,sha256=_OUMt2SpkfJxmpnQmbFh99YCWMGuB9SOWnxeolnqeHQ,6031
54
- nowfocus-0.2.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
55
- nowfocus-0.2.7.dist-info/entry_points.txt,sha256=RbYY19-irSoNVglNeNnL9D36cHft7aKsaEGEYoSH3pA,51
56
- nowfocus-0.2.7.dist-info/top_level.txt,sha256=3uLd9BwmfarZwqVUxkSJuVwJ8qHzjThte8rt_UYG7tE,9
57
- nowfocus-0.2.7.dist-info/RECORD,,
52
+ nowfocus-0.2.12.dist-info/licenses/LICENSE,sha256=fSJzoHs1EOCwEd7FIyokFeGEma7NKmTVEdHkCr5OIV4,35127
53
+ nowfocus-0.2.12.dist-info/METADATA,sha256=UKr9IoBZagnBMTFo2McdL67DIUgPBWQz1OH2XmlZtlc,6139
54
+ nowfocus-0.2.12.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
55
+ nowfocus-0.2.12.dist-info/entry_points.txt,sha256=RbYY19-irSoNVglNeNnL9D36cHft7aKsaEGEYoSH3pA,51
56
+ nowfocus-0.2.12.dist-info/top_level.txt,sha256=3uLd9BwmfarZwqVUxkSJuVwJ8qHzjThte8rt_UYG7tE,9
57
+ nowfocus-0.2.12.dist-info/RECORD,,
@@ -1,51 +0,0 @@
1
- #!/bin/bash
2
-
3
- # This function simplifies setting up Gnome 3 shortcuts from terminal
4
-
5
- # $1 name of the shortcut
6
- # $2 command to execute
7
- # $3 keyboard shortcut
8
-
9
- # src: https://askubuntu.com/a/597414/279745 and https://gitlab.com/tukusejssirs/lnx_scripts/-/blob/master/bash/functions/gshort.sh
10
-
11
- # TODO
12
- # - before shortcut creation, check if:
13
- # - the shortcut is not used already in custom shortcuts;
14
- # - the command is not used already in custom shortcuts;
15
- # - sometimes is uses the very same $num multiple times;
16
-
17
-
18
- gshort(){
19
- set -o errexit
20
- local name="$1"
21
- local command="$2"
22
- local shortcut="$3"
23
- local value test value_new
24
- value="$(gsettings get org.gnome.settings-daemon.plugins.media-keys custom-keybindings)"
25
- test="$(sed "s/\['//;s/', '/,/g;s/'\]//" <<< "$value" | tr ',' '\n' | grep -oP ".*/custom\K[0-9]*(?=/$)")"
26
-
27
- if [ "$(echo "$value" | grep -o "@as")" = "@as" ]; then
28
- local num=0
29
- value_new="['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom${num}/']"
30
- else
31
- local i=1
32
-
33
- until [ "$num" != "" ]; do
34
- if [ "$(grep -o $i <<< "$test")" != "$i" ]; then
35
- local num=$i
36
- fi
37
- i="$(echo 1+$i | bc)";
38
- done
39
-
40
- value_new="$(gsettings get org.gnome.settings-daemon.plugins.media-keys custom-keybindings | sed "s#']\$#', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom${num}/']#")"
41
- fi
42
-
43
- echo setting custom-keybinding ${num} to ${command} with ${shortcut}
44
-
45
- gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "$value_new"
46
- gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom${num}/ name "$name"
47
- gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom${num}/ command "$command"
48
- gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom${num}/ binding "$shortcut"
49
- }
50
-
51
- gshort $1 $2 $3