How to place i3bar on top?
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
add a comment |
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
add a comment |
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
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
linux i3-window-manager
asked Nov 16 '16 at 16:42
w17tw17t
2,32241639
2,32241639
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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).
It doesn't work. I added it intoconfig
file, it doubled the bar, then I found and added it inside the already existingbar{}
it didn't change anything. And I restartedi3
as well. Should I create and add it to another, sayi3status
ori3bar
file, and what is the meaning of the open<snip>
tag? I want to know where am I being wrong?
– w17t
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 separatei3bar
file, and the meaning of unclosing<snip>
tag.
– w17t
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 theposition
variable.
– devnull
Nov 17 '16 at 9:35
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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).
It doesn't work. I added it intoconfig
file, it doubled the bar, then I found and added it inside the already existingbar{}
it didn't change anything. And I restartedi3
as well. Should I create and add it to another, sayi3status
ori3bar
file, and what is the meaning of the open<snip>
tag? I want to know where am I being wrong?
– w17t
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 separatei3bar
file, and the meaning of unclosing<snip>
tag.
– w17t
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 theposition
variable.
– devnull
Nov 17 '16 at 9:35
add a comment |
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).
It doesn't work. I added it intoconfig
file, it doubled the bar, then I found and added it inside the already existingbar{}
it didn't change anything. And I restartedi3
as well. Should I create and add it to another, sayi3status
ori3bar
file, and what is the meaning of the open<snip>
tag? I want to know where am I being wrong?
– w17t
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 separatei3bar
file, and the meaning of unclosing<snip>
tag.
– w17t
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 theposition
variable.
– devnull
Nov 17 '16 at 9:35
add a comment |
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).
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).
edited Feb 3 at 23:35
waterproof
1054
1054
answered Nov 16 '16 at 16:46
devnulldevnull
18613
18613
It doesn't work. I added it intoconfig
file, it doubled the bar, then I found and added it inside the already existingbar{}
it didn't change anything. And I restartedi3
as well. Should I create and add it to another, sayi3status
ori3bar
file, and what is the meaning of the open<snip>
tag? I want to know where am I being wrong?
– w17t
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 separatei3bar
file, and the meaning of unclosing<snip>
tag.
– w17t
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 theposition
variable.
– devnull
Nov 17 '16 at 9:35
add a comment |
It doesn't work. I added it intoconfig
file, it doubled the bar, then I found and added it inside the already existingbar{}
it didn't change anything. And I restartedi3
as well. Should I create and add it to another, sayi3status
ori3bar
file, and what is the meaning of the open<snip>
tag? I want to know where am I being wrong?
– w17t
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 separatei3bar
file, and the meaning of unclosing<snip>
tag.
– w17t
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 theposition
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?– w17t
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?– w17t
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.– w17t
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.– w17t
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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