Comments (11)
your panel code seems to be hidden under beautiful.at_screen_connect(s)
but anyway general way to use it is (example on default rc.lua
):
-- Add widgets to the wibox
s.mywibox:setup {
layout = wibox.layout.align.horizontal,
{ -- Left widgets
layout = wibox.layout.fixed.horizontal,
mylauncher,
s.mytaglist,
s.mypromptbox,
},
s.mytasklist, -- Middle widget
{ -- Right widgets
layout = wibox.layout.fixed.horizontal,
require("actionless.widgets.music").widget{
backends={"spotify", },
bg="#0e0021",
fg="#fe3383",
pause_bg="#888a85",
pause_fg="#123412",
},
mykeyboardlayout,
wibox.widget.systray(),
mytextclock,
s.mylayoutbox,
},
}
available backends are: { 'mpd', 'cmus', 'spotify', 'clementine', }
you can choose more than one and switch them with the right mouse button
you'll need to copy actionless
directory from my config to ~/.config/awesome/
from awesome_config.
I put it in like this. But i have red popup errors and i have a double panel now.
I don't think i did it right if you can help
-- Create a wibox for each screen and add it
awful.screen.connect_for_each_screen(function(s) beautiful.at_screen_connect(s) end)
-- }}}
-- Add widgets to the wibox
s.mywibox:setup {
layout = wibox.layout.align.horizontal,
{ -- Left widgets
layout = wibox.layout.fixed.horizontal,
mylauncher,
s.mytaglist,
s.mypromptbox,
},
s.mytasklist, -- Middle widget
{ -- Right widgets
layout = wibox.layout.fixed.horizontal,
require("actionless.widgets.music").widget{
backends={"spotify", },
bg="#0e0021",
fg="#fe3383",
pause_bg="#888a85",
pause_fg="#123412",
},
mykeyboardlayout,
wibox.widget.systray(),
mytextclock,
s.mylayoutbox,
},
}
-- {{{ Mouse bindings
root.buttons(awful.util.table.join(
awful.button({ }, 3, function () awful.util.mymainmenu:toggle() end),
awful.button({ }, 4, awful.tag.viewnext),
awful.button({ }, 5, awful.tag.viewprev)
))
-- }}}
from awesome_config.
yup, because instead of updating your code in_screen_connect
function you just inserted the code after, so you have two panels
from awesome_config.
so how do i fix
from awesome_config.
you're trying to modify the config which you don't understand -- that's the root cause
try to use default rc.lua as a base for your own config so it will be easier for you to understand the configuration process and use help articles (because in most of examples default rc.lua is used)
and not just copy paste the snippets -- try to put code line by line and really understand what it does and why it's there
from awesome_config.
so if its not too much trouble to ask? can you tell me how to put your Spotify code in my rc.lua. I get those red errors every time i try to put in what you gave me.
from awesome_config.
Ok i think i almost got it. If you can help please. at top its just saying waiting for spotify not doing anything
from awesome_config.
do you have spotify running?
if so, do you have anything in awesome's stderr?
from awesome_config.
yes i have spotify running. What do you mean in awesome's stderr
from awesome_config.
stderr of awesome process
from awesome_config.
where's it located
from awesome_config.
Related Issues (20)
- merge tasklist with upstream HOT 1
- Can't start theme after git pull HOT 2
- Very awesome!But I can't install HOT 7
- Standart bar HOT 1
- cant build from scratch HOT 2
- awesome config errors HOT 1
- Help with your music folder awesome WM HOT 3
- how to get theme to work HOT 2
- Script to remove all the settings change done by awesome_config HOT 3
- remove screenshot of the old hotkey popup HOT 3
- Complains about not having ruled HOT 6
- :question: is it possible to get systray icons be disblayed at the top-bar? HOT 12
- gtk theme HOT 1
- Shifty broken with multimonitor HOT 1
- update screenshots
- Not relative position at multimonitor. HOT 1
- Mpd broken HOT 1
- Shifty/awesome stops answer to mouse clicks. HOT 1
- systray_toggle sometimes shows a systray on the wrong screen HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awesome_config.