guiL prefer mpris, hacks: more bt tools
This commit is contained in:
parent
7711077791
commit
0b7e888f77
6 changed files with 32 additions and 7 deletions
|
@ -284,11 +284,11 @@ in
|
|||
|
||||
"Mod+Q".action = close-window;
|
||||
|
||||
"XF86AudioPrev".action = sh "supersonic -previous";
|
||||
"XF86AudioNext".action = sh "supersonic -next";
|
||||
"XF86AudioPlay".action = sh "supersonic -play-pause";
|
||||
"XF86AudioPrev".action = sh "playerctl previous";
|
||||
"XF86AudioNext".action = sh "playerctl next";
|
||||
"XF86AudioPlay".action = sh "playerctl play-pause";
|
||||
|
||||
"XF86Launch5".action = sh "supersonic -play-pause";
|
||||
"XF86Launch5".action = sh "playerctl play-pause";
|
||||
|
||||
}
|
||||
(binds {
|
||||
|
|
|
@ -203,7 +203,7 @@ in
|
|||
modules-left = [
|
||||
"clock"
|
||||
"clock#otherzone"
|
||||
"mpd"
|
||||
"mpris"
|
||||
];
|
||||
modules-center = [
|
||||
"custom/title"
|
||||
|
@ -364,8 +364,7 @@ in
|
|||
];
|
||||
};
|
||||
|
||||
mpd = {
|
||||
on-click = "mpc toggle";
|
||||
mpris = {
|
||||
format = "${icons.music.playing} {artist} - {title}";
|
||||
format-paused = "${icons.music.paused} {artist} - {title}";
|
||||
format-stopped = "";
|
||||
|
|
|
@ -30,4 +30,9 @@
|
|||
'';
|
||||
|
||||
};
|
||||
|
||||
hardware.ubertooth = {
|
||||
enable = true;
|
||||
group = "plugdev";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -386,6 +386,25 @@ in
|
|||
|
||||
swapDevices = [ ];
|
||||
|
||||
# Support bluetooth.
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
powerOnBoot = true;
|
||||
|
||||
settings = {
|
||||
General = {
|
||||
|
||||
# Support A2DP.
|
||||
Enable = "Source,Sink,Media,Socket";
|
||||
|
||||
# Enable experimental featurees, like reading device battery levels.
|
||||
Experimental = true;
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
# still possible to use this option, but it's recommended to use it in conjunction
|
||||
|
|
|
@ -83,6 +83,7 @@ with pkgs;
|
|||
# Media
|
||||
blender
|
||||
pavucontrol
|
||||
playerctl
|
||||
vlc
|
||||
|
||||
# Learning
|
||||
|
|
|
@ -44,6 +44,7 @@ with pkgs;
|
|||
|
||||
# hax
|
||||
btlejack
|
||||
ubertooth
|
||||
|
||||
# Build systems.
|
||||
cmake
|
||||
|
|
Loading…
Add table
Reference in a new issue