How to place i3bar on top?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







8















How can I set i3bar of i3 window manager on top of the screen rather than being placed on its default position, that is bottom.



I tried to examine the ~/.config/i3/config file but couldn't work it out by myself.










share|improve this question





























    8















    How can I set i3bar of i3 window manager on top of the screen rather than being placed on its default position, that is bottom.



    I tried to examine the ~/.config/i3/config file but couldn't work it out by myself.










    share|improve this question

























      8












      8








      8


      2






      How can I set i3bar of i3 window manager on top of the screen rather than being placed on its default position, that is bottom.



      I tried to examine the ~/.config/i3/config file but couldn't work it out by myself.










      share|improve this question














      How can I set i3bar of i3 window manager on top of the screen rather than being placed on its default position, that is bottom.



      I tried to examine the ~/.config/i3/config file but couldn't work it out by myself.







      linux i3-window-manager






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 16 '16 at 16:42







      user373230





























          1 Answer
          1






          active

          oldest

          votes


















          19














          You need to add position top



          bar {
          position top
          [original contents of "bar" goes here]
          }


          After adding this, you will need to refresh which is mod (windows key) + shift + r (unless you have changed it from the default).






          share|improve this answer


























          • It doesn't work. I added it into config file, it doubled the bar, then I found and added it inside the already existing bar{} it didn't change anything. And I restarted i3 as well. Should I create and add it to another, say i3status or i3bar file, and what is the meaning of the open <snip> tag? I want to know where am I being wrong?

            – user373230
            Nov 16 '16 at 18:51













          • I removed the misadded : and it worked. I'm blaming css for it :P But my questions are still in power, that is if I could add it into a separate i3bar file, and the meaning of unclosing <snip> tag.

            – user373230
            Nov 16 '16 at 18:54








          • 1





            The snip is just something to show where I deleted out my own config for this post as its not related to the position variable.

            – devnull
            Nov 17 '16 at 9:35












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          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: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          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%2fsuperuser.com%2fquestions%2f1146511%2fhow-to-place-i3bar-on-top%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









          19














          You need to add position top



          bar {
          position top
          [original contents of "bar" goes here]
          }


          After adding this, you will need to refresh which is mod (windows key) + shift + r (unless you have changed it from the default).






          share|improve this answer


























          • It doesn't work. I added it into config file, it doubled the bar, then I found and added it inside the already existing bar{} it didn't change anything. And I restarted i3 as well. Should I create and add it to another, say i3status or i3bar file, and what is the meaning of the open <snip> tag? I want to know where am I being wrong?

            – user373230
            Nov 16 '16 at 18:51













          • I removed the misadded : and it worked. I'm blaming css for it :P But my questions are still in power, that is if I could add it into a separate i3bar file, and the meaning of unclosing <snip> tag.

            – user373230
            Nov 16 '16 at 18:54








          • 1





            The snip is just something to show where I deleted out my own config for this post as its not related to the position variable.

            – devnull
            Nov 17 '16 at 9:35
















          19














          You need to add position top



          bar {
          position top
          [original contents of "bar" goes here]
          }


          After adding this, you will need to refresh which is mod (windows key) + shift + r (unless you have changed it from the default).






          share|improve this answer


























          • It doesn't work. I added it into config file, it doubled the bar, then I found and added it inside the already existing bar{} it didn't change anything. And I restarted i3 as well. Should I create and add it to another, say i3status or i3bar file, and what is the meaning of the open <snip> tag? I want to know where am I being wrong?

            – user373230
            Nov 16 '16 at 18:51













          • I removed the misadded : and it worked. I'm blaming css for it :P But my questions are still in power, that is if I could add it into a separate i3bar file, and the meaning of unclosing <snip> tag.

            – user373230
            Nov 16 '16 at 18:54








          • 1





            The snip is just something to show where I deleted out my own config for this post as its not related to the position variable.

            – devnull
            Nov 17 '16 at 9:35














          19












          19








          19







          You need to add position top



          bar {
          position top
          [original contents of "bar" goes here]
          }


          After adding this, you will need to refresh which is mod (windows key) + shift + r (unless you have changed it from the default).






          share|improve this answer















          You need to add position top



          bar {
          position top
          [original contents of "bar" goes here]
          }


          After adding this, you will need to refresh which is mod (windows key) + shift + r (unless you have changed it from the default).







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Feb 3 at 23:35









          waterproof

          1054




          1054










          answered Nov 16 '16 at 16:46









          devnulldevnull

          31623




          31623













          • It doesn't work. I added it into config file, it doubled the bar, then I found and added it inside the already existing bar{} it didn't change anything. And I restarted i3 as well. Should I create and add it to another, say i3status or i3bar file, and what is the meaning of the open <snip> tag? I want to know where am I being wrong?

            – user373230
            Nov 16 '16 at 18:51













          • I removed the misadded : and it worked. I'm blaming css for it :P But my questions are still in power, that is if I could add it into a separate i3bar file, and the meaning of unclosing <snip> tag.

            – user373230
            Nov 16 '16 at 18:54








          • 1





            The snip is just something to show where I deleted out my own config for this post as its not related to the position variable.

            – devnull
            Nov 17 '16 at 9:35



















          • It doesn't work. I added it into config file, it doubled the bar, then I found and added it inside the already existing bar{} it didn't change anything. And I restarted i3 as well. Should I create and add it to another, say i3status or i3bar file, and what is the meaning of the open <snip> tag? I want to know where am I being wrong?

            – user373230
            Nov 16 '16 at 18:51













          • I removed the misadded : and it worked. I'm blaming css for it :P But my questions are still in power, that is if I could add it into a separate i3bar file, and the meaning of unclosing <snip> tag.

            – user373230
            Nov 16 '16 at 18:54








          • 1





            The snip is just something to show where I deleted out my own config for this post as its not related to the position variable.

            – devnull
            Nov 17 '16 at 9:35

















          It doesn't work. I added it into config file, it doubled the bar, then I found and added it inside the already existing bar{} it didn't change anything. And I restarted i3 as well. Should I create and add it to another, say i3status or i3bar file, and what is the meaning of the open <snip> tag? I want to know where am I being wrong?

          – user373230
          Nov 16 '16 at 18:51







          It doesn't work. I added it into config file, it doubled the bar, then I found and added it inside the already existing bar{} it didn't change anything. And I restarted i3 as well. Should I create and add it to another, say i3status or i3bar file, and what is the meaning of the open <snip> tag? I want to know where am I being wrong?

          – user373230
          Nov 16 '16 at 18:51















          I removed the misadded : and it worked. I'm blaming css for it :P But my questions are still in power, that is if I could add it into a separate i3bar file, and the meaning of unclosing <snip> tag.

          – user373230
          Nov 16 '16 at 18:54







          I removed the misadded : and it worked. I'm blaming css for it :P But my questions are still in power, that is if I could add it into a separate i3bar file, and the meaning of unclosing <snip> tag.

          – user373230
          Nov 16 '16 at 18:54






          1




          1





          The snip is just something to show where I deleted out my own config for this post as its not related to the position variable.

          – devnull
          Nov 17 '16 at 9:35





          The snip is just something to show where I deleted out my own config for this post as its not related to the position variable.

          – devnull
          Nov 17 '16 at 9:35


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • 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%2fsuperuser.com%2fquestions%2f1146511%2fhow-to-place-i3bar-on-top%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

          Plaza Victoria

          Puebla de Zaragoza

          Musa