Zathura shortcut/feedkeys configuration for recolouring Announcing the arrival of Valued...

Recursive calls to a function - why is the address of the parameter passed to it lowering with each call?

Protagonist's race is hidden - should I reveal it?

Are bags of holding fireproof?

Why doesn't the university give past final exams' answers?

Who can become a wight?

Has a Nobel Peace laureate ever been accused of war crimes?

Why do C and C++ allow the expression (int) + 4*5?

Why not use the yoke to control yaw, as well as pitch and roll?

Why is ArcGIS Pro not symbolizing my entire range of values?

A journey... into the MIND

Why are two-digit numbers in Jonathan Swift's "Gulliver's Travels" (1726) written in "German style"?

Can gravitational waves pass through a black hole?

When does Bran Stark remember Jamie pushing him?

Does Prince Arnaud cause someone holding the Princess to lose?

Would I be safe to drive a 23 year old truck for 7 hours / 450 miles?

tabularx column has extra padding at right?

What's the difference between using dependency injection with a container and using a service locator?

false 'Security alert' from Google - every login generates mails from 'no-reply@accounts.google.com'

Is my guitar’s action too high?

What's the connection between Mr. Nancy and fried chicken?

How to create a command for the "strange m" symbol in latex?

Does GDPR cover the collection of data by websites that crawl the web and resell user data

2 sample t test for sample sizes - 30,000 and 150,000

Kepler's 3rd law: ratios don't fit data



Zathura shortcut/feedkeys configuration for recolouring



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionAuto reload of modified file looses pan position in ZathuraZathura background colour cannot be changed?Can I define a new command in Zathura?How to enable copy-to-clipboard with zathura-pdf-poppler?Smooth scroll in ZathuraHow to read pdf annotations in Zathura?Can Zathura show pdf bookmarks generated by other pdf programs?If zathura install both zathura-pdf-mupdf and zathura-pdf-poppler, which will be used when open pdf filesMaximizing zathura window, scrambled displayCan I retain quickmarks (not bookmarks) in Zathura after closing?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







2















I used to have the following in my .zathurarc config, which used to allow me to change the colour scheme by pressing Shift-1, Shift-2, Shift-3, Shift-4, to switch to original colour scheme, amber on dark bluish-grey, green on black, blue on black, respectively:



map ! feedkeys  ":set recolor-lightcolor #ffffff<Return>:set recolor-darkcolor #000000<Return>" # original (black on white) 
map @ feedkeys ":set recolor-lightcolor #0a0a12<Return>:set recolor-darkcolor #ff9900<Return>" # amber on dark slate
map # feedkeys ":set recolor-lightcolor #000000<Return>:set recolor-darkcolor #00B800<Return>" # green on black
map $ feedkeys ":set recolor-lightcolor #002b36<Return>:set recolor-darkcolor #839496<Return>" # bluish (midnight mode)


Recent versions of zathura don't work with this, specifically they don't seem to like the <Return> bit, I think. Does anyone know how I might amend these to work again?










share|improve this question





























    2















    I used to have the following in my .zathurarc config, which used to allow me to change the colour scheme by pressing Shift-1, Shift-2, Shift-3, Shift-4, to switch to original colour scheme, amber on dark bluish-grey, green on black, blue on black, respectively:



    map ! feedkeys  ":set recolor-lightcolor #ffffff<Return>:set recolor-darkcolor #000000<Return>" # original (black on white) 
    map @ feedkeys ":set recolor-lightcolor #0a0a12<Return>:set recolor-darkcolor #ff9900<Return>" # amber on dark slate
    map # feedkeys ":set recolor-lightcolor #000000<Return>:set recolor-darkcolor #00B800<Return>" # green on black
    map $ feedkeys ":set recolor-lightcolor #002b36<Return>:set recolor-darkcolor #839496<Return>" # bluish (midnight mode)


    Recent versions of zathura don't work with this, specifically they don't seem to like the <Return> bit, I think. Does anyone know how I might amend these to work again?










    share|improve this question

























      2












      2








      2


      2






      I used to have the following in my .zathurarc config, which used to allow me to change the colour scheme by pressing Shift-1, Shift-2, Shift-3, Shift-4, to switch to original colour scheme, amber on dark bluish-grey, green on black, blue on black, respectively:



      map ! feedkeys  ":set recolor-lightcolor #ffffff<Return>:set recolor-darkcolor #000000<Return>" # original (black on white) 
      map @ feedkeys ":set recolor-lightcolor #0a0a12<Return>:set recolor-darkcolor #ff9900<Return>" # amber on dark slate
      map # feedkeys ":set recolor-lightcolor #000000<Return>:set recolor-darkcolor #00B800<Return>" # green on black
      map $ feedkeys ":set recolor-lightcolor #002b36<Return>:set recolor-darkcolor #839496<Return>" # bluish (midnight mode)


      Recent versions of zathura don't work with this, specifically they don't seem to like the <Return> bit, I think. Does anyone know how I might amend these to work again?










      share|improve this question














      I used to have the following in my .zathurarc config, which used to allow me to change the colour scheme by pressing Shift-1, Shift-2, Shift-3, Shift-4, to switch to original colour scheme, amber on dark bluish-grey, green on black, blue on black, respectively:



      map ! feedkeys  ":set recolor-lightcolor #ffffff<Return>:set recolor-darkcolor #000000<Return>" # original (black on white) 
      map @ feedkeys ":set recolor-lightcolor #0a0a12<Return>:set recolor-darkcolor #ff9900<Return>" # amber on dark slate
      map # feedkeys ":set recolor-lightcolor #000000<Return>:set recolor-darkcolor #00B800<Return>" # green on black
      map $ feedkeys ":set recolor-lightcolor #002b36<Return>:set recolor-darkcolor #839496<Return>" # bluish (midnight mode)


      Recent versions of zathura don't work with this, specifically they don't seem to like the <Return> bit, I think. Does anyone know how I might amend these to work again?







      pdf zathura






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jul 17 '18 at 19:23









      emacsomanceremacsomancer

      272314




      272314






















          1 Answer
          1






          active

          oldest

          votes


















          1














          I think I have found a workaround to this problem.



          My ~/.config/zathura/zathurarc file:





          # midnight mode
          map <F1> feedkeys ":set recolor-lightcolor #002b36<Return>"
          map <F2> feedkeys ":set recolor-darkcolor #839496<Return>"
          map ! feedkeys "<F1><F2>"
          # amber on dark slate
          map <F3> feedkeys ":set recolor-lightcolor #0a0a12<Return>"
          map <F4> feedkeys ":set recolor-darkcolor #ff9900<Return>"
          map @ feedkeys "<F3><F4>"
          # green on black
          map <F6> feedkeys ":set recolor-lightcolor #000000<Return>"
          map <F7> feedkeys ":set recolor-darkcolor #00B800<Return>"
          map # feedkeys "<F6><F7>"
          # original (black on white)
          map <F8> feedkeys ":set recolor-lightcolor #ffffff<Return>"
          map <F9> feedkeys ":set recolor-darkcolor #000000<Return>"
          map $ feedkeys "<F8><F9>"


          As You can see above, according to zathurarc manpage (ZATHURARC(5)), I'm mapping the set commands to Special keys and then these maps to my binds. Note that, I don't have any binds in Zathura to these keys (<F[1-8]>).



          Edit: Since F5 is assigned to presentation mode I've changed map <F5> to map <F6> and the other maps iteratively up.






          share|improve this answer










          New contributor




          justanordinaryguy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f456837%2fzathura-shortcut-feedkeys-configuration-for-recolouring%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            I think I have found a workaround to this problem.



            My ~/.config/zathura/zathurarc file:





            # midnight mode
            map <F1> feedkeys ":set recolor-lightcolor #002b36<Return>"
            map <F2> feedkeys ":set recolor-darkcolor #839496<Return>"
            map ! feedkeys "<F1><F2>"
            # amber on dark slate
            map <F3> feedkeys ":set recolor-lightcolor #0a0a12<Return>"
            map <F4> feedkeys ":set recolor-darkcolor #ff9900<Return>"
            map @ feedkeys "<F3><F4>"
            # green on black
            map <F6> feedkeys ":set recolor-lightcolor #000000<Return>"
            map <F7> feedkeys ":set recolor-darkcolor #00B800<Return>"
            map # feedkeys "<F6><F7>"
            # original (black on white)
            map <F8> feedkeys ":set recolor-lightcolor #ffffff<Return>"
            map <F9> feedkeys ":set recolor-darkcolor #000000<Return>"
            map $ feedkeys "<F8><F9>"


            As You can see above, according to zathurarc manpage (ZATHURARC(5)), I'm mapping the set commands to Special keys and then these maps to my binds. Note that, I don't have any binds in Zathura to these keys (<F[1-8]>).



            Edit: Since F5 is assigned to presentation mode I've changed map <F5> to map <F6> and the other maps iteratively up.






            share|improve this answer










            New contributor




            justanordinaryguy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.

























              1














              I think I have found a workaround to this problem.



              My ~/.config/zathura/zathurarc file:





              # midnight mode
              map <F1> feedkeys ":set recolor-lightcolor #002b36<Return>"
              map <F2> feedkeys ":set recolor-darkcolor #839496<Return>"
              map ! feedkeys "<F1><F2>"
              # amber on dark slate
              map <F3> feedkeys ":set recolor-lightcolor #0a0a12<Return>"
              map <F4> feedkeys ":set recolor-darkcolor #ff9900<Return>"
              map @ feedkeys "<F3><F4>"
              # green on black
              map <F6> feedkeys ":set recolor-lightcolor #000000<Return>"
              map <F7> feedkeys ":set recolor-darkcolor #00B800<Return>"
              map # feedkeys "<F6><F7>"
              # original (black on white)
              map <F8> feedkeys ":set recolor-lightcolor #ffffff<Return>"
              map <F9> feedkeys ":set recolor-darkcolor #000000<Return>"
              map $ feedkeys "<F8><F9>"


              As You can see above, according to zathurarc manpage (ZATHURARC(5)), I'm mapping the set commands to Special keys and then these maps to my binds. Note that, I don't have any binds in Zathura to these keys (<F[1-8]>).



              Edit: Since F5 is assigned to presentation mode I've changed map <F5> to map <F6> and the other maps iteratively up.






              share|improve this answer










              New contributor




              justanordinaryguy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.























                1












                1








                1







                I think I have found a workaround to this problem.



                My ~/.config/zathura/zathurarc file:





                # midnight mode
                map <F1> feedkeys ":set recolor-lightcolor #002b36<Return>"
                map <F2> feedkeys ":set recolor-darkcolor #839496<Return>"
                map ! feedkeys "<F1><F2>"
                # amber on dark slate
                map <F3> feedkeys ":set recolor-lightcolor #0a0a12<Return>"
                map <F4> feedkeys ":set recolor-darkcolor #ff9900<Return>"
                map @ feedkeys "<F3><F4>"
                # green on black
                map <F6> feedkeys ":set recolor-lightcolor #000000<Return>"
                map <F7> feedkeys ":set recolor-darkcolor #00B800<Return>"
                map # feedkeys "<F6><F7>"
                # original (black on white)
                map <F8> feedkeys ":set recolor-lightcolor #ffffff<Return>"
                map <F9> feedkeys ":set recolor-darkcolor #000000<Return>"
                map $ feedkeys "<F8><F9>"


                As You can see above, according to zathurarc manpage (ZATHURARC(5)), I'm mapping the set commands to Special keys and then these maps to my binds. Note that, I don't have any binds in Zathura to these keys (<F[1-8]>).



                Edit: Since F5 is assigned to presentation mode I've changed map <F5> to map <F6> and the other maps iteratively up.






                share|improve this answer










                New contributor




                justanordinaryguy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.










                I think I have found a workaround to this problem.



                My ~/.config/zathura/zathurarc file:





                # midnight mode
                map <F1> feedkeys ":set recolor-lightcolor #002b36<Return>"
                map <F2> feedkeys ":set recolor-darkcolor #839496<Return>"
                map ! feedkeys "<F1><F2>"
                # amber on dark slate
                map <F3> feedkeys ":set recolor-lightcolor #0a0a12<Return>"
                map <F4> feedkeys ":set recolor-darkcolor #ff9900<Return>"
                map @ feedkeys "<F3><F4>"
                # green on black
                map <F6> feedkeys ":set recolor-lightcolor #000000<Return>"
                map <F7> feedkeys ":set recolor-darkcolor #00B800<Return>"
                map # feedkeys "<F6><F7>"
                # original (black on white)
                map <F8> feedkeys ":set recolor-lightcolor #ffffff<Return>"
                map <F9> feedkeys ":set recolor-darkcolor #000000<Return>"
                map $ feedkeys "<F8><F9>"


                As You can see above, according to zathurarc manpage (ZATHURARC(5)), I'm mapping the set commands to Special keys and then these maps to my binds. Note that, I don't have any binds in Zathura to these keys (<F[1-8]>).



                Edit: Since F5 is assigned to presentation mode I've changed map <F5> to map <F6> and the other maps iteratively up.







                share|improve this answer










                New contributor




                justanordinaryguy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer








                edited 2 hours ago





















                New contributor




                justanordinaryguy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered 4 hours ago









                justanordinaryguyjustanordinaryguy

                112




                112




                New contributor




                justanordinaryguy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                justanordinaryguy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                justanordinaryguy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f456837%2fzathura-shortcut-feedkeys-configuration-for-recolouring%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Hudson River Historic District Contents Geography History The district today Aesthetics Cultural...

                    The number designs the writing. Feandra Aversely Definition: The act of ingrafting a sprig or shoot of one...

                    Ayherre Geografie Demografie Externe links Navigatiemenu43° 23′ NB, 1° 15′ WL43° 23′ NB, 1°...